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 LNDIR 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-compat24 enable wxWidgets
2.4 compatibility
893 --disable-compat26 disable wxWidgets
2.6 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-richtext use wxRichTextCtrl
963 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
964 --enable-prologio not available
; see contrib
965 --enable-resources not available
; see contrib
966 --enable-clipboard use wxClipboard class
967 --enable-dnd use Drag
'n'Drop classes
968 --enable-metafile use win32 metafiles
969 --enable-controls use all usual controls
970 --enable-accel use accelerators
971 --enable-button use wxButton class
972 --enable-bmpbutton use wxBitmapButton class
973 --enable-calendar use wxCalendarCtrl class
974 --enable-caret use wxCaret class
975 --enable-checkbox use wxCheckBox class
976 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
977 --enable-choice use wxChoice class
978 --enable-choicebook use wxChoicebook class
979 --enable-combobox use wxComboBox class
980 --enable-datepick use wxDatePickerCtrl class
981 --enable-display use wxDisplay class
982 --enable-gauge use wxGauge class
983 --enable-grid use wxGrid class
984 --enable-imaglist use wxImageList class
985 --enable-listbook use wxListbook class
986 --enable-listbox use wxListBox class
987 --enable-listctrl use wxListCtrl class
988 --enable-notebook use wxNotebook class
989 --enable-radiobox use wxRadioBox class
990 --enable-radiobtn use wxRadioButton class
991 --enable-sash use wxSashWindow class
992 --enable-scrollbar use wxScrollBar class and scrollable windows
993 --enable-slider use wxSlider class
994 --enable-spinbtn use wxSpinButton class
995 --enable-spinctrl use wxSpinCtrl class
996 --enable-splitter use wxSplitterWindow class
997 --enable-statbmp use wxStaticBitmap class
998 --enable-statbox use wxStaticBox class
999 --enable-statline use wxStaticLine class
1000 --enable-stattext use wxStaticText class
1001 --enable-statusbar use wxStatusBar class
1002 --enable-tabdialog use wxTabControl class
1003 --enable-textctrl use wxTextCtrl class
1004 --enable-togglebtn use wxToggleButton class
1005 --enable-toolbar use wxToolBar class
1006 --enable-tbarnative use native wxToolBar class
1007 --enable-tbarsmpl use wxToolBarSimple class
1008 --enable-treebook use wxTreebook class
1009 --enable-treectrl use wxTreeCtrl class
1010 --enable-tipwindow use wxTipWindow class
1011 --enable-popupwin use wxPopUpWindow class
1012 --enable-commondlg use all common dialogs
1013 --enable-choicedlg use wxChoiceDialog
1014 --enable-coldlg use wxColourDialog
1015 --enable-filedlg use wxFileDialog
1016 --enable-finddlg use wxFindReplaceDialog
1017 --enable-fontdlg use wxFontDialog
1018 --enable-dirdlg use wxDirDialog
1019 --enable-msgdlg use wxMessageDialog
1020 --enable-numberdlg use wxNumberEntryDialog
1021 --enable-splash use wxSplashScreen
1022 --enable-textdlg use wxTextDialog
1023 --enable-tipdlg use startup tips
1024 --enable-progressdlg use wxProgressDialog
1025 --enable-wizarddlg use wxWizard
1026 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1027 --enable-miniframe use wxMiniFrame class
1028 --enable-tooltips use wxToolTip class
1029 --enable-splines use spline drawing code
1030 --enable-mousewheel use mousewheel
1031 --enable-validators use wxValidator and derived classes
1032 --enable-busyinfo use wxBusyInfo
1033 --enable-joystick use wxJoystick
1034 --enable-metafiles use wxMetaFile
(Win32 only
)
1035 --enable-dragimage use wxDragImage
1036 --enable-accessibility enable accessibility support
1037 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1038 --enable-palette use wxPalette class
1039 --enable-image use wxImage class
1040 --enable-gif use gif images
(GIF
file format
)
1041 --enable-pcx use pcx images
(PCX
file format
)
1042 --enable-iff use iff images
(IFF
file format
)
1043 --enable-pnm use pnm images
(PNM
file format
)
1044 --enable-xpm use xpm images
(XPM
file format
)
1045 --enable-icocur use Windows ICO and CUR formats
1046 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1047 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1048 --disable-largefile omit support
for large files
1049 --disable-gtktest do not try to compile and run a
test GTK
+ program
1050 --disable-gtktest Do not try to compile and run a
test GTK program
1051 --disable-sdltest Do not try to compile and run a
test SDL program
1052 --enable-omf use OMF object format
(OS
/2)
1053 --disable-precomp-headers
1054 don
't use precompiled headers even if compiler can
1057 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1058 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1059 --without-subdirs don't generate makefiles
for samples
/demos
/...
1060 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1061 --with-motif use Motif
/Lesstif
1062 --with-mac use Mac OS X
1063 --with-cocoa use Cocoa
1064 --with-wine use Wine
1065 --with-msw use MS
-Windows
1066 --with-pm use OS
/2 Presentation Manager
1067 --with-mgl use SciTech MGL
1068 --with-microwin use MicroWindows
1070 --with-libpng use libpng
(PNG image format
)
1071 --with-libjpeg use libjpeg
(JPEG
file format
)
1072 --with-libtiff use libtiff
(TIFF
file format
)
1073 --with-libxpm use libxpm
(XPM
file format
)
1074 --with-libmspack use libmspack
(CHM
help files loading
)
1075 --with-sdl use SDL
for audio on Unix
1076 --with-gnomeprint use GNOME print
for printing under Unix
1077 --with-opengl use OpenGL
(or Mesa
)
1078 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1079 --with-regex enable support
for wxRegEx class
1080 --with-zlib use zlib
for LZW compression
1081 --with-odbc use the IODBC and wxODBC classes
1082 --with-expat enable XML support using expat parser
1083 --with-flavour=NAME specify a name to identify this build
1084 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1085 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1086 --with-x use the X Window System
1087 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1088 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1089 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1090 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1091 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1093 Some influential environment variables
:
1094 CC C compiler
command
1095 CFLAGS C compiler flags
1096 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1097 nonstandard directory
<lib dir
>
1098 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1099 headers
in a nonstandard directory
<include dir
>
1101 CXX C
++ compiler
command
1102 CXXFLAGS C
++ compiler flags
1103 CXXCPP C
++ preprocessor
1105 Use these variables to override the choices made by
`configure' or to help
1106 it to find libraries and programs with nonstandard names/locations.
1108 Report bugs to <wx-dev@lists.wxwidgets.org>.
1112 if test "$ac_init_help" = "recursive"; then
1113 # If there are subdirs, report their specific --help.
1115 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1116 test -d $ac_dir || continue
1119 if test "$ac_dir" != .; then
1120 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1121 # A "../" for each directory in $ac_dir_suffix.
1122 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1124 ac_dir_suffix= ac_top_builddir=
1128 .) # No --srcdir option. We are building in place.
1130 if test -z "$ac_top_builddir"; then
1133 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1135 [\\/]* | ?:[\\/]* ) # Absolute path.
1136 ac_srcdir=$srcdir$ac_dir_suffix;
1137 ac_top_srcdir=$srcdir ;;
1139 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1140 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1143 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1144 # the directories may not exist.
1146 .) ac_abs_builddir="$ac_dir";;
1149 .) ac_abs_builddir=`pwd`;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1151 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1154 case $ac_abs_builddir in
1155 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 case ${ac_top_builddir}. in
1158 .) ac_abs_top_builddir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1160 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1163 case $ac_abs_builddir in
1164 .) ac_abs_srcdir=$ac_srcdir;;
1167 .) ac_abs_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1169 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1172 case $ac_abs_builddir in
1173 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 case $ac_top_srcdir in
1176 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1177 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1178 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1183 # Check for guested configure; otherwise get Cygnus style configure.
1184 if test -f $ac_srcdir/configure.gnu; then
1186 $SHELL $ac_srcdir/configure.gnu --help=recursive
1187 elif test -f $ac_srcdir/configure; then
1189 $SHELL $ac_srcdir/configure --help=recursive
1190 elif test -f $ac_srcdir/configure.ac ||
1191 test -f $ac_srcdir/configure.in; then
1193 $ac_configure --help
1195 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1201 test -n "$ac_init_help" && exit 0
1202 if $ac_init_version; then
1204 wxWidgets configure 2.7.0
1205 generated by GNU Autoconf 2.59
1207 Copyright (C) 2003 Free Software Foundation, Inc.
1208 This configure script is free software; the Free Software Foundation
1209 gives unlimited permission to copy, distribute and modify it.
1215 This file contains any messages produced by compilers while
1216 running configure, to aid debugging if configure makes a mistake.
1218 It was created by wxWidgets $as_me 2.7.0, which was
1219 generated by GNU Autoconf 2.59. Invocation command line was
1230 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1231 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1232 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1233 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1234 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1236 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1237 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1239 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1240 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1241 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1242 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1243 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1244 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1245 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1253 test -z "$as_dir" && as_dir=.
1254 echo "PATH: $as_dir"
1269 # Keep a trace of the command line.
1270 # Strip out --no-create and --no-recursion so they do not pile up.
1271 # Strip out --silent because we don't want to record it for future runs.
1272 # Also quote any args containing shell meta-characters.
1273 # Make two passes to allow for proper duplicate-argument suppression.
1278 ac_must_keep_next=false
1284 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1286 | -silent | --silent | --silen | --sile | --sil)
1288 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1289 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1292 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1294 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1295 if test $ac_must_keep_next = true; then
1296 ac_must_keep_next=false # Got value, back to normal.
1299 *=* | --config-cache | -C | -disable-* | --disable-* \
1300 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1301 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1302 | -with-* | --with-* | -without-* | --without-* | --x)
1303 case "$ac_configure_args0 " in
1304 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1307 -* ) ac_must_keep_next=true ;;
1310 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1311 # Get rid of the leading space.
1317 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1318 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1320 # When interrupted or exit'd, cleanup temporary files, and complete
1321 # config.log. We remove comments because anyway the quotes in there
1322 # would cause problems or look ugly.
1323 # WARNING: Be sure not to use single quotes in there, as some shells,
1324 # such as our DU 5.0 friend, will then `close
' the trap.
1325 trap 'exit_status
=$?
1326 # Save into config.log some information that might help in debugging.
1331 ## ---------------- ##
1332 ## Cache variables. ##
1333 ## ---------------- ##
1336 # The following way of writing the cache mishandles newlines in values,
1339 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1342 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1354 ## ----------------- ##
1355 ## Output variables. ##
1356 ## ----------------- ##
1359 for ac_var
in $ac_subst_vars
1361 eval ac_val
=$
`echo $ac_var`
1362 echo "$ac_var='"'"'$ac_val'"'"'"
1366 if test -n "$ac_subst_files"; then
1373 for ac_var
in $ac_subst_files
1375 eval ac_val
=$
`echo $ac_var`
1376 echo "$ac_var='"'"'$ac_val'"'"'"
1381 if test -s confdefs.h
; then
1388 sed "/^$/d" confdefs.h
| sort
1391 test "$ac_signal" != 0 &&
1392 echo "$as_me: caught signal $ac_signal"
1393 echo "$as_me: exit $exit_status"
1395 rm -f core
*.core
&&
1396 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1399 for ac_signal in 1 2 13 15; do
1400 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1404 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1405 rm -rf conftest* confdefs.h
1406 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1409 # Predefined preprocessor variables.
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_NAME "$PACKAGE_NAME"
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1426 cat >>confdefs.h <<_ACEOF
1427 #define PACKAGE_STRING "$PACKAGE_STRING"
1431 cat >>confdefs.h <<_ACEOF
1432 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1436 # Let the site file select an alternate cache file if it wants to.
1437 # Prefer explicitly selected file to automatically selected ones.
1438 if test -z "$CONFIG_SITE"; then
1439 if test "x$prefix" != xNONE; then
1440 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1442 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1445 for ac_site_file in $CONFIG_SITE; do
1446 if test -r "$ac_site_file"; then
1447 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1448 echo "$as_me: loading site script $ac_site_file" >&6;}
1449 sed 's
/^
/| /' "$ac_site_file" >&5
1454 if test -r "$cache_file"; then
1455 # Some versions of bash will fail to source /dev/null (special
1456 # files actually), so we avoid doing that.
1457 if test -f "$cache_file"; then
1458 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1459 echo "$as_me: loading cache $cache_file" >&6;}
1461 [\\/]* | ?:[\\/]* ) . $cache_file;;
1462 *) . ./$cache_file;;
1466 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1467 echo "$as_me: creating cache $cache_file" >&6;}
1471 # Check that the precious variables saved in the cache have kept the same
1473 ac_cache_corrupted=false
1474 for ac_var in `(set) 2>&1 |
1475 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1476 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1477 eval ac_new_set=\$ac_env_${ac_var}_set
1478 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1479 eval ac_new_val="\$ac_env_${ac_var}_value"
1480 case $ac_old_set,$ac_new_set in
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1484 ac_cache_corrupted=: ;;
1486 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1487 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1488 ac_cache_corrupted=: ;;
1491 if test "x$ac_old_val" != "x$ac_new_val"; then
1492 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1493 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1494 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1495 echo "$as_me: former value: $ac_old_val" >&2;}
1496 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1497 echo "$as_me: current value: $ac_new_val" >&2;}
1498 ac_cache_corrupted=:
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1516 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1517 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1518 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1519 { (exit 1); exit 1; }; }
1523 ac_cpp='$CPP $CPPFLAGS'
1524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1525 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1558 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1559 if test -f $ac_dir/install-sh; then
1561 ac_install_sh="$ac_aux_dir/install-sh -c"
1563 elif test -f $ac_dir/install.sh; then
1565 ac_install_sh="$ac_aux_dir/install.sh -c"
1567 elif test -f $ac_dir/shtool; then
1569 ac_install_sh="$ac_aux_dir/shtool install -c"
1573 if test -z "$ac_aux_dir"; then
1574 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1575 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1576 { (exit 1); exit 1; }; }
1578 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1579 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1580 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1582 # Make sure we can run config.sub.
1583 $ac_config_sub sun4 >/dev/null 2>&1 ||
1584 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1585 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1586 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: checking build system type" >&5
1589 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1590 if test "${ac_cv_build+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 ac_cv_build_alias=$build_alias
1594 test -z "$ac_cv_build_alias" &&
1595 ac_cv_build_alias=`$ac_config_guess`
1596 test -z "$ac_cv_build_alias" &&
1597 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1598 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1599 { (exit 1); exit 1; }; }
1600 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1601 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1602 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1603 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1607 echo "${ECHO_T}$ac_cv_build" >&6
1609 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1610 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1611 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1614 echo "$as_me:$LINENO: checking host system type" >&5
1615 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1616 if test "${ac_cv_host+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 ac_cv_host_alias=$host_alias
1620 test -z "$ac_cv_host_alias" &&
1621 ac_cv_host_alias=$ac_cv_build_alias
1622 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1623 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1624 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1625 { (exit 1); exit 1; }; }
1628 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1629 echo "${ECHO_T}$ac_cv_host" >&6
1631 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1632 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1633 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1636 echo "$as_me:$LINENO: checking target system type" >&5
1637 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1638 if test "${ac_cv_target+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 ac_cv_target_alias=$target_alias
1642 test "x$ac_cv_target_alias" = "x" &&
1643 ac_cv_target_alias=$ac_cv_host_alias
1644 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1645 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1646 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1647 { (exit 1); exit 1; }; }
1650 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1651 echo "${ECHO_T}$ac_cv_target" >&6
1652 target=$ac_cv_target
1653 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1654 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1655 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1658 # The aliases save the names the user supplied, while $host etc.
1659 # will get canonicalized.
1660 test -n "$target_alias" &&
1661 test "$program_prefix$program_suffix$program_transform_name" = \
1663 program_prefix=${target_alias}-
1667 wx_major_version_number=2
1668 wx_minor_version_number=7
1670 wx_subrelease_number=0
1672 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1673 WX_VERSION=$WX_RELEASE.$wx_release_number
1674 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1676 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1689 USE_BSD= USE_DARWIN= USE_FREEBSD=
1695 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1701 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1703 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1705 DEFAULT_wxUSE_COCOA=0
1709 DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_wxUSE_MOTIF=0
1715 DEFAULT_DEFAULT_wxUSE_COCOA=0
1716 DEFAULT_DEFAULT_wxUSE_GTK=0
1717 DEFAULT_DEFAULT_wxUSE_MAC=0
1718 DEFAULT_DEFAULT_wxUSE_MGL=0
1719 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1721 DEFAULT_DEFAULT_wxUSE_MSW=0
1722 DEFAULT_DEFAULT_wxUSE_PM=0
1723 DEFAULT_DEFAULT_wxUSE_X11=0
1728 SAMPLES_RPATH_POSTLINK=
1730 DEFAULT_STD_FLAG=yes
1735 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1736 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1738 cat >>confdefs.h <<\_ACEOF
1743 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
1747 cat >>confdefs.h <<\_ACEOF
1752 if test "x$TMP" = "xalpha"; then
1754 cat >>confdefs.h <<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_GTK=1
1761 *-*-gnu* | *-*-k*bsd*-gnu )
1764 if test "x$TMP" = "xalpha"; then
1766 cat >>confdefs.h <<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_GTK=1
1773 *-*-irix5* | *-*-irix6* )
1776 cat >>confdefs.h <<\_ACEOF
1780 cat >>confdefs.h <<\_ACEOF
1784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1790 cat >>confdefs.h <<\_ACEOF
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SOLARIS__ 1
1798 cat >>confdefs.h <<\_ACEOF
1802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1803 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1809 cat >>confdefs.h <<\_ACEOF
1813 cat >>confdefs.h <<\_ACEOF
1817 cat >>confdefs.h <<\_ACEOF
1821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __FREEBSD__ 1
1830 cat >>confdefs.h <<\_ACEOF
1834 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __OPENBSD__ 1
1843 cat >>confdefs.h <<\_ACEOF
1847 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __NETBSD__ 1
1856 cat >>confdefs.h <<\_ACEOF
1860 DEFAULT_DEFAULT_wxUSE_GTK=1
1865 cat >>confdefs.h <<\_ACEOF
1869 cat >>confdefs.h <<\_ACEOF
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879 cat >>confdefs.h <<\_ACEOF
1883 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1892 cat >>confdefs.h <<\_ACEOF
1896 cat >>confdefs.h <<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1907 cat >>confdefs.h <<\_ACEOF
1911 cat >>confdefs.h <<\_ACEOF
1915 cat >>confdefs.h <<\_ACEOF
1919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __UNIXWARE__ 1
1932 *-*-cygwin* | *-*-mingw32* )
1935 DEFAULT_DEFAULT_wxUSE_MSW=1
1942 cat >>confdefs.h <<\_ACEOF
1947 DEFAULT_DEFAULT_wxUSE_MGL=1
1950 *-pc-os2_emx | *-pc-os2-emx )
1951 cat >>confdefs.h <<\_ACEOF
1956 cat >>confdefs.h <<\_ACEOF
1961 DEFAULT_DEFAULT_wxUSE_PM=1
1963 LDFLAGS="$LDFLAGS -Zcrtdll"
1964 ac_executable_extensions=".exe"
1965 export ac_executable_extensions
1969 for ac_dir in $PATH; do
1971 if test -z "$ac_TEMP_PATH"; then
1972 ac_TEMP_PATH="$ac_dir"
1974 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1977 export PATH="$ac_TEMP_PATH"
1986 cat >>confdefs.h <<\_ACEOF
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __DARWIN__ 1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define TARGET_CARBON 1
1998 DEFAULT_DEFAULT_wxUSE_MAC=1
2001 powerpc-apple-macos* )
2003 ac_cv_c_bigendian=yes
2005 DEFAULT_DEFAULT_wxUSE_MAC=1
2011 cat >>confdefs.h <<\_ACEOF
2018 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2019 echo "$as_me: error: unknown system type ${host}." >&2;}
2020 { (exit 1); exit 1; }; }
2026 wx_arg_cache_file="configarg.cache"
2027 echo "loading argument cache $wx_arg_cache_file"
2028 rm -f ${wx_arg_cache_file}.tmp
2029 touch ${wx_arg_cache_file}.tmp
2030 touch ${wx_arg_cache_file}
2034 if test $DEBUG_CONFIGURE = 1; then
2035 DEFAULT_wxUSE_UNIVERSAL=no
2036 DEFAULT_wxUSE_STL=no
2038 DEFAULT_wxUSE_NANOX=no
2040 DEFAULT_wxUSE_THREADS=yes
2042 DEFAULT_wxUSE_SHARED=yes
2043 DEFAULT_wxUSE_OPTIMISE=no
2044 DEFAULT_wxUSE_PROFILE=no
2045 DEFAULT_wxUSE_NO_DEPS=no
2046 DEFAULT_wxUSE_NO_RTTI=no
2047 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2048 DEFAULT_wxUSE_RPATH=yes
2049 DEFAULT_wxUSE_PERMISSIVE=no
2050 DEFAULT_wxUSE_DEBUG_FLAG=yes
2051 DEFAULT_wxUSE_DEBUG_INFO=yes
2052 DEFAULT_wxUSE_DEBUG_GDB=yes
2053 DEFAULT_wxUSE_MEM_TRACING=no
2054 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2055 DEFAULT_wxUSE_DMALLOC=no
2056 DEFAULT_wxUSE_APPLE_IEEE=no
2058 DEFAULT_wxUSE_EXCEPTIONS=no
2059 DEFAULT_wxUSE_LOG=yes
2060 DEFAULT_wxUSE_LOGWINDOW=no
2061 DEFAULT_wxUSE_LOGGUI=no
2062 DEFAULT_wxUSE_LOGDIALOG=no
2064 DEFAULT_wxUSE_GUI=yes
2065 DEFAULT_wxUSE_CONTROLS=no
2067 DEFAULT_wxUSE_REGEX=no
2068 DEFAULT_wxUSE_XML=no
2069 DEFAULT_wxUSE_EXPAT=no
2070 DEFAULT_wxUSE_ZLIB=no
2071 DEFAULT_wxUSE_LIBPNG=no
2072 DEFAULT_wxUSE_LIBJPEG=no
2073 DEFAULT_wxUSE_LIBTIFF=no
2074 DEFAULT_wxUSE_LIBXPM=no
2075 DEFAULT_wxUSE_LIBMSPACK=no
2076 DEFAULT_wxUSE_LIBSDL=no
2077 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2078 DEFAULT_wxUSE_ODBC=no
2079 DEFAULT_wxUSE_OPENGL=no
2081 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2082 DEFAULT_wxUSE_STACKWALKER=no
2083 DEFAULT_wxUSE_DEBUGREPORT=no
2084 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2085 DEFAULT_wxUSE_STD_IOSTREAM=no
2086 DEFAULT_wxUSE_STD_STRING=no
2087 DEFAULT_wxUSE_CMDLINE_PARSER=no
2088 DEFAULT_wxUSE_DATETIME=no
2089 DEFAULT_wxUSE_TIMER=no
2090 DEFAULT_wxUSE_STOPWATCH=no
2091 DEFAULT_wxUSE_FILE=no
2092 DEFAULT_wxUSE_FFILE=no
2093 DEFAULT_wxUSE_STDPATHS=no
2094 DEFAULT_wxUSE_TEXTBUFFER=no
2095 DEFAULT_wxUSE_TEXTFILE=no
2096 DEFAULT_wxUSE_SOUND=no
2097 DEFAULT_wxUSE_MEDIACTRL=no
2098 DEFAULT_wxUSE_INTL=no
2099 DEFAULT_wxUSE_CONFIG=no
2100 DEFAULT_wxUSE_FONTMAP=no
2101 DEFAULT_wxUSE_STREAMS=no
2102 DEFAULT_wxUSE_SOCKETS=no
2103 DEFAULT_wxUSE_OLE=no
2104 DEFAULT_wxUSE_DATAOBJ=no
2105 DEFAULT_wxUSE_DIALUP_MANAGER=no
2106 DEFAULT_wxUSE_JOYSTICK=no
2107 DEFAULT_wxUSE_DYNLIB_CLASS=no
2108 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2109 DEFAULT_wxUSE_LONGLONG=no
2110 DEFAULT_wxUSE_GEOMETRY=no
2112 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2113 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2114 DEFAULT_wxUSE_POSTSCRIPT=no
2116 DEFAULT_wxUSE_CLIPBOARD=no
2117 DEFAULT_wxUSE_TOOLTIPS=no
2118 DEFAULT_wxUSE_DRAG_AND_DROP=no
2119 DEFAULT_wxUSE_DRAGIMAGE=no
2120 DEFAULT_wxUSE_SPLINES=no
2121 DEFAULT_wxUSE_MOUSEWHEEL=no
2123 DEFAULT_wxUSE_MDI=no
2124 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2125 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2126 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2128 DEFAULT_wxUSE_RESOURCES=no
2129 DEFAULT_wxUSE_CONSTRAINTS=no
2130 DEFAULT_wxUSE_IPC=no
2131 DEFAULT_wxUSE_HELP=no
2132 DEFAULT_wxUSE_MS_HTML_HELP=no
2133 DEFAULT_wxUSE_WXHTML_HELP=no
2134 DEFAULT_wxUSE_TREELAYOUT=no
2135 DEFAULT_wxUSE_METAFILE=no
2136 DEFAULT_wxUSE_MIMETYPE=no
2137 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2138 DEFAULT_wxUSE_PROTOCOL=no
2139 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2140 DEFAULT_wxUSE_PROTOCOL_FTP=no
2141 DEFAULT_wxUSE_PROTOCOL_FILE=no
2142 DEFAULT_wxUSE_URL=no
2144 DEFAULT_wxUSE_COMMONDLGS=no
2145 DEFAULT_wxUSE_CHOICEDLG=no
2146 DEFAULT_wxUSE_COLOURDLG=no
2147 DEFAULT_wxUSE_DIRDLG=no
2148 DEFAULT_wxUSE_FILEDLG=no
2149 DEFAULT_wxUSE_FINDREPLDLG=no
2150 DEFAULT_wxUSE_FONTDLG=no
2151 DEFAULT_wxUSE_MSGDLG=no
2152 DEFAULT_wxUSE_NUMBERDLG=no
2153 DEFAULT_wxUSE_TEXTDLG=no
2154 DEFAULT_wxUSE_SPLASH=no
2155 DEFAULT_wxUSE_STARTUP_TIPS=no
2156 DEFAULT_wxUSE_PROGRESSDLG=no
2157 DEFAULT_wxUSE_WIZARDDLG=no
2159 DEFAULT_wxUSE_MENUS=no
2160 DEFAULT_wxUSE_MINIFRAME=no
2161 DEFAULT_wxUSE_HTML=no
2162 DEFAULT_wxUSE_RICHTEXT=no
2163 DEFAULT_wxUSE_XRC=no
2164 DEFAULT_wxUSE_WEBKIT=no
2165 DEFAULT_wxUSE_FILESYSTEM=no
2166 DEFAULT_wxUSE_FS_INET=no
2167 DEFAULT_wxUSE_FS_ZIP=no
2168 DEFAULT_wxUSE_BUSYINFO=no
2169 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2170 DEFAULT_wxUSE_ZIPSTREAM=no
2171 DEFAULT_wxUSE_VALIDATORS=no
2173 DEFAULT_wxUSE_ACCEL=no
2174 DEFAULT_wxUSE_BUTTON=no
2175 DEFAULT_wxUSE_BMPBUTTON=no
2176 DEFAULT_wxUSE_CALCTRL=no
2177 DEFAULT_wxUSE_CARET=no
2178 DEFAULT_wxUSE_CHECKBOX=no
2179 DEFAULT_wxUSE_CHECKLST=no
2180 DEFAULT_wxUSE_CHOICE=no
2181 DEFAULT_wxUSE_CHOICEBOOK=no
2182 DEFAULT_wxUSE_COMBOBOX=no
2183 DEFAULT_wxUSE_DATEPICKCTRL=no
2184 DEFAULT_wxUSE_DISPLAY=no
2185 DEFAULT_wxUSE_GAUGE=no
2186 DEFAULT_wxUSE_GRID=no
2187 DEFAULT_wxUSE_IMAGLIST=no
2188 DEFAULT_wxUSE_LISTBOOK=no
2189 DEFAULT_wxUSE_LISTBOX=no
2190 DEFAULT_wxUSE_LISTCTRL=no
2191 DEFAULT_wxUSE_NOTEBOOK=no
2192 DEFAULT_wxUSE_RADIOBOX=no
2193 DEFAULT_wxUSE_RADIOBTN=no
2194 DEFAULT_wxUSE_SASH=no
2195 DEFAULT_wxUSE_SCROLLBAR=no
2196 DEFAULT_wxUSE_SLIDER=no
2197 DEFAULT_wxUSE_SPINBTN=no
2198 DEFAULT_wxUSE_SPINCTRL=no
2199 DEFAULT_wxUSE_SPLITTER=no
2200 DEFAULT_wxUSE_STATBMP=no
2201 DEFAULT_wxUSE_STATBOX=no
2202 DEFAULT_wxUSE_STATLINE=no
2203 DEFAULT_wxUSE_STATTEXT=no
2204 DEFAULT_wxUSE_STATUSBAR=yes
2205 DEFAULT_wxUSE_TABDIALOG=no
2206 DEFAULT_wxUSE_TEXTCTRL=no
2207 DEFAULT_wxUSE_TOGGLEBTN=no
2208 DEFAULT_wxUSE_TOOLBAR=no
2209 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2210 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2211 DEFAULT_wxUSE_TREEBOOK=no
2212 DEFAULT_wxUSE_TREECTRL=no
2213 DEFAULT_wxUSE_POPUPWIN=no
2214 DEFAULT_wxUSE_TIPWINDOW=no
2216 DEFAULT_wxUSE_UNICODE=no
2217 DEFAULT_wxUSE_UNICODE_MSLU=no
2218 DEFAULT_wxUSE_WCSRTOMBS=no
2220 DEFAULT_wxUSE_PALETTE=no
2221 DEFAULT_wxUSE_IMAGE=no
2222 DEFAULT_wxUSE_GIF=no
2223 DEFAULT_wxUSE_PCX=no
2224 DEFAULT_wxUSE_PNM=no
2225 DEFAULT_wxUSE_IFF=no
2226 DEFAULT_wxUSE_XPM=no
2227 DEFAULT_wxUSE_ICO_CUR=no
2228 DEFAULT_wxUSE_ACCESSIBILITY=no
2230 DEFAULT_wxUSE_MONOLITHIC=no
2231 DEFAULT_wxUSE_PLUGINS=no
2232 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2234 DEFAULT_wxUSE_UNIVERSAL=no
2235 DEFAULT_wxUSE_STL=no
2237 DEFAULT_wxUSE_NANOX=no
2239 DEFAULT_wxUSE_THREADS=yes
2241 DEFAULT_wxUSE_SHARED=yes
2242 DEFAULT_wxUSE_OPTIMISE=yes
2243 DEFAULT_wxUSE_PROFILE=no
2244 DEFAULT_wxUSE_NO_DEPS=no
2245 DEFAULT_wxUSE_NO_RTTI=no
2246 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2247 DEFAULT_wxUSE_RPATH=yes
2248 DEFAULT_wxUSE_PERMISSIVE=no
2249 DEFAULT_wxUSE_DEBUG_FLAG=no
2250 DEFAULT_wxUSE_DEBUG_INFO=no
2251 DEFAULT_wxUSE_DEBUG_GDB=no
2252 DEFAULT_wxUSE_MEM_TRACING=no
2253 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2254 DEFAULT_wxUSE_DMALLOC=no
2255 DEFAULT_wxUSE_APPLE_IEEE=yes
2257 DEFAULT_wxUSE_EXCEPTIONS=yes
2258 DEFAULT_wxUSE_LOG=yes
2259 DEFAULT_wxUSE_LOGWINDOW=yes
2260 DEFAULT_wxUSE_LOGGUI=yes
2261 DEFAULT_wxUSE_LOGDIALOG=yes
2263 DEFAULT_wxUSE_GUI=yes
2265 DEFAULT_wxUSE_REGEX=yes
2266 DEFAULT_wxUSE_XML=yes
2267 DEFAULT_wxUSE_EXPAT=yes
2268 DEFAULT_wxUSE_ZLIB=yes
2269 DEFAULT_wxUSE_LIBPNG=yes
2270 DEFAULT_wxUSE_LIBJPEG=yes
2271 DEFAULT_wxUSE_LIBTIFF=yes
2272 DEFAULT_wxUSE_LIBXPM=yes
2273 DEFAULT_wxUSE_LIBMSPACK=yes
2274 DEFAULT_wxUSE_LIBSDL=no
2275 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2276 DEFAULT_wxUSE_ODBC=no
2277 DEFAULT_wxUSE_OPENGL=no
2279 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2280 DEFAULT_wxUSE_STACKWALKER=yes
2281 DEFAULT_wxUSE_DEBUGREPORT=yes
2282 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2283 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2284 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2285 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2286 DEFAULT_wxUSE_DATETIME=yes
2287 DEFAULT_wxUSE_TIMER=yes
2288 DEFAULT_wxUSE_STOPWATCH=yes
2289 DEFAULT_wxUSE_FILE=yes
2290 DEFAULT_wxUSE_FFILE=yes
2291 DEFAULT_wxUSE_STDPATHS=yes
2292 DEFAULT_wxUSE_TEXTBUFFER=yes
2293 DEFAULT_wxUSE_TEXTFILE=yes
2294 DEFAULT_wxUSE_SOUND=yes
2295 DEFAULT_wxUSE_MEDIACTRL=no
2296 DEFAULT_wxUSE_INTL=yes
2297 DEFAULT_wxUSE_CONFIG=yes
2298 DEFAULT_wxUSE_FONTMAP=yes
2299 DEFAULT_wxUSE_STREAMS=yes
2300 DEFAULT_wxUSE_SOCKETS=yes
2301 DEFAULT_wxUSE_OLE=yes
2302 DEFAULT_wxUSE_DATAOBJ=yes
2303 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2304 DEFAULT_wxUSE_JOYSTICK=yes
2305 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2306 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2307 DEFAULT_wxUSE_LONGLONG=yes
2308 DEFAULT_wxUSE_GEOMETRY=yes
2310 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2311 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2312 DEFAULT_wxUSE_POSTSCRIPT=yes
2314 DEFAULT_wxUSE_CLIPBOARD=yes
2315 DEFAULT_wxUSE_TOOLTIPS=yes
2316 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2317 DEFAULT_wxUSE_DRAGIMAGE=yes
2318 DEFAULT_wxUSE_SPLINES=yes
2319 DEFAULT_wxUSE_MOUSEWHEEL=yes
2321 DEFAULT_wxUSE_MDI=yes
2322 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2323 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2324 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2326 DEFAULT_wxUSE_RESOURCES=no
2327 DEFAULT_wxUSE_CONSTRAINTS=yes
2328 DEFAULT_wxUSE_IPC=yes
2329 DEFAULT_wxUSE_HELP=yes
2330 DEFAULT_wxUSE_MS_HTML_HELP=yes
2331 DEFAULT_wxUSE_WXHTML_HELP=yes
2332 DEFAULT_wxUSE_TREELAYOUT=yes
2333 DEFAULT_wxUSE_METAFILE=yes
2334 DEFAULT_wxUSE_MIMETYPE=yes
2335 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2336 DEFAULT_wxUSE_PROTOCOL=yes
2337 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2338 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2339 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2340 DEFAULT_wxUSE_URL=yes
2342 DEFAULT_wxUSE_COMMONDLGS=yes
2343 DEFAULT_wxUSE_CHOICEDLG=yes
2344 DEFAULT_wxUSE_COLOURDLG=yes
2345 DEFAULT_wxUSE_DIRDLG=yes
2346 DEFAULT_wxUSE_FILEDLG=yes
2347 DEFAULT_wxUSE_FINDREPLDLG=yes
2348 DEFAULT_wxUSE_FONTDLG=yes
2349 DEFAULT_wxUSE_MSGDLG=yes
2350 DEFAULT_wxUSE_NUMBERDLG=yes
2351 DEFAULT_wxUSE_TEXTDLG=yes
2352 DEFAULT_wxUSE_SPLASH=yes
2353 DEFAULT_wxUSE_STARTUP_TIPS=yes
2354 DEFAULT_wxUSE_PROGRESSDLG=yes
2355 DEFAULT_wxUSE_WIZARDDLG=yes
2357 DEFAULT_wxUSE_MENUS=yes
2358 DEFAULT_wxUSE_MINIFRAME=yes
2359 DEFAULT_wxUSE_HTML=yes
2360 DEFAULT_wxUSE_RICHTEXT=yes
2361 DEFAULT_wxUSE_XRC=yes
2362 DEFAULT_wxUSE_WEBKIT=yes
2363 DEFAULT_wxUSE_FILESYSTEM=yes
2364 DEFAULT_wxUSE_FS_INET=yes
2365 DEFAULT_wxUSE_FS_ZIP=yes
2366 DEFAULT_wxUSE_BUSYINFO=yes
2367 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2368 DEFAULT_wxUSE_ZIPSTREAM=yes
2369 DEFAULT_wxUSE_VALIDATORS=yes
2371 DEFAULT_wxUSE_ACCEL=yes
2372 DEFAULT_wxUSE_BUTTON=yes
2373 DEFAULT_wxUSE_BMPBUTTON=yes
2374 DEFAULT_wxUSE_CALCTRL=yes
2375 DEFAULT_wxUSE_CARET=yes
2376 DEFAULT_wxUSE_CHECKBOX=yes
2377 DEFAULT_wxUSE_CHECKLST=yes
2378 DEFAULT_wxUSE_CHOICE=yes
2379 DEFAULT_wxUSE_CHOICEBOOK=yes
2380 DEFAULT_wxUSE_COMBOBOX=yes
2381 DEFAULT_wxUSE_DATEPICKCTRL=yes
2382 DEFAULT_wxUSE_DISPLAY=yes
2383 DEFAULT_wxUSE_GAUGE=yes
2384 DEFAULT_wxUSE_GRID=yes
2385 DEFAULT_wxUSE_IMAGLIST=yes
2386 DEFAULT_wxUSE_LISTBOOK=yes
2387 DEFAULT_wxUSE_LISTBOX=yes
2388 DEFAULT_wxUSE_LISTCTRL=yes
2389 DEFAULT_wxUSE_NOTEBOOK=yes
2390 DEFAULT_wxUSE_RADIOBOX=yes
2391 DEFAULT_wxUSE_RADIOBTN=yes
2392 DEFAULT_wxUSE_SASH=yes
2393 DEFAULT_wxUSE_SCROLLBAR=yes
2394 DEFAULT_wxUSE_SLIDER=yes
2395 DEFAULT_wxUSE_SPINBTN=yes
2396 DEFAULT_wxUSE_SPINCTRL=yes
2397 DEFAULT_wxUSE_SPLITTER=yes
2398 DEFAULT_wxUSE_STATBMP=yes
2399 DEFAULT_wxUSE_STATBOX=yes
2400 DEFAULT_wxUSE_STATLINE=yes
2401 DEFAULT_wxUSE_STATTEXT=yes
2402 DEFAULT_wxUSE_STATUSBAR=yes
2403 DEFAULT_wxUSE_TABDIALOG=no
2404 DEFAULT_wxUSE_TEXTCTRL=yes
2405 DEFAULT_wxUSE_TOGGLEBTN=yes
2406 DEFAULT_wxUSE_TOOLBAR=yes
2407 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2408 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2409 DEFAULT_wxUSE_TREEBOOK=yes
2410 DEFAULT_wxUSE_TREECTRL=yes
2411 DEFAULT_wxUSE_POPUPWIN=yes
2412 DEFAULT_wxUSE_TIPWINDOW=yes
2414 DEFAULT_wxUSE_UNICODE=no
2415 DEFAULT_wxUSE_UNICODE_MSLU=yes
2416 DEFAULT_wxUSE_WCSRTOMBS=no
2418 DEFAULT_wxUSE_PALETTE=yes
2419 DEFAULT_wxUSE_IMAGE=yes
2420 DEFAULT_wxUSE_GIF=yes
2421 DEFAULT_wxUSE_PCX=yes
2422 DEFAULT_wxUSE_IFF=no
2423 DEFAULT_wxUSE_PNM=yes
2424 DEFAULT_wxUSE_XPM=yes
2425 DEFAULT_wxUSE_ICO_CUR=yes
2426 DEFAULT_wxUSE_ACCESSIBILITY=no
2428 DEFAULT_wxUSE_MONOLITHIC=no
2429 DEFAULT_wxUSE_PLUGINS=no
2430 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2432 DEFAULT_wxUSE_GTK2=yes
2438 for toolkit in `echo $ALL_TOOLKITS`; do
2439 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 has_toolkit_in_cache=1
2442 eval "DEFAULT_$LINE"
2443 eval "CACHE_$toolkit=1"
2445 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2446 if test "x$LINE" != "x" ; then
2447 eval "DEFAULT_$LINE"
2455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2456 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2458 # Check whether --enable-gui or --disable-gui was given.
2459 if test "${enable_gui+set}" = set; then
2460 enableval="$enable_gui"
2462 if test "$enableval" = yes; then
2463 ac_cv_use_gui='wxUSE_GUI
=yes'
2465 ac_cv_use_gui='wxUSE_GUI
=no
'
2470 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2471 if test "x$LINE" != x ; then
2472 eval "DEFAULT_$LINE"
2477 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2481 eval "$ac_cv_use_gui"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_GUI" = yes; then
2487 echo "$as_me:$LINENO: result: yes" >&5
2488 echo "${ECHO_T}yes" >&6
2490 echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2497 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2499 # Check whether --enable-monolithic or --disable-monolithic was given.
2500 if test "${enable_monolithic+set}" = set; then
2501 enableval="$enable_monolithic"
2503 if test "$enableval" = yes; then
2504 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2506 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2511 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x ; then
2513 eval "DEFAULT_$LINE"
2518 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2522 eval "$ac_cv_use_monolithic"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2527 if test "$wxUSE_MONOLITHIC" = yes; then
2528 echo "$as_me:$LINENO: result: yes" >&5
2529 echo "${ECHO_T}yes" >&6
2531 echo "$as_me:$LINENO: result: no" >&5
2532 echo "${ECHO_T}no" >&6
2537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2538 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2540 # Check whether --enable-plugins or --disable-plugins was given.
2541 if test "${enable_plugins+set}" = set; then
2542 enableval="$enable_plugins"
2544 if test "$enableval" = yes; then
2545 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2547 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2552 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2553 if test "x$LINE" != x ; then
2554 eval "DEFAULT_$LINE"
2559 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2563 eval "$ac_cv_use_plugins"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_PLUGINS" = yes; then
2569 echo "$as_me:$LINENO: result: yes" >&5
2570 echo "${ECHO_T}yes" >&6
2572 echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6
2578 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2579 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2582 # Check whether --with-subdirs or --without-subdirs was given.
2583 if test "${with_subdirs+set}" = set; then
2584 withval="$with_subdirs"
2586 if test "$withval" = yes; then
2587 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2589 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2594 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2601 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2605 eval "$ac_cv_use_subdirs"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2610 if test "$wxWITH_SUBDIRS" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2619 if test "$wxUSE_GUI" = "yes"; then
2623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2624 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2626 # Check whether --enable-universal or --disable-universal was given.
2627 if test "${enable_universal+set}" = set; then
2628 enableval="$enable_universal"
2630 if test "$enableval" = yes; then
2631 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2633 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2638 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x ; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2649 eval "$ac_cv_use_universal"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2654 if test "$wxUSE_UNIVERSAL" = yes; then
2655 echo "$as_me:$LINENO: result: yes" >&5
2656 echo "${ECHO_T}yes" >&6
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2663 # Check whether --with-gtk or --without-gtk was given.
2664 if test "${with_gtk+set}" = set; then
2666 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2669 # Check whether --with-motif or --without-motif was given.
2670 if test "${with_motif+set}" = set; then
2671 withval="$with_motif"
2672 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2675 # Check whether --with-mac or --without-mac was given.
2676 if test "${with_mac+set}" = set; then
2678 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2681 # Check whether --with-cocoa or --without-cocoa was given.
2682 if test "${with_cocoa+set}" = set; then
2683 withval="$with_cocoa"
2684 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2687 # Check whether --with-wine or --without-wine was given.
2688 if test "${with_wine+set}" = set; then
2689 withval="$with_wine"
2690 wxUSE_WINE="$withval" CACHE_WINE=1
2693 # Check whether --with-msw or --without-msw was given.
2694 if test "${with_msw+set}" = set; then
2696 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2699 # Check whether --with-pm or --without-pm was given.
2700 if test "${with_pm+set}" = set; then
2702 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2705 # Check whether --with-mgl or --without-mgl was given.
2706 if test "${with_mgl+set}" = set; then
2708 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2711 # Check whether --with-microwin or --without-microwin was given.
2712 if test "${with_microwin+set}" = set; then
2713 withval="$with_microwin"
2714 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2717 # Check whether --with-x11 or --without-x11 was given.
2718 if test "${with_x11+set}" = set; then
2720 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2725 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2727 # Check whether --enable-nanox or --disable-nanox was given.
2728 if test "${enable_nanox+set}" = set; then
2729 enableval="$enable_nanox"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2734 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2739 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x ; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2750 eval "$ac_cv_use_nanox"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_NANOX" = yes; then
2756 echo "$as_me:$LINENO: result: yes" >&5
2757 echo "${ECHO_T}yes" >&6
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2764 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2765 if test "${enable_gtk2+set}" = set; then
2766 enableval="$enable_gtk2"
2767 wxUSE_GTK2="$enableval"
2771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2772 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2774 # Check whether --enable-gpe or --disable-gpe was given.
2775 if test "${enable_gpe+set}" = set; then
2776 enableval="$enable_gpe"
2778 if test "$enableval" = yes; then
2779 ac_cv_use_gpe='wxUSE_GPE
=yes'
2781 ac_cv_use_gpe='wxUSE_GPE
=no
'
2786 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x ; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2797 eval "$ac_cv_use_gpe"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_GPE" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2812 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2813 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2816 # Check whether --with-libpng or --without-libpng was given.
2817 if test "${with_libpng+set}" = set; then
2818 withval="$with_libpng"
2820 if test "$withval" = yes; then
2821 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2822 elif test "$withval" = no; then
2823 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2824 elif test "$withval" = sys; then
2825 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2826 elif test "$withval" = builtin; then
2827 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2829 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2830 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2831 { (exit 1); exit 1; }; }
2836 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x ; then
2838 eval "DEFAULT_$LINE"
2843 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2847 eval "$ac_cv_use_libpng"
2848 if test "$no_cache" != 1; then
2849 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2852 if test "$wxUSE_LIBPNG" = yes; then
2853 echo "$as_me:$LINENO: result: yes" >&5
2854 echo "${ECHO_T}yes" >&6
2855 elif test "$wxUSE_LIBPNG" = no; then
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2858 elif test "$wxUSE_LIBPNG" = sys; then
2859 echo "$as_me:$LINENO: result: system version" >&5
2860 echo "${ECHO_T}system version" >&6
2861 elif test "$wxUSE_LIBPNG" = builtin; then
2862 echo "$as_me:$LINENO: result: builtin version" >&5
2863 echo "${ECHO_T}builtin version" >&6
2865 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2866 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2867 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2872 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2875 # Check whether --with-libjpeg or --without-libjpeg was given.
2876 if test "${with_libjpeg+set}" = set; then
2877 withval="$with_libjpeg"
2879 if test "$withval" = yes; then
2880 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2881 elif test "$withval" = no; then
2882 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2883 elif test "$withval" = sys; then
2884 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2885 elif test "$withval" = builtin; then
2886 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2895 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x ; then
2897 eval "DEFAULT_$LINE"
2902 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2906 eval "$ac_cv_use_libjpeg"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2911 if test "$wxUSE_LIBJPEG" = yes; then
2912 echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6
2914 elif test "$wxUSE_LIBJPEG" = no; then
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2917 elif test "$wxUSE_LIBJPEG" = sys; then
2918 echo "$as_me:$LINENO: result: system version" >&5
2919 echo "${ECHO_T}system version" >&6
2920 elif test "$wxUSE_LIBJPEG" = builtin; then
2921 echo "$as_me:$LINENO: result: builtin version" >&5
2922 echo "${ECHO_T}builtin version" >&6
2924 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2925 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2926 { (exit 1); exit 1; }; }
2930 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2931 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2934 # Check whether --with-libtiff or --without-libtiff was given.
2935 if test "${with_libtiff+set}" = set; then
2936 withval="$with_libtiff"
2938 if test "$withval" = yes; then
2939 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2940 elif test "$withval" = no; then
2941 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2942 elif test "$withval" = sys; then
2943 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2944 elif test "$withval" = builtin; then
2945 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2954 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2965 eval "$ac_cv_use_libtiff"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_LIBTIFF" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2973 elif test "$wxUSE_LIBTIFF" = no; then
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2976 elif test "$wxUSE_LIBTIFF" = sys; then
2977 echo "$as_me:$LINENO: result: system version" >&5
2978 echo "${ECHO_T}system version" >&6
2979 elif test "$wxUSE_LIBTIFF" = builtin; then
2980 echo "$as_me:$LINENO: result: builtin version" >&5
2981 echo "${ECHO_T}builtin version" >&6
2983 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2984 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2985 { (exit 1); exit 1; }; }
2989 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2990 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2993 # Check whether --with-libxpm or --without-libxpm was given.
2994 if test "${with_libxpm+set}" = set; then
2995 withval="$with_libxpm"
2997 if test "$withval" = yes; then
2998 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2999 elif test "$withval" = no; then
3000 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3001 elif test "$withval" = sys; then
3002 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3003 elif test "$withval" = builtin; then
3004 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3007 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3013 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x ; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3024 eval "$ac_cv_use_libxpm"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_LIBXPM" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3032 elif test "$wxUSE_LIBXPM" = no; then
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3035 elif test "$wxUSE_LIBXPM" = sys; then
3036 echo "$as_me:$LINENO: result: system version" >&5
3037 echo "${ECHO_T}system version" >&6
3038 elif test "$wxUSE_LIBXPM" = builtin; then
3039 echo "$as_me:$LINENO: result: builtin version" >&5
3040 echo "${ECHO_T}builtin version" >&6
3042 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3043 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3044 { (exit 1); exit 1; }; }
3049 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3050 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3053 # Check whether --with-libmspack or --without-libmspack was given.
3054 if test "${with_libmspack+set}" = set; then
3055 withval="$with_libmspack"
3057 if test "$withval" = yes; then
3058 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3060 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3065 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3072 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3076 eval "$ac_cv_use_libmspack"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_LIBMSPACK" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3091 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3092 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3095 # Check whether --with-sdl or --without-sdl was given.
3096 if test "${with_sdl+set}" = set; then
3099 if test "$withval" = yes; then
3100 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3102 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3107 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3118 eval "$ac_cv_use_sdl"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_LIBSDL" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3133 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3134 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3137 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3138 if test "${with_gnomeprint+set}" = set; then
3139 withval="$with_gnomeprint"
3141 if test "$withval" = yes; then
3142 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3144 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3149 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3160 eval "$ac_cv_use_gnomeprint"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3175 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3176 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3179 # Check whether --with-opengl or --without-opengl was given.
3180 if test "${with_opengl+set}" = set; then
3181 withval="$with_opengl"
3183 if test "$withval" = yes; then
3184 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3186 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3191 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x ; then
3193 eval "DEFAULT_$LINE"
3198 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3202 eval "$ac_cv_use_opengl"
3203 if test "$no_cache" != 1; then
3204 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3207 if test "$wxUSE_OPENGL" = yes; then
3208 echo "$as_me:$LINENO: result: yes" >&5
3209 echo "${ECHO_T}yes" >&6
3211 echo "$as_me:$LINENO: result: no" >&5
3212 echo "${ECHO_T}no" >&6
3220 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3221 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3224 # Check whether --with-dmalloc or --without-dmalloc was given.
3225 if test "${with_dmalloc+set}" = set; then
3226 withval="$with_dmalloc"
3228 if test "$withval" = yes; then
3229 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3231 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3236 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3243 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3247 eval "$ac_cv_use_dmalloc"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_DMALLOC" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3261 echo "$as_me:$LINENO: checking for --with-regex" >&5
3262 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3265 # Check whether --with-regex or --without-regex was given.
3266 if test "${with_regex+set}" = set; then
3267 withval="$with_regex"
3269 if test "$withval" = yes; then
3270 ac_cv_use_regex='wxUSE_REGEX
=yes'
3271 elif test "$withval" = no; then
3272 ac_cv_use_regex='wxUSE_REGEX
=no
'
3273 elif test "$withval" = sys; then
3274 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3275 elif test "$withval" = builtin; then
3276 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3280 { (exit 1); exit 1; }; }
3285 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3296 eval "$ac_cv_use_regex"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_REGEX" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3304 elif test "$wxUSE_REGEX" = no; then
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3307 elif test "$wxUSE_REGEX" = sys; then
3308 echo "$as_me:$LINENO: result: system version" >&5
3309 echo "${ECHO_T}system version" >&6
3310 elif test "$wxUSE_REGEX" = builtin; then
3311 echo "$as_me:$LINENO: result: builtin version" >&5
3312 echo "${ECHO_T}builtin version" >&6
3314 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3315 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3316 { (exit 1); exit 1; }; }
3320 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3321 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3324 # Check whether --with-zlib or --without-zlib was given.
3325 if test "${with_zlib+set}" = set; then
3326 withval="$with_zlib"
3328 if test "$withval" = yes; then
3329 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3330 elif test "$withval" = no; then
3331 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3332 elif test "$withval" = sys; then
3333 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3334 elif test "$withval" = builtin; then
3335 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3339 { (exit 1); exit 1; }; }
3344 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3355 eval "$ac_cv_use_zlib"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_ZLIB" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 elif test "$wxUSE_ZLIB" = no; then
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 elif test "$wxUSE_ZLIB" = sys; then
3367 echo "$as_me:$LINENO: result: system version" >&5
3368 echo "${ECHO_T}system version" >&6
3369 elif test "$wxUSE_ZLIB" = builtin; then
3370 echo "$as_me:$LINENO: result: builtin version" >&5
3371 echo "${ECHO_T}builtin version" >&6
3373 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3374 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3375 { (exit 1); exit 1; }; }
3379 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3380 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3383 # Check whether --with-odbc or --without-odbc was given.
3384 if test "${with_odbc+set}" = set; then
3385 withval="$with_odbc"
3387 if test "$withval" = yes; then
3388 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3389 elif test "$withval" = no; then
3390 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3391 elif test "$withval" = sys; then
3392 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3393 elif test "$withval" = builtin; then
3394 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3396 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3397 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3398 { (exit 1); exit 1; }; }
3403 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3414 eval "$ac_cv_use_odbc"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_ODBC" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 elif test "$wxUSE_ODBC" = no; then
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 elif test "$wxUSE_ODBC" = sys; then
3426 echo "$as_me:$LINENO: result: system version" >&5
3427 echo "${ECHO_T}system version" >&6
3428 elif test "$wxUSE_ODBC" = builtin; then
3429 echo "$as_me:$LINENO: result: builtin version" >&5
3430 echo "${ECHO_T}builtin version" >&6
3432 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3433 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3434 { (exit 1); exit 1; }; }
3438 echo "$as_me:$LINENO: checking for --with-expat" >&5
3439 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3442 # Check whether --with-expat or --without-expat was given.
3443 if test "${with_expat+set}" = set; then
3444 withval="$with_expat"
3446 if test "$withval" = yes; then
3447 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3448 elif test "$withval" = no; then
3449 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3450 elif test "$withval" = sys; then
3451 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3452 elif test "$withval" = builtin; then
3453 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3455 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3456 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3457 { (exit 1); exit 1; }; }
3462 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3473 eval "$ac_cv_use_expat"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_EXPAT" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 elif test "$wxUSE_EXPAT" = no; then
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 elif test "$wxUSE_EXPAT" = sys; then
3485 echo "$as_me:$LINENO: result: system version" >&5
3486 echo "${ECHO_T}system version" >&6
3487 elif test "$wxUSE_EXPAT" = builtin; then
3488 echo "$as_me:$LINENO: result: builtin version" >&5
3489 echo "${ECHO_T}builtin version" >&6
3491 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3492 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3493 { (exit 1); exit 1; }; }
3500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3501 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3503 # Check whether --enable-shared or --disable-shared was given.
3504 if test "${enable_shared+set}" = set; then
3505 enableval="$enable_shared"
3507 if test "$enableval" = yes; then
3508 ac_cv_use_shared='wxUSE_SHARED
=yes'
3510 ac_cv_use_shared='wxUSE_SHARED
=no
'
3515 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3522 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3526 eval "$ac_cv_use_shared"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3531 if test "$wxUSE_SHARED" = yes; then
3532 echo "$as_me:$LINENO: result: yes" >&5
3533 echo "${ECHO_T}yes" >&6
3535 echo "$as_me:$LINENO: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3542 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3544 # Check whether --enable-optimise or --disable-optimise was given.
3545 if test "${enable_optimise+set}" = set; then
3546 enableval="$enable_optimise"
3548 if test "$enableval" = yes; then
3549 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3551 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3556 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3557 if test "x$LINE" != x ; then
3558 eval "DEFAULT_$LINE"
3563 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3567 eval "$ac_cv_use_optimise"
3568 if test "$no_cache" != 1; then
3569 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3572 if test "$wxUSE_OPTIMISE" = yes; then
3573 echo "$as_me:$LINENO: result: yes" >&5
3574 echo "${ECHO_T}yes" >&6
3576 echo "$as_me:$LINENO: result: no" >&5
3577 echo "${ECHO_T}no" >&6
3582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3583 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3585 # Check whether --enable-debug or --disable-debug was given.
3586 if test "${enable_debug+set}" = set; then
3587 enableval="$enable_debug"
3589 if test "$enableval" = yes; then
3590 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3592 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3597 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x ; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3608 eval "$ac_cv_use_debug"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3613 if test "$wxUSE_DEBUG" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3624 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3626 # Check whether --enable-stl or --disable-stl was given.
3627 if test "${enable_stl+set}" = set; then
3628 enableval="$enable_stl"
3630 if test "$enableval" = yes; then
3631 ac_cv_use_stl='wxUSE_STL
=yes'
3633 ac_cv_use_stl='wxUSE_STL
=no
'
3638 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3639 if test "x$LINE" != x ; then
3640 eval "DEFAULT_$LINE"
3645 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3649 eval "$ac_cv_use_stl"
3650 if test "$no_cache" != 1; then
3651 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3654 if test "$wxUSE_STL" = yes; then
3655 echo "$as_me:$LINENO: result: yes" >&5
3656 echo "${ECHO_T}yes" >&6
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3662 if test "$USE_OS2" = "1"; then
3663 DEFAULT_wxUSE_OMF=no
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3669 # Check whether --enable-omf or --disable-omf was given.
3670 if test "${enable_omf+set}" = set; then
3671 enableval="$enable_omf"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_omf='wxUSE_OMF
=yes'
3676 ac_cv_use_omf='wxUSE_OMF
=no
'
3681 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3692 eval "$ac_cv_use_omf"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_OMF" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3707 if test "$wxUSE_DEBUG" = "yes"; then
3708 DEFAULT_wxUSE_DEBUG_FLAG=yes
3709 DEFAULT_wxUSE_DEBUG_INFO=yes
3711 elif test "$wxUSE_DEBUG" = "no"; then
3712 DEFAULT_wxUSE_DEBUG_FLAG=no
3713 DEFAULT_wxUSE_DEBUG_INFO=no
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3722 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3723 if test "${enable_debug_flag+set}" = set; then
3724 enableval="$enable_debug_flag"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3729 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3734 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x ; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3745 eval "$ac_cv_use_debug_flag"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_DEBUG_FLAG" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3763 # Check whether --enable-debug_info or --disable-debug_info was given.
3764 if test "${enable_debug_info+set}" = set; then
3765 enableval="$enable_debug_info"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3770 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3775 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x ; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3786 eval "$ac_cv_use_debug_info"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_DEBUG_INFO" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3804 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3805 if test "${enable_debug_gdb+set}" = set; then
3806 enableval="$enable_debug_gdb"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3811 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3816 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3827 eval "$ac_cv_use_debug_gdb"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_DEBUG_GDB" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3845 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3846 if test "${enable_debug_cntxt+set}" = set; then
3847 enableval="$enable_debug_cntxt"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3852 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3857 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3868 eval "$ac_cv_use_debug_cntxt"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3886 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3887 if test "${enable_mem_tracing+set}" = set; then
3888 enableval="$enable_mem_tracing"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3893 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3898 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x ; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3909 eval "$ac_cv_use_mem_tracing"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_MEM_TRACING" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3927 # Check whether --enable-profile or --disable-profile was given.
3928 if test "${enable_profile+set}" = set; then
3929 enableval="$enable_profile"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3934 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3939 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x ; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3950 eval "$ac_cv_use_profile"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_PROFILE" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3968 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3969 if test "${enable_no_rtti+set}" = set; then
3970 enableval="$enable_no_rtti"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3975 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3980 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x ; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3991 eval "$ac_cv_use_no_rtti"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_NO_RTTI" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4009 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4010 if test "${enable_no_exceptions+set}" = set; then
4011 enableval="$enable_no_exceptions"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4016 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4021 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x ; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4032 eval "$ac_cv_use_no_exceptions"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4050 # Check whether --enable-permissive or --disable-permissive was given.
4051 if test "${enable_permissive+set}" = set; then
4052 enableval="$enable_permissive"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4057 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4062 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4073 eval "$ac_cv_use_permissive"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_PERMISSIVE" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4089 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4091 # Check whether --enable-no_deps or --disable-no_deps was given.
4092 if test "${enable_no_deps+set}" = set; then
4093 enableval="$enable_no_deps"
4095 if test "$enableval" = yes; then
4096 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4098 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4103 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4104 if test "x$LINE" != x ; then
4105 eval "DEFAULT_$LINE"
4110 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4114 eval "$ac_cv_use_no_deps"
4115 if test "$no_cache" != 1; then
4116 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4119 if test "$wxUSE_NO_DEPS" = yes; then
4120 echo "$as_me:$LINENO: result: yes" >&5
4121 echo "${ECHO_T}yes" >&6
4123 echo "$as_me:$LINENO: result: no" >&5
4124 echo "${ECHO_T}no" >&6
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval="$enable_compat24"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4145 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4170 enablestring=disable
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4174 # Check whether --enable-compat26 or --disable-compat26 was given.
4175 if test "${enable_compat26+set}" = set; then
4176 enableval="$enable_compat26"
4178 if test "$enableval" = yes; then
4179 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4181 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4186 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x ; then
4188 eval "DEFAULT_$LINE"
4193 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4197 eval "$ac_cv_use_compat26"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4202 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4216 # Check whether --enable-rpath or --disable-rpath was given.
4217 if test "${enable_rpath+set}" = set; then
4218 enableval="$enable_rpath"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4223 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4228 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4239 eval "$ac_cv_use_rpath"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_RPATH" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4260 # Check whether --enable-intl or --disable-intl was given.
4261 if test "${enable_intl+set}" = set; then
4262 enableval="$enable_intl"
4264 if test "$enableval" = yes; then
4265 ac_cv_use_intl='wxUSE_INTL
=yes'
4267 ac_cv_use_intl='wxUSE_INTL
=no
'
4272 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x ; then
4274 eval "DEFAULT_$LINE"
4279 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4283 eval "$ac_cv_use_intl"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_INTL" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4299 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4301 # Check whether --enable-config or --disable-config was given.
4302 if test "${enable_config+set}" = set; then
4303 enableval="$enable_config"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_config='wxUSE_CONFIG
=yes'
4308 ac_cv_use_config='wxUSE_CONFIG
=no
'
4313 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4324 eval "$ac_cv_use_config"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_CONFIG" = yes; then
4330 echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6
4333 echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4343 # Check whether --enable-protocols or --disable-protocols was given.
4344 if test "${enable_protocols+set}" = set; then
4345 enableval="$enable_protocols"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4350 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4355 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4366 eval "$ac_cv_use_protocols"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PROTOCOL" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4384 # Check whether --enable-ftp or --disable-ftp was given.
4385 if test "${enable_ftp+set}" = set; then
4386 enableval="$enable_ftp"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4391 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4396 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4407 eval "$ac_cv_use_ftp"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4425 # Check whether --enable-http or --disable-http was given.
4426 if test "${enable_http+set}" = set; then
4427 enableval="$enable_http"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4432 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4437 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4448 eval "$ac_cv_use_http"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4466 # Check whether --enable-fileproto or --disable-fileproto was given.
4467 if test "${enable_fileproto+set}" = set; then
4468 enableval="$enable_fileproto"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4473 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4478 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x ; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4489 eval "$ac_cv_use_fileproto"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4507 # Check whether --enable-sockets or --disable-sockets was given.
4508 if test "${enable_sockets+set}" = set; then
4509 enableval="$enable_sockets"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4514 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4519 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4530 eval "$ac_cv_use_sockets"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_SOCKETS" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4548 # Check whether --enable-ole or --disable-ole was given.
4549 if test "${enable_ole+set}" = set; then
4550 enableval="$enable_ole"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_ole='wxUSE_OLE
=yes'
4555 ac_cv_use_ole='wxUSE_OLE
=no
'
4560 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4571 eval "$ac_cv_use_ole"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_OLE" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4589 # Check whether --enable-dataobj or --disable-dataobj was given.
4590 if test "${enable_dataobj+set}" = set; then
4591 enableval="$enable_dataobj"
4593 if test "$enableval" = yes; then
4594 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4596 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4601 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4608 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4612 eval "$ac_cv_use_dataobj"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4617 if test "$wxUSE_DATAOBJ" = yes; then
4618 echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4629 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4631 # Check whether --enable-ipc or --disable-ipc was given.
4632 if test "${enable_ipc+set}" = set; then
4633 enableval="$enable_ipc"
4635 if test "$enableval" = yes; then
4636 ac_cv_use_ipc='wxUSE_IPC
=yes'
4638 ac_cv_use_ipc='wxUSE_IPC
=no
'
4643 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4650 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4654 eval "$ac_cv_use_ipc"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_IPC" = yes; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4673 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4674 if test "${enable_apple_ieee+set}" = set; then
4675 enableval="$enable_apple_ieee"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4680 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4685 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4696 eval "$ac_cv_use_apple_ieee"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_APPLE_IEEE" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4714 # Check whether --enable-arcstream or --disable-arcstream was given.
4715 if test "${enable_arcstream+set}" = set; then
4716 enableval="$enable_arcstream"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4721 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4726 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4737 eval "$ac_cv_use_arcstream"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4755 # Check whether --enable-backtrace or --disable-backtrace was given.
4756 if test "${enable_backtrace+set}" = set; then
4757 enableval="$enable_backtrace"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4762 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4767 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4778 eval "$ac_cv_use_backtrace"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_STACKWALKER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4796 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4797 if test "${enable_catch_segvs+set}" = set; then
4798 enableval="$enable_catch_segvs"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4803 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4808 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4819 eval "$ac_cv_use_catch_segvs"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4837 # Check whether --enable-cmdline or --disable-cmdline was given.
4838 if test "${enable_cmdline+set}" = set; then
4839 enableval="$enable_cmdline"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4844 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4849 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4860 eval "$ac_cv_use_cmdline"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4878 # Check whether --enable-datetime or --disable-datetime was given.
4879 if test "${enable_datetime+set}" = set; then
4880 enableval="$enable_datetime"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4885 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4890 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4901 eval "$ac_cv_use_datetime"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_DATETIME" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4919 # Check whether --enable-debugreport or --disable-debugreport was given.
4920 if test "${enable_debugreport+set}" = set; then
4921 enableval="$enable_debugreport"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4926 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4931 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4942 eval "$ac_cv_use_debugreport"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_DEBUGREPORT" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4960 # Check whether --enable-dialupman or --disable-dialupman was given.
4961 if test "${enable_dialupman+set}" = set; then
4962 enableval="$enable_dialupman"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4967 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4972 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4983 eval "$ac_cv_use_dialupman"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5001 # Check whether --enable-dynlib or --disable-dynlib was given.
5002 if test "${enable_dynlib+set}" = set; then
5003 enableval="$enable_dynlib"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5008 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5013 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5024 eval "$ac_cv_use_dynlib"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5042 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5043 if test "${enable_dynamicloader+set}" = set; then
5044 enableval="$enable_dynamicloader"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5049 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5054 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5065 eval "$ac_cv_use_dynamicloader"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5083 # Check whether --enable-exceptions or --disable-exceptions was given.
5084 if test "${enable_exceptions+set}" = set; then
5085 enableval="$enable_exceptions"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5090 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5095 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5106 eval "$ac_cv_use_exceptions"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_EXCEPTIONS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5124 # Check whether --enable-ffile or --disable-ffile was given.
5125 if test "${enable_ffile+set}" = set; then
5126 enableval="$enable_ffile"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5131 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5136 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5147 eval "$ac_cv_use_ffile"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_FFILE" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5165 # Check whether --enable-file or --disable-file was given.
5166 if test "${enable_file+set}" = set; then
5167 enableval="$enable_file"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_file='wxUSE_FILE
=yes'
5172 ac_cv_use_file='wxUSE_FILE
=no
'
5177 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5188 eval "$ac_cv_use_file"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_FILE" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5206 # Check whether --enable-filesystem or --disable-filesystem was given.
5207 if test "${enable_filesystem+set}" = set; then
5208 enableval="$enable_filesystem"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5213 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5218 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5229 eval "$ac_cv_use_filesystem"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_FILESYSTEM" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5247 # Check whether --enable-fontmap or --disable-fontmap was given.
5248 if test "${enable_fontmap+set}" = set; then
5249 enableval="$enable_fontmap"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5254 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5259 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5270 eval "$ac_cv_use_fontmap"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_FONTMAP" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5288 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5289 if test "${enable_fs_inet+set}" = set; then
5290 enableval="$enable_fs_inet"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5295 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5300 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5311 eval "$ac_cv_use_fs_inet"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_FS_INET" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5329 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5330 if test "${enable_fs_zip+set}" = set; then
5331 enableval="$enable_fs_zip"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5336 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5341 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5352 eval "$ac_cv_use_fs_zip"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_FS_ZIP" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5370 # Check whether --enable-geometry or --disable-geometry was given.
5371 if test "${enable_geometry+set}" = set; then
5372 enableval="$enable_geometry"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5377 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5382 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5393 eval "$ac_cv_use_geometry"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_GEOMETRY" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5411 # Check whether --enable-log or --disable-log was given.
5412 if test "${enable_log+set}" = set; then
5413 enableval="$enable_log"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_log='wxUSE_LOG
=yes'
5418 ac_cv_use_log='wxUSE_LOG
=no
'
5423 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5434 eval "$ac_cv_use_log"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_LOG" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5452 # Check whether --enable-longlong or --disable-longlong was given.
5453 if test "${enable_longlong+set}" = set; then
5454 enableval="$enable_longlong"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5459 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5464 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5475 eval "$ac_cv_use_longlong"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_LONGLONG" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5493 # Check whether --enable-mimetype or --disable-mimetype was given.
5494 if test "${enable_mimetype+set}" = set; then
5495 enableval="$enable_mimetype"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5500 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5505 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5516 eval "$ac_cv_use_mimetype"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_MIMETYPE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5534 # Check whether --enable-mslu or --disable-mslu was given.
5535 if test "${enable_mslu+set}" = set; then
5536 enableval="$enable_mslu"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5541 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5546 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5557 eval "$ac_cv_use_mslu"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_UNICODE_MSLU" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5575 # Check whether --enable-snglinst or --disable-snglinst was given.
5576 if test "${enable_snglinst+set}" = set; then
5577 enableval="$enable_snglinst"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5582 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5587 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5598 eval "$ac_cv_use_snglinst"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5616 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5617 if test "${enable_std_iostreams+set}" = set; then
5618 enableval="$enable_std_iostreams"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5623 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5628 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5639 eval "$ac_cv_use_std_iostreams"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_STD_IOSTREAM" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5657 # Check whether --enable-std_string or --disable-std_string was given.
5658 if test "${enable_std_string+set}" = set; then
5659 enableval="$enable_std_string"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5664 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5669 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5680 eval "$ac_cv_use_std_string"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_STD_STRING" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5698 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5699 if test "${enable_stdpaths+set}" = set; then
5700 enableval="$enable_stdpaths"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5705 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5710 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5721 eval "$ac_cv_use_stdpaths"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_STDPATHS" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5739 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5740 if test "${enable_stopwatch+set}" = set; then
5741 enableval="$enable_stopwatch"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5746 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5751 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5762 eval "$ac_cv_use_stopwatch"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_STOPWATCH" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5780 # Check whether --enable-streams or --disable-streams was given.
5781 if test "${enable_streams+set}" = set; then
5782 enableval="$enable_streams"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5787 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5792 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5803 eval "$ac_cv_use_streams"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_STREAMS" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5821 # Check whether --enable-system_options or --disable-system_options was given.
5822 if test "${enable_system_options+set}" = set; then
5823 enableval="$enable_system_options"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5828 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5833 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5844 eval "$ac_cv_use_system_options"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5862 # Check whether --enable-textbuf or --disable-textbuf was given.
5863 if test "${enable_textbuf+set}" = set; then
5864 enableval="$enable_textbuf"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5869 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5874 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5885 eval "$ac_cv_use_textbuf"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_TEXTBUFFER" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5903 # Check whether --enable-textfile or --disable-textfile was given.
5904 if test "${enable_textfile+set}" = set; then
5905 enableval="$enable_textfile"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5910 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5915 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5926 eval "$ac_cv_use_textfile"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_TEXTFILE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5944 # Check whether --enable-timer or --disable-timer was given.
5945 if test "${enable_timer+set}" = set; then
5946 enableval="$enable_timer"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_timer='wxUSE_TIMER
=yes'
5951 ac_cv_use_timer='wxUSE_TIMER
=no
'
5956 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5967 eval "$ac_cv_use_timer"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_TIMER" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5985 # Check whether --enable-unicode or --disable-unicode was given.
5986 if test "${enable_unicode+set}" = set; then
5987 enableval="$enable_unicode"
5989 if test "$enableval" = yes; then
5990 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5992 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5997 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6004 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6008 eval "$ac_cv_use_unicode"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6013 if test "$wxUSE_UNICODE" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6026 # Check whether --enable-sound or --disable-sound was given.
6027 if test "${enable_sound+set}" = set; then
6028 enableval="$enable_sound"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_sound='wxUSE_SOUND
=yes'
6033 ac_cv_use_sound='wxUSE_SOUND
=no
'
6038 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6049 eval "$ac_cv_use_sound"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_SOUND" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6067 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6068 if test "${enable_mediactrl+set}" = set; then
6069 enableval="$enable_mediactrl"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6074 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6079 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6090 eval "$ac_cv_use_mediactrl"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_MEDIACTRL" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6108 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6109 if test "${enable_wxprintfv+set}" = set; then
6110 enableval="$enable_wxprintfv"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6115 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6120 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6131 eval "$ac_cv_use_wxprintfv"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6149 # Check whether --enable-zipstream or --disable-zipstream was given.
6150 if test "${enable_zipstream+set}" = set; then
6151 enableval="$enable_zipstream"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6156 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6161 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6172 eval "$ac_cv_use_zipstream"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_ZIPSTREAM" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6189 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6191 # Check whether --enable-url or --disable-url was given.
6192 if test "${enable_url+set}" = set; then
6193 enableval="$enable_url"
6195 if test "$enableval" = yes; then
6196 ac_cv_use_url='wxUSE_URL
=yes'
6198 ac_cv_use_url='wxUSE_URL
=no
'
6203 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6204 if test "x$LINE" != x ; then
6205 eval "DEFAULT_$LINE"
6210 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6214 eval "$ac_cv_use_url"
6215 if test "$no_cache" != 1; then
6216 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6219 if test "$wxUSE_URL" = yes; then
6220 echo "$as_me:$LINENO: result: yes" >&5
6221 echo "${ECHO_T}yes" >&6
6223 echo "$as_me:$LINENO: result: no" >&5
6224 echo "${ECHO_T}no" >&6
6229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6232 # Check whether --enable-protocol or --disable-protocol was given.
6233 if test "${enable_protocol+set}" = set; then
6234 enableval="$enable_protocol"
6236 if test "$enableval" = yes; then
6237 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6239 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6244 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x ; then
6246 eval "DEFAULT_$LINE"
6251 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6255 eval "$ac_cv_use_protocol"
6256 if test "$no_cache" != 1; then
6257 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6260 if test "$wxUSE_PROTOCOL" = yes; then
6261 echo "$as_me:$LINENO: result: yes" >&5
6262 echo "${ECHO_T}yes" >&6
6264 echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6
6270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6273 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6274 if test "${enable_protocol_http+set}" = set; then
6275 enableval="$enable_protocol_http"
6277 if test "$enableval" = yes; then
6278 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6280 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6285 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6286 if test "x$LINE" != x ; then
6287 eval "DEFAULT_$LINE"
6292 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6296 eval "$ac_cv_use_protocol_http"
6297 if test "$no_cache" != 1; then
6298 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6301 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6302 echo "$as_me:$LINENO: result: yes" >&5
6303 echo "${ECHO_T}yes" >&6
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6312 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6314 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6315 if test "${enable_protocol_ftp+set}" = set; then
6316 enableval="$enable_protocol_ftp"
6318 if test "$enableval" = yes; then
6319 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6321 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6326 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6327 if test "x$LINE" != x ; then
6328 eval "DEFAULT_$LINE"
6333 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6337 eval "$ac_cv_use_protocol_ftp"
6338 if test "$no_cache" != 1; then
6339 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6342 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6343 echo "$as_me:$LINENO: result: yes" >&5
6344 echo "${ECHO_T}yes" >&6
6346 echo "$as_me:$LINENO: result: no" >&5
6347 echo "${ECHO_T}no" >&6
6352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6353 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6355 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6356 if test "${enable_protocol_file+set}" = set; then
6357 enableval="$enable_protocol_file"
6359 if test "$enableval" = yes; then
6360 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6362 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6367 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6368 if test "x$LINE" != x ; then
6369 eval "DEFAULT_$LINE"
6374 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6378 eval "$ac_cv_use_protocol_file"
6379 if test "$no_cache" != 1; then
6380 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6383 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6384 echo "$as_me:$LINENO: result: yes" >&5
6385 echo "${ECHO_T}yes" >&6
6387 echo "$as_me:$LINENO: result: no" >&5
6388 echo "${ECHO_T}no" >&6
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6399 # Check whether --enable-threads or --disable-threads was given.
6400 if test "${enable_threads+set}" = set; then
6401 enableval="$enable_threads"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_threads='wxUSE_THREADS
=yes'
6406 ac_cv_use_threads='wxUSE_THREADS
=no
'
6411 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6422 eval "$ac_cv_use_threads"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6427 if test "$wxUSE_THREADS" = yes; then
6428 echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6
6431 echo "$as_me:$LINENO: result: no" >&5
6432 echo "${ECHO_T}no" >&6
6436 if test "$wxUSE_GUI" = "yes"; then
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6444 # Check whether --enable-docview or --disable-docview was given.
6445 if test "${enable_docview+set}" = set; then
6446 enableval="$enable_docview"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6451 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6456 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6467 eval "$ac_cv_use_docview"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6485 # Check whether --enable-help or --disable-help was given.
6486 if test "${enable_help+set}" = set; then
6487 enableval="$enable_help"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_help='wxUSE_HELP
=yes'
6492 ac_cv_use_help='wxUSE_HELP
=no
'
6497 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x ; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6508 eval "$ac_cv_use_help"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_HELP" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6526 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6527 if test "${enable_mshtmlhelp+set}" = set; then
6528 enableval="$enable_mshtmlhelp"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6533 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6538 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x ; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6549 eval "$ac_cv_use_mshtmlhelp"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_MS_HTML_HELP" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6567 # Check whether --enable-html or --disable-html was given.
6568 if test "${enable_html+set}" = set; then
6569 enableval="$enable_html"
6571 if test "$enableval" = yes; then
6572 ac_cv_use_html='wxUSE_HTML
=yes'
6574 ac_cv_use_html='wxUSE_HTML
=no
'
6579 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x ; then
6581 eval "DEFAULT_$LINE"
6586 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6590 eval "$ac_cv_use_html"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6595 if test "$wxUSE_HTML" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6608 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6609 if test "${enable_htmlhelp+set}" = set; then
6610 enableval="$enable_htmlhelp"
6612 if test "$enableval" = yes; then
6613 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6615 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6620 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x ; then
6622 eval "DEFAULT_$LINE"
6627 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6631 eval "$ac_cv_use_htmlhelp"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_WXHTML_HELP" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6649 # Check whether --enable-xrc or --disable-xrc was given.
6650 if test "${enable_xrc+set}" = set; then
6651 enableval="$enable_xrc"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_xrc='wxUSE_XRC
=yes'
6656 ac_cv_use_xrc='wxUSE_XRC
=no
'
6661 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6672 eval "$ac_cv_use_xrc"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6677 if test "$wxUSE_XRC" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6690 # Check whether --enable-constraints or --disable-constraints was given.
6691 if test "${enable_constraints+set}" = set; then
6692 enableval="$enable_constraints"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6697 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6702 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x ; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6713 eval "$ac_cv_use_constraints"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_CONSTRAINTS" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6731 # Check whether --enable-printarch or --disable-printarch was given.
6732 if test "${enable_printarch+set}" = set; then
6733 enableval="$enable_printarch"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6738 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6743 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x ; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6754 eval "$ac_cv_use_printarch"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6772 # Check whether --enable-mdi or --disable-mdi was given.
6773 if test "${enable_mdi+set}" = set; then
6774 enableval="$enable_mdi"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_mdi='wxUSE_MDI
=yes'
6779 ac_cv_use_mdi='wxUSE_MDI
=no
'
6784 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6795 eval "$ac_cv_use_mdi"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_MDI" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6811 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6813 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6814 if test "${enable_mdidoc+set}" = set; then
6815 enableval="$enable_mdidoc"
6817 if test "$enableval" = yes; then
6818 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6820 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6825 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x ; then
6827 eval "DEFAULT_$LINE"
6832 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6836 eval "$ac_cv_use_mdidoc"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6842 echo "$as_me:$LINENO: result: yes" >&5
6843 echo "${ECHO_T}yes" >&6
6845 echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6
6851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6854 # Check whether --enable-loggui or --disable-loggui was given.
6855 if test "${enable_loggui+set}" = set; then
6856 enableval="$enable_loggui"
6858 if test "$enableval" = yes; then
6859 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6861 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6866 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6867 if test "x$LINE" != x ; then
6868 eval "DEFAULT_$LINE"
6873 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6877 eval "$ac_cv_use_loggui"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6882 if test "$wxUSE_LOGGUI" = yes; then
6883 echo "$as_me:$LINENO: result: yes" >&5
6884 echo "${ECHO_T}yes" >&6
6886 echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6
6892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6895 # Check whether --enable-logwin or --disable-logwin was given.
6896 if test "${enable_logwin+set}" = set; then
6897 enableval="$enable_logwin"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6902 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6907 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6918 eval "$ac_cv_use_logwin"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_LOGWINDOW" = yes; then
6924 echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6927 echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6936 # Check whether --enable-logdialog or --disable-logdialog was given.
6937 if test "${enable_logdialog+set}" = set; then
6938 enableval="$enable_logdialog"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6943 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6948 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6959 eval "$ac_cv_use_logdialog"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_LOGDIALOG" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6977 # Check whether --enable-webkit or --disable-webkit was given.
6978 if test "${enable_webkit+set}" = set; then
6979 enableval="$enable_webkit"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
6984 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
6989 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7000 eval "$ac_cv_use_webkit"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_WEBKIT" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7018 # Check whether --enable-html or --disable-html was given.
7019 if test "${enable_html+set}" = set; then
7020 enableval="$enable_html"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7025 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7030 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7041 eval "$ac_cv_use_html"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_RICHTEXT" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7058 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7060 # Check whether --enable-postscript or --disable-postscript was given.
7061 if test "${enable_postscript+set}" = set; then
7062 enableval="$enable_postscript"
7064 if test "$enableval" = yes; then
7065 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7067 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7072 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7073 if test "x$LINE" != x ; then
7074 eval "DEFAULT_$LINE"
7079 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7083 eval "$ac_cv_use_postscript"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7088 if test "$wxUSE_POSTSCRIPT" = yes; then
7089 echo "$as_me:$LINENO: result: yes" >&5
7090 echo "${ECHO_T}yes" >&6
7092 echo "$as_me:$LINENO: result: no" >&5
7093 echo "${ECHO_T}no" >&6
7101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7102 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7104 # Check whether --enable-prologio or --disable-prologio was given.
7105 if test "${enable_prologio+set}" = set; then
7106 enableval="$enable_prologio"
7108 if test "$enableval" = yes; then
7109 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7111 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7116 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7123 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7127 eval "$ac_cv_use_prologio"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7132 if test "$wxUSE_PROLOGIO" = yes; then
7133 echo "$as_me:$LINENO: result: yes" >&5
7134 echo "${ECHO_T}yes" >&6
7136 echo "$as_me:$LINENO: result: no" >&5
7137 echo "${ECHO_T}no" >&6
7142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7145 # Check whether --enable-resources or --disable-resources was given.
7146 if test "${enable_resources+set}" = set; then
7147 enableval="$enable_resources"
7149 if test "$enableval" = yes; then
7150 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7152 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7157 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x ; then
7159 eval "DEFAULT_$LINE"
7164 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7168 eval "$ac_cv_use_resources"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7173 if test "$wxUSE_RESOURCES" = yes; then
7174 echo "$as_me:$LINENO: result: yes" >&5
7175 echo "${ECHO_T}yes" >&6
7177 echo "$as_me:$LINENO: result: no" >&5
7178 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7188 # Check whether --enable-clipboard or --disable-clipboard was given.
7189 if test "${enable_clipboard+set}" = set; then
7190 enableval="$enable_clipboard"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7195 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7200 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7211 eval "$ac_cv_use_clipboard"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_CLIPBOARD" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7229 # Check whether --enable-dnd or --disable-dnd was given.
7230 if test "${enable_dnd+set}" = set; then
7231 enableval="$enable_dnd"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7236 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7241 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7252 eval "$ac_cv_use_dnd"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7270 # Check whether --enable-metafile or --disable-metafile was given.
7271 if test "${enable_metafile+set}" = set; then
7272 enableval="$enable_metafile"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7277 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7282 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7293 eval "$ac_cv_use_metafile"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_METAFILE" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7314 # Check whether --enable-controls or --disable-controls was given.
7315 if test "${enable_controls+set}" = set; then
7316 enableval="$enable_controls"
7318 if test "$enableval" = yes; then
7319 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7321 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7326 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7333 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7337 eval "$ac_cv_use_controls"
7338 if test "$no_cache" != 1; then
7339 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7342 if test "$wxUSE_CONTROLS" = yes; then
7343 echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6
7346 echo "$as_me:$LINENO: result: no" >&5
7347 echo "${ECHO_T}no" >&6
7351 if test "$wxUSE_CONTROLS" = "yes"; then
7352 DEFAULT_wxUSE_ACCEL=yes
7353 DEFAULT_wxUSE_BMPBUTTON=yes
7354 DEFAULT_wxUSE_BUTTON=yes
7355 DEFAULT_wxUSE_CALCTRL=yes
7356 DEFAULT_wxUSE_CARET=yes
7357 DEFAULT_wxUSE_COMBOBOX=yes
7358 DEFAULT_wxUSE_CHECKBOX=yes
7359 DEFAULT_wxUSE_CHECKLISTBOX=yes
7360 DEFAULT_wxUSE_CHOICE=yes
7361 DEFAULT_wxUSE_CHOICEBOOK=yes
7362 DEFAULT_wxUSE_DATEPICKCTRL=yes
7363 DEFAULT_wxUSE_GAUGE=yes
7364 DEFAULT_wxUSE_GRID=yes
7365 DEFAULT_wxUSE_IMAGLIST=yes
7366 DEFAULT_wxUSE_LISTBOOK=yes
7367 DEFAULT_wxUSE_LISTBOX=yes
7368 DEFAULT_wxUSE_LISTCTRL=yes
7369 DEFAULT_wxUSE_NOTEBOOK=yes
7370 DEFAULT_wxUSE_RADIOBOX=yes
7371 DEFAULT_wxUSE_RADIOBTN=yes
7372 DEFAULT_wxUSE_SASH=yes
7373 DEFAULT_wxUSE_SCROLLBAR=yes
7374 DEFAULT_wxUSE_SLIDER=yes
7375 DEFAULT_wxUSE_SPINBTN=yes
7376 DEFAULT_wxUSE_SPINCTRL=yes
7377 DEFAULT_wxUSE_SPLITTER=yes
7378 DEFAULT_wxUSE_STATBMP=yes
7379 DEFAULT_wxUSE_STATBOX=yes
7380 DEFAULT_wxUSE_STATLINE=yes
7381 DEFAULT_wxUSE_STATUSBAR=yes
7382 DEFAULT_wxUSE_TAB_DIALOG=yes
7383 DEFAULT_wxUSE_TOGGLEBTN=yes
7384 DEFAULT_wxUSE_TOOLBAR=yes
7385 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7386 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7387 DEFAULT_wxUSE_TOOLTIPS=yes
7388 DEFAULT_wxUSE_TREEBOOK=yes
7389 DEFAULT_wxUSE_TREECTRL=yes
7390 DEFAULT_wxUSE_POPUPWIN=yes
7391 DEFAULT_wxUSE_TIPWINDOW=yes
7392 elif test "$wxUSE_CONTROLS" = "no"; then
7393 DEFAULT_wxUSE_ACCEL=no
7394 DEFAULT_wxUSE_BMPBUTTON=no
7395 DEFAULT_wxUSE_BUTTON=no
7396 DEFAULT_wxUSE_CALCTRL=no
7397 DEFAULT_wxUSE_CARET=no
7398 DEFAULT_wxUSE_COMBOBOX=no
7399 DEFAULT_wxUSE_CHECKBOX=no
7400 DEFAULT_wxUSE_CHECKLISTBOX=no
7401 DEFAULT_wxUSE_CHOICE=no
7402 DEFAULT_wxUSE_CHOICEBOOK=no
7403 DEFAULT_wxUSE_DATEPICKCTRL=no
7404 DEFAULT_wxUSE_GAUGE=no
7405 DEFAULT_wxUSE_GRID=no
7406 DEFAULT_wxUSE_IMAGLIST=no
7407 DEFAULT_wxUSE_LISTBOOK=no
7408 DEFAULT_wxUSE_LISTBOX=no
7409 DEFAULT_wxUSE_LISTCTRL=no
7410 DEFAULT_wxUSE_NOTEBOOK=no
7411 DEFAULT_wxUSE_RADIOBOX=no
7412 DEFAULT_wxUSE_RADIOBTN=no
7413 DEFAULT_wxUSE_SASH=no
7414 DEFAULT_wxUSE_SCROLLBAR=no
7415 DEFAULT_wxUSE_SLIDER=no
7416 DEFAULT_wxUSE_SPINBTN=no
7417 DEFAULT_wxUSE_SPINCTRL=no
7418 DEFAULT_wxUSE_SPLITTER=no
7419 DEFAULT_wxUSE_STATBMP=no
7420 DEFAULT_wxUSE_STATBOX=no
7421 DEFAULT_wxUSE_STATLINE=no
7422 DEFAULT_wxUSE_STATUSBAR=no
7423 DEFAULT_wxUSE_TAB_DIALOG=no
7424 DEFAULT_wxUSE_TOGGLEBTN=no
7425 DEFAULT_wxUSE_TOOLBAR=no
7426 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7427 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7428 DEFAULT_wxUSE_TOOLTIPS=no
7429 DEFAULT_wxUSE_TREEBOOK=no
7430 DEFAULT_wxUSE_TREECTRL=no
7431 DEFAULT_wxUSE_POPUPWIN=no
7432 DEFAULT_wxUSE_TIPWINDOW=no
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7440 # Check whether --enable-accel or --disable-accel was given.
7441 if test "${enable_accel+set}" = set; then
7442 enableval="$enable_accel"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7447 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7452 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7463 eval "$ac_cv_use_accel"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_ACCEL" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7481 # Check whether --enable-button or --disable-button was given.
7482 if test "${enable_button+set}" = set; then
7483 enableval="$enable_button"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_button='wxUSE_BUTTON
=yes'
7488 ac_cv_use_button='wxUSE_BUTTON
=no
'
7493 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7504 eval "$ac_cv_use_button"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7509 if test "$wxUSE_BUTTON" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7522 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7523 if test "${enable_bmpbutton+set}" = set; then
7524 enableval="$enable_bmpbutton"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7529 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7534 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7545 eval "$ac_cv_use_bmpbutton"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_BMPBUTTON" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7563 # Check whether --enable-calendar or --disable-calendar was given.
7564 if test "${enable_calendar+set}" = set; then
7565 enableval="$enable_calendar"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7570 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7575 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7586 eval "$ac_cv_use_calendar"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_CALCTRL" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7604 # Check whether --enable-caret or --disable-caret was given.
7605 if test "${enable_caret+set}" = set; then
7606 enableval="$enable_caret"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_caret='wxUSE_CARET
=yes'
7611 ac_cv_use_caret='wxUSE_CARET
=no
'
7616 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7627 eval "$ac_cv_use_caret"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_CARET" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7645 # Check whether --enable-checkbox or --disable-checkbox was given.
7646 if test "${enable_checkbox+set}" = set; then
7647 enableval="$enable_checkbox"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7652 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7657 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x ; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7668 eval "$ac_cv_use_checkbox"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_CHECKBOX" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7686 # Check whether --enable-checklst or --disable-checklst was given.
7687 if test "${enable_checklst+set}" = set; then
7688 enableval="$enable_checklst"
7690 if test "$enableval" = yes; then
7691 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7693 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7698 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x ; then
7700 eval "DEFAULT_$LINE"
7705 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7709 eval "$ac_cv_use_checklst"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_CHECKLST" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7727 # Check whether --enable-choice or --disable-choice was given.
7728 if test "${enable_choice+set}" = set; then
7729 enableval="$enable_choice"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7734 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7739 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x ; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7750 eval "$ac_cv_use_choice"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_CHOICE" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7768 # Check whether --enable-choicebook or --disable-choicebook was given.
7769 if test "${enable_choicebook+set}" = set; then
7770 enableval="$enable_choicebook"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7775 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7780 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7791 eval "$ac_cv_use_choicebook"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7796 if test "$wxUSE_CHOICEBOOK" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7809 # Check whether --enable-combobox or --disable-combobox was given.
7810 if test "${enable_combobox+set}" = set; then
7811 enableval="$enable_combobox"
7813 if test "$enableval" = yes; then
7814 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7816 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7821 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7828 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7832 eval "$ac_cv_use_combobox"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7837 if test "$wxUSE_COMBOBOX" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7850 # Check whether --enable-datepick or --disable-datepick was given.
7851 if test "${enable_datepick+set}" = set; then
7852 enableval="$enable_datepick"
7854 if test "$enableval" = yes; then
7855 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7857 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7862 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x ; then
7864 eval "DEFAULT_$LINE"
7869 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7873 eval "$ac_cv_use_datepick"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7878 if test "$wxUSE_DATEPICKCTRL" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7891 # Check whether --enable-display or --disable-display was given.
7892 if test "${enable_display+set}" = set; then
7893 enableval="$enable_display"
7895 if test "$enableval" = yes; then
7896 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7898 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7903 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x ; then
7905 eval "DEFAULT_$LINE"
7910 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7914 eval "$ac_cv_use_display"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7919 if test "$wxUSE_DISPLAY" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7932 # Check whether --enable-gauge or --disable-gauge was given.
7933 if test "${enable_gauge+set}" = set; then
7934 enableval="$enable_gauge"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7939 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7944 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7955 eval "$ac_cv_use_gauge"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_GAUGE" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7973 # Check whether --enable-grid or --disable-grid was given.
7974 if test "${enable_grid+set}" = set; then
7975 enableval="$enable_grid"
7977 if test "$enableval" = yes; then
7978 ac_cv_use_grid='wxUSE_GRID
=yes'
7980 ac_cv_use_grid='wxUSE_GRID
=no
'
7985 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7992 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7996 eval "$ac_cv_use_grid"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8001 if test "$wxUSE_GRID" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8014 # Check whether --enable-imaglist or --disable-imaglist was given.
8015 if test "${enable_imaglist+set}" = set; then
8016 enableval="$enable_imaglist"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8021 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8026 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8037 eval "$ac_cv_use_imaglist"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8042 if test "$wxUSE_IMAGLIST" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8055 # Check whether --enable-listbook or --disable-listbook was given.
8056 if test "${enable_listbook+set}" = set; then
8057 enableval="$enable_listbook"
8059 if test "$enableval" = yes; then
8060 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8062 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8067 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x ; then
8069 eval "DEFAULT_$LINE"
8074 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8078 eval "$ac_cv_use_listbook"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8083 if test "$wxUSE_LISTBOOK" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8096 # Check whether --enable-listbox or --disable-listbox was given.
8097 if test "${enable_listbox+set}" = set; then
8098 enableval="$enable_listbox"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8103 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8108 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8119 eval "$ac_cv_use_listbox"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8124 if test "$wxUSE_LISTBOX" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8137 # Check whether --enable-listctrl or --disable-listctrl was given.
8138 if test "${enable_listctrl+set}" = set; then
8139 enableval="$enable_listctrl"
8141 if test "$enableval" = yes; then
8142 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8144 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8149 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8156 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8160 eval "$ac_cv_use_listctrl"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_LISTCTRL" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8178 # Check whether --enable-notebook or --disable-notebook was given.
8179 if test "${enable_notebook+set}" = set; then
8180 enableval="$enable_notebook"
8182 if test "$enableval" = yes; then
8183 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8185 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8190 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8197 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8201 eval "$ac_cv_use_notebook"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8206 if test "$wxUSE_NOTEBOOK" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8219 # Check whether --enable-radiobox or --disable-radiobox was given.
8220 if test "${enable_radiobox+set}" = set; then
8221 enableval="$enable_radiobox"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8226 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8231 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x ; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8242 eval "$ac_cv_use_radiobox"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8247 if test "$wxUSE_RADIOBOX" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8260 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8261 if test "${enable_radiobtn+set}" = set; then
8262 enableval="$enable_radiobtn"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8267 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8272 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8283 eval "$ac_cv_use_radiobtn"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8288 if test "$wxUSE_RADIOBTN" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8301 # Check whether --enable-sash or --disable-sash was given.
8302 if test "${enable_sash+set}" = set; then
8303 enableval="$enable_sash"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_sash='wxUSE_SASH
=yes'
8308 ac_cv_use_sash='wxUSE_SASH
=no
'
8313 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8324 eval "$ac_cv_use_sash"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_SASH" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8342 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8343 if test "${enable_scrollbar+set}" = set; then
8344 enableval="$enable_scrollbar"
8346 if test "$enableval" = yes; then
8347 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8349 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8354 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8361 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8365 eval "$ac_cv_use_scrollbar"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_SCROLLBAR" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8383 # Check whether --enable-slider or --disable-slider was given.
8384 if test "${enable_slider+set}" = set; then
8385 enableval="$enable_slider"
8387 if test "$enableval" = yes; then
8388 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8390 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8395 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x ; then
8397 eval "DEFAULT_$LINE"
8402 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8406 eval "$ac_cv_use_slider"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_SLIDER" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8424 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8425 if test "${enable_spinbtn+set}" = set; then
8426 enableval="$enable_spinbtn"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8431 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8436 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8447 eval "$ac_cv_use_spinbtn"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_SPINBTN" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8465 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8466 if test "${enable_spinctrl+set}" = set; then
8467 enableval="$enable_spinctrl"
8469 if test "$enableval" = yes; then
8470 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8472 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8477 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x ; then
8479 eval "DEFAULT_$LINE"
8484 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8488 eval "$ac_cv_use_spinctrl"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8493 if test "$wxUSE_SPINCTRL" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8506 # Check whether --enable-splitter or --disable-splitter was given.
8507 if test "${enable_splitter+set}" = set; then
8508 enableval="$enable_splitter"
8510 if test "$enableval" = yes; then
8511 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8513 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8518 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x ; then
8520 eval "DEFAULT_$LINE"
8525 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8529 eval "$ac_cv_use_splitter"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8534 if test "$wxUSE_SPLITTER" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8547 # Check whether --enable-statbmp or --disable-statbmp was given.
8548 if test "${enable_statbmp+set}" = set; then
8549 enableval="$enable_statbmp"
8551 if test "$enableval" = yes; then
8552 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8554 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8559 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x ; then
8561 eval "DEFAULT_$LINE"
8566 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8570 eval "$ac_cv_use_statbmp"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8575 if test "$wxUSE_STATBMP" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8588 # Check whether --enable-statbox or --disable-statbox was given.
8589 if test "${enable_statbox+set}" = set; then
8590 enableval="$enable_statbox"
8592 if test "$enableval" = yes; then
8593 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8595 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8600 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x ; then
8602 eval "DEFAULT_$LINE"
8607 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8611 eval "$ac_cv_use_statbox"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8616 if test "$wxUSE_STATBOX" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8629 # Check whether --enable-statline or --disable-statline was given.
8630 if test "${enable_statline+set}" = set; then
8631 enableval="$enable_statline"
8633 if test "$enableval" = yes; then
8634 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8636 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8641 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x ; then
8643 eval "DEFAULT_$LINE"
8648 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8652 eval "$ac_cv_use_statline"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8657 if test "$wxUSE_STATLINE" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8670 # Check whether --enable-stattext or --disable-stattext was given.
8671 if test "${enable_stattext+set}" = set; then
8672 enableval="$enable_stattext"
8674 if test "$enableval" = yes; then
8675 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8677 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8682 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x ; then
8684 eval "DEFAULT_$LINE"
8689 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8693 eval "$ac_cv_use_stattext"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8698 if test "$wxUSE_STATTEXT" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8711 # Check whether --enable-statusbar or --disable-statusbar was given.
8712 if test "${enable_statusbar+set}" = set; then
8713 enableval="$enable_statusbar"
8715 if test "$enableval" = yes; then
8716 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8718 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8723 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8730 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8734 eval "$ac_cv_use_statusbar"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8739 if test "$wxUSE_STATUSBAR" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8752 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8753 if test "${enable_tabdialog+set}" = set; then
8754 enableval="$enable_tabdialog"
8756 if test "$enableval" = yes; then
8757 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8759 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8764 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8771 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8775 eval "$ac_cv_use_tabdialog"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8780 if test "$wxUSE_TABDIALOG" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8793 # Check whether --enable-textctrl or --disable-textctrl was given.
8794 if test "${enable_textctrl+set}" = set; then
8795 enableval="$enable_textctrl"
8797 if test "$enableval" = yes; then
8798 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8800 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8805 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8812 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8816 eval "$ac_cv_use_textctrl"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8821 if test "$wxUSE_TEXTCTRL" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8834 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8835 if test "${enable_togglebtn+set}" = set; then
8836 enableval="$enable_togglebtn"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8841 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8846 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8857 eval "$ac_cv_use_togglebtn"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8862 if test "$wxUSE_TOGGLEBTN" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8875 # Check whether --enable-toolbar or --disable-toolbar was given.
8876 if test "${enable_toolbar+set}" = set; then
8877 enableval="$enable_toolbar"
8879 if test "$enableval" = yes; then
8880 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8882 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8887 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8898 eval "$ac_cv_use_toolbar"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8903 if test "$wxUSE_TOOLBAR" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8916 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8917 if test "${enable_tbarnative+set}" = set; then
8918 enableval="$enable_tbarnative"
8920 if test "$enableval" = yes; then
8921 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8923 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8928 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8935 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8939 eval "$ac_cv_use_tbarnative"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8944 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946 echo "${ECHO_T}yes" >&6
8948 echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8955 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8957 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8958 if test "${enable_tbarsmpl+set}" = set; then
8959 enableval="$enable_tbarsmpl"
8961 if test "$enableval" = yes; then
8962 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8964 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8969 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8976 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8980 eval "$ac_cv_use_tbarsmpl"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8985 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987 echo "${ECHO_T}yes" >&6
8989 echo "$as_me:$LINENO: result: no" >&5
8990 echo "${ECHO_T}no" >&6
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
8998 # Check whether --enable-treebook or --disable-treebook was given.
8999 if test "${enable_treebook+set}" = set; then
9000 enableval="$enable_treebook"
9002 if test "$enableval" = yes; then
9003 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9005 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9010 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9017 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9021 eval "$ac_cv_use_treebook"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9026 if test "$wxUSE_TREEBOOK" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028 echo "${ECHO_T}yes" >&6
9030 echo "$as_me:$LINENO: result: no" >&5
9031 echo "${ECHO_T}no" >&6
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9039 # Check whether --enable-treectrl or --disable-treectrl was given.
9040 if test "${enable_treectrl+set}" = set; then
9041 enableval="$enable_treectrl"
9043 if test "$enableval" = yes; then
9044 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9046 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9051 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9058 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9062 eval "$ac_cv_use_treectrl"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9067 if test "$wxUSE_TREECTRL" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069 echo "${ECHO_T}yes" >&6
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9080 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9081 if test "${enable_tipwindow+set}" = set; then
9082 enableval="$enable_tipwindow"
9084 if test "$enableval" = yes; then
9085 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9087 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9092 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9099 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9103 eval "$ac_cv_use_tipwindow"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9108 if test "$wxUSE_TIPWINDOW" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110 echo "${ECHO_T}yes" >&6
9112 echo "$as_me:$LINENO: result: no" >&5
9113 echo "${ECHO_T}no" >&6
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9121 # Check whether --enable-popupwin or --disable-popupwin was given.
9122 if test "${enable_popupwin+set}" = set; then
9123 enableval="$enable_popupwin"
9125 if test "$enableval" = yes; then
9126 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9128 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9133 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9144 eval "$ac_cv_use_popupwin"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9149 if test "$wxUSE_POPUPWIN" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9164 # Check whether --enable-commondlg or --disable-commondlg was given.
9165 if test "${enable_commondlg+set}" = set; then
9166 enableval="$enable_commondlg"
9168 if test "$enableval" = yes; then
9169 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9171 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9176 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9187 eval "$ac_cv_use_commondlg"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9192 if test "$wxUSE_COMMONDLGS" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9205 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9206 if test "${enable_choicedlg+set}" = set; then
9207 enableval="$enable_choicedlg"
9209 if test "$enableval" = yes; then
9210 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9212 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9217 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9228 eval "$ac_cv_use_choicedlg"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9233 if test "$wxUSE_CHOICEDLG" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9246 # Check whether --enable-coldlg or --disable-coldlg was given.
9247 if test "${enable_coldlg+set}" = set; then
9248 enableval="$enable_coldlg"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9253 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9258 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9269 eval "$ac_cv_use_coldlg"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_COLOURDLG" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9287 # Check whether --enable-filedlg or --disable-filedlg was given.
9288 if test "${enable_filedlg+set}" = set; then
9289 enableval="$enable_filedlg"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9294 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9299 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9310 eval "$ac_cv_use_filedlg"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_FILEDLG" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9328 # Check whether --enable-finddlg or --disable-finddlg was given.
9329 if test "${enable_finddlg+set}" = set; then
9330 enableval="$enable_finddlg"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9335 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9340 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9351 eval "$ac_cv_use_finddlg"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_FINDREPLDLG" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9369 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9370 if test "${enable_fontdlg+set}" = set; then
9371 enableval="$enable_fontdlg"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9376 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9381 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9392 eval "$ac_cv_use_fontdlg"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_FONTDLG" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9410 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9411 if test "${enable_dirdlg+set}" = set; then
9412 enableval="$enable_dirdlg"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9417 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9422 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9433 eval "$ac_cv_use_dirdlg"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_DIRDLG" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9451 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9452 if test "${enable_msgdlg+set}" = set; then
9453 enableval="$enable_msgdlg"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9458 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9463 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9474 eval "$ac_cv_use_msgdlg"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_MSGDLG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9492 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9493 if test "${enable_numberdlg+set}" = set; then
9494 enableval="$enable_numberdlg"
9496 if test "$enableval" = yes; then
9497 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9499 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9504 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9511 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9515 eval "$ac_cv_use_numberdlg"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9520 if test "$wxUSE_NUMBERDLG" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9533 # Check whether --enable-splash or --disable-splash was given.
9534 if test "${enable_splash+set}" = set; then
9535 enableval="$enable_splash"
9537 if test "$enableval" = yes; then
9538 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9540 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9545 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9552 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9556 eval "$ac_cv_use_splash"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9561 if test "$wxUSE_SPLASH" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9574 # Check whether --enable-textdlg or --disable-textdlg was given.
9575 if test "${enable_textdlg+set}" = set; then
9576 enableval="$enable_textdlg"
9578 if test "$enableval" = yes; then
9579 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9581 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9586 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9593 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9597 eval "$ac_cv_use_textdlg"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9602 if test "$wxUSE_TEXTDLG" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9615 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9616 if test "${enable_tipdlg+set}" = set; then
9617 enableval="$enable_tipdlg"
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9622 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9627 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9634 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9638 eval "$ac_cv_use_tipdlg"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9643 if test "$wxUSE_STARTUP_TIPS" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9656 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9657 if test "${enable_progressdlg+set}" = set; then
9658 enableval="$enable_progressdlg"
9660 if test "$enableval" = yes; then
9661 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9663 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9668 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9675 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9679 eval "$ac_cv_use_progressdlg"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9684 if test "$wxUSE_PROGRESSDLG" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9697 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9698 if test "${enable_wizarddlg+set}" = set; then
9699 enableval="$enable_wizarddlg"
9701 if test "$enableval" = yes; then
9702 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9704 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9709 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9716 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9720 eval "$ac_cv_use_wizarddlg"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9725 if test "$wxUSE_WIZARDDLG" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9740 # Check whether --enable-menus or --disable-menus was given.
9741 if test "${enable_menus+set}" = set; then
9742 enableval="$enable_menus"
9744 if test "$enableval" = yes; then
9745 ac_cv_use_menus='wxUSE_MENUS
=yes'
9747 ac_cv_use_menus='wxUSE_MENUS
=no
'
9752 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9759 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9763 eval "$ac_cv_use_menus"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_MENUS" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9781 # Check whether --enable-miniframe or --disable-miniframe was given.
9782 if test "${enable_miniframe+set}" = set; then
9783 enableval="$enable_miniframe"
9785 if test "$enableval" = yes; then
9786 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9788 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9793 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9800 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9804 eval "$ac_cv_use_miniframe"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_MINIFRAME" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9822 # Check whether --enable-tooltips or --disable-tooltips was given.
9823 if test "${enable_tooltips+set}" = set; then
9824 enableval="$enable_tooltips"
9826 if test "$enableval" = yes; then
9827 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9829 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9834 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9841 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9845 eval "$ac_cv_use_tooltips"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_TOOLTIPS" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9863 # Check whether --enable-splines or --disable-splines was given.
9864 if test "${enable_splines+set}" = set; then
9865 enableval="$enable_splines"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9870 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9875 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9886 eval "$ac_cv_use_splines"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_SPLINES" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9904 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9905 if test "${enable_mousewheel+set}" = set; then
9906 enableval="$enable_mousewheel"
9908 if test "$enableval" = yes; then
9909 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
9911 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
9916 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9923 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
9927 eval "$ac_cv_use_mousewheel"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_MOUSEWHEEL" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9945 # Check whether --enable-validators or --disable-validators was given.
9946 if test "${enable_validators+set}" = set; then
9947 enableval="$enable_validators"
9949 if test "$enableval" = yes; then
9950 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9952 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9957 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9964 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9968 eval "$ac_cv_use_validators"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_VALIDATORS" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9986 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9987 if test "${enable_busyinfo+set}" = set; then
9988 enableval="$enable_busyinfo"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9993 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9998 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10009 eval "$ac_cv_use_busyinfo"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_BUSYINFO" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10027 # Check whether --enable-joystick or --disable-joystick was given.
10028 if test "${enable_joystick+set}" = set; then
10029 enableval="$enable_joystick"
10031 if test "$enableval" = yes; then
10032 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10034 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10039 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10046 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10050 eval "$ac_cv_use_joystick"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_JOYSTICK" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10068 # Check whether --enable-metafile or --disable-metafile was given.
10069 if test "${enable_metafile+set}" = set; then
10070 enableval="$enable_metafile"
10072 if test "$enableval" = yes; then
10073 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10075 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10080 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10087 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10091 eval "$ac_cv_use_metafile"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_METAFILE" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10109 # Check whether --enable-dragimage or --disable-dragimage was given.
10110 if test "${enable_dragimage+set}" = set; then
10111 enableval="$enable_dragimage"
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10116 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10121 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x ; then
10123 eval "DEFAULT_$LINE"
10128 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10132 eval "$ac_cv_use_dragimage"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10137 if test "$wxUSE_DRAGIMAGE" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10150 # Check whether --enable-accessibility or --disable-accessibility was given.
10151 if test "${enable_accessibility+set}" = set; then
10152 enableval="$enable_accessibility"
10154 if test "$enableval" = yes; then
10155 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10157 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10162 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x ; then
10164 eval "DEFAULT_$LINE"
10169 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10173 eval "$ac_cv_use_accessibility"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10178 if test "$wxUSE_ACCESSIBILITY" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10187 if test "$wxUSE_MSW" = "1"; then
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10193 # Check whether --enable-dccache or --disable-dccache was given.
10194 if test "${enable_dccache+set}" = set; then
10195 enableval="$enable_dccache"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10200 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10205 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10216 eval "$ac_cv_use_dccache"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_DC_CACHEING" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10237 # Check whether --enable-palette or --disable-palette was given.
10238 if test "${enable_palette+set}" = set; then
10239 enableval="$enable_palette"
10241 if test "$enableval" = yes; then
10242 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10244 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10249 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10250 if test "x$LINE" != x ; then
10251 eval "DEFAULT_$LINE"
10256 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10260 eval "$ac_cv_use_palette"
10261 if test "$no_cache" != 1; then
10262 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10265 if test "$wxUSE_PALETTE" = yes; then
10266 echo "$as_me:$LINENO: result: yes" >&5
10267 echo "${ECHO_T}yes" >&6
10269 echo "$as_me:$LINENO: result: no" >&5
10270 echo "${ECHO_T}no" >&6
10275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10276 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10278 # Check whether --enable-image or --disable-image was given.
10279 if test "${enable_image+set}" = set; then
10280 enableval="$enable_image"
10282 if test "$enableval" = yes; then
10283 ac_cv_use_image='wxUSE_IMAGE
=yes'
10285 ac_cv_use_image='wxUSE_IMAGE
=no
'
10290 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10291 if test "x$LINE" != x ; then
10292 eval "DEFAULT_$LINE"
10297 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10301 eval "$ac_cv_use_image"
10302 if test "$no_cache" != 1; then
10303 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10306 if test "$wxUSE_IMAGE" = yes; then
10307 echo "$as_me:$LINENO: result: yes" >&5
10308 echo "${ECHO_T}yes" >&6
10310 echo "$as_me:$LINENO: result: no" >&5
10311 echo "${ECHO_T}no" >&6
10316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10319 # Check whether --enable-gif or --disable-gif was given.
10320 if test "${enable_gif+set}" = set; then
10321 enableval="$enable_gif"
10323 if test "$enableval" = yes; then
10324 ac_cv_use_gif='wxUSE_GIF
=yes'
10326 ac_cv_use_gif='wxUSE_GIF
=no
'
10331 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10332 if test "x$LINE" != x ; then
10333 eval "DEFAULT_$LINE"
10338 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10342 eval "$ac_cv_use_gif"
10343 if test "$no_cache" != 1; then
10344 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10347 if test "$wxUSE_GIF" = yes; then
10348 echo "$as_me:$LINENO: result: yes" >&5
10349 echo "${ECHO_T}yes" >&6
10351 echo "$as_me:$LINENO: result: no" >&5
10352 echo "${ECHO_T}no" >&6
10357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10358 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10360 # Check whether --enable-pcx or --disable-pcx was given.
10361 if test "${enable_pcx+set}" = set; then
10362 enableval="$enable_pcx"
10364 if test "$enableval" = yes; then
10365 ac_cv_use_pcx='wxUSE_PCX
=yes'
10367 ac_cv_use_pcx='wxUSE_PCX
=no
'
10372 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10373 if test "x$LINE" != x ; then
10374 eval "DEFAULT_$LINE"
10379 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10383 eval "$ac_cv_use_pcx"
10384 if test "$no_cache" != 1; then
10385 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10388 if test "$wxUSE_PCX" = yes; then
10389 echo "$as_me:$LINENO: result: yes" >&5
10390 echo "${ECHO_T}yes" >&6
10392 echo "$as_me:$LINENO: result: no" >&5
10393 echo "${ECHO_T}no" >&6
10398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10401 # Check whether --enable-iff or --disable-iff was given.
10402 if test "${enable_iff+set}" = set; then
10403 enableval="$enable_iff"
10405 if test "$enableval" = yes; then
10406 ac_cv_use_iff='wxUSE_IFF
=yes'
10408 ac_cv_use_iff='wxUSE_IFF
=no
'
10413 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10414 if test "x$LINE" != x ; then
10415 eval "DEFAULT_$LINE"
10420 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10424 eval "$ac_cv_use_iff"
10425 if test "$no_cache" != 1; then
10426 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10429 if test "$wxUSE_IFF" = yes; then
10430 echo "$as_me:$LINENO: result: yes" >&5
10431 echo "${ECHO_T}yes" >&6
10433 echo "$as_me:$LINENO: result: no" >&5
10434 echo "${ECHO_T}no" >&6
10439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10440 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10442 # Check whether --enable-pnm or --disable-pnm was given.
10443 if test "${enable_pnm+set}" = set; then
10444 enableval="$enable_pnm"
10446 if test "$enableval" = yes; then
10447 ac_cv_use_pnm='wxUSE_PNM
=yes'
10449 ac_cv_use_pnm='wxUSE_PNM
=no
'
10454 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10455 if test "x$LINE" != x ; then
10456 eval "DEFAULT_$LINE"
10461 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10465 eval "$ac_cv_use_pnm"
10466 if test "$no_cache" != 1; then
10467 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10470 if test "$wxUSE_PNM" = yes; then
10471 echo "$as_me:$LINENO: result: yes" >&5
10472 echo "${ECHO_T}yes" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10481 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10483 # Check whether --enable-xpm or --disable-xpm was given.
10484 if test "${enable_xpm+set}" = set; then
10485 enableval="$enable_xpm"
10487 if test "$enableval" = yes; then
10488 ac_cv_use_xpm='wxUSE_XPM
=yes'
10490 ac_cv_use_xpm='wxUSE_XPM
=no
'
10495 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x ; then
10497 eval "DEFAULT_$LINE"
10502 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10506 eval "$ac_cv_use_xpm"
10507 if test "$no_cache" != 1; then
10508 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10511 if test "$wxUSE_XPM" = yes; then
10512 echo "$as_me:$LINENO: result: yes" >&5
10513 echo "${ECHO_T}yes" >&6
10515 echo "$as_me:$LINENO: result: no" >&5
10516 echo "${ECHO_T}no" >&6
10521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10522 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10524 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10525 if test "${enable_ico_cur+set}" = set; then
10526 enableval="$enable_ico_cur"
10528 if test "$enableval" = yes; then
10529 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10531 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10536 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x ; then
10538 eval "DEFAULT_$LINE"
10543 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10547 eval "$ac_cv_use_ico_cur"
10548 if test "$no_cache" != 1; then
10549 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10552 if test "$wxUSE_ICO_CUR" = yes; then
10553 echo "$as_me:$LINENO: result: yes" >&5
10554 echo "${ECHO_T}yes" >&6
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10565 # Check whether --with-flavour or --without-flavour was given.
10566 if test "${with_flavour+set}" = set; then
10567 withval="$with_flavour"
10568 WX_FLAVOUR="$withval"
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10577 # Check whether --enable-official_build or --disable-official_build was given.
10578 if test "${enable_official_build+set}" = set; then
10579 enableval="$enable_official_build"
10581 if test "$enableval" = yes; then
10582 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10584 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10589 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10596 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10600 eval "$ac_cv_use_official_build"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10605 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10613 # Check whether --enable-vendor or --disable-vendor was given.
10614 if test "${enable_vendor+set}" = set; then
10615 enableval="$enable_vendor"
10616 VENDOR="$enableval"
10618 if test "x$VENDOR" = "x"; then
10625 echo "saving argument cache $wx_arg_cache_file"
10626 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10630 echo "$as_me:$LINENO: checking for toolkit" >&5
10631 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10633 # In Wine, we need to default to MSW, not GTK or MOTIF
10634 if test "$wxUSE_WINE" = "yes"; then
10635 DEFAULT_DEFAULT_wxUSE_GTK=0
10636 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10637 DEFAULT_DEFAULT_wxUSE_MSW=1
10642 if test "$wxUSE_GUI" = "yes"; then
10644 if test "$USE_BEOS" = 1; then
10645 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10646 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10647 { (exit 1); exit 1; }; }
10650 if test "$TOOLKIT_GIVEN" = 1; then
10651 for toolkit in `echo $ALL_TOOLKITS`; do
10653 eval "value=\$${var}"
10654 if test "x$value" = "xno"; then
10656 elif test "x$value" != "x"; then
10660 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10661 eval "wx${toolkit}_VERSION=$value"
10665 for toolkit in `echo $ALL_TOOLKITS`; do
10666 if test "$has_toolkit_in_cache" != 1; then
10667 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10669 var=DEFAULT_wxUSE_$toolkit
10671 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10672 if test "x$version" != "x"; then
10673 eval "wx${toolkit}_VERSION=$version"
10676 eval "wxUSE_$toolkit=\$${var}"
10680 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10681 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10682 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10685 *-pc-os2_emx | *-pc-os2-emx )
10686 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10689 case "$NUM_TOOLKITS" in
10693 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10694 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10695 { (exit 1); exit 1; }; }
10698 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10699 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10700 { (exit 1); exit 1; }; }
10703 # to be removed when --disable-gtk2 isn't needed
10704 if test "x$wxUSE_GTK2" = "xyes"; then
10706 elif test "x$wxUSE_GTK2" = "xno"; then
10710 for toolkit
in `echo $ALL_TOOLKITS`; do
10712 eval "value=\$${var}"
10713 if test "x$value" != x
; then
10714 cache_var
=CACHE_
$toolkit
10715 eval "cache=\$${cache_var}"
10716 if test "$cache" = 1; then
10717 echo "$var=$value" >> ${wx_arg_cache_file}
10718 eval "version=\$wx${toolkit}_VERSION"
10719 if test "x$version" != "x"; then
10720 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10723 if test "$value" = 1; then
10724 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10725 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10726 echo "${ECHO_T}$toolkit_echo" >&6
10731 if test "x$host_alias" != "x"; then
10732 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10733 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10735 echo "$as_me:$LINENO: result: base only" >&5
10736 echo "${ECHO_T}base only" >&6
10741 doesnt_want_win32
=0
10744 if test "$wxUSE_MSW" = 1 ; then
10746 BAKEFILE_FORCE_PLATFORM
=win32
10748 doesnt_want_win32
=1
10756 if test "$wxUSE_WINE" = "yes"; then
10760 LDFLAGS_GUI
="-mwindows"
10763 if test "$wants_win32" = 1 ; then
10766 cat >>confdefs.h
<<\_ACEOF
10767 #define __WIN32__ 1
10770 cat >>confdefs.h
<<\_ACEOF
10771 #define __WIN95__ 1
10774 cat >>confdefs.h
<<\_ACEOF
10775 #define __WINDOWS__ 1
10778 cat >>confdefs.h
<<\_ACEOF
10779 #define __GNUWIN32__ 1
10782 cat >>confdefs.h
<<\_ACEOF
10786 cat >>confdefs.h
<<\_ACEOF
10787 #define WINVER 0x0400
10791 if test "$doesnt_want_win32" = 1 ; then
10796 if test "$USE_UNIX" = 1 ; then
10798 cat >>confdefs.h
<<\_ACEOF
10805 cat >confcache
<<\_ACEOF
10806 # This file is a shell script that caches the results of configure
10807 # tests run on this system so they can be shared between configure
10808 # scripts and configure runs, see configure's option --config-cache.
10809 # It is not useful on other systems. If it contains results you don't
10810 # want to keep, you may remove or edit it.
10812 # config.status only pays attention to the cache file if you give it
10813 # the --recheck option to rerun configure.
10815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10817 # following values.
10821 # The following way of writing the cache mishandles newlines in values,
10822 # but we know of no workaround that is simple, portable, and efficient.
10823 # So, don't put newlines in cache variables' values.
10824 # Ultrix sh set writes to stderr and can't be redirected directly,
10825 # and sets the high bit in the cache file unless we assign to the vars.
10828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10830 # `set' does not quote correctly, so add quotes (double-quote
10831 # substitution turns \\\\ into \\, and sed turns \\ into \).
10834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10837 # `set' quotes correctly as required by POSIX, so do not add quotes.
10839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10850 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10851 if test -w $cache_file; then
10852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10853 cat confcache
>$cache_file
10855 echo "not updating unwritable cache $cache_file"
10865 ac_cpp
='$CPP $CPPFLAGS'
10866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10869 if test -n "$ac_tool_prefix"; then
10870 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10871 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10872 echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10874 if test "${ac_cv_prog_CC+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if test -n "$CC"; then
10878 ac_cv_prog_CC
="$CC" # Let the user override the test.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 if test -n "$CC"; then
10898 echo "$as_me:$LINENO: result: $CC" >&5
10899 echo "${ECHO_T}$CC" >&6
10901 echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6
10906 if test -z "$ac_cv_prog_CC"; then
10908 # Extract the first word of "gcc", so it can be a program name with args.
10909 set dummy gcc
; ac_word
=$2
10910 echo "$as_me:$LINENO: checking for $ac_word" >&5
10911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 if test -n "$ac_ct_CC"; then
10916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10919 for as_dir
in $PATH
10922 test -z "$as_dir" && as_dir
=.
10923 for ac_exec_ext
in '' $ac_executable_extensions; do
10924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10925 ac_cv_prog_ac_ct_CC
="gcc"
10926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10934 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10935 if test -n "$ac_ct_CC"; then
10936 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10937 echo "${ECHO_T}$ac_ct_CC" >&6
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10945 CC
="$ac_cv_prog_CC"
10948 if test -z "$CC"; then
10949 if test -n "$ac_tool_prefix"; then
10950 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10951 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10952 echo "$as_me:$LINENO: checking for $ac_word" >&5
10953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10954 if test "${ac_cv_prog_CC+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 if test -n "$CC"; then
10958 ac_cv_prog_CC
="$CC" # Let the user override the test.
10960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10961 for as_dir
in $PATH
10964 test -z "$as_dir" && as_dir
=.
10965 for ac_exec_ext
in '' $ac_executable_extensions; do
10966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10967 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10977 if test -n "$CC"; then
10978 echo "$as_me:$LINENO: result: $CC" >&5
10979 echo "${ECHO_T}$CC" >&6
10981 echo "$as_me:$LINENO: result: no" >&5
10982 echo "${ECHO_T}no" >&6
10986 if test -z "$ac_cv_prog_CC"; then
10988 # Extract the first word of "cc", so it can be a program name with args.
10989 set dummy cc
; ac_word
=$2
10990 echo "$as_me:$LINENO: checking for $ac_word" >&5
10991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 if test -n "$ac_ct_CC"; then
10996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in $PATH
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_prog_ac_ct_CC
="cc"
11006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11015 if test -n "$ac_ct_CC"; then
11016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11017 echo "${ECHO_T}$ac_ct_CC" >&6
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11025 CC
="$ac_cv_prog_CC"
11029 if test -z "$CC"; then
11030 # Extract the first word of "cc", so it can be a program name with args.
11031 set dummy cc
; ac_word
=$2
11032 echo "$as_me:$LINENO: checking for $ac_word" >&5
11033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11034 if test "${ac_cv_prog_CC+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 if test -n "$CC"; then
11038 ac_cv_prog_CC
="$CC" # Let the user override the test.
11040 ac_prog_rejected
=no
11041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11042 for as_dir
in $PATH
11045 test -z "$as_dir" && as_dir
=.
11046 for ac_exec_ext
in '' $ac_executable_extensions; do
11047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11048 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11049 ac_prog_rejected
=yes
11053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11059 if test $ac_prog_rejected = yes; then
11060 # We found a bogon in the path, so make sure we never use it.
11061 set dummy
$ac_cv_prog_CC
11063 if test $# != 0; then
11064 # We chose a different compiler from the bogus one.
11065 # However, it has the same basename, so the bogon will be chosen
11066 # first if we set CC to just the basename; use the full file name.
11068 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11074 if test -n "$CC"; then
11075 echo "$as_me:$LINENO: result: $CC" >&5
11076 echo "${ECHO_T}$CC" >&6
11078 echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6
11083 if test -z "$CC"; then
11084 if test -n "$ac_tool_prefix"; then
11087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11088 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11089 echo "$as_me:$LINENO: checking for $ac_word" >&5
11090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11091 if test "${ac_cv_prog_CC+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11094 if test -n "$CC"; then
11095 ac_cv_prog_CC
="$CC" # Let the user override the test.
11097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11098 for as_dir
in $PATH
11101 test -z "$as_dir" && as_dir
=.
11102 for ac_exec_ext
in '' $ac_executable_extensions; do
11103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11104 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11114 if test -n "$CC"; then
11115 echo "$as_me:$LINENO: result: $CC" >&5
11116 echo "${ECHO_T}$CC" >&6
11118 echo "$as_me:$LINENO: result: no" >&5
11119 echo "${ECHO_T}no" >&6
11122 test -n "$CC" && break
11125 if test -z "$CC"; then
11129 # Extract the first word of "$ac_prog", so it can be a program name with args.
11130 set dummy
$ac_prog; ac_word
=$2
11131 echo "$as_me:$LINENO: checking for $ac_word" >&5
11132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 if test -n "$ac_ct_CC"; then
11137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11140 for as_dir
in $PATH
11143 test -z "$as_dir" && as_dir
=.
11144 for ac_exec_ext
in '' $ac_executable_extensions; do
11145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11146 ac_cv_prog_ac_ct_CC
="$ac_prog"
11147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11155 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11156 if test -n "$ac_ct_CC"; then
11157 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11158 echo "${ECHO_T}$ac_ct_CC" >&6
11160 echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6
11164 test -n "$ac_ct_CC" && break
11173 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: no acceptable C compiler found in \$PATH
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11179 # Provide some information about the compiler.
11180 echo "$as_me:$LINENO:" \
11181 "checking for C compiler version" >&5
11182 ac_compiler
=`set X $ac_compile; echo $2`
11183 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11184 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }
11188 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11189 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }
11193 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11194 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11214 ac_clean_files_save
=$ac_clean_files
11215 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11216 # Try to create an executable without -o first, disregard a.out.
11217 # It will help us diagnose broken compilers, and finding out an intuition
11219 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11220 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11221 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11223 (eval $ac_link_default) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; then
11227 # Find the output, starting from the most likely. This scheme is
11228 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11231 # Be careful to initialize this variable, since it used to be cached.
11232 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11234 # b.out is created by i960 compilers.
11235 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11237 test -f "$ac_file" || continue
11239 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11242 # This is the source file.
11245 # We found the default executable, but exeext='' is most
11249 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11250 # FIXME: I believe we export ac_cv_exeext for Libtool,
11251 # but it would be cool to find out if it's true. Does anybody
11252 # maintain Libtool? --akim.
11253 export ac_cv_exeext
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.
$ac_ext >&5
11263 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11264 See \`config.log' for more details." >&5
11265 echo "$as_me: error: C compiler cannot create executables
11266 See \`config.log' for more details." >&2;}
11267 { (exit 77); exit 77; }; }
11270 ac_exeext
=$ac_cv_exeext
11271 echo "$as_me:$LINENO: result: $ac_file" >&5
11272 echo "${ECHO_T}$ac_file" >&6
11274 # Check the compiler produces executables we can run. If not, either
11275 # the compiler is broken, or we cross compile.
11276 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11277 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11278 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11279 # If not cross compiling, check that we can run a simple program.
11280 if test "$cross_compiling" != yes; then
11281 if { ac_try
='./$ac_file'
11282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11283 (eval $ac_try) 2>&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); }; }; then
11289 if test "$cross_compiling" = maybe
; then
11290 cross_compiling
=yes
11292 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11293 If you meant to cross compile, use \`--host'.
11294 See \`config.log' for more details." >&5
11295 echo "$as_me: error: cannot run C compiled programs.
11296 If you meant to cross compile, use \`--host'.
11297 See \`config.log' for more details." >&2;}
11298 { (exit 1); exit 1; }; }
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11305 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11306 ac_clean_files
=$ac_clean_files_save
11307 # Check the compiler produces executables we can run. If not, either
11308 # the compiler is broken, or we cross compile.
11309 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11310 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11311 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11312 echo "${ECHO_T}$cross_compiling" >&6
11314 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11315 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317 (eval $ac_link) 2>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; then
11321 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11322 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11323 # work properly (i.e., refer to `conftest.exe'), while it won't with
11325 for ac_file
in conftest.exe conftest conftest.
*; do
11326 test -f "$ac_file" || continue
11328 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11329 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11330 export ac_cv_exeext
11336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11337 See \`config.log' for more details." >&5
11338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11339 See \`config.log' for more details." >&2;}
11340 { (exit 1); exit 1; }; }
11343 rm -f conftest
$ac_cv_exeext
11344 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11345 echo "${ECHO_T}$ac_cv_exeext" >&6
11347 rm -f conftest.
$ac_ext
11348 EXEEXT
=$ac_cv_exeext
11350 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11351 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11352 if test "${ac_cv_objext+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11370 rm -f conftest.o conftest.obj
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; then
11376 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11378 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11379 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11384 echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.
$ac_ext >&5
11387 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11388 See \`config.log' for more details." >&5
11389 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11390 See \`config.log' for more details." >&2;}
11391 { (exit 1); exit 1; }; }
11394 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11396 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11397 echo "${ECHO_T}$ac_cv_objext" >&6
11398 OBJEXT
=$ac_cv_objext
11400 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11401 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11402 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 cat >conftest.
$ac_ext <<_ACEOF
11408 cat confdefs.h
>>conftest.
$ac_ext
11409 cat >>conftest.
$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11423 rm -f conftest.
$ac_objext
11424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11425 (eval $ac_compile) 2>conftest.er1
11427 grep -v '^ *+' conftest.er1
>conftest.err
11429 cat conftest.err
>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } &&
11432 { ac_try
='test -z "$ac_c_werror_flag"
11433 || test ! -s conftest.err'
11434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435 (eval $ac_try) 2>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); }; } &&
11439 { ac_try
='test -s conftest.$ac_objext'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; }; then
11445 ac_compiler_gnu
=yes
11447 echo "$as_me: failed program was:" >&5
11448 sed 's/^/| /' conftest.
$ac_ext >&5
11452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11453 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11456 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11457 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11458 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11459 ac_test_CFLAGS
=${CFLAGS+set}
11460 ac_save_CFLAGS
=$CFLAGS
11462 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11463 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11464 if test "${ac_cv_prog_cc_g+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 cat >conftest.
$ac_ext <<_ACEOF
11470 cat confdefs.h
>>conftest.
$ac_ext
11471 cat >>conftest.
$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11482 rm -f conftest.
$ac_objext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11484 (eval $ac_compile) 2>conftest.er1
11486 grep -v '^ *+' conftest.er1
>conftest.err
11488 cat conftest.err
>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try
='test -z "$ac_c_werror_flag"
11492 || test ! -s conftest.err'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try
='test -s conftest.$ac_objext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11504 ac_cv_prog_cc_g
=yes
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.
$ac_ext >&5
11511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11513 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11515 if test "$ac_test_CFLAGS" = set; then
11516 CFLAGS
=$ac_save_CFLAGS
11517 elif test $ac_cv_prog_cc_g = yes; then
11518 if test "$GCC" = yes; then
11524 if test "$GCC" = yes; then
11530 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11531 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11532 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 ac_cv_prog_cc_stdc
=no
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 #include <stdarg.h>
11545 #include <sys/types.h>
11546 #include <sys/stat.h>
11547 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11548 struct buf { int x; };
11549 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11550 static char *e (p, i)
11556 static char *f (char * (*g) (char **, int), char **p, ...)
11561 s = g (p, va_arg (v,int));
11566 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11567 function prototypes and stuff, but not '\xHH' hex character constants.
11568 These don't provoke an error unfortunately, instead are silently treated
11569 as 'x'. The following induces an error, until -std1 is added to get
11570 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11571 array size at least. It's necessary to write '\x00'==0 to get something
11572 that's true only with -std1. */
11573 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11575 int test (int i, double x);
11576 struct s1 {int (*f) (int a);};
11577 struct s2 {int (*f) (double a);};
11578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11589 # Don't try gcc -ansi; that turns off useful extensions and
11590 # breaks some systems' header files.
11591 # AIX -qlanglvl=ansi
11592 # Ultrix and OSF/1 -std1
11593 # HP-UX 10.20 and later -Ae
11594 # HP-UX older versions -Aa -D_HPUX_SOURCE
11595 # SVR4 -Xc -D__EXTENSIONS__
11596 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11598 CC
="$ac_save_CC $ac_arg"
11599 rm -f conftest.
$ac_objext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11601 (eval $ac_compile) 2>conftest.er1
11603 grep -v '^ *+' conftest.er1
>conftest.err
11605 cat conftest.err
>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try
='test -z "$ac_c_werror_flag"
11609 || test ! -s conftest.err'
11610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; } &&
11615 { ac_try
='test -s conftest.$ac_objext'
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 (eval $ac_try) 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; }; then
11621 ac_cv_prog_cc_stdc
=$ac_arg
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11628 rm -f conftest.err conftest.
$ac_objext
11630 rm -f conftest.
$ac_ext conftest.
$ac_objext
11635 case "x$ac_cv_prog_cc_stdc" in
11637 echo "$as_me:$LINENO: result: none needed" >&5
11638 echo "${ECHO_T}none needed" >&6 ;;
11640 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11641 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11642 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11645 # Some people use a C++ compiler to compile C. Since we use `exit',
11646 # in C++ we need to declare it. In case someone uses the same compiler
11647 # for both compiling C and C++ we need to have the C++ compiler decide
11648 # the declaration of exit, since it's the most demanding environment.
11649 cat >conftest.
$ac_ext <<_ACEOF
11650 #ifndef __cplusplus
11654 rm -f conftest.
$ac_objext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11656 (eval $ac_compile) 2>conftest.er1
11658 grep -v '^ *+' conftest.er1
>conftest.err
11660 cat conftest.err
>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } &&
11663 { ac_try
='test -z "$ac_c_werror_flag"
11664 || test ! -s conftest.err'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; } &&
11670 { ac_try
='test -s conftest.$ac_objext'
11671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11672 (eval $ac_try) 2>&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); }; }; then
11676 for ac_declaration
in \
11678 'extern "C" void std::exit (int) throw (); using std::exit;' \
11679 'extern "C" void std::exit (int); using std::exit;' \
11680 'extern "C" void exit (int) throw ();' \
11681 'extern "C" void exit (int);' \
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11691 #include <stdlib.h>
11700 rm -f conftest.
$ac_objext
11701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11702 (eval $ac_compile) 2>conftest.er1
11704 grep -v '^ *+' conftest.er1
>conftest.err
11706 cat conftest.err
>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try
='test -z "$ac_c_werror_flag"
11710 || test ! -s conftest.err'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; } &&
11716 { ac_try
='test -s conftest.$ac_objext'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; }; then
11724 echo "$as_me: failed program was:" >&5
11725 sed 's/^/| /' conftest.
$ac_ext >&5
11729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11730 cat >conftest.
$ac_ext <<_ACEOF
11733 cat confdefs.h
>>conftest.
$ac_ext
11734 cat >>conftest.
$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11745 rm -f conftest.
$ac_objext
11746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11747 (eval $ac_compile) 2>conftest.er1
11749 grep -v '^ *+' conftest.er1
>conftest.err
11751 cat conftest.err
>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } &&
11754 { ac_try
='test -z "$ac_c_werror_flag"
11755 || test ! -s conftest.err'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; } &&
11761 { ac_try
='test -s conftest.$ac_objext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11769 echo "$as_me: failed program was:" >&5
11770 sed 's/^/| /' conftest.
$ac_ext >&5
11773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11776 if test -n "$ac_declaration"; then
11777 echo '#ifdef __cplusplus' >>confdefs.h
11778 echo $ac_declaration >>confdefs.h
11779 echo '#endif' >>confdefs.h
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.
$ac_ext >&5
11787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11789 ac_cpp
='$CPP $CPPFLAGS'
11790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11797 ac_cpp
='$CPP $CPPFLAGS'
11798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11802 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11803 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11804 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 cat >conftest.
$ac_ext <<_ACEOF
11810 cat confdefs.h
>>conftest.
$ac_ext
11811 cat >>conftest.
$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11818 #ifndef __INTEL_COMPILER
11826 rm -f conftest.
$ac_objext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11828 (eval $ac_compile) 2>conftest.er1
11830 grep -v '^ *+' conftest.er1
>conftest.err
11832 cat conftest.err
>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try
='test -z "$ac_c_werror_flag"
11836 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try
='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.
$ac_ext >&5
11853 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11860 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11861 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11863 ac_cpp
='$CPP $CPPFLAGS'
11864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11868 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11875 if test "x$GCC" != "xyes"; then
11876 if test "xCC" = "xC"; then
11877 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11878 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11879 if test "${bakefile_cv_c_exto+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 cat >conftest.
$ac_ext <<_ACEOF
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11897 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11899 (eval $ac_compile) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; then
11903 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11905 conftest.
$ac_ext.o
)
11906 bakefile_cv_c_exto
="-ext o"
11913 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11914 See \`config.log' for more details." >&5
11915 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11916 See \`config.log' for more details." >&2;}
11917 { (exit 1); exit 1; }; }
11921 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11924 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11925 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11926 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11927 if test "c" = "c"; then
11928 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
11930 if test "c" = "cxx"; then
11931 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
11935 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11936 unset ac_cv_prog_cc_g
11937 ac_test_CFLAGS
=${CFLAGS+set}
11938 ac_save_CFLAGS
=$CFLAGS
11940 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11941 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11942 if test "${ac_cv_prog_cc_g+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11960 rm -f conftest.
$ac_objext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11962 (eval $ac_compile) 2>conftest.er1
11964 grep -v '^ *+' conftest.er1
>conftest.err
11966 cat conftest.err
>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } &&
11969 { ac_try
='test -z "$ac_c_werror_flag"
11970 || test ! -s conftest.err'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; } &&
11976 { ac_try
='test -s conftest.$ac_objext'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 ac_cv_prog_cc_g
=yes
11984 echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.
$ac_ext >&5
11989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11991 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11992 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11993 if test "$ac_test_CFLAGS" = set; then
11994 CFLAGS
=$ac_save_CFLAGS
11995 elif test $ac_cv_prog_cc_g = yes; then
11996 if test "$GCC" = yes; then
12002 if test "$GCC" = yes; then
12014 ac_cpp
='$CPP $CPPFLAGS'
12015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12019 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12020 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12021 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 cat >conftest.
$ac_ext <<_ACEOF
12027 cat confdefs.h
>>conftest.
$ac_ext
12028 cat >>conftest.
$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12042 rm -f conftest.
$ac_objext
12043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12044 (eval $ac_compile) 2>conftest.er1
12046 grep -v '^ *+' conftest.er1
>conftest.err
12048 cat conftest.err
>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } &&
12051 { ac_try
='test -z "$ac_c_werror_flag"
12052 || test ! -s conftest.err'
12053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12054 (eval $ac_try) 2>&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); }; } &&
12058 { ac_try
='test -s conftest.$ac_objext'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; }; then
12064 bakefile_compiler_xlc
=yes
12066 echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.
$ac_ext >&5
12069 bakefile_compiler_xlc
=no
12071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12072 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12075 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12076 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12078 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12080 ac_cpp
='$CPP $CPPFLAGS'
12081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12090 ac_cpp
='$CPP $CPPFLAGS'
12091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12095 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12096 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12097 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12100 cat >conftest.
$ac_ext <<_ACEOF
12103 cat confdefs.h
>>conftest.
$ac_ext
12104 cat >>conftest.
$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12118 rm -f conftest.
$ac_objext
12119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12120 (eval $ac_compile) 2>conftest.er1
12122 grep -v '^ *+' conftest.er1
>conftest.err
12124 cat conftest.err
>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try
='test -z "$ac_c_werror_flag"
12128 || test ! -s conftest.err'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; } &&
12134 { ac_try
='test -s conftest.$ac_objext'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; }; then
12140 bakefile_compiler_mwerks
=yes
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.
$ac_ext >&5
12145 bakefile_compiler_mwerks
=no
12147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12148 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12151 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12152 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12154 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12156 ac_cpp
='$CPP $CPPFLAGS'
12157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12163 ac_cpp
='$CPP $CPPFLAGS'
12164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12168 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12169 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12170 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 cat >conftest.
$ac_ext <<_ACEOF
12176 cat confdefs.h
>>conftest.
$ac_ext
12177 cat >>conftest.
$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12191 rm -f conftest.
$ac_objext
12192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12193 (eval $ac_compile) 2>conftest.er1
12195 grep -v '^ *+' conftest.er1
>conftest.err
12197 cat conftest.err
>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); } &&
12200 { ac_try
='test -z "$ac_c_werror_flag"
12201 || test ! -s conftest.err'
12202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203 (eval $ac_try) 2>&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); }; } &&
12207 { ac_try
='test -s conftest.$ac_objext'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; }; then
12213 bakefile_compiler_xlc
=yes
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.
$ac_ext >&5
12218 bakefile_compiler_xlc
=no
12220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12221 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12224 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12225 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12227 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12229 ac_cpp
='$CPP $CPPFLAGS'
12230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12241 ac_cpp
='$CPP $CPPFLAGS'
12242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12246 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12247 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12248 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 cat >conftest.
$ac_ext <<_ACEOF
12254 cat confdefs.h
>>conftest.
$ac_ext
12255 cat >>conftest.
$ac_ext <<_ACEOF
12256 /* end confdefs.h. */
12262 #ifndef _SGI_COMPILER_VERSION
12270 rm -f conftest.
$ac_objext
12271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12272 (eval $ac_compile) 2>conftest.er1
12274 grep -v '^ *+' conftest.er1
>conftest.err
12276 cat conftest.err
>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } &&
12279 { ac_try
='test -z "$ac_c_werror_flag"
12280 || test ! -s conftest.err'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; } &&
12286 { ac_try
='test -s conftest.$ac_objext'
12287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288 (eval $ac_try) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; }; then
12292 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.
$ac_ext >&5
12297 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12304 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12305 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12307 ac_cpp
='$CPP $CPPFLAGS'
12308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12312 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12325 ac_cpp
='$CPP $CPPFLAGS'
12326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12330 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12331 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12332 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12333 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 cat >conftest.
$ac_ext <<_ACEOF
12338 cat confdefs.h
>>conftest.
$ac_ext
12339 cat >>conftest.
$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12354 rm -f conftest.
$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try
='test -z "$ac_c_werror_flag"
12364 || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try
='test -s conftest.$ac_objext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 bakefile_cv_c_compiler___HP_cc
=yes
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.
$ac_ext >&5
12381 bakefile_cv_c_compiler___HP_cc
=no
12384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12388 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12389 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12391 ac_cpp
='$CPP $CPPFLAGS'
12392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12396 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12409 ac_cpp
='$CPP $CPPFLAGS'
12410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12414 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12415 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12416 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 cat >conftest.
$ac_ext <<_ACEOF
12422 cat confdefs.h
>>conftest.
$ac_ext
12423 cat >>conftest.
$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12438 rm -f conftest.
$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12442 grep -v '^ *+' conftest.er1
>conftest.err
12444 cat conftest.err
>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try
='test -z "$ac_c_werror_flag"
12448 || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try
='test -s conftest.$ac_objext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12460 bakefile_cv_c_compiler___DECC
=yes
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12465 bakefile_cv_c_compiler___DECC
=no
12468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12472 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12473 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12475 ac_cpp
='$CPP $CPPFLAGS'
12476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12480 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12493 ac_cpp
='$CPP $CPPFLAGS'
12494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12498 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12499 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12500 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 cat >conftest.
$ac_ext <<_ACEOF
12506 cat confdefs.h
>>conftest.
$ac_ext
12507 cat >>conftest.
$ac_ext <<_ACEOF
12508 /* end confdefs.h. */
12522 rm -f conftest.
$ac_objext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12524 (eval $ac_compile) 2>conftest.er1
12526 grep -v '^ *+' conftest.er1
>conftest.err
12528 cat conftest.err
>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try
='test -z "$ac_c_werror_flag"
12532 || test ! -s conftest.err'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; } &&
12538 { ac_try
='test -s conftest.$ac_objext'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; }; then
12544 bakefile_cv_c_compiler___SUNPRO_C
=yes
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.
$ac_ext >&5
12549 bakefile_cv_c_compiler___SUNPRO_C
=no
12552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12556 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12557 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12559 ac_cpp
='$CPP $CPPFLAGS'
12560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12564 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12578 ac_cpp
='$CPP $CPPFLAGS'
12579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12582 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12583 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12584 # On Suns, sometimes $CPP names a directory.
12585 if test -n "$CPP" && test -d "$CPP"; then
12588 if test -z "$CPP"; then
12589 if test "${ac_cv_prog_CPP+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12592 # Double quotes because CPP needs to be expanded
12593 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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
12693 ac_cv_prog_CPP
=$CPP
12696 CPP
=$ac_cv_prog_CPP
12698 ac_cv_prog_CPP
=$CPP
12700 echo "$as_me:$LINENO: result: $CPP" >&5
12701 echo "${ECHO_T}$CPP" >&6
12702 ac_preproc_ok
=false
12703 for ac_c_preproc_warn_flag
in '' yes
12705 # Use a header file that comes with gcc, so configuring glibc
12706 # with a fresh cross-compiler works.
12707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12708 # <limits.h> exists even on freestanding compilers.
12709 # On the NeXT, cc -E runs the code through the compiler's parser,
12710 # not just through cpp. "Syntax error" is here to catch this case.
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12718 # include <limits.h>
12720 # include <assert.h>
12724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12727 grep -v '^ *+' conftest.er1
>conftest.err
12729 cat conftest.err
>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } >/dev
/null
; then
12732 if test -s conftest.err
; then
12733 ac_cpp_err
=$ac_c_preproc_warn_flag
12734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12741 if test -z "$ac_cpp_err"; then
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.
$ac_ext >&5
12747 # Broken: fails on valid input.
12750 rm -f conftest.err conftest.
$ac_ext
12752 # OK, works on sane cases. Now check whether non-existent headers
12753 # can be detected and how.
12754 cat >conftest.
$ac_ext <<_ACEOF
12757 cat confdefs.h
>>conftest.
$ac_ext
12758 cat >>conftest.
$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12760 #include <ac_nonexistent.h>
12762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12765 grep -v '^ *+' conftest.er1
>conftest.err
12767 cat conftest.err
>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } >/dev
/null
; then
12770 if test -s conftest.err
; then
12771 ac_cpp_err
=$ac_c_preproc_warn_flag
12772 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12779 if test -z "$ac_cpp_err"; then
12780 # Broken: success on invalid input.
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.
$ac_ext >&5
12786 # Passes both tests.
12790 rm -f conftest.err conftest.
$ac_ext
12793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12794 rm -f conftest.err conftest.
$ac_ext
12795 if $ac_preproc_ok; then
12798 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12799 See \`config.log' for more details." >&5
12800 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12801 See \`config.log' for more details." >&2;}
12802 { (exit 1); exit 1; }; }
12806 ac_cpp
='$CPP $CPPFLAGS'
12807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12812 echo "$as_me:$LINENO: checking for egrep" >&5
12813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12814 if test "${ac_cv_prog_egrep+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12818 then ac_cv_prog_egrep
='grep -E'
12819 else ac_cv_prog_egrep
='egrep'
12822 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12823 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12824 EGREP
=$ac_cv_prog_egrep
12827 if test $ac_cv_c_compiler_gnu = yes; then
12828 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12829 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12830 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12831 echo $ECHO_N "(cached) $ECHO_C" >&6
12833 ac_pattern
="Autoconf.*'x'"
12834 cat >conftest.
$ac_ext <<_ACEOF
12837 cat confdefs.h
>>conftest.
$ac_ext
12838 cat >>conftest.
$ac_ext <<_ACEOF
12839 /* end confdefs.h. */
12843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12844 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12845 ac_cv_prog_gcc_traditional
=yes
12847 ac_cv_prog_gcc_traditional
=no
12852 if test $ac_cv_prog_gcc_traditional = no
; then
12853 cat >conftest.
$ac_ext <<_ACEOF
12856 cat confdefs.h
>>conftest.
$ac_ext
12857 cat >>conftest.
$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 #include <termio.h>
12862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12863 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12864 ac_cv_prog_gcc_traditional
=yes
12870 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12871 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12872 if test $ac_cv_prog_gcc_traditional = yes; then
12873 CC
="$CC -traditional"
12881 ac_cpp
='$CXXCPP $CPPFLAGS'
12882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12887 CXXFLAGS
=${CXXFLAGS:=}
12892 ac_cpp
='$CXXCPP $CPPFLAGS'
12893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12896 if test -n "$ac_tool_prefix"; then
12897 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12900 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12901 echo "$as_me:$LINENO: checking for $ac_word" >&5
12902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12903 if test "${ac_cv_prog_CXX+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 if test -n "$CXX"; then
12907 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12910 for as_dir
in $PATH
12913 test -z "$as_dir" && as_dir
=.
12914 for ac_exec_ext
in '' $ac_executable_extensions; do
12915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12916 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12925 CXX
=$ac_cv_prog_CXX
12926 if test -n "$CXX"; then
12927 echo "$as_me:$LINENO: result: $CXX" >&5
12928 echo "${ECHO_T}$CXX" >&6
12930 echo "$as_me:$LINENO: result: no" >&5
12931 echo "${ECHO_T}no" >&6
12934 test -n "$CXX" && break
12937 if test -z "$CXX"; then
12939 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12941 # Extract the first word of "$ac_prog", so it can be a program name with args.
12942 set dummy
$ac_prog; ac_word
=$2
12943 echo "$as_me:$LINENO: checking for $ac_word" >&5
12944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12945 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 if test -n "$ac_ct_CXX"; then
12949 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12952 for as_dir
in $PATH
12955 test -z "$as_dir" && as_dir
=.
12956 for ac_exec_ext
in '' $ac_executable_extensions; do
12957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12958 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12967 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12968 if test -n "$ac_ct_CXX"; then
12969 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12970 echo "${ECHO_T}$ac_ct_CXX" >&6
12972 echo "$as_me:$LINENO: result: no" >&5
12973 echo "${ECHO_T}no" >&6
12976 test -n "$ac_ct_CXX" && break
12978 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12984 # Provide some information about the compiler.
12985 echo "$as_me:$LINENO:" \
12986 "checking for C++ compiler version" >&5
12987 ac_compiler
=`set X $ac_compile; echo $2`
12988 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12989 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }
12993 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12994 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }
12998 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12999 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }
13004 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13005 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13006 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 cat >conftest.
$ac_ext <<_ACEOF
13012 cat confdefs.h
>>conftest.
$ac_ext
13013 cat >>conftest.
$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13027 rm -f conftest.
$ac_objext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13029 (eval $ac_compile) 2>conftest.er1
13031 grep -v '^ *+' conftest.er1
>conftest.err
13033 cat conftest.err
>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
13036 { ac_try
='test -z "$ac_cxx_werror_flag"
13037 || test ! -s conftest.err'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try
='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_compiler_gnu
=yes
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.
$ac_ext >&5
13056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13057 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13060 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13061 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13062 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13063 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13064 ac_save_CXXFLAGS
=$CXXFLAGS
13066 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13067 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13068 if test "${ac_cv_prog_cxx_g+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13086 rm -f conftest.
$ac_objext
13087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13088 (eval $ac_compile) 2>conftest.er1
13090 grep -v '^ *+' conftest.er1
>conftest.err
13092 cat conftest.err
>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); } &&
13095 { ac_try
='test -z "$ac_cxx_werror_flag"
13096 || test ! -s conftest.err'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; } &&
13102 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13108 ac_cv_prog_cxx_g
=yes
13110 echo "$as_me: failed program was:" >&5
13111 sed 's/^/| /' conftest.
$ac_ext >&5
13113 ac_cv_prog_cxx_g
=no
13115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13117 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13118 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13119 if test "$ac_test_CXXFLAGS" = set; then
13120 CXXFLAGS
=$ac_save_CXXFLAGS
13121 elif test $ac_cv_prog_cxx_g = yes; then
13122 if test "$GXX" = yes; then
13128 if test "$GXX" = yes; then
13134 for ac_declaration
in \
13136 'extern "C" void std::exit (int) throw (); using std::exit;' \
13137 'extern "C" void std::exit (int); using std::exit;' \
13138 'extern "C" void exit (int) throw ();' \
13139 'extern "C" void exit (int);' \
13142 cat >conftest.
$ac_ext <<_ACEOF
13145 cat confdefs.h
>>conftest.
$ac_ext
13146 cat >>conftest.
$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13149 #include <stdlib.h>
13158 rm -f conftest.
$ac_objext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13160 (eval $ac_compile) 2>conftest.er1
13162 grep -v '^ *+' conftest.er1
>conftest.err
13164 cat conftest.err
>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try
='test -z "$ac_cxx_werror_flag"
13168 || test ! -s conftest.err'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; } &&
13174 { ac_try
='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.
$ac_ext >&5
13187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13188 cat >conftest.
$ac_ext <<_ACEOF
13191 cat confdefs.h
>>conftest.
$ac_ext
13192 cat >>conftest.
$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13203 rm -f conftest.
$ac_objext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13205 (eval $ac_compile) 2>conftest.er1
13207 grep -v '^ *+' conftest.er1
>conftest.err
13209 cat conftest.err
>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } &&
13212 { ac_try
='test -z "$ac_cxx_werror_flag"
13213 || test ! -s conftest.err'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; } &&
13219 { ac_try
='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.
$ac_ext >&5
13231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13234 if test -n "$ac_declaration"; then
13235 echo '#ifdef __cplusplus' >>confdefs.h
13236 echo $ac_declaration >>confdefs.h
13237 echo '#endif' >>confdefs.h
13241 ac_cpp
='$CXXCPP $CPPFLAGS'
13242 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13243 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13244 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13249 ac_cpp
='$CXXCPP $CPPFLAGS'
13250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13254 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13255 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13256 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 cat >conftest.
$ac_ext <<_ACEOF
13262 cat confdefs.h
>>conftest.
$ac_ext
13263 cat >>conftest.
$ac_ext <<_ACEOF
13264 /* end confdefs.h. */
13270 #ifndef __INTEL_COMPILER
13278 rm -f conftest.
$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13282 grep -v '^ *+' conftest.er1
>conftest.err
13284 cat conftest.err
>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try
='test -z "$ac_cxx_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try
='test -s conftest.$ac_objext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.
$ac_ext >&5
13305 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13312 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13313 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13315 ac_cpp
='$CXXCPP $CPPFLAGS'
13316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13320 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13327 if test "x$GCXX" != "xyes"; then
13328 if test "xCXX" = "xC"; then
13329 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13330 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13331 if test "${bakefile_cv_cxx_exto+set}" = set; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 cat >conftest.
$ac_ext <<_ACEOF
13337 cat confdefs.h
>>conftest.
$ac_ext
13338 cat >>conftest.
$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13349 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; then
13355 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13357 conftest.
$ac_ext.o
)
13358 bakefile_cv_cxx_exto
="-ext o"
13365 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13366 See \`config.log' for more details." >&5
13367 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13368 See \`config.log' for more details." >&2;}
13369 { (exit 1); exit 1; }; }
13373 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13376 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13377 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13378 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13379 if test "cxx" = "c"; then
13380 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13382 if test "cxx" = "cxx"; then
13383 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13387 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13388 unset ac_cv_prog_cc_g
13389 ac_test_CFLAGS
=${CFLAGS+set}
13390 ac_save_CFLAGS
=$CFLAGS
13392 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13394 if test "${ac_cv_prog_cc_g+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 cat >conftest.
$ac_ext <<_ACEOF
13400 cat confdefs.h
>>conftest.
$ac_ext
13401 cat >>conftest.
$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13412 rm -f conftest.
$ac_objext
13413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13414 (eval $ac_compile) 2>conftest.er1
13416 grep -v '^ *+' conftest.er1
>conftest.err
13418 cat conftest.err
>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try
='test -z "$ac_cxx_werror_flag"
13422 || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try
='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 ac_cv_prog_cc_g
=yes
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13443 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13444 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13445 if test "$ac_test_CFLAGS" = set; then
13446 CFLAGS
=$ac_save_CFLAGS
13447 elif test $ac_cv_prog_cc_g = yes; then
13448 if test "$GCC" = yes; then
13454 if test "$GCC" = yes; then
13466 ac_cpp
='$CXXCPP $CPPFLAGS'
13467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13471 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13472 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13473 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 cat >conftest.
$ac_ext <<_ACEOF
13479 cat confdefs.h
>>conftest.
$ac_ext
13480 cat >>conftest.
$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13494 rm -f conftest.
$ac_objext
13495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13496 (eval $ac_compile) 2>conftest.er1
13498 grep -v '^ *+' conftest.er1
>conftest.err
13500 cat conftest.err
>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try
='test -z "$ac_cxx_werror_flag"
13504 || test ! -s conftest.err'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try
='test -s conftest.$ac_objext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 bakefile_compiler_xlc
=yes
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.
$ac_ext >&5
13521 bakefile_compiler_xlc
=no
13523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13524 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13527 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13528 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13530 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13532 ac_cpp
='$CXXCPP $CPPFLAGS'
13533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13542 ac_cpp
='$CXXCPP $CPPFLAGS'
13543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13547 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13548 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13549 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13550 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 cat >conftest.
$ac_ext <<_ACEOF
13555 cat confdefs.h
>>conftest.
$ac_ext
13556 cat >>conftest.
$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13570 rm -f conftest.
$ac_objext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13572 (eval $ac_compile) 2>conftest.er1
13574 grep -v '^ *+' conftest.er1
>conftest.err
13576 cat conftest.err
>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } &&
13579 { ac_try
='test -z "$ac_cxx_werror_flag"
13580 || test ! -s conftest.err'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; } &&
13586 { ac_try
='test -s conftest.$ac_objext'
13587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 (eval $ac_try) 2>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; }; then
13592 bakefile_compiler_mwerks
=yes
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.
$ac_ext >&5
13597 bakefile_compiler_mwerks
=no
13599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13600 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13603 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13604 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13606 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13608 ac_cpp
='$CXXCPP $CPPFLAGS'
13609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13615 ac_cpp
='$CXXCPP $CPPFLAGS'
13616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13620 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13621 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13622 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 cat >conftest.
$ac_ext <<_ACEOF
13628 cat confdefs.h
>>conftest.
$ac_ext
13629 cat >>conftest.
$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13643 rm -f conftest.
$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>conftest.er1
13647 grep -v '^ *+' conftest.er1
>conftest.err
13649 cat conftest.err
>&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try
='test -z "$ac_cxx_werror_flag"
13653 || test ! -s conftest.err'
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; } &&
13659 { ac_try
='test -s conftest.$ac_objext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 bakefile_compiler_xlc
=yes
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.
$ac_ext >&5
13670 bakefile_compiler_xlc
=no
13672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13673 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13676 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13677 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13679 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13681 ac_cpp
='$CXXCPP $CPPFLAGS'
13682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13693 ac_cpp
='$CXXCPP $CPPFLAGS'
13694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13698 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13699 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13700 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 cat >conftest.
$ac_ext <<_ACEOF
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13714 #ifndef _SGI_COMPILER_VERSION
13722 rm -f conftest.
$ac_objext
13723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13724 (eval $ac_compile) 2>conftest.er1
13726 grep -v '^ *+' conftest.er1
>conftest.err
13728 cat conftest.err
>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); } &&
13731 { ac_try
='test -z "$ac_cxx_werror_flag"
13732 || test ! -s conftest.err'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; } &&
13738 { ac_try
='test -s conftest.$ac_objext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13746 echo "$as_me: failed program was:" >&5
13747 sed 's/^/| /' conftest.
$ac_ext >&5
13749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13756 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13757 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13759 ac_cpp
='$CXXCPP $CPPFLAGS'
13760 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13761 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13762 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13764 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13777 ac_cpp
='$CXXCPP $CPPFLAGS'
13778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13782 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13783 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13784 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 cat >conftest.
$ac_ext <<_ACEOF
13790 cat confdefs.h
>>conftest.
$ac_ext
13791 cat >>conftest.
$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13806 rm -f conftest.
$ac_objext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13808 (eval $ac_compile) 2>conftest.er1
13810 grep -v '^ *+' conftest.er1
>conftest.err
13812 cat conftest.err
>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try
='test -z "$ac_cxx_werror_flag"
13816 || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try
='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 bakefile_cv_cxx_compiler___HP_aCC
=yes
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 bakefile_cv_cxx_compiler___HP_aCC
=no
13836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13840 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13841 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13843 ac_cpp
='$CXXCPP $CPPFLAGS'
13844 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13845 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13846 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13848 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13861 ac_cpp
='$CXXCPP $CPPFLAGS'
13862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13866 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13867 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13868 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13871 cat >conftest.
$ac_ext <<_ACEOF
13874 cat confdefs.h
>>conftest.
$ac_ext
13875 cat >>conftest.
$ac_ext <<_ACEOF
13876 /* end confdefs.h. */
13890 rm -f conftest.
$ac_objext
13891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13892 (eval $ac_compile) 2>conftest.er1
13894 grep -v '^ *+' conftest.er1
>conftest.err
13896 cat conftest.err
>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } &&
13899 { ac_try
='test -z "$ac_cxx_werror_flag"
13900 || test ! -s conftest.err'
13901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13902 (eval $ac_try) 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; } &&
13906 { ac_try
='test -s conftest.$ac_objext'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; }; then
13912 bakefile_cv_cxx_compiler___DECCXX
=yes
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.
$ac_ext >&5
13917 bakefile_cv_cxx_compiler___DECCXX
=no
13920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13924 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13925 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13927 ac_cpp
='$CXXCPP $CPPFLAGS'
13928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13932 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13945 ac_cpp
='$CXXCPP $CPPFLAGS'
13946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13950 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13951 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13952 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13953 echo $ECHO_N "(cached) $ECHO_C" >&6
13955 cat >conftest.
$ac_ext <<_ACEOF
13958 cat confdefs.h
>>conftest.
$ac_ext
13959 cat >>conftest.
$ac_ext <<_ACEOF
13960 /* end confdefs.h. */
13966 #ifndef __SUNPRO_CC
13974 rm -f conftest.
$ac_objext
13975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13976 (eval $ac_compile) 2>conftest.er1
13978 grep -v '^ *+' conftest.er1
>conftest.err
13980 cat conftest.err
>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try
='test -z "$ac_cxx_werror_flag"
13984 || test ! -s conftest.err'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; } &&
13990 { ac_try
='test -s conftest.$ac_objext'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; }; then
13996 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.
$ac_ext >&5
14001 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14008 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14009 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14011 ac_cpp
='$CXXCPP $CPPFLAGS'
14012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14016 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14030 ac_cpp
='$CPP $CPPFLAGS'
14031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14036 if test -n "$ac_tool_prefix"; then
14037 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14038 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14039 echo "$as_me:$LINENO: checking for $ac_word" >&5
14040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14041 if test "${ac_cv_prog_RANLIB+set}" = set; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14044 if test -n "$RANLIB"; then
14045 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14048 for as_dir
in $PATH
14051 test -z "$as_dir" && as_dir
=.
14052 for ac_exec_ext
in '' $ac_executable_extensions; do
14053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14054 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14063 RANLIB
=$ac_cv_prog_RANLIB
14064 if test -n "$RANLIB"; then
14065 echo "$as_me:$LINENO: result: $RANLIB" >&5
14066 echo "${ECHO_T}$RANLIB" >&6
14068 echo "$as_me:$LINENO: result: no" >&5
14069 echo "${ECHO_T}no" >&6
14073 if test -z "$ac_cv_prog_RANLIB"; then
14074 ac_ct_RANLIB
=$RANLIB
14075 # Extract the first word of "ranlib", so it can be a program name with args.
14076 set dummy ranlib
; ac_word
=$2
14077 echo "$as_me:$LINENO: checking for $ac_word" >&5
14078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14079 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 if test -n "$ac_ct_RANLIB"; then
14083 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14086 for as_dir
in $PATH
14089 test -z "$as_dir" && as_dir
=.
14090 for ac_exec_ext
in '' $ac_executable_extensions; do
14091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14092 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14102 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14103 if test -n "$ac_ct_RANLIB"; then
14104 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14105 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14107 echo "$as_me:$LINENO: result: no" >&5
14108 echo "${ECHO_T}no" >&6
14111 RANLIB
=$ac_ct_RANLIB
14113 RANLIB
="$ac_cv_prog_RANLIB"
14117 if test -n "$ac_tool_prefix"; then
14118 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14119 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14120 echo "$as_me:$LINENO: checking for $ac_word" >&5
14121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14122 if test "${ac_cv_prog_AR+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 if test -n "$AR"; then
14126 ac_cv_prog_AR
="$AR" # Let the user override the test.
14128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14129 for as_dir
in $PATH
14132 test -z "$as_dir" && as_dir
=.
14133 for ac_exec_ext
in '' $ac_executable_extensions; do
14134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14135 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14145 if test -n "$AR"; then
14146 echo "$as_me:$LINENO: result: $AR" >&5
14147 echo "${ECHO_T}$AR" >&6
14149 echo "$as_me:$LINENO: result: no" >&5
14150 echo "${ECHO_T}no" >&6
14154 if test -z "$ac_cv_prog_AR"; then
14156 # Extract the first word of "ar", so it can be a program name with args.
14157 set dummy
ar; ac_word
=$2
14158 echo "$as_me:$LINENO: checking for $ac_word" >&5
14159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14161 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 if test -n "$ac_ct_AR"; then
14164 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14167 for as_dir
in $PATH
14170 test -z "$as_dir" && as_dir
=.
14171 for ac_exec_ext
in '' $ac_executable_extensions; do
14172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14173 ac_cv_prog_ac_ct_AR
="ar"
14174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14182 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14183 if test -n "$ac_ct_AR"; then
14184 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14185 echo "${ECHO_T}$ac_ct_AR" >&6
14187 echo "$as_me:$LINENO: result: no" >&5
14188 echo "${ECHO_T}no" >&6
14193 AR
="$ac_cv_prog_AR"
14196 if test "x$AR" = "x" ; then
14197 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14198 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14199 { (exit 1); exit 1; }; }
14202 # Find a good install program. We prefer a C program (faster),
14203 # so one script is as good as another. But avoid the broken or
14204 # incompatible versions:
14205 # SysV /etc/install, /usr/sbin/install
14206 # SunOS /usr/etc/install
14207 # IRIX /sbin/install
14209 # AmigaOS /C/install, which installs bootblocks on floppy discs
14210 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14211 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14212 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14213 # OS/2's system install, which has a completely different semantic
14214 # ./install, which can be erroneously created by make from ./install.sh.
14215 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14216 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14217 if test -z "$INSTALL"; then
14218 if test "${ac_cv_path_install+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14222 for as_dir
in $PATH
14225 test -z "$as_dir" && as_dir
=.
14226 # Account for people who put trailing slashes in PATH elements.
14228 .
/ | .
// | /cC
/* | \
14229 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14230 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14233 # OSF1 and SCO ODT 3.0 have their own names for install.
14234 # Don't use installbsd from OSF since it installs stuff as root
14236 for ac_prog
in ginstall scoinst
install; do
14237 for ac_exec_ext
in '' $ac_executable_extensions; do
14238 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14239 if test $ac_prog = install &&
14240 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14241 # AIX install. It has an incompatible calling convention.
14243 elif test $ac_prog = install &&
14244 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14245 # program-specific install script used by HP pwplus--don't use.
14248 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14260 if test "${ac_cv_path_install+set}" = set; then
14261 INSTALL
=$ac_cv_path_install
14263 # As a last resort, use the slow shell script. We don't cache a
14264 # path for INSTALL within a source directory, because that will
14265 # break other packages using the cache if that directory is
14266 # removed, or if the path is relative.
14267 INSTALL
=$ac_install_sh
14270 echo "$as_me:$LINENO: result: $INSTALL" >&5
14271 echo "${ECHO_T}$INSTALL" >&6
14273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14274 # It thinks the first close brace ends the variable substitution.
14275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14279 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14285 ?
:* ) # Drive letter, considered as absolute.
14288 INSTALL
=`pwd`/${INSTALL} ;;
14295 INSTALL_PROGRAM
="cp -fp"
14296 INSTALL_DATA
="cp -fp"
14302 if test -n "$ac_tool_prefix"; then
14303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14304 set dummy
${ac_tool_prefix}strip
; 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_STRIP+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 if test -n "$STRIP"; then
14311 ac_cv_prog_STRIP
="$STRIP" # 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_STRIP
="${ac_tool_prefix}strip"
14321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14329 STRIP
=$ac_cv_prog_STRIP
14330 if test -n "$STRIP"; then
14331 echo "$as_me:$LINENO: result: $STRIP" >&5
14332 echo "${ECHO_T}$STRIP" >&6
14334 echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6
14339 if test -z "$ac_cv_prog_STRIP"; then
14341 # Extract the first word of "strip", so it can be a program name with args.
14342 set dummy strip
; ac_word
=$2
14343 echo "$as_me:$LINENO: checking for $ac_word" >&5
14344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 if test -n "$ac_ct_STRIP"; then
14349 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14352 for as_dir
in $PATH
14355 test -z "$as_dir" && as_dir
=.
14356 for ac_exec_ext
in '' $ac_executable_extensions; do
14357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14358 ac_cv_prog_ac_ct_STRIP
="strip"
14359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14368 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14369 if test -n "$ac_ct_STRIP"; then
14370 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14371 echo "${ECHO_T}$ac_ct_STRIP" >&6
14373 echo "$as_me:$LINENO: result: no" >&5
14374 echo "${ECHO_T}no" >&6
14379 STRIP
="$ac_cv_prog_STRIP"
14383 if test "$wxUSE_WINE" = "yes"; then
14384 if test -n "$ac_tool_prefix"; then
14385 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14386 set dummy
${ac_tool_prefix}wrc
; 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_RESCOMP+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14392 if test -n "$RESCOMP"; then
14393 ac_cv_prog_RESCOMP
="$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_RESCOMP
="${ac_tool_prefix}wrc"
14403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14411 RESCOMP
=$ac_cv_prog_RESCOMP
14412 if test -n "$RESCOMP"; then
14413 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14414 echo "${ECHO_T}$RESCOMP" >&6
14416 echo "$as_me:$LINENO: result: no" >&5
14417 echo "${ECHO_T}no" >&6
14421 if test -z "$ac_cv_prog_RESCOMP"; then
14422 ac_ct_RESCOMP
=$RESCOMP
14423 # Extract the first word of "wrc", so it can be a program name with args.
14424 set dummy wrc
; ac_word
=$2
14425 echo "$as_me:$LINENO: checking for $ac_word" >&5
14426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14427 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 if test -n "$ac_ct_RESCOMP"; then
14431 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14434 for as_dir
in $PATH
14437 test -z "$as_dir" && as_dir
=.
14438 for ac_exec_ext
in '' $ac_executable_extensions; do
14439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14440 ac_cv_prog_ac_ct_RESCOMP
="wrc"
14441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14449 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14450 if test -n "$ac_ct_RESCOMP"; then
14451 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14452 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14454 echo "$as_me:$LINENO: result: no" >&5
14455 echo "${ECHO_T}no" >&6
14458 RESCOMP
=$ac_ct_RESCOMP
14460 RESCOMP
="$ac_cv_prog_RESCOMP"
14465 *-*-cygwin* | *-*-mingw32* )
14466 if test -n "$ac_tool_prefix"; then
14467 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14468 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14469 echo "$as_me:$LINENO: checking for $ac_word" >&5
14470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14471 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14474 if test -n "$RESCOMP"; then
14475 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14478 for as_dir
in $PATH
14481 test -z "$as_dir" && as_dir
=.
14482 for ac_exec_ext
in '' $ac_executable_extensions; do
14483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14484 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
14485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14493 RESCOMP
=$ac_cv_prog_RESCOMP
14494 if test -n "$RESCOMP"; then
14495 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14496 echo "${ECHO_T}$RESCOMP" >&6
14498 echo "$as_me:$LINENO: result: no" >&5
14499 echo "${ECHO_T}no" >&6
14503 if test -z "$ac_cv_prog_RESCOMP"; then
14504 ac_ct_RESCOMP
=$RESCOMP
14505 # Extract the first word of "windres", so it can be a program name with args.
14506 set dummy windres
; ac_word
=$2
14507 echo "$as_me:$LINENO: checking for $ac_word" >&5
14508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14509 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 if test -n "$ac_ct_RESCOMP"; then
14513 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14516 for as_dir
in $PATH
14519 test -z "$as_dir" && as_dir
=.
14520 for ac_exec_ext
in '' $ac_executable_extensions; do
14521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14522 ac_cv_prog_ac_ct_RESCOMP
="windres"
14523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14531 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14532 if test -n "$ac_ct_RESCOMP"; then
14533 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14534 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14536 echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6
14540 RESCOMP
=$ac_ct_RESCOMP
14542 RESCOMP
="$ac_cv_prog_RESCOMP"
14545 if test -n "$ac_tool_prefix"; then
14546 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14547 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14548 echo "$as_me:$LINENO: checking for $ac_word" >&5
14549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14550 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 if test -n "$DLLTOOL"; then
14554 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14557 for as_dir
in $PATH
14560 test -z "$as_dir" && as_dir
=.
14561 for ac_exec_ext
in '' $ac_executable_extensions; do
14562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14563 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14572 DLLTOOL
=$ac_cv_prog_DLLTOOL
14573 if test -n "$DLLTOOL"; then
14574 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14575 echo "${ECHO_T}$DLLTOOL" >&6
14577 echo "$as_me:$LINENO: result: no" >&5
14578 echo "${ECHO_T}no" >&6
14582 if test -z "$ac_cv_prog_DLLTOOL"; then
14583 ac_ct_DLLTOOL
=$DLLTOOL
14584 # Extract the first word of "dlltool", so it can be a program name with args.
14585 set dummy dlltool
; ac_word
=$2
14586 echo "$as_me:$LINENO: checking for $ac_word" >&5
14587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14588 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 if test -n "$ac_ct_DLLTOOL"; then
14592 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14595 for as_dir
in $PATH
14598 test -z "$as_dir" && as_dir
=.
14599 for ac_exec_ext
in '' $ac_executable_extensions; do
14600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14601 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14610 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14611 if test -n "$ac_ct_DLLTOOL"; then
14612 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14613 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14615 echo "$as_me:$LINENO: result: no" >&5
14616 echo "${ECHO_T}no" >&6
14619 DLLTOOL
=$ac_ct_DLLTOOL
14621 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14628 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14629 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14630 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14635 egrep -s GNU
> /dev
/null
); then
14636 wx_cv_prog_makeisgnu
="yes"
14638 wx_cv_prog_makeisgnu
="no"
14642 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14643 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14645 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14653 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14654 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14655 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14656 if test "${wx_cv_prog_makevpath+set}" = set; then
14657 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 cat - << EOF > confMake
14666 if test ! -d sub
; then
14669 echo dummy
> sub
/file
14670 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14672 rm -f sub
/file check final_file confMake
14674 if test "$RESULT" = 0; then
14675 wx_cv_prog_makevpath
="yes"
14677 wx_cv_prog_makevpath
="no"
14681 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14682 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14684 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14685 { { echo "$as_me:$LINENO: error:
14686 You need a make-utility that is able to use the variable
14688 If your version of make does not support VPATH correctly,
14689 please install GNU-make (possibly as gmake), and start
14690 configure with the following command:
14691 export MAKE=gmake; ./configure for sh-type shells
14692 setenv MAKE gmake; ./configure for csh-type shells
14693 Also please do remember to use gmake in this case every time
14694 you are trying to compile.
14696 echo "$as_me: error:
14697 You need a make-utility that is able to use the variable
14699 If your version of make does not support VPATH correctly,
14700 please install GNU-make (possibly as gmake), and start
14701 configure with the following command:
14702 export MAKE=gmake; ./configure for sh-type shells
14703 setenv MAKE gmake; ./configure for csh-type shells
14704 Also please do remember to use gmake in this case every time
14705 you are trying to compile.
14707 { (exit 1); exit 1; }; }
14709 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14710 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14712 if test "$LN_S" = "ln -s"; then
14713 echo "$as_me:$LINENO: result: yes" >&5
14714 echo "${ECHO_T}yes" >&6
14716 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14717 echo "${ECHO_T}no, using $LN_S" >&6
14721 for ac_prog
in lndir
14723 # Extract the first word of "$ac_prog", so it can be a program name with args.
14724 set dummy
$ac_prog; ac_word
=$2
14725 echo "$as_me:$LINENO: checking for $ac_word" >&5
14726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14727 if test "${ac_cv_prog_LNDIR+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 if test -n "$LNDIR"; then
14731 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14734 for as_dir
in $PATH
14737 test -z "$as_dir" && as_dir
=.
14738 for ac_exec_ext
in '' $ac_executable_extensions; do
14739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14740 ac_cv_prog_LNDIR
="$ac_prog"
14741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14749 LNDIR
=$ac_cv_prog_LNDIR
14750 if test -n "$LNDIR"; then
14751 echo "$as_me:$LINENO: result: $LNDIR" >&5
14752 echo "${ECHO_T}$LNDIR" >&6
14754 echo "$as_me:$LINENO: result: no" >&5
14755 echo "${ECHO_T}no" >&6
14758 test -n "$LNDIR" && break
14760 test -n "$LNDIR" || LNDIR
="cp -pR"
14765 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14766 CXXFLAGS
="$CXXFLAGS -qunique"
14770 powerpc
-*-darwin* )
14771 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14772 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14773 cat >conftest.
$ac_ext <<_ACEOF
14776 cat confdefs.h
>>conftest.
$ac_ext
14777 cat >>conftest.
$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14783 #ifndef __POWERPC__
14784 choke me for lack of PowerPC
14791 rm -f conftest.
$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>conftest.er1
14795 grep -v '^ *+' conftest.er1
>conftest.err
14797 cat conftest.err
>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try
='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try
='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 echo "$as_me:$LINENO: result: yes" >&5
14814 echo "${ECHO_T}yes" >&6
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 echo "$as_me:$LINENO: result: no" >&5
14820 echo "${ECHO_T}no" >&6
14821 cat >>confdefs.h
<<\_ACEOF
14822 #define __POWERPC__ 1
14827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14833 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14834 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14835 cat >conftest.
$ac_ext <<_ACEOF
14838 cat confdefs.h
>>conftest.
$ac_ext
14839 cat >>conftest.
$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14841 #include <CoreFoundation/CFBase.h>
14851 rm -f conftest.
$ac_objext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14853 (eval $ac_compile) 2>conftest.er1
14855 grep -v '^ *+' conftest.er1
>conftest.err
14857 cat conftest.err
>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try
='test -z "$ac_c_werror_flag"
14861 || test ! -s conftest.err'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try
='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 echo "$as_me:$LINENO: result: yes" >&5
14874 echo "${ECHO_T}yes" >&6
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.
$ac_ext >&5
14879 echo "$as_me:$LINENO: result: no" >&5
14880 echo "${ECHO_T}no" >&6
14881 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14882 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14883 cat >conftest.
$ac_ext <<_ACEOF
14886 cat confdefs.h
>>conftest.
$ac_ext
14887 cat >>conftest.
$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14889 #define __CF_USE_FRAMEWORK_INCLUDES__
14890 #include <CoreFoundation/CFBase.h>
14900 rm -f conftest.
$ac_objext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14902 (eval $ac_compile) 2>conftest.er1
14904 grep -v '^ *+' conftest.er1
>conftest.err
14906 cat conftest.err
>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try
='test -z "$ac_c_werror_flag"
14910 || test ! -s conftest.err'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try
='test -s conftest.$ac_objext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14922 echo "$as_me:$LINENO: result: yes" >&5
14923 echo "${ECHO_T}yes" >&6
14924 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.
$ac_ext >&5
14929 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14930 See \`config.log' for more details." >&5
14931 echo "$as_me: error: no. CoreFoundation not available.
14932 See \`config.log' for more details." >&2;}
14933 { (exit 1); exit 1; }; }
14936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14945 *-pc-os2_emx | *-pc-os2-emx )
14946 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14947 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14948 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14949 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14950 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 ac_check_lib_save_LIBS
=$LIBS
14953 LIBS
="-lcExt $LIBS"
14954 cat >conftest.
$ac_ext <<_ACEOF
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14961 /* Override any gcc2 internal prototype to avoid an error. */
14965 /* We use char because int might match the return type of a gcc2
14966 builtin and then its argument prototype would still apply. */
14976 rm -f conftest.
$ac_objext conftest
$ac_exeext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14978 (eval $ac_link) 2>conftest.er1
14980 grep -v '^ *+' conftest.er1
>conftest.err
14982 cat conftest.err
>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } &&
14985 { ac_try
='test -z "$ac_c_werror_flag"
14986 || test ! -s conftest.err'
14987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988 (eval $ac_try) 2>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; } &&
14992 { ac_try
='test -s conftest$ac_exeext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_lib_cExt_drand48
=yes
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.
$ac_ext >&5
15003 ac_cv_lib_cExt_drand48
=no
15005 rm -f conftest.err conftest.
$ac_objext \
15006 conftest
$ac_exeext conftest.
$ac_ext
15007 LIBS
=$ac_check_lib_save_LIBS
15009 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15010 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15011 if test $ac_cv_lib_cExt_drand48 = yes; then
15012 LIBS
="$LIBS -lcExt"
15016 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15018 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15019 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15020 if test "${wx_cv_gccversion+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 if test "$cross_compiling" = yes; then
15025 wx_cv_gccversion
="EMX2"
15028 cat >conftest.
$ac_ext <<_ACEOF
15031 cat confdefs.h
>>conftest.
$ac_ext
15032 cat >>conftest.
$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15039 FILE *f=fopen("conftestval", "w");
15044 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15046 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15056 rm -f conftest
$ac_exeext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15058 (eval $ac_link) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 wx_cv_gccversion
=`cat conftestval`
15069 echo "$as_me: program exited with status $ac_status" >&5
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.
$ac_ext >&5
15073 ( exit $ac_status )
15074 wx_cv_gccversion
="EMX2"
15076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15080 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15081 echo "${ECHO_T}$wx_cv_gccversion" >&6
15082 if test "$wx_cv_gccversion" = "EMX2"; then
15083 LIBS
="$LIBS -lstdcpp"
15084 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15086 if test "$wx_cv_gccversion" = "EMX3"; then
15087 LIBS
="$LIBS -lstdcxx -lgcc"
15088 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15090 LIBS
="$LIBS -lstdc++"
15093 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15094 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15095 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15105 ac_cpp
='$CXXCPP $CPPFLAGS'
15106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15111 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15112 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15113 if test "${ac_cv_string_strcasecmp+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15117 cat >conftest.
$ac_ext <<_ACEOF
15120 cat confdefs.h
>>conftest.
$ac_ext
15121 cat >>conftest.
$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15124 #include <string.h>
15130 strcasecmp("foo", "bar");
15136 rm -f conftest.
$ac_objext conftest
$ac_exeext
15137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15138 (eval $ac_link) 2>conftest.er1
15140 grep -v '^ *+' conftest.er1
>conftest.err
15142 cat conftest.err
>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } &&
15145 { ac_try
='test -z "$ac_cxx_werror_flag"
15146 || test ! -s conftest.err'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; } &&
15152 { ac_try
='test -s conftest$ac_exeext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_cv_string_strcasecmp
=yes
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.
$ac_ext >&5
15163 ac_cv_string_strcasecmp
=no
15166 rm -f conftest.err conftest.
$ac_objext \
15167 conftest
$ac_exeext conftest.
$ac_ext
15170 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15171 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15173 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15174 cat >>confdefs.h
<<\_ACEOF
15175 #define HAVE_STRCASECMP_IN_STRING_H 1
15179 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15180 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15181 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15192 #include <strings.h>
15198 strcasecmp("foo", "bar");
15204 rm -f conftest.
$ac_objext conftest
$ac_exeext
15205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15206 (eval $ac_link) 2>conftest.er1
15208 grep -v '^ *+' conftest.er1
>conftest.err
15210 cat conftest.err
>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } &&
15213 { ac_try
='test -z "$ac_cxx_werror_flag"
15214 || test ! -s conftest.err'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; } &&
15220 { ac_try
='test -s conftest$ac_exeext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 ac_cv_strings_strcasecmp
=yes
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.
$ac_ext >&5
15231 ac_cv_strings_strcasecmp
=no
15234 rm -f conftest.err conftest.
$ac_objext \
15235 conftest
$ac_exeext conftest.
$ac_ext
15238 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15239 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15241 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15242 cat >>confdefs.h
<<\_ACEOF
15243 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15247 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15248 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15249 { (exit 1); exit 1; }; }
15254 ac_cpp
='$CPP $CPPFLAGS'
15255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15263 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15264 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15265 if test "${ac_cv_header_stdc+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 cat >conftest.
$ac_ext <<_ACEOF
15271 cat confdefs.h
>>conftest.
$ac_ext
15272 cat >>conftest.
$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274 #include <stdlib.h>
15275 #include <stdarg.h>
15276 #include <string.h>
15287 rm -f conftest.
$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15291 grep -v '^ *+' conftest.er1
>conftest.err
15293 cat conftest.err
>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -z "$ac_c_werror_flag"
15297 || 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 ac_cv_header_stdc
=yes
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.
$ac_ext >&5
15314 ac_cv_header_stdc
=no
15316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15318 if test $ac_cv_header_stdc = yes; then
15319 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15320 cat >conftest.
$ac_ext <<_ACEOF
15323 cat confdefs.h
>>conftest.
$ac_ext
15324 cat >>conftest.
$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15326 #include <string.h>
15329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15330 $EGREP "memchr" >/dev
/null
2>&1; then
15333 ac_cv_header_stdc
=no
15339 if test $ac_cv_header_stdc = yes; then
15340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15341 cat >conftest.
$ac_ext <<_ACEOF
15344 cat confdefs.h
>>conftest.
$ac_ext
15345 cat >>conftest.
$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15347 #include <stdlib.h>
15350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15351 $EGREP "free" >/dev
/null
2>&1; then
15354 ac_cv_header_stdc
=no
15360 if test $ac_cv_header_stdc = yes; then
15361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15362 if test "$cross_compiling" = yes; then
15365 cat >conftest.
$ac_ext <<_ACEOF
15368 cat confdefs.h
>>conftest.
$ac_ext
15369 cat >>conftest.
$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15372 #if ((' ' & 0x0FF) == 0x020)
15373 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15374 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15376 # define ISLOWER(c) \
15377 (('a' <= (c) && (c) <= 'i') \
15378 || ('j' <= (c) && (c) <= 'r') \
15379 || ('s' <= (c) && (c) <= 'z'))
15380 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15383 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15388 for (i = 0; i < 256; i++)
15389 if (XOR (islower (i), ISLOWER (i))
15390 || toupper (i) != TOUPPER (i))
15395 rm -f conftest
$ac_exeext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15397 (eval $ac_link) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15408 echo "$as_me: program exited with status $ac_status" >&5
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 ( exit $ac_status )
15413 ac_cv_header_stdc
=no
15415 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15419 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15420 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15421 if test $ac_cv_header_stdc = yes; then
15423 cat >>confdefs.h
<<\_ACEOF
15424 #define STDC_HEADERS 1
15429 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15439 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15440 inttypes.h stdint.h unistd.h
15442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15443 echo "$as_me:$LINENO: checking for $ac_header" >&5
15444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 cat >conftest.
$ac_ext <<_ACEOF
15451 cat confdefs.h
>>conftest.
$ac_ext
15452 cat >>conftest.
$ac_ext <<_ACEOF
15453 /* end confdefs.h. */
15454 $ac_includes_default
15456 #include <$ac_header>
15458 rm -f conftest.
$ac_objext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15460 (eval $ac_compile) 2>conftest.er1
15462 grep -v '^ *+' conftest.er1
>conftest.err
15464 cat conftest.err
>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } &&
15467 { ac_try
='test -z "$ac_c_werror_flag"
15468 || test ! -s conftest.err'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; } &&
15474 { ac_try
='test -s conftest.$ac_objext'
15475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476 (eval $ac_try) 2>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }; }; then
15480 eval "$as_ac_Header=yes"
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.
$ac_ext >&5
15485 eval "$as_ac_Header=no"
15487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15492 cat >>confdefs.h
<<_ACEOF
15493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15502 for ac_header
in stdlib.h
15504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15506 echo "$as_me:$LINENO: checking for $ac_header" >&5
15507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15514 # Is the header compilable?
15515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15517 cat >conftest.
$ac_ext <<_ACEOF
15520 cat confdefs.h
>>conftest.
$ac_ext
15521 cat >>conftest.
$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 #include <$ac_header>
15526 rm -f conftest.
$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>conftest.er1
15530 grep -v '^ *+' conftest.er1
>conftest.err
15532 cat conftest.err
>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } &&
15535 { ac_try
='test -z "$ac_c_werror_flag"
15536 || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try
='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_header_compiler
=yes
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.
$ac_ext >&5
15553 ac_header_compiler
=no
15555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15557 echo "${ECHO_T}$ac_header_compiler" >&6
15559 # Is the header present?
15560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15562 cat >conftest.
$ac_ext <<_ACEOF
15565 cat confdefs.h
>>conftest.
$ac_ext
15566 cat >>conftest.
$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 #include <$ac_header>
15570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15573 grep -v '^ *+' conftest.er1
>conftest.err
15575 cat conftest.err
>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } >/dev
/null
; then
15578 if test -s conftest.err
; then
15579 ac_cpp_err
=$ac_c_preproc_warn_flag
15580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15587 if test -z "$ac_cpp_err"; then
15588 ac_header_preproc
=yes
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.
$ac_ext >&5
15593 ac_header_preproc
=no
15595 rm -f conftest.err conftest.
$ac_ext
15596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15597 echo "${ECHO_T}$ac_header_preproc" >&6
15599 # So? What about this header?
15600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15606 ac_header_preproc
=yes
15609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15623 ## ----------------------------------------- ##
15624 ## Report this to wx-dev@lists.wxwidgets.org ##
15625 ## ----------------------------------------- ##
15628 sed "s/^/$as_me: WARNING: /" >&2
15631 echo "$as_me:$LINENO: checking for $ac_header" >&5
15632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 eval "$as_ac_Header=\$ac_header_preproc"
15638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15643 cat >>confdefs.h
<<_ACEOF
15644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15652 for ac_header
in malloc.h
15654 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15656 echo "$as_me:$LINENO: checking for $ac_header" >&5
15657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15664 # Is the header compilable?
15665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15667 cat >conftest.
$ac_ext <<_ACEOF
15670 cat confdefs.h
>>conftest.
$ac_ext
15671 cat >>conftest.
$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673 $ac_includes_default
15674 #include <$ac_header>
15676 rm -f conftest.
$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>conftest.er1
15680 grep -v '^ *+' conftest.er1
>conftest.err
15682 cat conftest.err
>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try
='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try
='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_header_compiler
=yes
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 ac_header_compiler
=no
15705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15707 echo "${ECHO_T}$ac_header_compiler" >&6
15709 # Is the header present?
15710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 #include <$ac_header>
15720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15723 grep -v '^ *+' conftest.er1
>conftest.err
15725 cat conftest.err
>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } >/dev
/null
; then
15728 if test -s conftest.err
; then
15729 ac_cpp_err
=$ac_c_preproc_warn_flag
15730 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15737 if test -z "$ac_cpp_err"; then
15738 ac_header_preproc
=yes
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 ac_header_preproc
=no
15745 rm -f conftest.err conftest.
$ac_ext
15746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15747 echo "${ECHO_T}$ac_header_preproc" >&6
15749 # So? What about this header?
15750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15756 ac_header_preproc
=yes
15759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15773 ## ----------------------------------------- ##
15774 ## Report this to wx-dev@lists.wxwidgets.org ##
15775 ## ----------------------------------------- ##
15778 sed "s/^/$as_me: WARNING: /" >&2
15781 echo "$as_me:$LINENO: checking for $ac_header" >&5
15782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 eval "$as_ac_Header=\$ac_header_preproc"
15788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15793 cat >>confdefs.h
<<_ACEOF
15794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15802 for ac_header
in unistd.h
15804 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo "$as_me:$LINENO: checking for $ac_header" >&5
15807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15809 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15814 # Is the header compilable?
15815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15817 cat >conftest.
$ac_ext <<_ACEOF
15820 cat confdefs.h
>>conftest.
$ac_ext
15821 cat >>conftest.
$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 $ac_includes_default
15824 #include <$ac_header>
15826 rm -f conftest.
$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828 (eval $ac_compile) 2>conftest.er1
15830 grep -v '^ *+' conftest.er1
>conftest.err
15832 cat conftest.err
>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try
='test -z "$ac_c_werror_flag"
15836 || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try
='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_header_compiler
=yes
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.
$ac_ext >&5
15853 ac_header_compiler
=no
15855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15857 echo "${ECHO_T}$ac_header_compiler" >&6
15859 # Is the header present?
15860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15862 cat >conftest.
$ac_ext <<_ACEOF
15865 cat confdefs.h
>>conftest.
$ac_ext
15866 cat >>conftest.
$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 #include <$ac_header>
15870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15871 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15873 grep -v '^ *+' conftest.er1
>conftest.err
15875 cat conftest.err
>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } >/dev
/null
; then
15878 if test -s conftest.err
; then
15879 ac_cpp_err
=$ac_c_preproc_warn_flag
15880 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15887 if test -z "$ac_cpp_err"; then
15888 ac_header_preproc
=yes
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.
$ac_ext >&5
15893 ac_header_preproc
=no
15895 rm -f conftest.err conftest.
$ac_ext
15896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15897 echo "${ECHO_T}$ac_header_preproc" >&6
15899 # So? What about this header?
15900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15906 ac_header_preproc
=yes
15909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15923 ## ----------------------------------------- ##
15924 ## Report this to wx-dev@lists.wxwidgets.org ##
15925 ## ----------------------------------------- ##
15928 sed "s/^/$as_me: WARNING: /" >&2
15931 echo "$as_me:$LINENO: checking for $ac_header" >&5
15932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 eval "$as_ac_Header=\$ac_header_preproc"
15938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15943 cat >>confdefs.h
<<_ACEOF
15944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15952 for ac_header
in wchar.h
15954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15956 echo "$as_me:$LINENO: checking for $ac_header" >&5
15957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15959 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15964 # Is the header compilable?
15965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15967 cat >conftest.
$ac_ext <<_ACEOF
15970 cat confdefs.h
>>conftest.
$ac_ext
15971 cat >>conftest.
$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 $ac_includes_default
15974 #include <$ac_header>
15976 rm -f conftest.
$ac_objext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15978 (eval $ac_compile) 2>conftest.er1
15980 grep -v '^ *+' conftest.er1
>conftest.err
15982 cat conftest.err
>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } &&
15985 { ac_try
='test -z "$ac_c_werror_flag"
15986 || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try
='test -s conftest.$ac_objext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_header_compiler
=yes
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16003 ac_header_compiler
=no
16005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16007 echo "${ECHO_T}$ac_header_compiler" >&6
16009 # Is the header present?
16010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16012 cat >conftest.
$ac_ext <<_ACEOF
16015 cat confdefs.h
>>conftest.
$ac_ext
16016 cat >>conftest.
$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 #include <$ac_header>
16020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16023 grep -v '^ *+' conftest.er1
>conftest.err
16025 cat conftest.err
>&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } >/dev
/null
; then
16028 if test -s conftest.err
; then
16029 ac_cpp_err
=$ac_c_preproc_warn_flag
16030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16037 if test -z "$ac_cpp_err"; then
16038 ac_header_preproc
=yes
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.
$ac_ext >&5
16043 ac_header_preproc
=no
16045 rm -f conftest.err conftest.
$ac_ext
16046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16047 echo "${ECHO_T}$ac_header_preproc" >&6
16049 # So? What about this header?
16050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16056 ac_header_preproc
=yes
16059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16073 ## ----------------------------------------- ##
16074 ## Report this to wx-dev@lists.wxwidgets.org ##
16075 ## ----------------------------------------- ##
16078 sed "s/^/$as_me: WARNING: /" >&2
16081 echo "$as_me:$LINENO: checking for $ac_header" >&5
16082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 eval "$as_ac_Header=\$ac_header_preproc"
16088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16093 cat >>confdefs.h
<<_ACEOF
16094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16102 if test "$ac_cv_header_wchar_h" != "yes"; then
16104 for ac_header
in wcstr.h
16106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16108 echo "$as_me:$LINENO: checking for $ac_header" >&5
16109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16116 # Is the header compilable?
16117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16119 cat >conftest.
$ac_ext <<_ACEOF
16122 cat confdefs.h
>>conftest.
$ac_ext
16123 cat >>conftest.
$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 $ac_includes_default
16126 #include <$ac_header>
16128 rm -f conftest.
$ac_objext
16129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16130 (eval $ac_compile) 2>conftest.er1
16132 grep -v '^ *+' conftest.er1
>conftest.err
16134 cat conftest.err
>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try
='test -z "$ac_c_werror_flag"
16138 || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try
='test -s conftest.$ac_objext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 ac_header_compiler
=yes
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 ac_header_compiler
=no
16157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16159 echo "${ECHO_T}$ac_header_compiler" >&6
16161 # Is the header present?
16162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 #include <$ac_header>
16172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16175 grep -v '^ *+' conftest.er1
>conftest.err
16177 cat conftest.err
>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } >/dev
/null
; then
16180 if test -s conftest.err
; then
16181 ac_cpp_err
=$ac_c_preproc_warn_flag
16182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16189 if test -z "$ac_cpp_err"; then
16190 ac_header_preproc
=yes
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.
$ac_ext >&5
16195 ac_header_preproc
=no
16197 rm -f conftest.err conftest.
$ac_ext
16198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16199 echo "${ECHO_T}$ac_header_preproc" >&6
16201 # So? What about this header?
16202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16208 ac_header_preproc
=yes
16211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16225 ## ----------------------------------------- ##
16226 ## Report this to wx-dev@lists.wxwidgets.org ##
16227 ## ----------------------------------------- ##
16230 sed "s/^/$as_me: WARNING: /" >&2
16233 echo "$as_me:$LINENO: checking for $ac_header" >&5
16234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 eval "$as_ac_Header=\$ac_header_preproc"
16240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16245 cat >>confdefs.h
<<_ACEOF
16246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16256 for ac_header
in fnmatch.h
16258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16260 echo "$as_me:$LINENO: checking for $ac_header" >&5
16261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16268 # Is the header compilable?
16269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16271 cat >conftest.
$ac_ext <<_ACEOF
16274 cat confdefs.h
>>conftest.
$ac_ext
16275 cat >>conftest.
$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 $ac_includes_default
16278 #include <$ac_header>
16280 rm -f conftest.
$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16284 grep -v '^ *+' conftest.er1
>conftest.err
16286 cat conftest.err
>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try
='test -z "$ac_c_werror_flag"
16290 || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try
='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 ac_header_compiler
=yes
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 ac_header_compiler
=no
16309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16311 echo "${ECHO_T}$ac_header_compiler" >&6
16313 # Is the header present?
16314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16316 cat >conftest.
$ac_ext <<_ACEOF
16319 cat confdefs.h
>>conftest.
$ac_ext
16320 cat >>conftest.
$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16322 #include <$ac_header>
16324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16327 grep -v '^ *+' conftest.er1
>conftest.err
16329 cat conftest.err
>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } >/dev
/null
; then
16332 if test -s conftest.err
; then
16333 ac_cpp_err
=$ac_c_preproc_warn_flag
16334 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16341 if test -z "$ac_cpp_err"; then
16342 ac_header_preproc
=yes
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.
$ac_ext >&5
16347 ac_header_preproc
=no
16349 rm -f conftest.err conftest.
$ac_ext
16350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16351 echo "${ECHO_T}$ac_header_preproc" >&6
16353 # So? What about this header?
16354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16360 ac_header_preproc
=yes
16363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16377 ## ----------------------------------------- ##
16378 ## Report this to wx-dev@lists.wxwidgets.org ##
16379 ## ----------------------------------------- ##
16382 sed "s/^/$as_me: WARNING: /" >&2
16385 echo "$as_me:$LINENO: checking for $ac_header" >&5
16386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 eval "$as_ac_Header=\$ac_header_preproc"
16392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16397 cat >>confdefs.h
<<_ACEOF
16398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16407 for ac_header
in langinfo.h
16409 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16411 echo "$as_me:$LINENO: checking for $ac_header" >&5
16412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16419 # Is the header compilable?
16420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16422 cat >conftest.
$ac_ext <<_ACEOF
16425 cat confdefs.h
>>conftest.
$ac_ext
16426 cat >>conftest.
$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16429 #include <$ac_header>
16431 rm -f conftest.
$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16435 grep -v '^ *+' conftest.er1
>conftest.err
16437 cat conftest.err
>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try
='test -z "$ac_c_werror_flag"
16441 || test ! -s conftest.err'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; } &&
16447 { ac_try
='test -s conftest.$ac_objext'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; }; then
16453 ac_header_compiler
=yes
16455 echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.
$ac_ext >&5
16458 ac_header_compiler
=no
16460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16461 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16462 echo "${ECHO_T}$ac_header_compiler" >&6
16464 # Is the header present?
16465 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16466 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16467 cat >conftest.
$ac_ext <<_ACEOF
16470 cat confdefs.h
>>conftest.
$ac_ext
16471 cat >>conftest.
$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 #include <$ac_header>
16475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16478 grep -v '^ *+' conftest.er1
>conftest.err
16480 cat conftest.err
>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } >/dev
/null
; then
16483 if test -s conftest.err
; then
16484 ac_cpp_err
=$ac_c_preproc_warn_flag
16485 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16492 if test -z "$ac_cpp_err"; then
16493 ac_header_preproc
=yes
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.
$ac_ext >&5
16498 ac_header_preproc
=no
16500 rm -f conftest.err conftest.
$ac_ext
16501 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16502 echo "${ECHO_T}$ac_header_preproc" >&6
16504 # So? What about this header?
16505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16507 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16508 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16510 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16511 ac_header_preproc
=yes
16514 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16516 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16518 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16519 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16520 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16521 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16524 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16525 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16528 ## ----------------------------------------- ##
16529 ## Report this to wx-dev@lists.wxwidgets.org ##
16530 ## ----------------------------------------- ##
16533 sed "s/^/$as_me: WARNING: /" >&2
16536 echo "$as_me:$LINENO: checking for $ac_header" >&5
16537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 eval "$as_ac_Header=\$ac_header_preproc"
16543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16548 cat >>confdefs.h
<<_ACEOF
16549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16558 *-pc-os2_emx | *-pc-os2-emx )
16559 if test $ac_cv_header_langinfo_h = "yes" \
16560 -a \
( "$wx_cv_gccversion" = "EMX2" \
16561 -o "$wx_cv_gccversion" = "EMX3" \
16562 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16563 LIBS
="$LIBS -lintl"
16569 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16570 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16571 if test "${ac_cv_c_const+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 cat >conftest.
$ac_ext <<_ACEOF
16577 cat confdefs.h
>>conftest.
$ac_ext
16578 cat >>conftest.
$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16584 /* FIXME: Include the comments suggested by Paul. */
16585 #ifndef __cplusplus
16586 /* Ultrix mips cc rejects this. */
16587 typedef int charset[2];
16589 /* SunOS 4.1.1 cc rejects this. */
16590 char const *const *ccp;
16592 /* NEC SVR4.0.2 mips cc rejects this. */
16593 struct point {int x, y;};
16594 static struct point const zero = {0,0};
16595 /* AIX XL C 1.02.0.0 rejects this.
16596 It does not let you subtract one const X* pointer from another in
16597 an arm of an if-expression whose if-part is not a constant
16599 const char *g = "string";
16600 ccp = &g + (g ? g-g : 0);
16601 /* HPUX 7.0 cc rejects these. */
16604 ccp = (char const *const *) p;
16605 { /* SCO 3.2v4 cc rejects this. */
16607 char const *s = 0 ? (char *) 0 : (char const *) 0;
16611 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16612 int x[] = {25, 17};
16613 const int *foo = &x[0];
16616 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16617 typedef const int *iptr;
16621 { /* AIX XL C 1.02.0.0 rejects this saying
16622 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16623 struct s { int j; const int *ap[3]; };
16624 struct s *b; b->j = 5;
16626 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16627 const int foo = 10;
16635 rm -f conftest.
$ac_objext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16637 (eval $ac_compile) 2>conftest.er1
16639 grep -v '^ *+' conftest.er1
>conftest.err
16641 cat conftest.err
>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try
='test -z "$ac_c_werror_flag"
16645 || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try
='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.
$ac_ext >&5
16664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16666 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16667 echo "${ECHO_T}$ac_cv_c_const" >&6
16668 if test $ac_cv_c_const = no
; then
16670 cat >>confdefs.h
<<\_ACEOF
16676 echo "$as_me:$LINENO: checking for inline" >&5
16677 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16678 if test "${ac_cv_c_inline+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 for ac_kw
in inline __inline__ __inline
; do
16683 cat >conftest.
$ac_ext <<_ACEOF
16686 cat confdefs.h
>>conftest.
$ac_ext
16687 cat >>conftest.
$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 #ifndef __cplusplus
16691 static $ac_kw foo_t static_foo () {return 0; }
16692 $ac_kw foo_t foo () {return 0; }
16696 rm -f conftest.
$ac_objext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>conftest.er1
16700 grep -v '^ *+' conftest.er1
>conftest.err
16702 cat conftest.err
>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } &&
16705 { ac_try
='test -z "$ac_c_werror_flag"
16706 || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try
='test -s conftest.$ac_objext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16718 ac_cv_c_inline
=$ac_kw; break
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.
$ac_ext >&5
16724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16728 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16729 echo "${ECHO_T}$ac_cv_c_inline" >&6
16732 case $ac_cv_c_inline in
16735 case $ac_cv_c_inline in
16737 *) ac_val
=$ac_cv_c_inline;;
16739 cat >>confdefs.h
<<_ACEOF
16740 #ifndef __cplusplus
16741 #define inline $ac_val
16748 echo "$as_me:$LINENO: checking for char" >&5
16749 echo $ECHO_N "checking for char... $ECHO_C" >&6
16750 if test "${ac_cv_type_char+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 cat >conftest.
$ac_ext <<_ACEOF
16756 cat confdefs.h
>>conftest.
$ac_ext
16757 cat >>conftest.
$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16771 rm -f conftest.
$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16775 grep -v '^ *+' conftest.er1
>conftest.err
16777 cat conftest.err
>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try
='test -z "$ac_c_werror_flag"
16781 || test ! -s conftest.err'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; } &&
16787 { ac_try
='test -s conftest.$ac_objext'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; }; then
16793 ac_cv_type_char
=yes
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.
$ac_ext >&5
16800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16802 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16803 echo "${ECHO_T}$ac_cv_type_char" >&6
16805 echo "$as_me:$LINENO: checking size of char" >&5
16806 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16807 if test "${ac_cv_sizeof_char+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 if test "$ac_cv_type_char" = yes; then
16811 # The cast to unsigned long works around a bug in the HP C Compiler
16812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16814 # This bug is HP SR number 8606223364.
16815 if test "$cross_compiling" = yes; then
16816 # Depending upon the size, compute the lo and hi bounds.
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 $ac_includes_default
16827 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16834 rm -f conftest.
$ac_objext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16836 (eval $ac_compile) 2>conftest.er1
16838 grep -v '^ *+' conftest.er1
>conftest.err
16840 cat conftest.err
>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try
='test -z "$ac_c_werror_flag"
16844 || test ! -s conftest.err'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; } &&
16850 { ac_try
='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16858 cat >conftest.
$ac_ext <<_ACEOF
16861 cat confdefs.h
>>conftest.
$ac_ext
16862 cat >>conftest.
$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16868 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16875 rm -f conftest.
$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877 (eval $ac_compile) 2>conftest.er1
16879 grep -v '^ *+' conftest.er1
>conftest.err
16881 cat conftest.err
>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try
='test -z "$ac_c_werror_flag"
16885 || test ! -s conftest.err'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; } &&
16891 { ac_try
='test -s conftest.$ac_objext'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 ac_hi
=$ac_mid; break
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.
$ac_ext >&5
16902 ac_lo
=`expr $ac_mid + 1`
16903 if test $ac_lo -le $ac_mid; then
16907 ac_mid
=`expr 2 '*' $ac_mid + 1`
16909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 cat >conftest.
$ac_ext <<_ACEOF
16918 cat confdefs.h
>>conftest.
$ac_ext
16919 cat >>conftest.
$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16925 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16932 rm -f conftest.
$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>conftest.er1
16936 grep -v '^ *+' conftest.er1
>conftest.err
16938 cat conftest.err
>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try
='test -z "$ac_c_werror_flag"
16942 || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try
='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16956 cat >conftest.
$ac_ext <<_ACEOF
16959 cat confdefs.h
>>conftest.
$ac_ext
16960 cat >>conftest.
$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16966 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16973 rm -f conftest.
$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16977 grep -v '^ *+' conftest.er1
>conftest.err
16979 cat conftest.err
>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try
='test -z "$ac_c_werror_flag"
16983 || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try
='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_lo
=$ac_mid; break
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.
$ac_ext >&5
17000 ac_hi
=`expr '(' $ac_mid ')' - 1`
17001 if test $ac_mid -le $ac_hi; then
17005 ac_mid
=`expr 2 '*' $ac_mid`
17007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.
$ac_ext >&5
17015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17018 # Binary search between lo and hi bounds.
17019 while test "x$ac_lo" != "x$ac_hi"; do
17020 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17021 cat >conftest.
$ac_ext <<_ACEOF
17024 cat confdefs.h
>>conftest.
$ac_ext
17025 cat >>conftest.
$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17031 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17038 rm -f conftest.
$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040 (eval $ac_compile) 2>conftest.er1
17042 grep -v '^ *+' conftest.er1
>conftest.err
17044 cat conftest.err
>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try
='test -z "$ac_c_werror_flag"
17048 || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try
='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.
$ac_ext >&5
17065 ac_lo
=`expr '(' $ac_mid ')' + 1`
17067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17070 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17071 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17072 See \`config.log' for more details." >&5
17073 echo "$as_me: error: cannot compute sizeof (char), 77
17074 See \`config.log' for more details." >&2;}
17075 { (exit 1); exit 1; }; } ;;
17078 if test "$cross_compiling" = yes; then
17079 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17080 See \`config.log' for more details." >&5
17081 echo "$as_me: error: cannot run test program while cross compiling
17082 See \`config.log' for more details." >&2;}
17083 { (exit 1); exit 1; }; }
17085 cat >conftest.
$ac_ext <<_ACEOF
17088 cat confdefs.h
>>conftest.
$ac_ext
17089 cat >>conftest.
$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 $ac_includes_default
17092 long longval () { return (long) (sizeof (char)); }
17093 unsigned long ulongval () { return (long) (sizeof (char)); }
17095 #include <stdlib.h>
17100 FILE *f = fopen ("conftest.val", "w");
17103 if (((long) (sizeof (char))) < 0)
17105 long i = longval ();
17106 if (i != ((long) (sizeof (char))))
17108 fprintf (f, "%ld\n", i);
17112 unsigned long i = ulongval ();
17113 if (i != ((long) (sizeof (char))))
17115 fprintf (f, "%lu\n", i);
17117 exit (ferror (f) || fclose (f) != 0);
17123 rm -f conftest
$ac_exeext
17124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17125 (eval $ac_link) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; }; then
17134 ac_cv_sizeof_char
=`cat conftest.val`
17136 echo "$as_me: program exited with status $ac_status" >&5
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 ( exit $ac_status )
17141 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17142 See \`config.log' for more details." >&5
17143 echo "$as_me: error: cannot compute sizeof (char), 77
17144 See \`config.log' for more details." >&2;}
17145 { (exit 1); exit 1; }; }
17147 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17152 ac_cv_sizeof_char
=0
17155 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17156 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17157 cat >>confdefs.h
<<_ACEOF
17158 #define SIZEOF_CHAR $ac_cv_sizeof_char
17162 echo "$as_me:$LINENO: checking for short" >&5
17163 echo $ECHO_N "checking for short... $ECHO_C" >&6
17164 if test "${ac_cv_type_short+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 cat >conftest.
$ac_ext <<_ACEOF
17170 cat confdefs.h
>>conftest.
$ac_ext
17171 cat >>conftest.
$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17179 if (sizeof (short))
17185 rm -f conftest.
$ac_objext
17186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17187 (eval $ac_compile) 2>conftest.er1
17189 grep -v '^ *+' conftest.er1
>conftest.err
17191 cat conftest.err
>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try
='test -z "$ac_c_werror_flag"
17195 || test ! -s conftest.err'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try
='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_cv_type_short
=yes
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.
$ac_ext >&5
17212 ac_cv_type_short
=no
17214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17216 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17217 echo "${ECHO_T}$ac_cv_type_short" >&6
17219 echo "$as_me:$LINENO: checking size of short" >&5
17220 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17221 if test "${ac_cv_sizeof_short+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 if test "$ac_cv_type_short" = yes; then
17225 # The cast to unsigned long works around a bug in the HP C Compiler
17226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17228 # This bug is HP SR number 8606223364.
17229 if test "$cross_compiling" = yes; then
17230 # Depending upon the size, compute the lo and hi bounds.
17231 cat >conftest.
$ac_ext <<_ACEOF
17234 cat confdefs.h
>>conftest.
$ac_ext
17235 cat >>conftest.
$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 $ac_includes_default
17241 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17248 rm -f conftest.
$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17252 grep -v '^ *+' conftest.er1
>conftest.err
17254 cat conftest.err
>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try
='test -z "$ac_c_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try
='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17272 cat >conftest.
$ac_ext <<_ACEOF
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 $ac_includes_default
17282 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17289 rm -f conftest.
$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -z "$ac_c_werror_flag"
17299 || test ! -s conftest.err'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; } &&
17305 { ac_try
='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 ac_hi
=$ac_mid; break
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.
$ac_ext >&5
17316 ac_lo
=`expr $ac_mid + 1`
17317 if test $ac_lo -le $ac_mid; then
17321 ac_mid
=`expr 2 '*' $ac_mid + 1`
17323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.
$ac_ext >&5
17329 cat >conftest.
$ac_ext <<_ACEOF
17332 cat confdefs.h
>>conftest.
$ac_ext
17333 cat >>conftest.
$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 $ac_includes_default
17339 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17346 rm -f conftest.
$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17350 grep -v '^ *+' conftest.er1
>conftest.err
17352 cat conftest.err
>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try
='test -z "$ac_c_werror_flag"
17356 || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try
='test -s conftest.$ac_objext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17370 cat >conftest.
$ac_ext <<_ACEOF
17373 cat confdefs.h
>>conftest.
$ac_ext
17374 cat >>conftest.
$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 $ac_includes_default
17380 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17387 rm -f conftest.
$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17391 grep -v '^ *+' conftest.er1
>conftest.err
17393 cat conftest.err
>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try
='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try
='test -s conftest.$ac_objext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_lo
=$ac_mid; break
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 ac_hi
=`expr '(' $ac_mid ')' - 1`
17415 if test $ac_mid -le $ac_hi; then
17419 ac_mid
=`expr 2 '*' $ac_mid`
17421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.
$ac_ext >&5
17429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17432 # Binary search between lo and hi bounds.
17433 while test "x$ac_lo" != "x$ac_hi"; do
17434 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17435 cat >conftest.
$ac_ext <<_ACEOF
17438 cat confdefs.h
>>conftest.
$ac_ext
17439 cat >>conftest.
$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17445 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17452 rm -f conftest.
$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>conftest.er1
17456 grep -v '^ *+' conftest.er1
>conftest.err
17458 cat conftest.err
>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try
='test -z "$ac_c_werror_flag"
17462 || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try
='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 ac_lo
=`expr '(' $ac_mid ')' + 1`
17481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17484 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17485 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17486 See \`config.log' for more details." >&5
17487 echo "$as_me: error: cannot compute sizeof (short), 77
17488 See \`config.log' for more details." >&2;}
17489 { (exit 1); exit 1; }; } ;;
17492 if test "$cross_compiling" = yes; then
17493 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17494 See \`config.log' for more details." >&5
17495 echo "$as_me: error: cannot run test program while cross compiling
17496 See \`config.log' for more details." >&2;}
17497 { (exit 1); exit 1; }; }
17499 cat >conftest.
$ac_ext <<_ACEOF
17502 cat confdefs.h
>>conftest.
$ac_ext
17503 cat >>conftest.
$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 $ac_includes_default
17506 long longval () { return (long) (sizeof (short)); }
17507 unsigned long ulongval () { return (long) (sizeof (short)); }
17509 #include <stdlib.h>
17514 FILE *f = fopen ("conftest.val", "w");
17517 if (((long) (sizeof (short))) < 0)
17519 long i = longval ();
17520 if (i != ((long) (sizeof (short))))
17522 fprintf (f, "%ld\n", i);
17526 unsigned long i = ulongval ();
17527 if (i != ((long) (sizeof (short))))
17529 fprintf (f, "%lu\n", i);
17531 exit (ferror (f) || fclose (f) != 0);
17537 rm -f conftest
$ac_exeext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17539 (eval $ac_link) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_cv_sizeof_short
=`cat conftest.val`
17550 echo "$as_me: program exited with status $ac_status" >&5
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.
$ac_ext >&5
17554 ( exit $ac_status )
17555 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17556 See \`config.log' for more details." >&5
17557 echo "$as_me: error: cannot compute sizeof (short), 77
17558 See \`config.log' for more details." >&2;}
17559 { (exit 1); exit 1; }; }
17561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17566 ac_cv_sizeof_short
=0
17569 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17570 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17571 cat >>confdefs.h
<<_ACEOF
17572 #define SIZEOF_SHORT $ac_cv_sizeof_short
17576 echo "$as_me:$LINENO: checking for void *" >&5
17577 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17578 if test "${ac_cv_type_void_p+set}" = set; then
17579 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 cat >conftest.
$ac_ext <<_ACEOF
17584 cat confdefs.h
>>conftest.
$ac_ext
17585 cat >>conftest.
$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587 $ac_includes_default
17593 if (sizeof (void *))
17599 rm -f conftest.
$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17603 grep -v '^ *+' conftest.er1
>conftest.err
17605 cat conftest.err
>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try
='test -z "$ac_c_werror_flag"
17609 || test ! -s conftest.err'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; } &&
17615 { ac_try
='test -s conftest.$ac_objext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 ac_cv_type_void_p
=yes
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.
$ac_ext >&5
17626 ac_cv_type_void_p
=no
17628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17630 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17631 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17633 echo "$as_me:$LINENO: checking size of void *" >&5
17634 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17635 if test "${ac_cv_sizeof_void_p+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 if test "$ac_cv_type_void_p" = yes; then
17639 # The cast to unsigned long works around a bug in the HP C Compiler
17640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17642 # This bug is HP SR number 8606223364.
17643 if test "$cross_compiling" = yes; then
17644 # Depending upon the size, compute the lo and hi bounds.
17645 cat >conftest.
$ac_ext <<_ACEOF
17648 cat confdefs.h
>>conftest.
$ac_ext
17649 cat >>conftest.
$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651 $ac_includes_default
17655 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17662 rm -f conftest.
$ac_objext
17663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17664 (eval $ac_compile) 2>conftest.er1
17666 grep -v '^ *+' conftest.er1
>conftest.err
17668 cat conftest.err
>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } &&
17671 { ac_try
='test -z "$ac_c_werror_flag"
17672 || test ! -s conftest.err'
17673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17674 (eval $ac_try) 2>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); }; } &&
17678 { ac_try
='test -s conftest.$ac_objext'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; }; then
17686 cat >conftest.
$ac_ext <<_ACEOF
17689 cat confdefs.h
>>conftest.
$ac_ext
17690 cat >>conftest.
$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692 $ac_includes_default
17696 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17703 rm -f conftest.
$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try
='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try
='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_hi
=$ac_mid; break
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 ac_lo
=`expr $ac_mid + 1`
17731 if test $ac_lo -le $ac_mid; then
17735 ac_mid
=`expr 2 '*' $ac_mid + 1`
17737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.
$ac_ext >&5
17743 cat >conftest.
$ac_ext <<_ACEOF
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17753 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17760 rm -f conftest.
$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17764 grep -v '^ *+' conftest.er1
>conftest.err
17766 cat conftest.err
>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try
='test -z "$ac_c_werror_flag"
17770 || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try
='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17794 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17801 rm -f conftest.
$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17805 grep -v '^ *+' conftest.er1
>conftest.err
17807 cat conftest.err
>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try
='test -z "$ac_c_werror_flag"
17811 || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try
='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_lo
=$ac_mid; break
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.
$ac_ext >&5
17828 ac_hi
=`expr '(' $ac_mid ')' - 1`
17829 if test $ac_mid -le $ac_hi; then
17833 ac_mid
=`expr 2 '*' $ac_mid`
17835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17846 # Binary search between lo and hi bounds.
17847 while test "x$ac_lo" != "x$ac_hi"; do
17848 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17849 cat >conftest.
$ac_ext <<_ACEOF
17852 cat confdefs.h
>>conftest.
$ac_ext
17853 cat >>conftest.
$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17855 $ac_includes_default
17859 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17866 rm -f conftest.
$ac_objext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17868 (eval $ac_compile) 2>conftest.er1
17870 grep -v '^ *+' conftest.er1
>conftest.err
17872 cat conftest.err
>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try
='test -z "$ac_c_werror_flag"
17876 || test ! -s conftest.err'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try
='test -s conftest.$ac_objext'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17893 ac_lo
=`expr '(' $ac_mid ')' + 1`
17895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17898 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17899 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17900 See \`config.log' for more details." >&5
17901 echo "$as_me: error: cannot compute sizeof (void *), 77
17902 See \`config.log' for more details." >&2;}
17903 { (exit 1); exit 1; }; } ;;
17906 if test "$cross_compiling" = yes; then
17907 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17908 See \`config.log' for more details." >&5
17909 echo "$as_me: error: cannot run test program while cross compiling
17910 See \`config.log' for more details." >&2;}
17911 { (exit 1); exit 1; }; }
17913 cat >conftest.
$ac_ext <<_ACEOF
17916 cat confdefs.h
>>conftest.
$ac_ext
17917 cat >>conftest.
$ac_ext <<_ACEOF
17918 /* end confdefs.h. */
17919 $ac_includes_default
17920 long longval () { return (long) (sizeof (void *)); }
17921 unsigned long ulongval () { return (long) (sizeof (void *)); }
17923 #include <stdlib.h>
17928 FILE *f = fopen ("conftest.val", "w");
17931 if (((long) (sizeof (void *))) < 0)
17933 long i = longval ();
17934 if (i != ((long) (sizeof (void *))))
17936 fprintf (f, "%ld\n", i);
17940 unsigned long i = ulongval ();
17941 if (i != ((long) (sizeof (void *))))
17943 fprintf (f, "%lu\n", i);
17945 exit (ferror (f) || fclose (f) != 0);
17951 rm -f conftest
$ac_exeext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17953 (eval $ac_link) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; }; then
17962 ac_cv_sizeof_void_p
=`cat conftest.val`
17964 echo "$as_me: program exited with status $ac_status" >&5
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.
$ac_ext >&5
17968 ( exit $ac_status )
17969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17970 See \`config.log' for more details." >&5
17971 echo "$as_me: error: cannot compute sizeof (void *), 77
17972 See \`config.log' for more details." >&2;}
17973 { (exit 1); exit 1; }; }
17975 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17980 ac_cv_sizeof_void_p
=0
17983 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17984 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17985 cat >>confdefs.h
<<_ACEOF
17986 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17990 echo "$as_me:$LINENO: checking for int" >&5
17991 echo $ECHO_N "checking for int... $ECHO_C" >&6
17992 if test "${ac_cv_type_int+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 cat >conftest.
$ac_ext <<_ACEOF
17998 cat confdefs.h
>>conftest.
$ac_ext
17999 cat >>conftest.
$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 $ac_includes_default
18013 rm -f conftest.
$ac_objext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18015 (eval $ac_compile) 2>conftest.er1
18017 grep -v '^ *+' conftest.er1
>conftest.err
18019 cat conftest.err
>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try
='test -z "$ac_c_werror_flag"
18023 || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try
='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.
$ac_ext >&5
18042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18044 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18045 echo "${ECHO_T}$ac_cv_type_int" >&6
18047 echo "$as_me:$LINENO: checking size of int" >&5
18048 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18049 if test "${ac_cv_sizeof_int+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 if test "$ac_cv_type_int" = yes; then
18053 # The cast to unsigned long works around a bug in the HP C Compiler
18054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18056 # This bug is HP SR number 8606223364.
18057 if test "$cross_compiling" = yes; then
18058 # Depending upon the size, compute the lo and hi bounds.
18059 cat >conftest.
$ac_ext <<_ACEOF
18062 cat confdefs.h
>>conftest.
$ac_ext
18063 cat >>conftest.
$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 $ac_includes_default
18069 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18076 rm -f conftest.
$ac_objext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>conftest.er1
18080 grep -v '^ *+' conftest.er1
>conftest.err
18082 cat conftest.err
>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } &&
18085 { ac_try
='test -z "$ac_c_werror_flag"
18086 || test ! -s conftest.err'
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); }; } &&
18092 { ac_try
='test -s conftest.$ac_objext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18100 cat >conftest.
$ac_ext <<_ACEOF
18103 cat confdefs.h
>>conftest.
$ac_ext
18104 cat >>conftest.
$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18110 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18117 rm -f conftest.
$ac_objext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>conftest.er1
18121 grep -v '^ *+' conftest.er1
>conftest.err
18123 cat conftest.err
>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try
='test -z "$ac_c_werror_flag"
18127 || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try
='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_hi
=$ac_mid; break
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 ac_lo
=`expr $ac_mid + 1`
18145 if test $ac_lo -le $ac_mid; then
18149 ac_mid
=`expr 2 '*' $ac_mid + 1`
18151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.
$ac_ext >&5
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 $ac_includes_default
18167 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18174 rm -f conftest.
$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try
='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18198 cat >conftest.
$ac_ext <<_ACEOF
18201 cat confdefs.h
>>conftest.
$ac_ext
18202 cat >>conftest.
$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18208 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
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"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try
='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_lo
=$ac_mid; break
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.
$ac_ext >&5
18242 ac_hi
=`expr '(' $ac_mid ')' - 1`
18243 if test $ac_mid -le $ac_hi; then
18247 ac_mid
=`expr 2 '*' $ac_mid`
18249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18260 # Binary search between lo and hi bounds.
18261 while test "x$ac_lo" != "x$ac_hi"; do
18262 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18263 cat >conftest.
$ac_ext <<_ACEOF
18266 cat confdefs.h
>>conftest.
$ac_ext
18267 cat >>conftest.
$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18269 $ac_includes_default
18273 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18280 rm -f conftest.
$ac_objext
18281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18282 (eval $ac_compile) 2>conftest.er1
18284 grep -v '^ *+' conftest.er1
>conftest.err
18286 cat conftest.err
>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try
='test -z "$ac_c_werror_flag"
18290 || test ! -s conftest.err'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; } &&
18296 { ac_try
='test -s conftest.$ac_objext'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; }; then
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.
$ac_ext >&5
18307 ac_lo
=`expr '(' $ac_mid ')' + 1`
18309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18312 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18314 See \`config.log' for more details." >&5
18315 echo "$as_me: error: cannot compute sizeof (int), 77
18316 See \`config.log' for more details." >&2;}
18317 { (exit 1); exit 1; }; } ;;
18320 if test "$cross_compiling" = yes; then
18321 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18322 See \`config.log' for more details." >&5
18323 echo "$as_me: error: cannot run test program while cross compiling
18324 See \`config.log' for more details." >&2;}
18325 { (exit 1); exit 1; }; }
18327 cat >conftest.
$ac_ext <<_ACEOF
18330 cat confdefs.h
>>conftest.
$ac_ext
18331 cat >>conftest.
$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18334 long longval () { return (long) (sizeof (int)); }
18335 unsigned long ulongval () { return (long) (sizeof (int)); }
18337 #include <stdlib.h>
18342 FILE *f = fopen ("conftest.val", "w");
18345 if (((long) (sizeof (int))) < 0)
18347 long i = longval ();
18348 if (i != ((long) (sizeof (int))))
18350 fprintf (f, "%ld\n", i);
18354 unsigned long i = ulongval ();
18355 if (i != ((long) (sizeof (int))))
18357 fprintf (f, "%lu\n", i);
18359 exit (ferror (f) || fclose (f) != 0);
18365 rm -f conftest
$ac_exeext
18366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18367 (eval $ac_link) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; }; then
18376 ac_cv_sizeof_int
=`cat conftest.val`
18378 echo "$as_me: program exited with status $ac_status" >&5
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.
$ac_ext >&5
18382 ( exit $ac_status )
18383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18384 See \`config.log' for more details." >&5
18385 echo "$as_me: error: cannot compute sizeof (int), 77
18386 See \`config.log' for more details." >&2;}
18387 { (exit 1); exit 1; }; }
18389 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18398 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18399 cat >>confdefs.h
<<_ACEOF
18400 #define SIZEOF_INT $ac_cv_sizeof_int
18404 echo "$as_me:$LINENO: checking for long" >&5
18405 echo $ECHO_N "checking for long... $ECHO_C" >&6
18406 if test "${ac_cv_type_long+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 cat >conftest.
$ac_ext <<_ACEOF
18412 cat confdefs.h
>>conftest.
$ac_ext
18413 cat >>conftest.
$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18427 rm -f conftest.
$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>conftest.er1
18431 grep -v '^ *+' conftest.er1
>conftest.err
18433 cat conftest.err
>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } &&
18436 { ac_try
='test -z "$ac_c_werror_flag"
18437 || test ! -s conftest.err'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; } &&
18443 { ac_try
='test -s conftest.$ac_objext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_type_long
=yes
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.
$ac_ext >&5
18456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18458 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18459 echo "${ECHO_T}$ac_cv_type_long" >&6
18461 echo "$as_me:$LINENO: checking size of long" >&5
18462 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18463 if test "${ac_cv_sizeof_long+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 if test "$ac_cv_type_long" = yes; then
18467 # The cast to unsigned long works around a bug in the HP C Compiler
18468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18470 # This bug is HP SR number 8606223364.
18471 if test "$cross_compiling" = yes; then
18472 # Depending upon the size, compute the lo and hi bounds.
18473 cat >conftest.
$ac_ext <<_ACEOF
18476 cat confdefs.h
>>conftest.
$ac_ext
18477 cat >>conftest.
$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 $ac_includes_default
18483 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18490 rm -f conftest.
$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18494 grep -v '^ *+' conftest.er1
>conftest.err
18496 cat conftest.err
>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try
='test -z "$ac_c_werror_flag"
18500 || test ! -s conftest.err'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; } &&
18506 { ac_try
='test -s conftest.$ac_objext'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; }; then
18514 cat >conftest.
$ac_ext <<_ACEOF
18517 cat confdefs.h
>>conftest.
$ac_ext
18518 cat >>conftest.
$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18520 $ac_includes_default
18524 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18531 rm -f conftest.
$ac_objext
18532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18533 (eval $ac_compile) 2>conftest.er1
18535 grep -v '^ *+' conftest.er1
>conftest.err
18537 cat conftest.err
>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } &&
18540 { ac_try
='test -z "$ac_c_werror_flag"
18541 || test ! -s conftest.err'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; } &&
18547 { ac_try
='test -s conftest.$ac_objext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18553 ac_hi
=$ac_mid; break
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.
$ac_ext >&5
18558 ac_lo
=`expr $ac_mid + 1`
18559 if test $ac_lo -le $ac_mid; then
18563 ac_mid
=`expr 2 '*' $ac_mid + 1`
18565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.
$ac_ext >&5
18571 cat >conftest.
$ac_ext <<_ACEOF
18574 cat confdefs.h
>>conftest.
$ac_ext
18575 cat >>conftest.
$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 $ac_includes_default
18581 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18588 rm -f conftest.
$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18592 grep -v '^ *+' conftest.er1
>conftest.err
18594 cat conftest.err
>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try
='test -z "$ac_c_werror_flag"
18598 || test ! -s conftest.err'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; } &&
18604 { ac_try
='test -s conftest.$ac_objext'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; }; then
18612 cat >conftest.
$ac_ext <<_ACEOF
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18622 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18629 rm -f conftest.
$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18633 grep -v '^ *+' conftest.er1
>conftest.err
18635 cat conftest.err
>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try
='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try
='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_lo
=$ac_mid; break
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.
$ac_ext >&5
18656 ac_hi
=`expr '(' $ac_mid ')' - 1`
18657 if test $ac_mid -le $ac_hi; then
18661 ac_mid
=`expr 2 '*' $ac_mid`
18663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.
$ac_ext >&5
18671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18674 # Binary search between lo and hi bounds.
18675 while test "x$ac_lo" != "x$ac_hi"; do
18676 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18677 cat >conftest.
$ac_ext <<_ACEOF
18680 cat confdefs.h
>>conftest.
$ac_ext
18681 cat >>conftest.
$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 $ac_includes_default
18687 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18694 rm -f conftest.
$ac_objext
18695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18696 (eval $ac_compile) 2>conftest.er1
18698 grep -v '^ *+' conftest.er1
>conftest.err
18700 cat conftest.err
>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try
='test -z "$ac_c_werror_flag"
18704 || test ! -s conftest.err'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; } &&
18710 { ac_try
='test -s conftest.$ac_objext'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18718 echo "$as_me: failed program was:" >&5
18719 sed 's/^/| /' conftest.
$ac_ext >&5
18721 ac_lo
=`expr '(' $ac_mid ')' + 1`
18723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18726 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18727 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18728 See \`config.log' for more details." >&5
18729 echo "$as_me: error: cannot compute sizeof (long), 77
18730 See \`config.log' for more details." >&2;}
18731 { (exit 1); exit 1; }; } ;;
18734 if test "$cross_compiling" = yes; then
18735 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18736 See \`config.log' for more details." >&5
18737 echo "$as_me: error: cannot run test program while cross compiling
18738 See \`config.log' for more details." >&2;}
18739 { (exit 1); exit 1; }; }
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 $ac_includes_default
18748 long longval () { return (long) (sizeof (long)); }
18749 unsigned long ulongval () { return (long) (sizeof (long)); }
18751 #include <stdlib.h>
18756 FILE *f = fopen ("conftest.val", "w");
18759 if (((long) (sizeof (long))) < 0)
18761 long i = longval ();
18762 if (i != ((long) (sizeof (long))))
18764 fprintf (f, "%ld\n", i);
18768 unsigned long i = ulongval ();
18769 if (i != ((long) (sizeof (long))))
18771 fprintf (f, "%lu\n", i);
18773 exit (ferror (f) || fclose (f) != 0);
18779 rm -f conftest
$ac_exeext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 ac_cv_sizeof_long
=`cat conftest.val`
18792 echo "$as_me: program exited with status $ac_status" >&5
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.
$ac_ext >&5
18796 ( exit $ac_status )
18797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18798 See \`config.log' for more details." >&5
18799 echo "$as_me: error: cannot compute sizeof (long), 77
18800 See \`config.log' for more details." >&2;}
18801 { (exit 1); exit 1; }; }
18803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18808 ac_cv_sizeof_long
=0
18811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18812 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18813 cat >>confdefs.h
<<_ACEOF
18814 #define SIZEOF_LONG $ac_cv_sizeof_long
18818 echo "$as_me:$LINENO: checking for size_t" >&5
18819 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18820 if test "${ac_cv_type_size_t+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 cat >conftest.
$ac_ext <<_ACEOF
18826 cat confdefs.h
>>conftest.
$ac_ext
18827 cat >>conftest.
$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 $ac_includes_default
18835 if (sizeof (size_t))
18841 rm -f conftest.
$ac_objext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18843 (eval $ac_compile) 2>conftest.er1
18845 grep -v '^ *+' conftest.er1
>conftest.err
18847 cat conftest.err
>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try
='test -z "$ac_c_werror_flag"
18851 || test ! -s conftest.err'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; } &&
18857 { ac_try
='test -s conftest.$ac_objext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_type_size_t
=yes
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.
$ac_ext >&5
18868 ac_cv_type_size_t
=no
18870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18872 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18873 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18875 echo "$as_me:$LINENO: checking size of size_t" >&5
18876 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18877 if test "${ac_cv_sizeof_size_t+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 if test "$ac_cv_type_size_t" = yes; then
18881 # The cast to unsigned long works around a bug in the HP C Compiler
18882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18884 # This bug is HP SR number 8606223364.
18885 if test "$cross_compiling" = yes; then
18886 # Depending upon the size, compute the lo and hi bounds.
18887 cat >conftest.
$ac_ext <<_ACEOF
18890 cat confdefs.h
>>conftest.
$ac_ext
18891 cat >>conftest.
$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893 $ac_includes_default
18897 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18904 rm -f conftest.
$ac_objext
18905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18906 (eval $ac_compile) 2>conftest.er1
18908 grep -v '^ *+' conftest.er1
>conftest.err
18910 cat conftest.err
>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } &&
18913 { ac_try
='test -z "$ac_c_werror_flag"
18914 || test ! -s conftest.err'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; } &&
18920 { ac_try
='test -s conftest.$ac_objext'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; }; then
18928 cat >conftest.
$ac_ext <<_ACEOF
18931 cat confdefs.h
>>conftest.
$ac_ext
18932 cat >>conftest.
$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934 $ac_includes_default
18938 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18945 rm -f conftest.
$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18949 grep -v '^ *+' conftest.er1
>conftest.err
18951 cat conftest.err
>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try
='test -z "$ac_c_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try
='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_hi
=$ac_mid; break
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_lo
=`expr $ac_mid + 1`
18973 if test $ac_lo -le $ac_mid; then
18977 ac_mid
=`expr 2 '*' $ac_mid + 1`
18979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.
$ac_ext >&5
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18995 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19002 rm -f conftest.
$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>conftest.er1
19006 grep -v '^ *+' conftest.er1
>conftest.err
19008 cat conftest.err
>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try
='test -z "$ac_c_werror_flag"
19012 || test ! -s conftest.err'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; } &&
19018 { ac_try
='test -s conftest.$ac_objext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19026 cat >conftest.
$ac_ext <<_ACEOF
19029 cat confdefs.h
>>conftest.
$ac_ext
19030 cat >>conftest.
$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19036 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19043 rm -f conftest.
$ac_objext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19045 (eval $ac_compile) 2>conftest.er1
19047 grep -v '^ *+' conftest.er1
>conftest.err
19049 cat conftest.err
>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try
='test -z "$ac_c_werror_flag"
19053 || test ! -s conftest.err'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; } &&
19059 { ac_try
='test -s conftest.$ac_objext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_lo
=$ac_mid; break
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.
$ac_ext >&5
19070 ac_hi
=`expr '(' $ac_mid ')' - 1`
19071 if test $ac_mid -le $ac_hi; then
19075 ac_mid
=`expr 2 '*' $ac_mid`
19077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.
$ac_ext >&5
19085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19088 # Binary search between lo and hi bounds.
19089 while test "x$ac_lo" != "x$ac_hi"; do
19090 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19091 cat >conftest.
$ac_ext <<_ACEOF
19094 cat confdefs.h
>>conftest.
$ac_ext
19095 cat >>conftest.
$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19097 $ac_includes_default
19101 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19108 rm -f conftest.
$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>conftest.er1
19112 grep -v '^ *+' conftest.er1
>conftest.err
19114 cat conftest.err
>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } &&
19117 { ac_try
='test -z "$ac_c_werror_flag"
19118 || test ! -s conftest.err'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; } &&
19124 { ac_try
='test -s conftest.$ac_objext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.
$ac_ext >&5
19135 ac_lo
=`expr '(' $ac_mid ')' + 1`
19137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19140 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19141 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19142 See \`config.log' for more details." >&5
19143 echo "$as_me: error: cannot compute sizeof (size_t), 77
19144 See \`config.log' for more details." >&2;}
19145 { (exit 1); exit 1; }; } ;;
19148 if test "$cross_compiling" = yes; then
19149 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19150 See \`config.log' for more details." >&5
19151 echo "$as_me: error: cannot run test program while cross compiling
19152 See \`config.log' for more details." >&2;}
19153 { (exit 1); exit 1; }; }
19155 cat >conftest.
$ac_ext <<_ACEOF
19158 cat confdefs.h
>>conftest.
$ac_ext
19159 cat >>conftest.
$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 long longval () { return (long) (sizeof (size_t)); }
19163 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19165 #include <stdlib.h>
19170 FILE *f = fopen ("conftest.val", "w");
19173 if (((long) (sizeof (size_t))) < 0)
19175 long i = longval ();
19176 if (i != ((long) (sizeof (size_t))))
19178 fprintf (f, "%ld\n", i);
19182 unsigned long i = ulongval ();
19183 if (i != ((long) (sizeof (size_t))))
19185 fprintf (f, "%lu\n", i);
19187 exit (ferror (f) || fclose (f) != 0);
19193 rm -f conftest
$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_cv_sizeof_size_t
=`cat conftest.val`
19206 echo "$as_me: program exited with status $ac_status" >&5
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.
$ac_ext >&5
19210 ( exit $ac_status )
19211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19212 See \`config.log' for more details." >&5
19213 echo "$as_me: error: cannot compute sizeof (size_t), 77
19214 See \`config.log' for more details." >&2;}
19215 { (exit 1); exit 1; }; }
19217 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19222 ac_cv_sizeof_size_t
=0
19225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19226 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19227 cat >>confdefs.h
<<_ACEOF
19228 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19235 echo "$as_me:$LINENO: checking for long long" >&5
19236 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19237 if test "${ac_cv_type_long_long+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 cat >conftest.
$ac_ext <<_ACEOF
19243 cat confdefs.h
>>conftest.
$ac_ext
19244 cat >>conftest.
$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19250 if ((long long *) 0)
19252 if (sizeof (long long))
19258 rm -f conftest.
$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19262 grep -v '^ *+' conftest.er1
>conftest.err
19264 cat conftest.err
>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try
='test -z "$ac_c_werror_flag"
19268 || test ! -s conftest.err'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; } &&
19274 { ac_try
='test -s conftest.$ac_objext'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; }; then
19280 ac_cv_type_long_long
=yes
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.
$ac_ext >&5
19285 ac_cv_type_long_long
=no
19287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19289 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19290 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19292 echo "$as_me:$LINENO: checking size of long long" >&5
19293 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19294 if test "${ac_cv_sizeof_long_long+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 if test "$ac_cv_type_long_long" = yes; then
19298 # The cast to unsigned long works around a bug in the HP C Compiler
19299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19301 # This bug is HP SR number 8606223364.
19302 if test "$cross_compiling" = yes; then
19303 # Depending upon the size, compute the lo and hi bounds.
19304 cat >conftest.
$ac_ext <<_ACEOF
19307 cat confdefs.h
>>conftest.
$ac_ext
19308 cat >>conftest.
$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 $ac_includes_default
19314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19321 rm -f conftest.
$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19325 grep -v '^ *+' conftest.er1
>conftest.err
19327 cat conftest.err
>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -z "$ac_c_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try
='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19345 cat >conftest.
$ac_ext <<_ACEOF
19348 cat confdefs.h
>>conftest.
$ac_ext
19349 cat >>conftest.
$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 $ac_includes_default
19355 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19362 rm -f conftest.
$ac_objext
19363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19364 (eval $ac_compile) 2>conftest.er1
19366 grep -v '^ *+' conftest.er1
>conftest.err
19368 cat conftest.err
>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try
='test -z "$ac_c_werror_flag"
19372 || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try
='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_hi
=$ac_mid; break
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 ac_lo
=`expr $ac_mid + 1`
19390 if test $ac_lo -le $ac_mid; then
19394 ac_mid
=`expr 2 '*' $ac_mid + 1`
19396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.
$ac_ext >&5
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19419 rm -f conftest.
$ac_objext
19420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19421 (eval $ac_compile) 2>conftest.er1
19423 grep -v '^ *+' conftest.er1
>conftest.err
19425 cat conftest.err
>&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } &&
19428 { ac_try
='test -z "$ac_c_werror_flag"
19429 || test ! -s conftest.err'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; } &&
19435 { ac_try
='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19443 cat >conftest.
$ac_ext <<_ACEOF
19446 cat confdefs.h
>>conftest.
$ac_ext
19447 cat >>conftest.
$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 $ac_includes_default
19453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1
>conftest.err
19466 cat conftest.err
>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try
='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_lo
=$ac_mid; break
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_hi
=`expr '(' $ac_mid ')' - 1`
19488 if test $ac_mid -le $ac_hi; then
19492 ac_mid
=`expr 2 '*' $ac_mid`
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.
$ac_ext >&5
19502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19505 # Binary search between lo and hi bounds.
19506 while test "x$ac_lo" != "x$ac_hi"; do
19507 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 $ac_includes_default
19518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19525 rm -f conftest.
$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19529 grep -v '^ *+' conftest.er1
>conftest.err
19531 cat conftest.err
>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try
='test -z "$ac_c_werror_flag"
19535 || test ! -s conftest.err'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; } &&
19541 { ac_try
='test -s conftest.$ac_objext'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; }; then
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.
$ac_ext >&5
19552 ac_lo
=`expr '(' $ac_mid ')' + 1`
19554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19557 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19558 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19559 See \`config.log' for more details." >&5
19560 echo "$as_me: error: cannot compute sizeof (long long), 77
19561 See \`config.log' for more details." >&2;}
19562 { (exit 1); exit 1; }; } ;;
19565 if test "$cross_compiling" = yes; then
19566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19567 See \`config.log' for more details." >&5
19568 echo "$as_me: error: cannot run test program while cross compiling
19569 See \`config.log' for more details." >&2;}
19570 { (exit 1); exit 1; }; }
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 $ac_includes_default
19579 long longval () { return (long) (sizeof (long long)); }
19580 unsigned long ulongval () { return (long) (sizeof (long long)); }
19582 #include <stdlib.h>
19587 FILE *f = fopen ("conftest.val", "w");
19590 if (((long) (sizeof (long long))) < 0)
19592 long i = longval ();
19593 if (i != ((long) (sizeof (long long))))
19595 fprintf (f, "%ld\n", i);
19599 unsigned long i = ulongval ();
19600 if (i != ((long) (sizeof (long long))))
19602 fprintf (f, "%lu\n", i);
19604 exit (ferror (f) || fclose (f) != 0);
19610 rm -f conftest
$ac_exeext
19611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19612 (eval $ac_link) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_cv_sizeof_long_long
=`cat conftest.val`
19623 echo "$as_me: program exited with status $ac_status" >&5
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19627 ( exit $ac_status )
19628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19629 See \`config.log' for more details." >&5
19630 echo "$as_me: error: cannot compute sizeof (long long), 77
19631 See \`config.log' for more details." >&2;}
19632 { (exit 1); exit 1; }; }
19634 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19639 ac_cv_sizeof_long_long
=0
19642 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19643 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19644 cat >>confdefs.h
<<_ACEOF
19645 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19651 echo "$as_me:$LINENO: checking for long long" >&5
19652 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19653 if test "${ac_cv_type_long_long+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 cat >conftest.
$ac_ext <<_ACEOF
19659 cat confdefs.h
>>conftest.
$ac_ext
19660 cat >>conftest.
$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 $ac_includes_default
19666 if ((long long *) 0)
19668 if (sizeof (long long))
19674 rm -f conftest.
$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try
='test -z "$ac_c_werror_flag"
19684 || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try
='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 ac_cv_type_long_long
=yes
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.
$ac_ext >&5
19701 ac_cv_type_long_long
=no
19703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19705 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19706 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19708 echo "$as_me:$LINENO: checking size of long long" >&5
19709 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19710 if test "${ac_cv_sizeof_long_long+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 if test "$ac_cv_type_long_long" = yes; then
19714 # The cast to unsigned long works around a bug in the HP C Compiler
19715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19717 # This bug is HP SR number 8606223364.
19718 if test "$cross_compiling" = yes; then
19719 # Depending upon the size, compute the lo and hi bounds.
19720 cat >conftest.
$ac_ext <<_ACEOF
19723 cat confdefs.h
>>conftest.
$ac_ext
19724 cat >>conftest.
$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 $ac_includes_default
19730 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19737 rm -f conftest.
$ac_objext
19738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19739 (eval $ac_compile) 2>conftest.er1
19741 grep -v '^ *+' conftest.er1
>conftest.err
19743 cat conftest.err
>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } &&
19746 { ac_try
='test -z "$ac_c_werror_flag"
19747 || test ! -s conftest.err'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; } &&
19753 { ac_try
='test -s conftest.$ac_objext'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19761 cat >conftest.
$ac_ext <<_ACEOF
19764 cat confdefs.h
>>conftest.
$ac_ext
19765 cat >>conftest.
$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 $ac_includes_default
19771 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19778 rm -f conftest.
$ac_objext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19780 (eval $ac_compile) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1
>conftest.err
19784 cat conftest.err
>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try
='test -z "$ac_c_werror_flag"
19788 || test ! -s conftest.err'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try
='test -s conftest.$ac_objext'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 ac_hi
=$ac_mid; break
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.
$ac_ext >&5
19805 ac_lo
=`expr $ac_mid + 1`
19806 if test $ac_lo -le $ac_mid; then
19810 ac_mid
=`expr 2 '*' $ac_mid + 1`
19812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.
$ac_ext >&5
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19835 rm -f conftest.
$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try
='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19869 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19876 rm -f conftest.
$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>conftest.er1
19880 grep -v '^ *+' conftest.er1
>conftest.err
19882 cat conftest.err
>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try
='test -z "$ac_c_werror_flag"
19886 || test ! -s conftest.err'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try
='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_lo
=$ac_mid; break
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.
$ac_ext >&5
19903 ac_hi
=`expr '(' $ac_mid ')' - 1`
19904 if test $ac_mid -le $ac_hi; then
19908 ac_mid
=`expr 2 '*' $ac_mid`
19910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.
$ac_ext >&5
19918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19921 # Binary search between lo and hi bounds.
19922 while test "x$ac_lo" != "x$ac_hi"; do
19923 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19924 cat >conftest.
$ac_ext <<_ACEOF
19927 cat confdefs.h
>>conftest.
$ac_ext
19928 cat >>conftest.
$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19941 rm -f conftest.
$ac_objext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19943 (eval $ac_compile) 2>conftest.er1
19945 grep -v '^ *+' conftest.er1
>conftest.err
19947 cat conftest.err
>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try
='test -z "$ac_c_werror_flag"
19951 || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19968 ac_lo
=`expr '(' $ac_mid ')' + 1`
19970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19973 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19974 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19975 See \`config.log' for more details." >&5
19976 echo "$as_me: error: cannot compute sizeof (long long), 77
19977 See \`config.log' for more details." >&2;}
19978 { (exit 1); exit 1; }; } ;;
19981 if test "$cross_compiling" = yes; then
19982 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19983 See \`config.log' for more details." >&5
19984 echo "$as_me: error: cannot run test program while cross compiling
19985 See \`config.log' for more details." >&2;}
19986 { (exit 1); exit 1; }; }
19988 cat >conftest.
$ac_ext <<_ACEOF
19991 cat confdefs.h
>>conftest.
$ac_ext
19992 cat >>conftest.
$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 $ac_includes_default
19995 long longval () { return (long) (sizeof (long long)); }
19996 unsigned long ulongval () { return (long) (sizeof (long long)); }
19998 #include <stdlib.h>
20003 FILE *f = fopen ("conftest.val", "w");
20006 if (((long) (sizeof (long long))) < 0)
20008 long i = longval ();
20009 if (i != ((long) (sizeof (long long))))
20011 fprintf (f, "%ld\n", i);
20015 unsigned long i = ulongval ();
20016 if (i != ((long) (sizeof (long long))))
20018 fprintf (f, "%lu\n", i);
20020 exit (ferror (f) || fclose (f) != 0);
20026 rm -f conftest
$ac_exeext
20027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20028 (eval $ac_link) 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_cv_sizeof_long_long
=`cat conftest.val`
20039 echo "$as_me: program exited with status $ac_status" >&5
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.
$ac_ext >&5
20043 ( exit $ac_status )
20044 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20045 See \`config.log' for more details." >&5
20046 echo "$as_me: error: cannot compute sizeof (long long), 77
20047 See \`config.log' for more details." >&2;}
20048 { (exit 1); exit 1; }; }
20050 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20055 ac_cv_sizeof_long_long
=0
20058 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20059 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20060 cat >>confdefs.h
<<_ACEOF
20061 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20065 if test "$ac_cv_sizeof_long_long" != "0"; then
20066 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
20070 echo "$as_me:$LINENO: checking for long long" >&5
20071 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20072 if test "${ac_cv_type_long_long+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20085 if ((long long *) 0)
20087 if (sizeof (long long))
20093 rm -f conftest.
$ac_objext
20094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20095 (eval $ac_compile) 2>conftest.er1
20097 grep -v '^ *+' conftest.er1
>conftest.err
20099 cat conftest.err
>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } &&
20102 { ac_try
='test -z "$ac_c_werror_flag"
20103 || test ! -s conftest.err'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; } &&
20109 { ac_try
='test -s conftest.$ac_objext'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 ac_cv_type_long_long
=yes
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.
$ac_ext >&5
20120 ac_cv_type_long_long
=no
20122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20124 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20125 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20127 echo "$as_me:$LINENO: checking size of long long" >&5
20128 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20129 if test "${ac_cv_sizeof_long_long+set}" = set; then
20130 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 if test "$ac_cv_type_long_long" = yes; then
20133 # The cast to unsigned long works around a bug in the HP C Compiler
20134 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20135 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20136 # This bug is HP SR number 8606223364.
20137 if test "$cross_compiling" = yes; then
20138 # Depending upon the size, compute the lo and hi bounds.
20139 cat >conftest.
$ac_ext <<_ACEOF
20142 cat confdefs.h
>>conftest.
$ac_ext
20143 cat >>conftest.
$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20149 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20156 rm -f conftest.
$ac_objext
20157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20158 (eval $ac_compile) 2>conftest.er1
20160 grep -v '^ *+' conftest.er1
>conftest.err
20162 cat conftest.err
>&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); } &&
20165 { ac_try
='test -z "$ac_c_werror_flag"
20166 || test ! -s conftest.err'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; } &&
20172 { ac_try
='test -s conftest.$ac_objext'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; }; then
20180 cat >conftest.
$ac_ext <<_ACEOF
20183 cat confdefs.h
>>conftest.
$ac_ext
20184 cat >>conftest.
$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20190 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20197 rm -f conftest.
$ac_objext
20198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20199 (eval $ac_compile) 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } &&
20206 { ac_try
='test -z "$ac_c_werror_flag"
20207 || test ! -s conftest.err'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; } &&
20213 { ac_try
='test -s conftest.$ac_objext'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; }; then
20219 ac_hi
=$ac_mid; break
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.
$ac_ext >&5
20224 ac_lo
=`expr $ac_mid + 1`
20225 if test $ac_lo -le $ac_mid; then
20229 ac_mid
=`expr 2 '*' $ac_mid + 1`
20231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.
$ac_ext >&5
20237 cat >conftest.
$ac_ext <<_ACEOF
20240 cat confdefs.h
>>conftest.
$ac_ext
20241 cat >>conftest.
$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20254 rm -f conftest.
$ac_objext
20255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20256 (eval $ac_compile) 2>conftest.er1
20258 grep -v '^ *+' conftest.er1
>conftest.err
20260 cat conftest.err
>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try
='test -z "$ac_c_werror_flag"
20264 || test ! -s conftest.err'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; } &&
20270 { ac_try
='test -s conftest.$ac_objext'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20278 cat >conftest.
$ac_ext <<_ACEOF
20281 cat confdefs.h
>>conftest.
$ac_ext
20282 cat >>conftest.
$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20288 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20295 rm -f conftest.
$ac_objext
20296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20297 (eval $ac_compile) 2>conftest.er1
20299 grep -v '^ *+' conftest.er1
>conftest.err
20301 cat conftest.err
>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } &&
20304 { ac_try
='test -z "$ac_c_werror_flag"
20305 || test ! -s conftest.err'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; } &&
20311 { ac_try
='test -s conftest.$ac_objext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_lo
=$ac_mid; break
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.
$ac_ext >&5
20322 ac_hi
=`expr '(' $ac_mid ')' - 1`
20323 if test $ac_mid -le $ac_hi; then
20327 ac_mid
=`expr 2 '*' $ac_mid`
20329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.
$ac_ext >&5
20337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20340 # Binary search between lo and hi bounds.
20341 while test "x$ac_lo" != "x$ac_hi"; do
20342 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20353 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20360 rm -f conftest.
$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>conftest.er1
20364 grep -v '^ *+' conftest.er1
>conftest.err
20366 cat conftest.err
>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } &&
20369 { ac_try
='test -z "$ac_c_werror_flag"
20370 || test ! -s conftest.err'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; } &&
20376 { ac_try
='test -s conftest.$ac_objext'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.
$ac_ext >&5
20387 ac_lo
=`expr '(' $ac_mid ')' + 1`
20389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20392 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20394 See \`config.log' for more details." >&5
20395 echo "$as_me: error: cannot compute sizeof (long long), 77
20396 See \`config.log' for more details." >&2;}
20397 { (exit 1); exit 1; }; } ;;
20400 if test "$cross_compiling" = yes; then
20401 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20402 See \`config.log' for more details." >&5
20403 echo "$as_me: error: cannot run test program while cross compiling
20404 See \`config.log' for more details." >&2;}
20405 { (exit 1); exit 1; }; }
20407 cat >conftest.
$ac_ext <<_ACEOF
20410 cat confdefs.h
>>conftest.
$ac_ext
20411 cat >>conftest.
$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20414 long longval () { return (long) (sizeof (long long)); }
20415 unsigned long ulongval () { return (long) (sizeof (long long)); }
20417 #include <stdlib.h>
20422 FILE *f = fopen ("conftest.val", "w");
20425 if (((long) (sizeof (long long))) < 0)
20427 long i = longval ();
20428 if (i != ((long) (sizeof (long long))))
20430 fprintf (f, "%ld\n", i);
20434 unsigned long i = ulongval ();
20435 if (i != ((long) (sizeof (long long))))
20437 fprintf (f, "%lu\n", i);
20439 exit (ferror (f) || fclose (f) != 0);
20445 rm -f conftest
$ac_exeext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20447 (eval $ac_link) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; }; then
20456 ac_cv_sizeof_long_long
=`cat conftest.val`
20458 echo "$as_me: program exited with status $ac_status" >&5
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ( exit $ac_status )
20463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20464 See \`config.log' for more details." >&5
20465 echo "$as_me: error: cannot compute sizeof (long long), 77
20466 See \`config.log' for more details." >&2;}
20467 { (exit 1); exit 1; }; }
20469 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20474 ac_cv_sizeof_long_long
=0
20477 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20478 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20479 cat >>confdefs.h
<<_ACEOF
20480 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20486 echo "$as_me:$LINENO: checking for wchar_t" >&5
20487 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20488 if test "${ac_cv_type_wchar_t+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 cat >conftest.
$ac_ext <<_ACEOF
20494 cat confdefs.h
>>conftest.
$ac_ext
20495 cat >>conftest.
$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20498 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20499 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20500 # error "fake wchar_t"
20502 #ifdef HAVE_WCHAR_H
20504 # include <stddef.h>
20506 # include <wchar.h>
20508 #ifdef HAVE_STDLIB_H
20509 # include <stdlib.h>
20520 if (sizeof (wchar_t))
20526 rm -f conftest.
$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528 (eval $ac_compile) 2>conftest.er1
20530 grep -v '^ *+' conftest.er1
>conftest.err
20532 cat conftest.err
>&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); } &&
20535 { ac_try
='test -z "$ac_c_werror_flag"
20536 || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try
='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_type_wchar_t
=yes
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 ac_cv_type_wchar_t
=no
20555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20557 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20558 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20560 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20561 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20562 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 if test "$ac_cv_type_wchar_t" = yes; then
20566 # The cast to unsigned long works around a bug in the HP C Compiler
20567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20569 # This bug is HP SR number 8606223364.
20570 if test "$cross_compiling" = yes; then
20571 # Depending upon the size, compute the lo and hi bounds.
20572 cat >conftest.
$ac_ext <<_ACEOF
20575 cat confdefs.h
>>conftest.
$ac_ext
20576 cat >>conftest.
$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20581 # error "fake wchar_t"
20583 #ifdef HAVE_WCHAR_H
20585 # include <stddef.h>
20587 # include <wchar.h>
20589 #ifdef HAVE_STDLIB_H
20590 # include <stdlib.h>
20599 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20606 rm -f conftest.
$ac_objext
20607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20608 (eval $ac_compile) 2>conftest.er1
20610 grep -v '^ *+' conftest.er1
>conftest.err
20612 cat conftest.err
>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try
='test -z "$ac_c_werror_flag"
20616 || test ! -s conftest.err'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; } &&
20622 { ac_try
='test -s conftest.$ac_objext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20630 cat >conftest.
$ac_ext <<_ACEOF
20633 cat confdefs.h
>>conftest.
$ac_ext
20634 cat >>conftest.
$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20637 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20638 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20639 # error "fake wchar_t"
20641 #ifdef HAVE_WCHAR_H
20643 # include <stddef.h>
20645 # include <wchar.h>
20647 #ifdef HAVE_STDLIB_H
20648 # include <stdlib.h>
20657 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20664 rm -f conftest.
$ac_objext
20665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20666 (eval $ac_compile) 2>conftest.er1
20668 grep -v '^ *+' conftest.er1
>conftest.err
20670 cat conftest.err
>&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } &&
20673 { ac_try
='test -z "$ac_c_werror_flag"
20674 || test ! -s conftest.err'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; } &&
20680 { ac_try
='test -s conftest.$ac_objext'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; }; then
20686 ac_hi
=$ac_mid; break
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.
$ac_ext >&5
20691 ac_lo
=`expr $ac_mid + 1`
20692 if test $ac_lo -le $ac_mid; then
20696 ac_mid
=`expr 2 '*' $ac_mid + 1`
20698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.
$ac_ext >&5
20704 cat >conftest.
$ac_ext <<_ACEOF
20707 cat confdefs.h
>>conftest.
$ac_ext
20708 cat >>conftest.
$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20711 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20712 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20713 # error "fake wchar_t"
20715 #ifdef HAVE_WCHAR_H
20717 # include <stddef.h>
20719 # include <wchar.h>
20721 #ifdef HAVE_STDLIB_H
20722 # include <stdlib.h>
20731 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20738 rm -f conftest.
$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>conftest.er1
20742 grep -v '^ *+' conftest.er1
>conftest.err
20744 cat conftest.err
>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try
='test -z "$ac_c_werror_flag"
20748 || test ! -s conftest.err'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; } &&
20754 { ac_try
='test -s conftest.$ac_objext'
20755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20756 (eval $ac_try) 2>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; }; then
20762 cat >conftest.
$ac_ext <<_ACEOF
20765 cat confdefs.h
>>conftest.
$ac_ext
20766 cat >>conftest.
$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20769 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20770 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20771 # error "fake wchar_t"
20773 #ifdef HAVE_WCHAR_H
20775 # include <stddef.h>
20777 # include <wchar.h>
20779 #ifdef HAVE_STDLIB_H
20780 # include <stdlib.h>
20789 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20796 rm -f conftest.
$ac_objext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20798 (eval $ac_compile) 2>conftest.er1
20800 grep -v '^ *+' conftest.er1
>conftest.err
20802 cat conftest.err
>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try
='test -z "$ac_c_werror_flag"
20806 || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try
='test -s conftest.$ac_objext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20818 ac_lo
=$ac_mid; break
20820 echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.
$ac_ext >&5
20823 ac_hi
=`expr '(' $ac_mid ')' - 1`
20824 if test $ac_mid -le $ac_hi; then
20828 ac_mid
=`expr 2 '*' $ac_mid`
20830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.
$ac_ext >&5
20838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20841 # Binary search between lo and hi bounds.
20842 while test "x$ac_lo" != "x$ac_hi"; do
20843 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20844 cat >conftest.
$ac_ext <<_ACEOF
20847 cat confdefs.h
>>conftest.
$ac_ext
20848 cat >>conftest.
$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20851 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20852 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20853 # error "fake wchar_t"
20855 #ifdef HAVE_WCHAR_H
20857 # include <stddef.h>
20859 # include <wchar.h>
20861 #ifdef HAVE_STDLIB_H
20862 # include <stdlib.h>
20871 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20878 rm -f conftest.
$ac_objext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20880 (eval $ac_compile) 2>conftest.er1
20882 grep -v '^ *+' conftest.er1
>conftest.err
20884 cat conftest.err
>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try
='test -z "$ac_c_werror_flag"
20888 || test ! -s conftest.err'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; } &&
20894 { ac_try
='test -s conftest.$ac_objext'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.
$ac_ext >&5
20905 ac_lo
=`expr '(' $ac_mid ')' + 1`
20907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20910 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20912 See \`config.log' for more details." >&5
20913 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20914 See \`config.log' for more details." >&2;}
20915 { (exit 1); exit 1; }; } ;;
20918 if test "$cross_compiling" = yes; then
20919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20920 See \`config.log' for more details." >&5
20921 echo "$as_me: error: cannot run test program while cross compiling
20922 See \`config.log' for more details." >&2;}
20923 { (exit 1); exit 1; }; }
20925 cat >conftest.
$ac_ext <<_ACEOF
20928 cat confdefs.h
>>conftest.
$ac_ext
20929 cat >>conftest.
$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20932 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20933 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20934 # error "fake wchar_t"
20936 #ifdef HAVE_WCHAR_H
20938 # include <stddef.h>
20940 # include <wchar.h>
20942 #ifdef HAVE_STDLIB_H
20943 # include <stdlib.h>
20949 long longval () { return (long) (sizeof (wchar_t)); }
20950 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20952 #include <stdlib.h>
20957 FILE *f = fopen ("conftest.val", "w");
20960 if (((long) (sizeof (wchar_t))) < 0)
20962 long i = longval ();
20963 if (i != ((long) (sizeof (wchar_t))))
20965 fprintf (f, "%ld\n", i);
20969 unsigned long i = ulongval ();
20970 if (i != ((long) (sizeof (wchar_t))))
20972 fprintf (f, "%lu\n", i);
20974 exit (ferror (f) || fclose (f) != 0);
20980 rm -f conftest
$ac_exeext
20981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20982 (eval $ac_link) 2>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20993 echo "$as_me: program exited with status $ac_status" >&5
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.
$ac_ext >&5
20997 ( exit $ac_status )
20998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20999 See \`config.log' for more details." >&5
21000 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21001 See \`config.log' for more details." >&2;}
21002 { (exit 1); exit 1; }; }
21004 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21009 ac_cv_sizeof_wchar_t
=0
21012 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21013 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21014 cat >>confdefs.h
<<_ACEOF
21015 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21019 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21025 echo "$as_me:$LINENO: checking for va_copy" >&5
21026 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21027 if test "${wx_cv_func_va_copy+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21031 cat >conftest.
$ac_ext <<_ACEOF
21033 #include <stdarg.h>
21034 void foo(char *f, ...)
21048 rm -f conftest.
$ac_objext conftest
$ac_exeext
21049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21050 (eval $ac_link) 2>conftest.er1
21052 grep -v '^ *+' conftest.er1
>conftest.err
21054 cat conftest.err
>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } &&
21057 { ac_try
='test -z "$ac_c_werror_flag"
21058 || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try
='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 wx_cv_func_va_copy
=yes
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 wx_cv_func_va_copy
=no
21078 rm -f conftest.err conftest.
$ac_objext \
21079 conftest
$ac_exeext conftest.
$ac_ext
21083 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21084 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21086 if test $wx_cv_func_va_copy = "yes"; then
21087 cat >>confdefs.h
<<\_ACEOF
21088 #define HAVE_VA_COPY 1
21092 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21093 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21094 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 if test "$cross_compiling" = yes; then
21099 wx_cv_type_va_list_lvalue
=yes
21102 cat >conftest.
$ac_ext <<_ACEOF
21104 #include <stdarg.h>
21105 int foo(char *f, ...)
21110 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21118 return foo("hi", 17);
21121 rm -f conftest
$ac_exeext
21122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21123 (eval $ac_link) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 wx_cv_type_va_list_lvalue
=yes
21134 echo "$as_me: program exited with status $ac_status" >&5
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.
$ac_ext >&5
21138 ( exit $ac_status )
21139 wx_cv_type_va_list_lvalue
=no
21141 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21146 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21147 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21149 if test $wx_cv_type_va_list_lvalue != "yes"; then
21150 cat >>confdefs.h
<<\_ACEOF
21151 #define VA_LIST_IS_ARRAY 1
21157 # Check whether --enable-largefile or --disable-largefile was given.
21158 if test "${enable_largefile+set}" = set; then
21159 enableval
="$enable_largefile"
21162 if test "$enable_largefile" != no
; then
21165 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21166 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21167 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 cat >conftest.
$ac_ext <<_ACEOF
21174 cat confdefs.h
>>conftest.
$ac_ext
21175 cat >>conftest.
$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 #define _FILE_OFFSET_BITS 64
21178 #include <sys/types.h>
21183 unsigned int field: sizeof(off_t) == 8;
21190 rm -f conftest.
$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>conftest.er1
21194 grep -v '^ *+' conftest.er1
>conftest.err
21196 cat conftest.err
>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try
='test -z "$ac_c_werror_flag"
21200 || test ! -s conftest.err'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; } &&
21206 { ac_try
='test -s conftest.$ac_objext'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; }; then
21212 ac_cv_sys_file_offset_bits
=64
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.
$ac_ext >&5
21217 ac_cv_sys_file_offset_bits
=no
21219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21223 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21224 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21226 if test "$ac_cv_sys_file_offset_bits" != no
; then
21228 cat >>confdefs.h
<<_ACEOF
21229 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21234 if test "x$wx_largefile" != "xyes"; then
21236 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21237 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21238 if test "${ac_cv_sys_large_files+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 cat >conftest.
$ac_ext <<_ACEOF
21245 cat confdefs.h
>>conftest.
$ac_ext
21246 cat >>conftest.
$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 #define _LARGE_FILES 1
21249 #include <sys/types.h>
21254 unsigned int field: sizeof(off_t) == 8;
21261 rm -f conftest.
$ac_objext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21263 (eval $ac_compile) 2>conftest.er1
21265 grep -v '^ *+' conftest.er1
>conftest.err
21267 cat conftest.err
>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } &&
21270 { ac_try
='test -z "$ac_c_werror_flag"
21271 || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try
='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 ac_cv_sys_large_files
=1
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.
$ac_ext >&5
21288 ac_cv_sys_large_files
=no
21290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21294 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21295 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21297 if test "$ac_cv_sys_large_files" != no
; then
21299 cat >>confdefs.h
<<_ACEOF
21300 #define _LARGE_FILES $ac_cv_sys_large_files
21307 echo "$as_me:$LINENO: checking if large file support is available" >&5
21308 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21309 if test "x$wx_largefile" = "xyes"; then
21310 cat >>confdefs.h
<<\_ACEOF
21311 #define HAVE_LARGEFILE_SUPPORT 1
21315 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21316 echo "${ECHO_T}$wx_largefile" >&6
21320 if test "x$wx_largefile" = "xyes"; then
21321 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21322 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21324 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21325 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21326 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21327 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21328 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 ac_cpp
='$CXXCPP $CPPFLAGS'
21335 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21339 cat >conftest.
$ac_ext <<_ACEOF
21342 cat confdefs.h
>>conftest.
$ac_ext
21343 cat >>conftest.
$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21350 #ifndef __STDC_EXT__
21358 rm -f conftest.
$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21362 grep -v '^ *+' conftest.er1
>conftest.err
21364 cat conftest.err
>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try
='test -z "$ac_cxx_werror_flag"
21368 || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try
='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 wx_cv_STDC_EXT_required
=no
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.
$ac_ext >&5
21385 wx_cv_STDC_EXT_required
=yes
21388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21390 ac_cpp
='$CPP $CPPFLAGS'
21391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21398 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21399 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21400 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21401 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
21405 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
21407 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21408 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21409 if test "${ac_cv_sys_largefile_source+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 ac_cv_sys_largefile_source
=no
21414 cat >conftest.
$ac_ext <<_ACEOF
21417 cat confdefs.h
>>conftest.
$ac_ext
21418 cat >>conftest.
$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21429 rm -f conftest.
$ac_objext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21431 (eval $ac_compile) 2>conftest.er1
21433 grep -v '^ *+' conftest.er1
>conftest.err
21435 cat conftest.err
>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try
='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try
='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.
$ac_ext >&5
21457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21458 cat >conftest.
$ac_ext <<_ACEOF
21461 cat confdefs.h
>>conftest.
$ac_ext
21462 cat >>conftest.
$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 #define _LARGEFILE_SOURCE 1
21474 rm -f conftest.
$ac_objext
21475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21476 (eval $ac_compile) 2>conftest.er1
21478 grep -v '^ *+' conftest.er1
>conftest.err
21480 cat conftest.err
>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
21483 { ac_try
='test -z "$ac_c_werror_flag"
21484 || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try
='test -s conftest.$ac_objext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_sys_largefile_source
=1; break
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.
$ac_ext >&5
21502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21506 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21507 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21508 if test "$ac_cv_sys_largefile_source" != no
; then
21510 cat >>confdefs.h
<<_ACEOF
21511 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21517 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21518 # in glibc 2.1.3, but that breaks too many other things.
21519 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21520 echo "$as_me:$LINENO: checking for fseeko" >&5
21521 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21522 if test "${ac_cv_func_fseeko+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 cat >conftest.
$ac_ext <<_ACEOF
21528 cat confdefs.h
>>conftest.
$ac_ext
21529 cat >>conftest.
$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21535 return fseeko && fseeko (stdin, 0, 0);
21540 rm -f conftest.
$ac_objext conftest
$ac_exeext
21541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21542 (eval $ac_link) 2>conftest.er1
21544 grep -v '^ *+' conftest.er1
>conftest.err
21546 cat conftest.err
>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
21549 { ac_try
='test -z "$ac_c_werror_flag"
21550 || test ! -s conftest.err'
21551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; } &&
21556 { ac_try
='test -s conftest$ac_exeext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_func_fseeko
=yes
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.
$ac_ext >&5
21567 ac_cv_func_fseeko
=no
21569 rm -f conftest.err conftest.
$ac_objext \
21570 conftest
$ac_exeext conftest.
$ac_ext
21572 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21573 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21574 if test $ac_cv_func_fseeko = yes; then
21576 cat >>confdefs.h
<<\_ACEOF
21577 #define HAVE_FSEEKO 1
21582 if test "$ac_cv_sys_largefile_source" != no
; then
21583 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21585 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21588 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21589 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21590 if test "${ac_cv_c_bigendian+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 ac_cv_c_bigendian
=unknown
21594 # See if sys/param.h defines the BYTE_ORDER macro.
21595 cat >conftest.
$ac_ext <<_ACEOF
21598 cat confdefs.h
>>conftest.
$ac_ext
21599 cat >>conftest.
$ac_ext <<_ACEOF
21600 /* end confdefs.h. */
21601 #include <sys/types.h>
21602 #include <sys/param.h>
21607 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21608 bogus endian macros
21614 rm -f conftest.
$ac_objext
21615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21616 (eval $ac_compile) 2>conftest.er1
21618 grep -v '^ *+' conftest.er1
>conftest.err
21620 cat conftest.err
>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); } &&
21623 { ac_try
='test -z "$ac_c_werror_flag"
21624 || test ! -s conftest.err'
21625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626 (eval $ac_try) 2>&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); }; } &&
21630 { ac_try
='test -s conftest.$ac_objext'
21631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632 (eval $ac_try) 2>&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); }; }; then
21636 # It does; now see whether it defined to BIG_ENDIAN or not.
21637 cat >conftest.
$ac_ext <<_ACEOF
21640 cat confdefs.h
>>conftest.
$ac_ext
21641 cat >>conftest.
$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643 #include <sys/types.h>
21644 #include <sys/param.h>
21649 #if BYTE_ORDER != BIG_ENDIAN
21656 rm -f conftest.
$ac_objext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21658 (eval $ac_compile) 2>conftest.er1
21660 grep -v '^ *+' conftest.er1
>conftest.err
21662 cat conftest.err
>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } &&
21665 { ac_try
='test -z "$ac_c_werror_flag"
21666 || test ! -s conftest.err'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; } &&
21672 { ac_try
='test -s conftest.$ac_objext'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 ac_cv_c_bigendian
=yes
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.
$ac_ext >&5
21683 ac_cv_c_bigendian
=no
21685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.
$ac_ext >&5
21691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21692 if test $ac_cv_c_bigendian = unknown
; then
21693 if test "$cross_compiling" = yes; then
21694 ac_cv_c_bigendian
=unknown
21696 cat >conftest.
$ac_ext <<_ACEOF
21699 cat confdefs.h
>>conftest.
$ac_ext
21700 cat >>conftest.
$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21703 /* Are we little or big endian? From Harbison&Steele. */
21707 char c[sizeof (long)];
21710 exit (u.c[sizeof (long) - 1] == 1);
21713 rm -f conftest
$ac_exeext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21715 (eval $ac_link) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21724 ac_cv_c_bigendian
=no
21726 echo "$as_me: program exited with status $ac_status" >&5
21727 echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.
$ac_ext >&5
21730 ( exit $ac_status )
21731 ac_cv_c_bigendian
=yes
21733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21737 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21738 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21739 if test $ac_cv_c_bigendian = unknown
; then
21740 { 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
21741 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;}
21743 if test $ac_cv_c_bigendian = yes; then
21744 cat >>confdefs.h
<<\_ACEOF
21745 #define WORDS_BIGENDIAN 1
21752 ac_cpp
='$CXXCPP $CPPFLAGS'
21753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21756 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21757 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21758 if test -z "$CXXCPP"; then
21759 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21760 echo $ECHO_N "(cached) $ECHO_C" >&6
21762 # Double quotes because CXXCPP needs to be expanded
21763 for CXXCPP
in "$CXX -E" "/lib/cpp"
21765 ac_preproc_ok
=false
21766 for ac_cxx_preproc_warn_flag
in '' yes
21768 # Use a header file that comes with gcc, so configuring glibc
21769 # with a fresh cross-compiler works.
21770 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21771 # <limits.h> exists even on freestanding compilers.
21772 # On the NeXT, cc -E runs the code through the compiler's parser,
21773 # not just through cpp. "Syntax error" is here to catch this case.
21774 cat >conftest.
$ac_ext <<_ACEOF
21777 cat confdefs.h
>>conftest.
$ac_ext
21778 cat >>conftest.
$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21781 # include <limits.h>
21783 # include <assert.h>
21787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21790 grep -v '^ *+' conftest.er1
>conftest.err
21792 cat conftest.err
>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } >/dev
/null
; then
21795 if test -s conftest.err
; then
21796 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21797 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21804 if test -z "$ac_cpp_err"; then
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 # Broken: fails on valid input.
21813 rm -f conftest.err conftest.
$ac_ext
21815 # OK, works on sane cases. Now check whether non-existent headers
21816 # can be detected and how.
21817 cat >conftest.
$ac_ext <<_ACEOF
21820 cat confdefs.h
>>conftest.
$ac_ext
21821 cat >>conftest.
$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 #include <ac_nonexistent.h>
21825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21828 grep -v '^ *+' conftest.er1
>conftest.err
21830 cat conftest.err
>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } >/dev
/null
; then
21833 if test -s conftest.err
; then
21834 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21835 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21842 if test -z "$ac_cpp_err"; then
21843 # Broken: success on invalid input.
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.
$ac_ext >&5
21849 # Passes both tests.
21853 rm -f conftest.err conftest.
$ac_ext
21856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21857 rm -f conftest.err conftest.
$ac_ext
21858 if $ac_preproc_ok; then
21863 ac_cv_prog_CXXCPP
=$CXXCPP
21866 CXXCPP
=$ac_cv_prog_CXXCPP
21868 ac_cv_prog_CXXCPP
=$CXXCPP
21870 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21871 echo "${ECHO_T}$CXXCPP" >&6
21872 ac_preproc_ok
=false
21873 for ac_cxx_preproc_warn_flag
in '' yes
21875 # Use a header file that comes with gcc, so configuring glibc
21876 # with a fresh cross-compiler works.
21877 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21878 # <limits.h> exists even on freestanding compilers.
21879 # On the NeXT, cc -E runs the code through the compiler's parser,
21880 # not just through cpp. "Syntax error" is here to catch this case.
21881 cat >conftest.
$ac_ext <<_ACEOF
21884 cat confdefs.h
>>conftest.
$ac_ext
21885 cat >>conftest.
$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21888 # include <limits.h>
21890 # include <assert.h>
21894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21895 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21897 grep -v '^ *+' conftest.er1
>conftest.err
21899 cat conftest.err
>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } >/dev
/null
; then
21902 if test -s conftest.err
; then
21903 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21904 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21911 if test -z "$ac_cpp_err"; then
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.
$ac_ext >&5
21917 # Broken: fails on valid input.
21920 rm -f conftest.err conftest.
$ac_ext
21922 # OK, works on sane cases. Now check whether non-existent headers
21923 # can be detected and how.
21924 cat >conftest.
$ac_ext <<_ACEOF
21927 cat confdefs.h
>>conftest.
$ac_ext
21928 cat >>conftest.
$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 #include <ac_nonexistent.h>
21932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21933 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21935 grep -v '^ *+' conftest.er1
>conftest.err
21937 cat conftest.err
>&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } >/dev
/null
; then
21940 if test -s conftest.err
; then
21941 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21942 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21949 if test -z "$ac_cpp_err"; then
21950 # Broken: success on invalid input.
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.
$ac_ext >&5
21956 # Passes both tests.
21960 rm -f conftest.err conftest.
$ac_ext
21963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21964 rm -f conftest.err conftest.
$ac_ext
21965 if $ac_preproc_ok; then
21968 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21969 See \`config.log' for more details." >&5
21970 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21971 See \`config.log' for more details." >&2;}
21972 { (exit 1); exit 1; }; }
21976 ac_cpp
='$CXXCPP $CPPFLAGS'
21977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21986 ac_cpp
='$CXXCPP $CPPFLAGS'
21987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21993 for ac_header
in iostream
21995 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21997 echo "$as_me:$LINENO: checking for $ac_header" >&5
21998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22005 # Is the header compilable?
22006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 #include <$ac_header>
22017 rm -f conftest.
$ac_objext
22018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22019 (eval $ac_compile) 2>conftest.er1
22021 grep -v '^ *+' conftest.er1
>conftest.err
22023 cat conftest.err
>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); } &&
22026 { ac_try
='test -z "$ac_cxx_werror_flag"
22027 || test ! -s conftest.err'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; } &&
22033 { ac_try
='test -s conftest.$ac_objext'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; }; then
22039 ac_header_compiler
=yes
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.
$ac_ext >&5
22044 ac_header_compiler
=no
22046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22048 echo "${ECHO_T}$ac_header_compiler" >&6
22050 # Is the header present?
22051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22053 cat >conftest.
$ac_ext <<_ACEOF
22056 cat confdefs.h
>>conftest.
$ac_ext
22057 cat >>conftest.
$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 #include <$ac_header>
22061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22064 grep -v '^ *+' conftest.er1
>conftest.err
22066 cat conftest.err
>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } >/dev
/null
; then
22069 if test -s conftest.err
; then
22070 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22071 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22078 if test -z "$ac_cpp_err"; then
22079 ac_header_preproc
=yes
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.
$ac_ext >&5
22084 ac_header_preproc
=no
22086 rm -f conftest.err conftest.
$ac_ext
22087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22088 echo "${ECHO_T}$ac_header_preproc" >&6
22090 # So? What about this header?
22091 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22097 ac_header_preproc
=yes
22100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22114 ## ----------------------------------------- ##
22115 ## Report this to wx-dev@lists.wxwidgets.org ##
22116 ## ----------------------------------------- ##
22119 sed "s/^/$as_me: WARNING: /" >&2
22122 echo "$as_me:$LINENO: checking for $ac_header" >&5
22123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22125 echo $ECHO_N "(cached) $ECHO_C" >&6
22127 eval "$as_ac_Header=\$ac_header_preproc"
22129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22134 cat >>confdefs.h
<<_ACEOF
22135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22143 if test "$ac_cv_header_iostream" = "yes" ; then
22146 cat >>confdefs.h
<<\_ACEOF
22147 #define wxUSE_IOSTREAMH 1
22153 ac_cpp
='$CPP $CPPFLAGS'
22154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22161 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22162 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22163 if test "${wx_cv_cpp_bool+set}" = set; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22170 ac_cpp
='$CXXCPP $CPPFLAGS'
22171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22176 cat >conftest.
$ac_ext <<_ACEOF
22179 cat confdefs.h
>>conftest.
$ac_ext
22180 cat >>conftest.
$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22196 rm -f conftest.
$ac_objext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22198 (eval $ac_compile) 2>conftest.er1
22200 grep -v '^ *+' conftest.er1
>conftest.err
22202 cat conftest.err
>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try
='test -z "$ac_cxx_werror_flag"
22206 || test ! -s conftest.err'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try
='test -s conftest.$ac_objext'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.
$ac_ext >&5
22230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22233 ac_cpp
='$CPP $CPPFLAGS'
22234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22240 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22241 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22243 if test "$wx_cv_cpp_bool" = "yes"; then
22244 cat >>confdefs.h
<<\_ACEOF
22245 #define HAVE_BOOL 1
22252 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22253 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22254 if test "${wx_cv_explicit+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22261 ac_cpp
='$CXXCPP $CPPFLAGS'
22262 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22263 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22264 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22267 cat >conftest.
$ac_ext <<_ACEOF
22270 cat confdefs.h
>>conftest.
$ac_ext
22271 cat >>conftest.
$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22274 class Foo { public: explicit Foo(int) {} };
22286 rm -f conftest.
$ac_objext
22287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22288 (eval $ac_compile) 2>conftest.er1
22290 grep -v '^ *+' conftest.er1
>conftest.err
22292 cat conftest.err
>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); } &&
22295 { ac_try
='test -z "$ac_cxx_werror_flag"
22296 || test ! -s conftest.err'
22297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298 (eval $ac_try) 2>&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; } &&
22302 { ac_try
='test -s conftest.$ac_objext'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; }; then
22309 cat >conftest.
$ac_ext <<_ACEOF
22312 cat confdefs.h
>>conftest.
$ac_ext
22313 cat >>conftest.
$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22316 class Foo { public: explicit Foo(int) {} };
22317 static void TakeFoo(const Foo& foo) { }
22330 rm -f conftest.
$ac_objext
22331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22332 (eval $ac_compile) 2>conftest.er1
22334 grep -v '^ *+' conftest.er1
>conftest.err
22336 cat conftest.err
>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } &&
22339 { ac_try
='test -z "$ac_cxx_werror_flag"
22340 || test ! -s conftest.err'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; } &&
22346 { ac_try
='test -s conftest.$ac_objext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.
$ac_ext >&5
22360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.
$ac_ext >&5
22369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22372 ac_cpp
='$CPP $CPPFLAGS'
22373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22379 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22380 echo "${ECHO_T}$wx_cv_explicit" >&6
22382 if test "$wx_cv_explicit" = "yes"; then
22383 cat >>confdefs.h
<<\_ACEOF
22384 #define HAVE_EXPLICIT 1
22390 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22391 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22392 if test "${ac_cv_cxx_const_cast+set}" = set; then
22393 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 ac_cpp
='$CXXCPP $CPPFLAGS'
22399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22403 cat >conftest.
$ac_ext <<_ACEOF
22406 cat confdefs.h
>>conftest.
$ac_ext
22407 cat >>conftest.
$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22413 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22418 rm -f conftest.
$ac_objext
22419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22420 (eval $ac_compile) 2>conftest.er1
22422 grep -v '^ *+' conftest.er1
>conftest.err
22424 cat conftest.err
>&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); } &&
22427 { ac_try
='test -z "$ac_cxx_werror_flag"
22428 || test ! -s conftest.err'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; } &&
22434 { ac_try
='test -s conftest.$ac_objext'
22435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436 (eval $ac_try) 2>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); }; }; then
22440 ac_cv_cxx_const_cast
=yes
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.
$ac_ext >&5
22445 ac_cv_cxx_const_cast
=no
22447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22449 ac_cpp
='$CPP $CPPFLAGS'
22450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22456 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22457 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22458 if test "$ac_cv_cxx_const_cast" = yes; then
22460 cat >>confdefs.h
<<\_ACEOF
22461 #define HAVE_CONST_CAST
22466 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22467 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22468 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22469 echo $ECHO_N "(cached) $ECHO_C" >&6
22474 ac_cpp
='$CXXCPP $CPPFLAGS'
22475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22479 cat >conftest.
$ac_ext <<_ACEOF
22482 cat confdefs.h
>>conftest.
$ac_ext
22483 cat >>conftest.
$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 #include <typeinfo>
22486 class Base { public : Base () {} virtual void f () = 0;};
22487 class Derived : public Base { public : Derived () {} virtual void f () {} };
22488 class Unrelated { public : Unrelated () {} };
22489 int g (Unrelated&) { return 0; }
22494 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22499 rm -f conftest.
$ac_objext
22500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22501 (eval $ac_compile) 2>conftest.er1
22503 grep -v '^ *+' conftest.er1
>conftest.err
22505 cat conftest.err
>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } &&
22508 { ac_try
='test -z "$ac_cxx_werror_flag"
22509 || test ! -s conftest.err'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; } &&
22515 { ac_try
='test -s conftest.$ac_objext'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; }; then
22521 ac_cv_cxx_reinterpret_cast
=yes
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.
$ac_ext >&5
22526 ac_cv_cxx_reinterpret_cast
=no
22528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22530 ac_cpp
='$CPP $CPPFLAGS'
22531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22537 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22538 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22539 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22541 cat >>confdefs.h
<<\_ACEOF
22542 #define HAVE_REINTERPRET_CAST
22547 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22548 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22549 if test "${ac_cv_cxx_static_cast+set}" = set; then
22550 echo $ECHO_N "(cached) $ECHO_C" >&6
22555 ac_cpp
='$CXXCPP $CPPFLAGS'
22556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22560 cat >conftest.
$ac_ext <<_ACEOF
22563 cat confdefs.h
>>conftest.
$ac_ext
22564 cat >>conftest.
$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 #include <typeinfo>
22567 class Base { public : Base () {} virtual void f () = 0; };
22568 class Derived : public Base { public : Derived () {} virtual void f () {} };
22569 int g (Derived&) { return 0; }
22574 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22579 rm -f conftest.
$ac_objext
22580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22581 (eval $ac_compile) 2>conftest.er1
22583 grep -v '^ *+' conftest.er1
>conftest.err
22585 cat conftest.err
>&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } &&
22588 { ac_try
='test -z "$ac_cxx_werror_flag"
22589 || test ! -s conftest.err'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; } &&
22595 { ac_try
='test -s conftest.$ac_objext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_cxx_static_cast
=yes
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.
$ac_ext >&5
22606 ac_cv_cxx_static_cast
=no
22608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22610 ac_cpp
='$CPP $CPPFLAGS'
22611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22617 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22618 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22619 if test "$ac_cv_cxx_static_cast" = yes; then
22621 cat >>confdefs.h
<<\_ACEOF
22622 #define HAVE_STATIC_CAST
22628 if test "x$SUNCXX" = xyes
; then
22629 CXXFLAGS
="$CXXFLAGS -features=tmplife"
22632 if test "x$SUNCC" = xyes
; then
22633 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22636 if test "x$SGICC" = "xyes"; then
22637 CFLAGS
="$CFLAGS -woff 3970"
22639 if test "x$SGICXX" = "xyes"; then
22640 CXXFLAGS
="$CXXFLAGS -woff 3970"
22643 if test "x$HPCC" = "xyes"; then
22644 CFLAGS
="$CFLAGS +W 2011,2450"
22646 if test "x$HPCXX" = "xyes"; then
22647 CXXFLAGS
="$CXXFLAGS +W 2340"
22650 if test "x$COMPAQCXX" = "xyes"; then
22651 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22654 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22656 ac_cpp
='$CXXCPP $CPPFLAGS'
22657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22662 if test "$wxUSE_UNICODE" = "yes"; then
22663 std_string
="std::wstring"
22664 char_type
="wchar_t"
22666 std_string
="std::string"
22670 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22671 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22672 cat >conftest.
$ac_ext <<_ACEOF
22675 cat confdefs.h
>>conftest.
$ac_ext
22676 cat >>conftest.
$ac_ext <<_ACEOF
22677 /* end confdefs.h. */
22687 rm -f conftest.
$ac_objext
22688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22689 (eval $ac_compile) 2>conftest.er1
22691 grep -v '^ *+' conftest.er1
>conftest.err
22693 cat conftest.err
>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } &&
22696 { ac_try
='test -z "$ac_cxx_werror_flag"
22697 || test ! -s conftest.err'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; } &&
22703 { ac_try
='test -s conftest.$ac_objext'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; }; then
22709 echo "$as_me:$LINENO: result: yes" >&5
22710 echo "${ECHO_T}yes" >&6
22711 cat >>confdefs.h
<<\_ACEOF
22712 #define HAVE_STD_WSTRING 1
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.
$ac_ext >&5
22719 echo "$as_me:$LINENO: result: no" >&5
22720 echo "${ECHO_T}no" >&6
22721 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22722 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22730 #ifdef HAVE_WCHAR_H
22732 # include <stddef.h>
22734 # include <wchar.h>
22736 #ifdef HAVE_STDLIB_H
22737 # include <stdlib.h>
22745 std::basic_string<$char_type> foo;
22746 const $char_type* dummy = foo.c_str();
22751 rm -f conftest.
$ac_objext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22753 (eval $ac_compile) 2>conftest.er1
22755 grep -v '^ *+' conftest.er1
>conftest.err
22757 cat conftest.err
>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } &&
22760 { ac_try
='test -z "$ac_cxx_werror_flag"
22761 || test ! -s conftest.err'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; } &&
22767 { ac_try
='test -s conftest.$ac_objext'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; }; then
22773 echo "$as_me:$LINENO: result: yes" >&5
22774 echo "${ECHO_T}yes" >&6
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.
$ac_ext >&5
22779 echo "$as_me:$LINENO: result: no" >&5
22780 echo "${ECHO_T}no" >&6
22781 if test "$wxUSE_STL" = "yes"; then
22782 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22783 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22784 { (exit 1); exit 1; }; }
22785 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22786 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22787 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22788 { (exit 1); exit 1; }; }
22790 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22791 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22792 wxUSE_STD_STRING
=no
22797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22803 ac_cpp
='$CPP $CPPFLAGS'
22804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22810 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22812 ac_cpp
='$CXXCPP $CPPFLAGS'
22813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22818 echo "$as_me:$LINENO: checking for std::istream" >&5
22819 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22820 if test "${ac_cv_type_std__istream+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 cat >conftest.
$ac_ext <<_ACEOF
22826 cat confdefs.h
>>conftest.
$ac_ext
22827 cat >>conftest.
$ac_ext <<_ACEOF
22828 /* end confdefs.h. */
22829 #include <iostream>
22834 if ((std::istream *) 0)
22836 if (sizeof (std::istream))
22842 rm -f conftest.
$ac_objext
22843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22844 (eval $ac_compile) 2>conftest.er1
22846 grep -v '^ *+' conftest.er1
>conftest.err
22848 cat conftest.err
>&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } &&
22851 { ac_try
='test -z "$ac_cxx_werror_flag"
22852 || test ! -s conftest.err'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; } &&
22858 { ac_try
='test -s conftest.$ac_objext'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; }; then
22864 ac_cv_type_std__istream
=yes
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.
$ac_ext >&5
22869 ac_cv_type_std__istream
=no
22871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22873 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22874 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22875 if test $ac_cv_type_std__istream = yes; then
22877 cat >>confdefs.h
<<_ACEOF
22878 #define HAVE_STD__ISTREAM 1
22883 wxUSE_STD_IOSTREAM
=no
22885 echo "$as_me:$LINENO: checking for std::ostream" >&5
22886 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22887 if test "${ac_cv_type_std__ostream+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 cat >conftest.
$ac_ext <<_ACEOF
22893 cat confdefs.h
>>conftest.
$ac_ext
22894 cat >>conftest.
$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 #include <iostream>
22901 if ((std::ostream *) 0)
22903 if (sizeof (std::ostream))
22909 rm -f conftest.
$ac_objext
22910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22911 (eval $ac_compile) 2>conftest.er1
22913 grep -v '^ *+' conftest.er1
>conftest.err
22915 cat conftest.err
>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } &&
22918 { ac_try
='test -z "$ac_cxx_werror_flag"
22919 || test ! -s conftest.err'
22920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22921 (eval $ac_try) 2>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; } &&
22925 { ac_try
='test -s conftest.$ac_objext'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; }; then
22931 ac_cv_type_std__ostream
=yes
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.
$ac_ext >&5
22936 ac_cv_type_std__ostream
=no
22938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22940 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22941 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22942 if test $ac_cv_type_std__ostream = yes; then
22944 cat >>confdefs.h
<<_ACEOF
22945 #define HAVE_STD__OSTREAM 1
22950 wxUSE_STD_IOSTREAM
=no
22954 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22955 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22956 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22957 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22958 { (exit 1); exit 1; }; }
22960 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22961 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22966 ac_cpp
='$CPP $CPPFLAGS'
22967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22973 if test "$wxUSE_STL" = "yes"; then
22975 ac_cpp
='$CXXCPP $CPPFLAGS'
22976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22981 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22982 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22983 cat >conftest.
$ac_ext <<_ACEOF
22986 cat confdefs.h
>>conftest.
$ac_ext
22987 cat >>conftest.
$ac_ext <<_ACEOF
22988 /* end confdefs.h. */
22990 #include <functional>
22991 #include <algorithm>
22997 std::vector<int> moo;
22998 std::list<int> foo;
22999 std::vector<int>::iterator it =
23000 std::find_if(moo.begin(), moo.end(),
23001 std::bind2nd(std::less<int>(), 3));
23006 rm -f conftest.
$ac_objext
23007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23008 (eval $ac_compile) 2>conftest.er1
23010 grep -v '^ *+' conftest.er1
>conftest.err
23012 cat conftest.err
>&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try
='test -z "$ac_cxx_werror_flag"
23016 || test ! -s conftest.err'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try
='test -s conftest.$ac_objext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 echo "$as_me:$LINENO: result: yes" >&5
23029 echo "${ECHO_T}yes" >&6
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.
$ac_ext >&5
23034 echo "$as_me:$LINENO: result: no" >&5
23035 echo "${ECHO_T}no" >&6
23036 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23037 echo "$as_me: error: Basic STL functionality missing" >&2;}
23038 { (exit 1); exit 1; }; }
23040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23042 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23043 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23044 cat >conftest.
$ac_ext <<_ACEOF
23047 cat confdefs.h
>>conftest.
$ac_ext
23048 cat >>conftest.
$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23054 std::string foo, bar;
23056 foo.compare(1, 1, bar);
23057 foo.compare(1, 1, bar, 1, 1);
23059 foo.compare(1, 1, "");
23060 foo.compare(1, 1, "", 2);
23065 rm -f conftest.
$ac_objext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23067 (eval $ac_compile) 2>conftest.er1
23069 grep -v '^ *+' conftest.er1
>conftest.err
23071 cat conftest.err
>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try
='test -z "$ac_cxx_werror_flag"
23075 || test ! -s conftest.err'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; } &&
23081 { ac_try
='test -s conftest.$ac_objext'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; }; then
23087 echo "$as_me:$LINENO: result: yes" >&5
23088 echo "${ECHO_T}yes" >&6
23089 cat >>confdefs.h
<<\_ACEOF
23090 #define HAVE_STD_STRING_COMPARE 1
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.
$ac_ext >&5
23097 echo "$as_me:$LINENO: result: no" >&5
23098 echo "${ECHO_T}no" >&6
23100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23102 if test "${ac_cv_header_hash_map+set}" = set; then
23103 echo "$as_me:$LINENO: checking for hash_map" >&5
23104 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23105 if test "${ac_cv_header_hash_map+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23109 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23111 # Is the header compilable?
23112 echo "$as_me:$LINENO: checking hash_map usability" >&5
23113 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23114 cat >conftest.
$ac_ext <<_ACEOF
23117 cat confdefs.h
>>conftest.
$ac_ext
23118 cat >>conftest.
$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 $ac_includes_default
23121 #include <hash_map>
23123 rm -f conftest.
$ac_objext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23125 (eval $ac_compile) 2>conftest.er1
23127 grep -v '^ *+' conftest.er1
>conftest.err
23129 cat conftest.err
>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } &&
23132 { ac_try
='test -z "$ac_cxx_werror_flag"
23133 || test ! -s conftest.err'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; } &&
23139 { ac_try
='test -s conftest.$ac_objext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23145 ac_header_compiler
=yes
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.
$ac_ext >&5
23150 ac_header_compiler
=no
23152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23154 echo "${ECHO_T}$ac_header_compiler" >&6
23156 # Is the header present?
23157 echo "$as_me:$LINENO: checking hash_map presence" >&5
23158 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23159 cat >conftest.
$ac_ext <<_ACEOF
23162 cat confdefs.h
>>conftest.
$ac_ext
23163 cat >>conftest.
$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 #include <hash_map>
23167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23168 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23170 grep -v '^ *+' conftest.er1
>conftest.err
23172 cat conftest.err
>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } >/dev
/null
; then
23175 if test -s conftest.err
; then
23176 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23177 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23184 if test -z "$ac_cpp_err"; then
23185 ac_header_preproc
=yes
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.
$ac_ext >&5
23190 ac_header_preproc
=no
23192 rm -f conftest.err conftest.
$ac_ext
23193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23194 echo "${ECHO_T}$ac_header_preproc" >&6
23196 # So? What about this header?
23197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23199 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23200 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23201 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23202 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23203 ac_header_preproc
=yes
23206 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23207 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23208 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23209 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23210 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23211 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23212 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23213 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23214 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23215 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23216 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23217 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23220 ## ----------------------------------------- ##
23221 ## Report this to wx-dev@lists.wxwidgets.org ##
23222 ## ----------------------------------------- ##
23225 sed "s/^/$as_me: WARNING: /" >&2
23228 echo "$as_me:$LINENO: checking for hash_map" >&5
23229 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23230 if test "${ac_cv_header_hash_map+set}" = set; then
23231 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 ac_cv_header_hash_map
=$ac_header_preproc
23235 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23236 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23239 if test $ac_cv_header_hash_map = yes; then
23240 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23241 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23242 cat >conftest.
$ac_ext <<_ACEOF
23245 cat confdefs.h
>>conftest.
$ac_ext
23246 cat >>conftest.
$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 #include <hash_map>
23249 #include <hash_set>
23253 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23254 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23259 rm -f conftest.
$ac_objext
23260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23261 (eval $ac_compile) 2>conftest.er1
23263 grep -v '^ *+' conftest.er1
>conftest.err
23265 cat conftest.err
>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } &&
23268 { ac_try
='test -z "$ac_cxx_werror_flag"
23269 || test ! -s conftest.err'
23270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23271 (eval $ac_try) 2>&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); }; } &&
23275 { ac_try
='test -s conftest.$ac_objext'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; }; then
23281 echo "$as_me:$LINENO: result: yes" >&5
23282 echo "${ECHO_T}yes" >&6
23283 cat >>confdefs.h
<<\_ACEOF
23284 #define HAVE_HASH_MAP 1
23287 cat >>confdefs.h
<<\_ACEOF
23288 #define HAVE_STD_HASH_MAP 1
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.
$ac_ext >&5
23295 echo "$as_me:$LINENO: result: no" >&5
23296 echo "${ECHO_T}no" >&6
23298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23304 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23305 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23306 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23307 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23311 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23313 # Is the header compilable?
23314 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23315 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23316 cat >conftest.
$ac_ext <<_ACEOF
23319 cat confdefs.h
>>conftest.
$ac_ext
23320 cat >>conftest.
$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 $ac_includes_default
23323 #include <ext/hash_map>
23325 rm -f conftest.
$ac_objext
23326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23327 (eval $ac_compile) 2>conftest.er1
23329 grep -v '^ *+' conftest.er1
>conftest.err
23331 cat conftest.err
>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try
='test -z "$ac_cxx_werror_flag"
23335 || test ! -s conftest.err'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; } &&
23341 { ac_try
='test -s conftest.$ac_objext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_header_compiler
=yes
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.
$ac_ext >&5
23352 ac_header_compiler
=no
23354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23356 echo "${ECHO_T}$ac_header_compiler" >&6
23358 # Is the header present?
23359 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23360 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23361 cat >conftest.
$ac_ext <<_ACEOF
23364 cat confdefs.h
>>conftest.
$ac_ext
23365 cat >>conftest.
$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367 #include <ext/hash_map>
23369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23372 grep -v '^ *+' conftest.er1
>conftest.err
23374 cat conftest.err
>&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } >/dev
/null
; then
23377 if test -s conftest.err
; then
23378 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23379 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23386 if test -z "$ac_cpp_err"; then
23387 ac_header_preproc
=yes
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.
$ac_ext >&5
23392 ac_header_preproc
=no
23394 rm -f conftest.err conftest.
$ac_ext
23395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23396 echo "${ECHO_T}$ac_header_preproc" >&6
23398 # So? What about this header?
23399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23401 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23402 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23403 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23404 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23405 ac_header_preproc
=yes
23408 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23409 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23410 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23411 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23412 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23413 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23414 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23415 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23416 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23417 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23418 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23419 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23422 ## ----------------------------------------- ##
23423 ## Report this to wx-dev@lists.wxwidgets.org ##
23424 ## ----------------------------------------- ##
23427 sed "s/^/$as_me: WARNING: /" >&2
23430 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23431 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23432 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23435 ac_cv_header_ext_hash_map
=$ac_header_preproc
23437 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23438 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23441 if test $ac_cv_header_ext_hash_map = yes; then
23442 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23443 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23444 cat >conftest.
$ac_ext <<_ACEOF
23447 cat confdefs.h
>>conftest.
$ac_ext
23448 cat >>conftest.
$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 #include <ext/hash_map>
23451 #include <ext/hash_set>
23455 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23456 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23461 rm -f conftest.
$ac_objext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23463 (eval $ac_compile) 2>conftest.er1
23465 grep -v '^ *+' conftest.er1
>conftest.err
23467 cat conftest.err
>&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } &&
23470 { ac_try
='test -z "$ac_cxx_werror_flag"
23471 || test ! -s conftest.err'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; } &&
23477 { ac_try
='test -s conftest.$ac_objext'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; }; then
23483 echo "$as_me:$LINENO: result: yes" >&5
23484 echo "${ECHO_T}yes" >&6
23485 cat >>confdefs.h
<<\_ACEOF
23486 #define HAVE_EXT_HASH_MAP 1
23489 cat >>confdefs.h
<<\_ACEOF
23490 #define HAVE_GNU_CXX_HASH_MAP 1
23494 echo "$as_me: failed program was:" >&5
23495 sed 's/^/| /' conftest.
$ac_ext >&5
23497 echo "$as_me:$LINENO: result: no" >&5
23498 echo "${ECHO_T}no" >&6
23500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23507 ac_cpp
='$CPP $CPPFLAGS'
23508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23516 /usr/local/include \
23518 /usr/Motif-2.1/include \
23519 /usr/Motif-1.2/include \
23520 /usr/include/Motif1.2 \
23523 /usr/openwin/include \
23527 /usr/X11R6/include \
23528 /usr/X11R6.4/include \
23529 /usr/X11R5/include \
23530 /usr/X11R4/include \
23532 /usr/include/X11R6 \
23533 /usr/include/X11R5 \
23534 /usr/include/X11R4 \
23536 /usr/local/X11R6/include \
23537 /usr/local/X11R5/include \
23538 /usr/local/X11R4/include \
23540 /usr/local/include/X11R6 \
23541 /usr/local/include/X11R5 \
23542 /usr/local/include/X11R4 \
23546 /usr/local/X11/include \
23547 /usr/local/include/X11 \
23549 /usr/XFree86/include/X11 \
23552 /usr/openwin/share/include"
23554 echo "$as_me:$LINENO: checking for libraries directory" >&5
23555 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23559 if test "${wx_cv_std_libpath+set}" = set; then
23560 echo $ECHO_N "(cached) $ECHO_C" >&6
23563 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23564 for e
in a so sl dylib dll.a
; do
23566 if test -f $libc; then
23569 cat >conftest.
$ac_ext <<_ACEOF
23570 int main() { return 0; }
23572 rm -f conftest.
$ac_objext conftest
$ac_exeext
23573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23574 (eval $ac_link) 2>conftest.er1
23576 grep -v '^ *+' conftest.er1
>conftest.err
23578 cat conftest.err
>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } &&
23581 { ac_try
='test -z "$ac_c_werror_flag"
23582 || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try
='test -s conftest$ac_exeext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23600 rm -f conftest.err conftest.
$ac_objext \
23601 conftest
$ac_exeext conftest.
$ac_ext
23603 if test "x$wx_cv_std_libpath" != "x"; then
23609 if test "x$wx_cv_std_libpath" = "x"; then
23610 wx_cv_std_libpath
="lib"
23619 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23620 wx_cv_std_libpath
="lib/64"
23622 wx_cv_std_libpath
="lib"
23627 if test "$ac_cv_sizeof_void_p" = 8 -a \
23628 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23629 wx_cv_std_libpath
="lib64"
23631 wx_cv_std_libpath
="lib"
23636 wx_cv_std_libpath
="lib";
23640 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23641 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23643 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23645 if test "$build" != "$host" -a "$GCC" = yes; then
23646 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23647 cross_root
=`dirname $cross_root`
23648 cross_root
=`dirname $cross_root`
23650 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23651 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23652 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23654 if test -z "$PKG_CONFIG_PATH"; then
23655 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23656 export PKG_CONFIG_PATH
23659 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23662 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23664 if test -f "$ac_dir/X11/Intrinsic.h"; then
23665 ac_find_includes
=$ac_dir
23670 x_includes
=$ac_find_includes
23672 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23675 for ac_dir
in $SEARCH_LIB;
23677 for ac_extension
in a so sl dylib dll.a
; do
23678 if test -f "$ac_dir/libXt.$ac_extension"; then
23679 ac_find_libraries
=$ac_dir
23685 x_libraries
=$ac_find_libraries
23691 cat >confcache
<<\_ACEOF
23692 # This file is a shell script that caches the results of configure
23693 # tests run on this system so they can be shared between configure
23694 # scripts and configure runs, see configure's option --config-cache.
23695 # It is not useful on other systems. If it contains results you don't
23696 # want to keep, you may remove or edit it.
23698 # config.status only pays attention to the cache file if you give it
23699 # the --recheck option to rerun configure.
23701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23703 # following values.
23707 # The following way of writing the cache mishandles newlines in values,
23708 # but we know of no workaround that is simple, portable, and efficient.
23709 # So, don't put newlines in cache variables' values.
23710 # Ultrix sh set writes to stderr and can't be redirected directly,
23711 # and sets the high bit in the cache file unless we assign to the vars.
23714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23716 # `set' does not quote correctly, so add quotes (double-quote
23717 # substitution turns \\\\ into \\, and sed turns \\ into \).
23720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23723 # `set' quotes correctly as required by POSIX, so do not add quotes.
23725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23736 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23737 if test -w $cache_file; then
23738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23739 cat confcache
>$cache_file
23741 echo "not updating unwritable cache $cache_file"
23746 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23747 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23748 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23749 if test "${wx_cv_lib_glibc21+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 cat >conftest.
$ac_ext <<_ACEOF
23756 cat confdefs.h
>>conftest.
$ac_ext
23757 cat >>conftest.
$ac_ext <<_ACEOF
23758 /* end confdefs.h. */
23759 #include <features.h>
23764 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23772 rm -f conftest.
$ac_objext
23773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23774 (eval $ac_compile) 2>conftest.er1
23776 grep -v '^ *+' conftest.er1
>conftest.err
23778 cat conftest.err
>&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } &&
23781 { ac_try
='test -z "$ac_c_werror_flag"
23782 || test ! -s conftest.err'
23783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23784 (eval $ac_try) 2>&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); }; } &&
23788 { ac_try
='test -s conftest.$ac_objext'
23789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790 (eval $ac_try) 2>&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); }; }; then
23795 wx_cv_lib_glibc21
=yes
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.
$ac_ext >&5
23802 wx_cv_lib_glibc21
=no
23806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23809 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23810 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23811 if test "$wx_cv_lib_glibc21" = "yes"; then
23812 cat >>confdefs.h
<<\_ACEOF
23813 #define wxHAVE_GLIBC2 1
23819 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23820 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23821 cat >>confdefs.h
<<\_ACEOF
23822 #define _GNU_SOURCE 1
23830 if test "$wxUSE_REGEX" != "no"; then
23831 cat >>confdefs.h
<<\_ACEOF
23832 #define wxUSE_REGEX 1
23836 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23837 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23838 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23839 wxUSE_REGEX
=builtin
23842 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23843 if test "${ac_cv_header_regex_h+set}" = set; then
23844 echo "$as_me:$LINENO: checking for regex.h" >&5
23845 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23846 if test "${ac_cv_header_regex_h+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23850 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23852 # Is the header compilable?
23853 echo "$as_me:$LINENO: checking regex.h usability" >&5
23854 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23855 cat >conftest.
$ac_ext <<_ACEOF
23858 cat confdefs.h
>>conftest.
$ac_ext
23859 cat >>conftest.
$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 $ac_includes_default
23864 rm -f conftest.
$ac_objext
23865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23866 (eval $ac_compile) 2>conftest.er1
23868 grep -v '^ *+' conftest.er1
>conftest.err
23870 cat conftest.err
>&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try
='test -z "$ac_c_werror_flag"
23874 || test ! -s conftest.err'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; } &&
23880 { ac_try
='test -s conftest.$ac_objext'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; }; then
23886 ac_header_compiler
=yes
23888 echo "$as_me: failed program was:" >&5
23889 sed 's/^/| /' conftest.
$ac_ext >&5
23891 ac_header_compiler
=no
23893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23895 echo "${ECHO_T}$ac_header_compiler" >&6
23897 # Is the header present?
23898 echo "$as_me:$LINENO: checking regex.h presence" >&5
23899 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23900 cat >conftest.
$ac_ext <<_ACEOF
23903 cat confdefs.h
>>conftest.
$ac_ext
23904 cat >>conftest.
$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23911 grep -v '^ *+' conftest.er1
>conftest.err
23913 cat conftest.err
>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } >/dev
/null
; then
23916 if test -s conftest.err
; then
23917 ac_cpp_err
=$ac_c_preproc_warn_flag
23918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23925 if test -z "$ac_cpp_err"; then
23926 ac_header_preproc
=yes
23928 echo "$as_me: failed program was:" >&5
23929 sed 's/^/| /' conftest.
$ac_ext >&5
23931 ac_header_preproc
=no
23933 rm -f conftest.err conftest.
$ac_ext
23934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23935 echo "${ECHO_T}$ac_header_preproc" >&6
23937 # So? What about this header?
23938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23940 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23941 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23942 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23943 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23944 ac_header_preproc
=yes
23947 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23948 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23949 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23950 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23951 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23952 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23953 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23954 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23955 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23956 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23957 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23958 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23961 ## ----------------------------------------- ##
23962 ## Report this to wx-dev@lists.wxwidgets.org ##
23963 ## ----------------------------------------- ##
23966 sed "s/^/$as_me: WARNING: /" >&2
23969 echo "$as_me:$LINENO: checking for regex.h" >&5
23970 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23971 if test "${ac_cv_header_regex_h+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 ac_cv_header_regex_h
=$ac_header_preproc
23976 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23977 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23980 if test $ac_cv_header_regex_h = yes; then
23982 for ac_func
in regcomp
23984 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23985 echo "$as_me:$LINENO: checking for $ac_func" >&5
23986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23987 if eval "test \"\${$as_ac_var+set}\" = set"; then
23988 echo $ECHO_N "(cached) $ECHO_C" >&6
23990 cat >conftest.
$ac_ext <<_ACEOF
23993 cat confdefs.h
>>conftest.
$ac_ext
23994 cat >>conftest.
$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23998 #define $ac_func innocuous_$ac_func
24000 /* System header to define __stub macros and hopefully few prototypes,
24001 which can conflict with char $ac_func (); below.
24002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24003 <limits.h> exists even on freestanding compilers. */
24006 # include <limits.h>
24008 # include <assert.h>
24013 /* Override any gcc2 internal prototype to avoid an error. */
24018 /* We use char because int might match the return type of a gcc2
24019 builtin and then its argument prototype would still apply. */
24021 /* The GNU C library defines this for functions which it implements
24022 to always fail with ENOSYS. Some functions are actually named
24023 something starting with __ and the normal name is an alias. */
24024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24027 char (*f) () = $ac_func;
24036 return f != $ac_func;
24041 rm -f conftest.
$ac_objext conftest
$ac_exeext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24043 (eval $ac_link) 2>conftest.er1
24045 grep -v '^ *+' conftest.er1
>conftest.err
24047 cat conftest.err
>&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } &&
24050 { ac_try
='test -z "$ac_c_werror_flag"
24051 || test ! -s conftest.err'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; } &&
24057 { ac_try
='test -s conftest$ac_exeext'
24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059 (eval $ac_try) 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 eval "$as_ac_var=yes"
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 eval "$as_ac_var=no"
24070 rm -f conftest.err conftest.
$ac_objext \
24071 conftest
$ac_exeext conftest.
$ac_ext
24073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24075 if test `eval echo '${'$as_ac_var'}'` = yes; then
24076 cat >>confdefs.h
<<_ACEOF
24077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24087 if test "x$ac_cv_func_regcomp" != "xyes"; then
24088 if test "$wxUSE_REGEX" = "sys" ; then
24089 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24090 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24091 { (exit 1); exit 1; }; }
24093 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24094 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24095 wxUSE_REGEX
=builtin
24099 cat >>confdefs.h
<<\_ACEOF
24100 #define WX_NO_REGEX_ADVANCED 1
24109 if test "$wxUSE_ZLIB" != "no" ; then
24110 cat >>confdefs.h
<<\_ACEOF
24111 #define wxUSE_ZLIB 1
24115 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24116 if test "$USE_DARWIN" = 1; then
24117 system_zlib_h_ok
="yes"
24119 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24120 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24121 if test "${ac_cv_header_zlib_h+set}" = set; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24124 if test "$cross_compiling" = yes; then
24125 unset ac_cv_header_zlib_h
24128 cat >conftest.
$ac_ext <<_ACEOF
24131 cat confdefs.h
>>conftest.
$ac_ext
24132 cat >>conftest.
$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24140 FILE *f=fopen("conftestval", "w");
24143 ZLIB_VERSION[0] == '1' &&
24144 (ZLIB_VERSION[2] > '1' ||
24145 (ZLIB_VERSION[2] == '1' &&
24146 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24151 rm -f conftest
$ac_exeext
24152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24153 (eval $ac_link) 2>&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; }; then
24162 ac_cv_header_zlib_h
=`cat conftestval`
24164 echo "$as_me: program exited with status $ac_status" >&5
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.
$ac_ext >&5
24168 ( exit $ac_status )
24169 ac_cv_header_zlib_h
=no
24171 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24175 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24176 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24177 if test "${ac_cv_header_zlib_h+set}" = set; then
24178 echo "$as_me:$LINENO: checking for zlib.h" >&5
24179 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24180 if test "${ac_cv_header_zlib_h+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24183 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24184 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24186 # Is the header compilable?
24187 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24188 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24189 cat >conftest.
$ac_ext <<_ACEOF
24192 cat confdefs.h
>>conftest.
$ac_ext
24193 cat >>conftest.
$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195 $ac_includes_default
24198 rm -f conftest.
$ac_objext
24199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24200 (eval $ac_compile) 2>conftest.er1
24202 grep -v '^ *+' conftest.er1
>conftest.err
24204 cat conftest.err
>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); } &&
24207 { ac_try
='test -z "$ac_c_werror_flag"
24208 || test ! -s conftest.err'
24209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24210 (eval $ac_try) 2>&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); }; } &&
24214 { ac_try
='test -s conftest.$ac_objext'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24220 ac_header_compiler
=yes
24222 echo "$as_me: failed program was:" >&5
24223 sed 's/^/| /' conftest.
$ac_ext >&5
24225 ac_header_compiler
=no
24227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24229 echo "${ECHO_T}$ac_header_compiler" >&6
24231 # Is the header present?
24232 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24233 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24234 cat >conftest.
$ac_ext <<_ACEOF
24237 cat confdefs.h
>>conftest.
$ac_ext
24238 cat >>conftest.
$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24245 grep -v '^ *+' conftest.er1
>conftest.err
24247 cat conftest.err
>&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } >/dev
/null
; then
24250 if test -s conftest.err
; then
24251 ac_cpp_err
=$ac_c_preproc_warn_flag
24252 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24259 if test -z "$ac_cpp_err"; then
24260 ac_header_preproc
=yes
24262 echo "$as_me: failed program was:" >&5
24263 sed 's/^/| /' conftest.
$ac_ext >&5
24265 ac_header_preproc
=no
24267 rm -f conftest.err conftest.
$ac_ext
24268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24269 echo "${ECHO_T}$ac_header_preproc" >&6
24271 # So? What about this header?
24272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24274 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24275 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24276 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24277 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24278 ac_header_preproc
=yes
24281 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24282 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24283 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24284 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24285 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24286 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24287 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24288 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24289 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24290 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24291 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24292 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24295 ## ----------------------------------------- ##
24296 ## Report this to wx-dev@lists.wxwidgets.org ##
24297 ## ----------------------------------------- ##
24300 sed "s/^/$as_me: WARNING: /" >&2
24303 echo "$as_me:$LINENO: checking for zlib.h" >&5
24304 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24305 if test "${ac_cv_header_zlib_h+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24308 ac_cv_header_zlib_h
=$ac_header_preproc
24310 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24311 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24317 system_zlib_h_ok
=$ac_cv_header_zlib_h
24320 if test "$system_zlib_h_ok" = "yes"; then
24321 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24322 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24323 if test "${ac_cv_lib_z_deflate+set}" = set; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 ac_check_lib_save_LIBS
=$LIBS
24328 cat >conftest.
$ac_ext <<_ACEOF
24331 cat confdefs.h
>>conftest.
$ac_ext
24332 cat >>conftest.
$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24335 /* Override any gcc2 internal prototype to avoid an error. */
24339 /* We use char because int might match the return type of a gcc2
24340 builtin and then its argument prototype would still apply. */
24350 rm -f conftest.
$ac_objext conftest
$ac_exeext
24351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24352 (eval $ac_link) 2>conftest.er1
24354 grep -v '^ *+' conftest.er1
>conftest.err
24356 cat conftest.err
>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } &&
24359 { ac_try
='test -z "$ac_c_werror_flag"
24360 || test ! -s conftest.err'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; } &&
24366 { ac_try
='test -s conftest$ac_exeext'
24367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24368 (eval $ac_try) 2>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); }; }; then
24372 ac_cv_lib_z_deflate
=yes
24374 echo "$as_me: failed program was:" >&5
24375 sed 's/^/| /' conftest.
$ac_ext >&5
24377 ac_cv_lib_z_deflate
=no
24379 rm -f conftest.err conftest.
$ac_objext \
24380 conftest
$ac_exeext conftest.
$ac_ext
24381 LIBS
=$ac_check_lib_save_LIBS
24383 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24384 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24385 if test $ac_cv_lib_z_deflate = yes; then
24391 if test "x$ZLIB_LINK" = "x" ; then
24392 if test "$wxUSE_ZLIB" = "sys" ; then
24393 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24394 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24395 { (exit 1); exit 1; }; }
24397 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24398 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24409 if test "$wxUSE_LIBPNG" != "no" ; then
24410 cat >>confdefs.h
<<\_ACEOF
24411 #define wxUSE_LIBPNG 1
24415 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24416 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24417 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24421 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24422 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24423 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24424 wxUSE_LIBPNG
=builtin
24427 if test "$wxUSE_MGL" != 1 ; then
24428 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24429 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24430 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24431 if test "${ac_cv_header_png_h+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24434 if test "$cross_compiling" = yes; then
24435 unset ac_cv_header_png_h
24438 cat >conftest.
$ac_ext <<_ACEOF
24441 cat confdefs.h
>>conftest.
$ac_ext
24442 cat >>conftest.
$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24450 FILE *f=fopen("conftestval", "w");
24453 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24458 rm -f conftest
$ac_exeext
24459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24460 (eval $ac_link) 2>&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 ac_cv_header_png_h
=`cat conftestval`
24471 echo "$as_me: program exited with status $ac_status" >&5
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.
$ac_ext >&5
24475 ( exit $ac_status )
24476 ac_cv_header_png_h
=no
24478 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24482 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24483 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24484 if test "${ac_cv_header_png_h+set}" = set; then
24485 echo "$as_me:$LINENO: checking for png.h" >&5
24486 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24487 if test "${ac_cv_header_png_h+set}" = set; then
24488 echo $ECHO_N "(cached) $ECHO_C" >&6
24490 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24491 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24493 # Is the header compilable?
24494 echo "$as_me:$LINENO: checking png.h usability" >&5
24495 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24496 cat >conftest.
$ac_ext <<_ACEOF
24499 cat confdefs.h
>>conftest.
$ac_ext
24500 cat >>conftest.
$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24502 $ac_includes_default
24505 rm -f conftest.
$ac_objext
24506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24507 (eval $ac_compile) 2>conftest.er1
24509 grep -v '^ *+' conftest.er1
>conftest.err
24511 cat conftest.err
>&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); } &&
24514 { ac_try
='test -z "$ac_c_werror_flag"
24515 || test ! -s conftest.err'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; } &&
24521 { ac_try
='test -s conftest.$ac_objext'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; }; then
24527 ac_header_compiler
=yes
24529 echo "$as_me: failed program was:" >&5
24530 sed 's/^/| /' conftest.
$ac_ext >&5
24532 ac_header_compiler
=no
24534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24536 echo "${ECHO_T}$ac_header_compiler" >&6
24538 # Is the header present?
24539 echo "$as_me:$LINENO: checking png.h presence" >&5
24540 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24541 cat >conftest.
$ac_ext <<_ACEOF
24544 cat confdefs.h
>>conftest.
$ac_ext
24545 cat >>conftest.
$ac_ext <<_ACEOF
24546 /* end confdefs.h. */
24549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24550 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24552 grep -v '^ *+' conftest.er1
>conftest.err
24554 cat conftest.err
>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } >/dev
/null
; then
24557 if test -s conftest.err
; then
24558 ac_cpp_err
=$ac_c_preproc_warn_flag
24559 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24566 if test -z "$ac_cpp_err"; then
24567 ac_header_preproc
=yes
24569 echo "$as_me: failed program was:" >&5
24570 sed 's/^/| /' conftest.
$ac_ext >&5
24572 ac_header_preproc
=no
24574 rm -f conftest.err conftest.
$ac_ext
24575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24576 echo "${ECHO_T}$ac_header_preproc" >&6
24578 # So? What about this header?
24579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24581 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24582 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24583 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24584 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24585 ac_header_preproc
=yes
24588 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24589 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24590 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24591 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24592 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24593 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24594 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24595 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24596 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24597 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24598 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24599 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24602 ## ----------------------------------------- ##
24603 ## Report this to wx-dev@lists.wxwidgets.org ##
24604 ## ----------------------------------------- ##
24607 sed "s/^/$as_me: WARNING: /" >&2
24610 echo "$as_me:$LINENO: checking for png.h" >&5
24611 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24612 if test "${ac_cv_header_png_h+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 ac_cv_header_png_h
=$ac_header_preproc
24617 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24618 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24624 if test "$ac_cv_header_png_h" = "yes"; then
24625 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24626 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24627 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 ac_check_lib_save_LIBS
=$LIBS
24631 LIBS
="-lpng -lz -lm $LIBS"
24632 cat >conftest.
$ac_ext <<_ACEOF
24635 cat confdefs.h
>>conftest.
$ac_ext
24636 cat >>conftest.
$ac_ext <<_ACEOF
24637 /* end confdefs.h. */
24639 /* Override any gcc2 internal prototype to avoid an error. */
24643 /* We use char because int might match the return type of a gcc2
24644 builtin and then its argument prototype would still apply. */
24645 char png_check_sig ();
24654 rm -f conftest.
$ac_objext conftest
$ac_exeext
24655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24656 (eval $ac_link) 2>conftest.er1
24658 grep -v '^ *+' conftest.er1
>conftest.err
24660 cat conftest.err
>&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); } &&
24663 { ac_try
='test -z "$ac_c_werror_flag"
24664 || test ! -s conftest.err'
24665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24666 (eval $ac_try) 2>&5
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); }; } &&
24670 { ac_try
='test -s conftest$ac_exeext'
24671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24672 (eval $ac_try) 2>&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); }; }; then
24676 ac_cv_lib_png_png_check_sig
=yes
24678 echo "$as_me: failed program was:" >&5
24679 sed 's/^/| /' conftest.
$ac_ext >&5
24681 ac_cv_lib_png_png_check_sig
=no
24683 rm -f conftest.err conftest.
$ac_objext \
24684 conftest
$ac_exeext conftest.
$ac_ext
24685 LIBS
=$ac_check_lib_save_LIBS
24687 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24688 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24689 if test $ac_cv_lib_png_png_check_sig = yes; then
24690 PNG_LINK
=" -lpng -lz"
24695 if test "x$PNG_LINK" = "x" ; then
24696 if test "$wxUSE_LIBPNG" = "sys" ; then
24697 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24698 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24699 { (exit 1); exit 1; }; }
24701 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24702 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24703 wxUSE_LIBPNG
=builtin
24711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24716 if test "$wxUSE_LIBJPEG" != "no" ; then
24717 cat >>confdefs.h
<<\_ACEOF
24718 #define wxUSE_LIBJPEG 1
24722 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24723 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24724 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24728 if test "$wxUSE_MGL" != 1 ; then
24729 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24730 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24731 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24732 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 cat >conftest.
$ac_ext <<_ACEOF
24738 cat confdefs.h
>>conftest.
$ac_ext
24739 cat >>conftest.
$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24742 #undef HAVE_STDLIB_H
24744 #include <jpeglib.h>
24755 rm -f conftest.
$ac_objext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24757 (eval $ac_compile) 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"
24765 || test ! -s conftest.err'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; } &&
24771 { ac_try
='test -s conftest.$ac_objext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 ac_cv_header_jpeglib_h
=yes
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.
$ac_ext >&5
24782 ac_cv_header_jpeglib_h
=no
24785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24789 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24790 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24792 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24793 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24794 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24795 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24796 echo $ECHO_N "(cached) $ECHO_C" >&6
24798 ac_check_lib_save_LIBS
=$LIBS
24799 LIBS
="-ljpeg $LIBS"
24800 cat >conftest.
$ac_ext <<_ACEOF
24803 cat confdefs.h
>>conftest.
$ac_ext
24804 cat >>conftest.
$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24807 /* Override any gcc2 internal prototype to avoid an error. */
24811 /* We use char because int might match the return type of a gcc2
24812 builtin and then its argument prototype would still apply. */
24813 char jpeg_read_header ();
24817 jpeg_read_header ();
24822 rm -f conftest.
$ac_objext conftest
$ac_exeext
24823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24824 (eval $ac_link) 2>conftest.er1
24826 grep -v '^ *+' conftest.er1
>conftest.err
24828 cat conftest.err
>&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } &&
24831 { ac_try
='test -z "$ac_c_werror_flag"
24832 || test ! -s conftest.err'
24833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24834 (eval $ac_try) 2>&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; } &&
24838 { ac_try
='test -s conftest$ac_exeext'
24839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24840 (eval $ac_try) 2>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); }; }; then
24844 ac_cv_lib_jpeg_jpeg_read_header
=yes
24846 echo "$as_me: failed program was:" >&5
24847 sed 's/^/| /' conftest.
$ac_ext >&5
24849 ac_cv_lib_jpeg_jpeg_read_header
=no
24851 rm -f conftest.err conftest.
$ac_objext \
24852 conftest
$ac_exeext conftest.
$ac_ext
24853 LIBS
=$ac_check_lib_save_LIBS
24855 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24856 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24857 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24858 JPEG_LINK
=" -ljpeg"
24863 if test "x$JPEG_LINK" = "x" ; then
24864 if test "$wxUSE_LIBJPEG" = "sys" ; then
24865 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24866 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24867 { (exit 1); exit 1; }; }
24869 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24870 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24871 wxUSE_LIBJPEG
=builtin
24882 TIFF_PREREQ_LINKS
=-lm
24883 if test "$wxUSE_LIBTIFF" != "no" ; then
24884 cat >>confdefs.h
<<\_ACEOF
24885 #define wxUSE_LIBTIFF 1
24889 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24890 if test "$wxUSE_LIBJPEG" = "sys"; then
24891 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24893 if test "$wxUSE_ZLIB" = "sys"; then
24894 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24896 if test "${ac_cv_header_tiffio_h+set}" = set; then
24897 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24898 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24899 if test "${ac_cv_header_tiffio_h+set}" = set; then
24900 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24903 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24905 # Is the header compilable?
24906 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24907 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24908 cat >conftest.
$ac_ext <<_ACEOF
24911 cat confdefs.h
>>conftest.
$ac_ext
24912 cat >>conftest.
$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914 $ac_includes_default
24915 #include <tiffio.h>
24917 rm -f conftest.
$ac_objext
24918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24919 (eval $ac_compile) 2>conftest.er1
24921 grep -v '^ *+' conftest.er1
>conftest.err
24923 cat conftest.err
>&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } &&
24926 { ac_try
='test -z "$ac_c_werror_flag"
24927 || test ! -s conftest.err'
24928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929 (eval $ac_try) 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; } &&
24933 { ac_try
='test -s conftest.$ac_objext'
24934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24935 (eval $ac_try) 2>&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); }; }; then
24939 ac_header_compiler
=yes
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.
$ac_ext >&5
24944 ac_header_compiler
=no
24946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24948 echo "${ECHO_T}$ac_header_compiler" >&6
24950 # Is the header present?
24951 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24952 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24953 cat >conftest.
$ac_ext <<_ACEOF
24956 cat confdefs.h
>>conftest.
$ac_ext
24957 cat >>conftest.
$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24959 #include <tiffio.h>
24961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24964 grep -v '^ *+' conftest.er1
>conftest.err
24966 cat conftest.err
>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } >/dev
/null
; then
24969 if test -s conftest.err
; then
24970 ac_cpp_err
=$ac_c_preproc_warn_flag
24971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24978 if test -z "$ac_cpp_err"; then
24979 ac_header_preproc
=yes
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.
$ac_ext >&5
24984 ac_header_preproc
=no
24986 rm -f conftest.err conftest.
$ac_ext
24987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24988 echo "${ECHO_T}$ac_header_preproc" >&6
24990 # So? What about this header?
24991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24993 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24994 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24995 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24996 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24997 ac_header_preproc
=yes
25000 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25001 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25002 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25003 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25004 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25005 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25006 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25007 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25008 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25009 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25010 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25011 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25014 ## ----------------------------------------- ##
25015 ## Report this to wx-dev@lists.wxwidgets.org ##
25016 ## ----------------------------------------- ##
25019 sed "s/^/$as_me: WARNING: /" >&2
25022 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25023 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25024 if test "${ac_cv_header_tiffio_h+set}" = set; then
25025 echo $ECHO_N "(cached) $ECHO_C" >&6
25027 ac_cv_header_tiffio_h
=$ac_header_preproc
25029 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25030 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25033 if test $ac_cv_header_tiffio_h = yes; then
25035 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25036 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25037 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25038 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 ac_check_lib_save_LIBS
=$LIBS
25041 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25042 cat >conftest.
$ac_ext <<_ACEOF
25045 cat confdefs.h
>>conftest.
$ac_ext
25046 cat >>conftest.
$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25049 /* Override any gcc2 internal prototype to avoid an error. */
25053 /* We use char because int might match the return type of a gcc2
25054 builtin and then its argument prototype would still apply. */
25064 rm -f conftest.
$ac_objext conftest
$ac_exeext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25066 (eval $ac_link) 2>conftest.er1
25068 grep -v '^ *+' conftest.er1
>conftest.err
25070 cat conftest.err
>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try
='test -z "$ac_c_werror_flag"
25074 || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try
='test -s conftest$ac_exeext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 ac_cv_lib_tiff_TIFFError
=yes
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.
$ac_ext >&5
25091 ac_cv_lib_tiff_TIFFError
=no
25093 rm -f conftest.err conftest.
$ac_objext \
25094 conftest
$ac_exeext conftest.
$ac_ext
25095 LIBS
=$ac_check_lib_save_LIBS
25097 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25098 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25099 if test $ac_cv_lib_tiff_TIFFError = yes; then
25100 TIFF_LINK
=" -ltiff"
25109 if test "x$TIFF_LINK" = "x" ; then
25110 if test "$wxUSE_LIBTIFF" = "sys" ; then
25111 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25112 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25113 { (exit 1); exit 1; }; }
25115 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25116 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25117 wxUSE_LIBTIFF
=builtin
25126 if test "$wxUSE_WCHAR_T" != "yes"; then
25127 if test "$wxUSE_EXPAT" != "no"; then
25128 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25129 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25132 if test "$wxUSE_XML" != "no"; then
25133 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25134 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25139 if test "$wxUSE_EXPAT" != "no"; then
25141 cat >>confdefs.h
<<\_ACEOF
25142 #define wxUSE_EXPAT 1
25145 cat >>confdefs.h
<<\_ACEOF
25146 #define wxUSE_XML 1
25150 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25151 if test "${ac_cv_header_expat_h+set}" = set; then
25152 echo "$as_me:$LINENO: checking for expat.h" >&5
25153 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25154 if test "${ac_cv_header_expat_h+set}" = set; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25158 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25160 # Is the header compilable?
25161 echo "$as_me:$LINENO: checking expat.h usability" >&5
25162 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25163 cat >conftest.
$ac_ext <<_ACEOF
25166 cat confdefs.h
>>conftest.
$ac_ext
25167 cat >>conftest.
$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25169 $ac_includes_default
25172 rm -f conftest.
$ac_objext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25174 (eval $ac_compile) 2>conftest.er1
25176 grep -v '^ *+' conftest.er1
>conftest.err
25178 cat conftest.err
>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try
='test -z "$ac_c_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try
='test -s conftest.$ac_objext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 ac_header_compiler
=yes
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.
$ac_ext >&5
25199 ac_header_compiler
=no
25201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25203 echo "${ECHO_T}$ac_header_compiler" >&6
25205 # Is the header present?
25206 echo "$as_me:$LINENO: checking expat.h presence" >&5
25207 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25208 cat >conftest.
$ac_ext <<_ACEOF
25211 cat confdefs.h
>>conftest.
$ac_ext
25212 cat >>conftest.
$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25219 grep -v '^ *+' conftest.er1
>conftest.err
25221 cat conftest.err
>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); } >/dev
/null
; then
25224 if test -s conftest.err
; then
25225 ac_cpp_err
=$ac_c_preproc_warn_flag
25226 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25233 if test -z "$ac_cpp_err"; then
25234 ac_header_preproc
=yes
25236 echo "$as_me: failed program was:" >&5
25237 sed 's/^/| /' conftest.
$ac_ext >&5
25239 ac_header_preproc
=no
25241 rm -f conftest.err conftest.
$ac_ext
25242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25243 echo "${ECHO_T}$ac_header_preproc" >&6
25245 # So? What about this header?
25246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25248 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25249 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25250 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25251 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25252 ac_header_preproc
=yes
25255 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25256 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25257 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25258 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25260 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25261 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25262 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25263 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25264 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25265 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25266 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25269 ## ----------------------------------------- ##
25270 ## Report this to wx-dev@lists.wxwidgets.org ##
25271 ## ----------------------------------------- ##
25274 sed "s/^/$as_me: WARNING: /" >&2
25277 echo "$as_me:$LINENO: checking for expat.h" >&5
25278 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25279 if test "${ac_cv_header_expat_h+set}" = set; then
25280 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 ac_cv_header_expat_h
=$ac_header_preproc
25284 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25285 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25288 if test $ac_cv_header_expat_h = yes; then
25293 if test "x$found_expat_h" = "x1"; then
25294 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25295 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25296 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25303 ac_cpp
='$CXXCPP $CPPFLAGS'
25304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25308 cat >conftest.
$ac_ext <<_ACEOF
25311 cat confdefs.h
>>conftest.
$ac_ext
25312 cat >>conftest.
$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25323 rm -f conftest.
$ac_objext
25324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25325 (eval $ac_compile) 2>conftest.er1
25327 grep -v '^ *+' conftest.er1
>conftest.err
25329 cat conftest.err
>&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } &&
25332 { ac_try
='test -z "$ac_cxx_werror_flag"
25333 || test ! -s conftest.err'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; } &&
25339 { ac_try
='test -s conftest.$ac_objext'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; }; then
25345 wx_cv_expat_is_not_broken
=yes
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.
$ac_ext >&5
25350 wx_cv_expat_is_not_broken
=no
25353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25355 ac_cpp
='$CPP $CPPFLAGS'
25356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25363 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25364 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25365 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25366 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25367 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25368 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25369 echo $ECHO_N "(cached) $ECHO_C" >&6
25371 ac_check_lib_save_LIBS
=$LIBS
25372 LIBS
="-lexpat $LIBS"
25373 cat >conftest.
$ac_ext <<_ACEOF
25376 cat confdefs.h
>>conftest.
$ac_ext
25377 cat >>conftest.
$ac_ext <<_ACEOF
25378 /* end confdefs.h. */
25380 /* Override any gcc2 internal prototype to avoid an error. */
25384 /* We use char because int might match the return type of a gcc2
25385 builtin and then its argument prototype would still apply. */
25386 char XML_ParserCreate ();
25390 XML_ParserCreate ();
25395 rm -f conftest.
$ac_objext conftest
$ac_exeext
25396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25397 (eval $ac_link) 2>conftest.er1
25399 grep -v '^ *+' conftest.er1
>conftest.err
25401 cat conftest.err
>&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try
='test -z "$ac_c_werror_flag"
25405 || test ! -s conftest.err'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; } &&
25411 { ac_try
='test -s conftest$ac_exeext'
25412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413 (eval $ac_try) 2>&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); }; }; then
25417 ac_cv_lib_expat_XML_ParserCreate
=yes
25419 echo "$as_me: failed program was:" >&5
25420 sed 's/^/| /' conftest.
$ac_ext >&5
25422 ac_cv_lib_expat_XML_ParserCreate
=no
25424 rm -f conftest.err conftest.
$ac_objext \
25425 conftest
$ac_exeext conftest.
$ac_ext
25426 LIBS
=$ac_check_lib_save_LIBS
25428 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25429 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25430 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25431 EXPAT_LINK
=" -lexpat"
25436 if test "x$EXPAT_LINK" = "x" ; then
25437 if test "$wxUSE_EXPAT" = "sys" ; then
25438 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25439 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25440 { (exit 1); exit 1; }; }
25442 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25443 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25444 wxUSE_EXPAT
=builtin
25450 if test "$wxUSE_EXPAT" = "builtin" ; then
25453 subdirs
="$subdirs src/expat"
25460 if test "$wxUSE_LIBMSPACK" != "no"; then
25461 if test "${ac_cv_header_mspack_h+set}" = set; then
25462 echo "$as_me:$LINENO: checking for mspack.h" >&5
25463 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25464 if test "${ac_cv_header_mspack_h+set}" = set; then
25465 echo $ECHO_N "(cached) $ECHO_C" >&6
25467 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25468 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25470 # Is the header compilable?
25471 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25472 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25473 cat >conftest.
$ac_ext <<_ACEOF
25476 cat confdefs.h
>>conftest.
$ac_ext
25477 cat >>conftest.
$ac_ext <<_ACEOF
25478 /* end confdefs.h. */
25479 $ac_includes_default
25480 #include <mspack.h>
25482 rm -f conftest.
$ac_objext
25483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25484 (eval $ac_compile) 2>conftest.er1
25486 grep -v '^ *+' conftest.er1
>conftest.err
25488 cat conftest.err
>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); } &&
25491 { ac_try
='test -z "$ac_c_werror_flag"
25492 || test ! -s conftest.err'
25493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25494 (eval $ac_try) 2>&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); }; } &&
25498 { ac_try
='test -s conftest.$ac_objext'
25499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25500 (eval $ac_try) 2>&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); }; }; then
25504 ac_header_compiler
=yes
25506 echo "$as_me: failed program was:" >&5
25507 sed 's/^/| /' conftest.
$ac_ext >&5
25509 ac_header_compiler
=no
25511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25512 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25513 echo "${ECHO_T}$ac_header_compiler" >&6
25515 # Is the header present?
25516 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25517 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25518 cat >conftest.
$ac_ext <<_ACEOF
25521 cat confdefs.h
>>conftest.
$ac_ext
25522 cat >>conftest.
$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25524 #include <mspack.h>
25526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25529 grep -v '^ *+' conftest.er1
>conftest.err
25531 cat conftest.err
>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } >/dev
/null
; then
25534 if test -s conftest.err
; then
25535 ac_cpp_err
=$ac_c_preproc_warn_flag
25536 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25543 if test -z "$ac_cpp_err"; then
25544 ac_header_preproc
=yes
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.
$ac_ext >&5
25549 ac_header_preproc
=no
25551 rm -f conftest.err conftest.
$ac_ext
25552 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25553 echo "${ECHO_T}$ac_header_preproc" >&6
25555 # So? What about this header?
25556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25558 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25559 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25561 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25562 ac_header_preproc
=yes
25565 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25566 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25567 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25568 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25569 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25570 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25571 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25572 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25573 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25574 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25575 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25576 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25579 ## ----------------------------------------- ##
25580 ## Report this to wx-dev@lists.wxwidgets.org ##
25581 ## ----------------------------------------- ##
25584 sed "s/^/$as_me: WARNING: /" >&2
25587 echo "$as_me:$LINENO: checking for mspack.h" >&5
25588 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25589 if test "${ac_cv_header_mspack_h+set}" = set; then
25590 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 ac_cv_header_mspack_h
=$ac_header_preproc
25594 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25595 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25598 if test $ac_cv_header_mspack_h = yes; then
25603 if test "x$found_mspack_h" = "x1"; then
25604 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25605 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25606 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 ac_check_lib_save_LIBS
=$LIBS
25610 LIBS
="-lmspack $LIBS"
25611 cat >conftest.
$ac_ext <<_ACEOF
25614 cat confdefs.h
>>conftest.
$ac_ext
25615 cat >>conftest.
$ac_ext <<_ACEOF
25616 /* end confdefs.h. */
25618 /* Override any gcc2 internal prototype to avoid an error. */
25622 /* We use char because int might match the return type of a gcc2
25623 builtin and then its argument prototype would still apply. */
25624 char mspack_create_chm_decompressor ();
25628 mspack_create_chm_decompressor ();
25633 rm -f conftest.
$ac_objext conftest
$ac_exeext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25635 (eval $ac_link) 2>conftest.er1
25637 grep -v '^ *+' conftest.er1
>conftest.err
25639 cat conftest.err
>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try
='test -z "$ac_c_werror_flag"
25643 || test ! -s conftest.err'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; } &&
25649 { ac_try
='test -s conftest$ac_exeext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25662 rm -f conftest.err conftest.
$ac_objext \
25663 conftest
$ac_exeext conftest.
$ac_ext
25664 LIBS
=$ac_check_lib_save_LIBS
25666 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25667 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25668 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25669 MSPACK_LINK
=" -lmspack"
25673 if test "x$MSPACK_LINK" = "x" ; then
25678 if test "$wxUSE_LIBMSPACK" != "no"; then
25679 cat >>confdefs.h
<<\_ACEOF
25680 #define wxUSE_LIBMSPACK 1
25694 if test "$USE_WIN32" = 1 ; then
25696 for ac_header
in w32api.h
25698 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25700 echo "$as_me:$LINENO: checking for $ac_header" >&5
25701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25708 # Is the header compilable?
25709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25711 cat >conftest.
$ac_ext <<_ACEOF
25714 cat confdefs.h
>>conftest.
$ac_ext
25715 cat >>conftest.
$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 $ac_includes_default
25718 #include <$ac_header>
25720 rm -f conftest.
$ac_objext
25721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25722 (eval $ac_compile) 2>conftest.er1
25724 grep -v '^ *+' conftest.er1
>conftest.err
25726 cat conftest.err
>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try
='test -z "$ac_c_werror_flag"
25730 || test ! -s conftest.err'
25731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25732 (eval $ac_try) 2>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); }; } &&
25736 { ac_try
='test -s conftest.$ac_objext'
25737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25738 (eval $ac_try) 2>&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); }; }; then
25742 ac_header_compiler
=yes
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.
$ac_ext >&5
25747 ac_header_compiler
=no
25749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25751 echo "${ECHO_T}$ac_header_compiler" >&6
25753 # Is the header present?
25754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25756 cat >conftest.
$ac_ext <<_ACEOF
25759 cat confdefs.h
>>conftest.
$ac_ext
25760 cat >>conftest.
$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25762 #include <$ac_header>
25764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25765 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25767 grep -v '^ *+' conftest.er1
>conftest.err
25769 cat conftest.err
>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } >/dev
/null
; then
25772 if test -s conftest.err
; then
25773 ac_cpp_err
=$ac_c_preproc_warn_flag
25774 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25781 if test -z "$ac_cpp_err"; then
25782 ac_header_preproc
=yes
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.
$ac_ext >&5
25787 ac_header_preproc
=no
25789 rm -f conftest.err conftest.
$ac_ext
25790 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25791 echo "${ECHO_T}$ac_header_preproc" >&6
25793 # So? What about this header?
25794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25796 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25797 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25800 ac_header_preproc
=yes
25803 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25804 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25805 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25806 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25807 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25808 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25809 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25810 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25813 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25814 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25817 ## ----------------------------------------- ##
25818 ## Report this to wx-dev@lists.wxwidgets.org ##
25819 ## ----------------------------------------- ##
25822 sed "s/^/$as_me: WARNING: /" >&2
25825 echo "$as_me:$LINENO: checking for $ac_header" >&5
25826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25828 echo $ECHO_N "(cached) $ECHO_C" >&6
25830 eval "$as_ac_Header=\$ac_header_preproc"
25832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25837 cat >>confdefs.h
<<_ACEOF
25838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25845 if test "${ac_cv_header_windows_h+set}" = set; then
25846 echo "$as_me:$LINENO: checking for windows.h" >&5
25847 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25848 if test "${ac_cv_header_windows_h+set}" = set; then
25849 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25852 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25854 # Is the header compilable?
25855 echo "$as_me:$LINENO: checking windows.h usability" >&5
25856 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25857 cat >conftest.
$ac_ext <<_ACEOF
25860 cat confdefs.h
>>conftest.
$ac_ext
25861 cat >>conftest.
$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863 $ac_includes_default
25864 #include <windows.h>
25866 rm -f conftest.
$ac_objext
25867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25868 (eval $ac_compile) 2>conftest.er1
25870 grep -v '^ *+' conftest.er1
>conftest.err
25872 cat conftest.err
>&5
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); } &&
25875 { ac_try
='test -z "$ac_c_werror_flag"
25876 || test ! -s conftest.err'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; } &&
25882 { ac_try
='test -s conftest.$ac_objext'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; }; then
25888 ac_header_compiler
=yes
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.
$ac_ext >&5
25893 ac_header_compiler
=no
25895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25897 echo "${ECHO_T}$ac_header_compiler" >&6
25899 # Is the header present?
25900 echo "$as_me:$LINENO: checking windows.h presence" >&5
25901 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25902 cat >conftest.
$ac_ext <<_ACEOF
25905 cat confdefs.h
>>conftest.
$ac_ext
25906 cat >>conftest.
$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908 #include <windows.h>
25910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25913 grep -v '^ *+' conftest.er1
>conftest.err
25915 cat conftest.err
>&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } >/dev
/null
; then
25918 if test -s conftest.err
; then
25919 ac_cpp_err
=$ac_c_preproc_warn_flag
25920 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25927 if test -z "$ac_cpp_err"; then
25928 ac_header_preproc
=yes
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.
$ac_ext >&5
25933 ac_header_preproc
=no
25935 rm -f conftest.err conftest.
$ac_ext
25936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25937 echo "${ECHO_T}$ac_header_preproc" >&6
25939 # So? What about this header?
25940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25942 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25943 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25944 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25945 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25946 ac_header_preproc
=yes
25949 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25950 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25951 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25952 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25953 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25954 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25955 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25956 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25957 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25958 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25959 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25960 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25963 ## ----------------------------------------- ##
25964 ## Report this to wx-dev@lists.wxwidgets.org ##
25965 ## ----------------------------------------- ##
25968 sed "s/^/$as_me: WARNING: /" >&2
25971 echo "$as_me:$LINENO: checking for windows.h" >&5
25972 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25973 if test "${ac_cv_header_windows_h+set}" = set; then
25974 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 ac_cv_header_windows_h
=$ac_header_preproc
25978 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25979 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25982 if test $ac_cv_header_windows_h = yes; then
25986 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25987 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25988 { (exit 1); exit 1; }; }
25994 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25996 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25997 LIBS
="$LIBS -loleacc"
26002 LIBS
="$LIBS -lkernel32 -luser32"
26003 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
26006 if test "$wxUSE_ODBC" = "sys" ; then
26009 if test "$wxUSE_ODBC" = "yes" ; then
26010 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26011 cat >>confdefs.h
<<\_ACEOF
26012 #define wxUSE_ODBC 1
26017 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26018 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26020 WIN32INSTALL
=win32install
26023 if test "$wxUSE_GUI" = "yes"; then
26033 if test "$wxUSE_COCOA" = 1 ; then
26034 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26035 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26036 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26037 wxUSE_PRINTING_ARCHITECTURE
=no
26039 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26040 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26041 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26042 wxUSE_DRAG_AND_DROP
=no
26044 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26045 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26046 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26051 if test "$wxUSE_MSW" = 1 ; then
26057 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26061 if test "$wxUSE_GTK" = 1; then
26062 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26063 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26065 gtk_version_cached
=1
26066 if test "${wx_cv_lib_gtk+set}" = set; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 gtk_version_cached
=0
26071 echo "$as_me:$LINENO: result: " >&5
26072 echo "${ECHO_T}" >&6
26075 if test "$wxUSE_THREADS" = "yes"; then
26076 GTK_MODULES
=gthread
26080 if test "x$wxGTK_VERSION" != "x1"
26084 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26089 # Check whether --enable-gtktest or --disable-gtktest was given.
26090 if test "${enable_gtktest+set}" = set; then
26091 enableval
="$enable_gtktest"
26097 pkg_config_args
=gtk
+-2.0
26098 for module
in .
$GTK_MODULES
26102 pkg_config_args
="$pkg_config_args gthread-2.0"
26109 # Extract the first word of "pkg-config", so it can be a program name with args.
26110 set dummy pkg
-config; ac_word
=$2
26111 echo "$as_me:$LINENO: checking for $ac_word" >&5
26112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26113 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26114 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 case $PKG_CONFIG in
26118 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26122 for as_dir
in $PATH
26125 test -z "$as_dir" && as_dir
=.
26126 for ac_exec_ext
in '' $ac_executable_extensions; do
26127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26128 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26135 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26139 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26141 if test -n "$PKG_CONFIG"; then
26142 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26143 echo "${ECHO_T}$PKG_CONFIG" >&6
26145 echo "$as_me:$LINENO: result: no" >&5
26146 echo "${ECHO_T}no" >&6
26150 if test x
$PKG_CONFIG != xno
; then
26151 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26154 echo "*** pkg-config too old; version 0.7 or better required."
26162 min_gtk_version
=2.0.0
26163 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26164 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26166 if test x
$PKG_CONFIG != xno
; then
26167 ## don't try to run the test against uninstalled libtool libs
26168 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26169 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26173 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26180 if test x
"$no_gtk" = x
; then
26181 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26182 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26183 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26184 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26185 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26187 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26189 if test "x$enable_gtktest" = "xyes" ; then
26190 ac_save_CFLAGS
="$CFLAGS"
26191 ac_save_LIBS
="$LIBS"
26192 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26193 LIBS
="$GTK_LIBS $LIBS"
26195 if test "$cross_compiling" = yes; then
26196 echo $ac_n "cross compiling; assumed OK... $ac_c"
26198 cat >conftest.
$ac_ext <<_ACEOF
26201 cat confdefs.h
>>conftest.
$ac_ext
26202 cat >>conftest.
$ac_ext <<_ACEOF
26203 /* end confdefs.h. */
26205 #include <gtk/gtk.h>
26207 #include <stdlib.h>
26212 int major, minor, micro;
26215 system ("touch conf.gtktest");
26217 /* HP/UX 9 (%@#!) writes to sscanf strings */
26218 tmp_version = g_strdup("$min_gtk_version");
26219 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26220 printf("%s, bad version string\n", "$min_gtk_version");
26224 if ((gtk_major_version != $gtk_config_major_version) ||
26225 (gtk_minor_version != $gtk_config_minor_version) ||
26226 (gtk_micro_version != $gtk_config_micro_version))
26228 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26229 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26230 gtk_major_version, gtk_minor_version, gtk_micro_version);
26231 printf ("*** was found! If pkg-config was correct, then it is best\n");
26232 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26233 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26234 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26235 printf("*** required on your system.\n");
26236 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26237 printf("*** to point to the correct configuration files\n");
26239 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26240 (gtk_minor_version != GTK_MINOR_VERSION) ||
26241 (gtk_micro_version != GTK_MICRO_VERSION))
26243 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26244 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26245 printf("*** library (version %d.%d.%d)\n",
26246 gtk_major_version, gtk_minor_version, gtk_micro_version);
26250 if ((gtk_major_version > major) ||
26251 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26252 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26258 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26259 gtk_major_version, gtk_minor_version, gtk_micro_version);
26260 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26261 major, minor, micro);
26262 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26264 printf("*** If you have already installed a sufficiently new version, this error\n");
26265 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26266 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26267 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26268 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26269 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26270 printf("*** so that the correct libraries are found at run-time))\n");
26277 rm -f conftest
$ac_exeext
26278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26279 (eval $ac_link) 2>&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26284 (eval $ac_try) 2>&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); }; }; then
26290 echo "$as_me: program exited with status $ac_status" >&5
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.
$ac_ext >&5
26294 ( exit $ac_status )
26297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26299 CFLAGS
="$ac_save_CFLAGS"
26300 LIBS
="$ac_save_LIBS"
26303 if test "x$no_gtk" = x
; then
26304 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26305 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26308 echo "$as_me:$LINENO: result: no" >&5
26309 echo "${ECHO_T}no" >&6
26310 if test "$PKG_CONFIG" = "no" ; then
26311 echo "*** A new enough version of pkg-config was not found."
26312 echo "*** See http://pkgconfig.sourceforge.net"
26314 if test -f conf.gtktest
; then
26317 echo "*** Could not run GTK+ test program, checking why..."
26318 ac_save_CFLAGS
="$CFLAGS"
26319 ac_save_LIBS
="$LIBS"
26320 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26321 LIBS
="$LIBS $GTK_LIBS"
26322 cat >conftest.
$ac_ext <<_ACEOF
26325 cat confdefs.h
>>conftest.
$ac_ext
26326 cat >>conftest.
$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26329 #include <gtk/gtk.h>
26335 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26340 rm -f conftest.
$ac_objext conftest
$ac_exeext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26342 (eval $ac_link) 2>conftest.er1
26344 grep -v '^ *+' conftest.er1
>conftest.err
26346 cat conftest.err
>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try
='test -z "$ac_c_werror_flag"
26350 || test ! -s conftest.err'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; } &&
26356 { ac_try
='test -s conftest$ac_exeext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 echo "*** The test program compiled, but did not run. This usually means"
26363 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26364 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26365 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26366 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26367 echo "*** is required on your system"
26369 echo "*** If you have an old version installed, it is best to remove it, although"
26370 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.
$ac_ext >&5
26375 echo "*** The test program failed to compile or link. See the file config.log for the"
26376 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26378 rm -f conftest.err conftest.
$ac_objext \
26379 conftest
$ac_exeext conftest.
$ac_ext
26380 CFLAGS
="$ac_save_CFLAGS"
26381 LIBS
="$ac_save_LIBS"
26395 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26396 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26397 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26399 if test "$wxUSE_SHARED" != "yes"; then
26400 GTK_LIBS
="$GTK_LIBS -lX11"
26405 if test -z "$wx_cv_lib_gtk"; then
26406 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26408 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26409 if test "${with_gtk_prefix+set}" = set; then
26410 withval
="$with_gtk_prefix"
26411 gtk_config_prefix
="$withval"
26413 gtk_config_prefix
=""
26416 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26417 if test "${with_gtk_exec_prefix+set}" = set; then
26418 withval
="$with_gtk_exec_prefix"
26419 gtk_config_exec_prefix
="$withval"
26421 gtk_config_exec_prefix
=""
26423 # Check whether --enable-gtktest or --disable-gtktest was given.
26424 if test "${enable_gtktest+set}" = set; then
26425 enableval
="$enable_gtktest"
26431 for module
in .
$GTK_MODULES
26435 gtk_config_args
="$gtk_config_args gthread"
26440 if test x
$gtk_config_exec_prefix != x
; then
26441 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26442 if test x
${GTK_CONFIG+set} != xset
; then
26443 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26446 if test x
$gtk_config_prefix != x
; then
26447 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26448 if test x
${GTK_CONFIG+set} != xset
; then
26449 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26453 # Extract the first word of "gtk-config", so it can be a program name with args.
26454 set dummy gtk
-config; ac_word
=$2
26455 echo "$as_me:$LINENO: checking for $ac_word" >&5
26456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26457 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 case $GTK_CONFIG in
26462 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26466 for as_dir
in $PATH
26469 test -z "$as_dir" && as_dir
=.
26470 for ac_exec_ext
in '' $ac_executable_extensions; do
26471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26472 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26479 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26483 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26485 if test -n "$GTK_CONFIG"; then
26486 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26487 echo "${ECHO_T}$GTK_CONFIG" >&6
26489 echo "$as_me:$LINENO: result: no" >&5
26490 echo "${ECHO_T}no" >&6
26493 min_gtk_version
=1.2.7
26494 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26495 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26497 if test "$GTK_CONFIG" = "no" ; then
26500 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26501 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26502 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26504 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26506 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26508 if test "x$enable_gtktest" = "xyes" ; then
26509 ac_save_CFLAGS
="$CFLAGS"
26510 ac_save_LIBS
="$LIBS"
26511 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26512 LIBS
="$GTK_LIBS $LIBS"
26514 if test "$cross_compiling" = yes; then
26515 echo $ac_n "cross compiling; assumed OK... $ac_c"
26517 cat >conftest.
$ac_ext <<_ACEOF
26520 cat confdefs.h
>>conftest.
$ac_ext
26521 cat >>conftest.
$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26524 #include <gtk/gtk.h>
26526 #include <stdlib.h>
26531 int major, minor, micro;
26534 system ("touch conf.gtktest");
26536 /* HP/UX 9 (%@#!) writes to sscanf strings */
26537 tmp_version = g_strdup("$min_gtk_version");
26538 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26539 printf("%s, bad version string\n", "$min_gtk_version");
26543 if ((gtk_major_version != $gtk_config_major_version) ||
26544 (gtk_minor_version != $gtk_config_minor_version) ||
26545 (gtk_micro_version != $gtk_config_micro_version))
26547 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26548 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26549 gtk_major_version, gtk_minor_version, gtk_micro_version);
26550 printf ("*** was found! If gtk-config was correct, then it is best\n");
26551 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26552 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26553 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26554 printf("*** required on your system.\n");
26555 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26556 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26557 printf("*** before re-running configure\n");
26559 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26560 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26561 (gtk_minor_version != GTK_MINOR_VERSION) ||
26562 (gtk_micro_version != GTK_MICRO_VERSION))
26564 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26565 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26566 printf("*** library (version %d.%d.%d)\n",
26567 gtk_major_version, gtk_minor_version, gtk_micro_version);
26569 #endif /* defined (GTK_MAJOR_VERSION) ... */
26572 if ((gtk_major_version > major) ||
26573 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26574 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26580 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26581 gtk_major_version, gtk_minor_version, gtk_micro_version);
26582 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26583 major, minor, micro);
26584 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26586 printf("*** If you have already installed a sufficiently new version, this error\n");
26587 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26588 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26589 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26590 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26591 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26592 printf("*** so that the correct libraries are found at run-time))\n");
26599 rm -f conftest
$ac_exeext
26600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26601 (eval $ac_link) 2>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26606 (eval $ac_try) 2>&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); }; }; then
26612 echo "$as_me: program exited with status $ac_status" >&5
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.
$ac_ext >&5
26616 ( exit $ac_status )
26619 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26621 CFLAGS
="$ac_save_CFLAGS"
26622 LIBS
="$ac_save_LIBS"
26625 if test "x$no_gtk" = x
; then
26626 echo "$as_me:$LINENO: result: yes" >&5
26627 echo "${ECHO_T}yes" >&6
26628 wx_cv_lib_gtk
=1.2.7
26630 echo "$as_me:$LINENO: result: no" >&5
26631 echo "${ECHO_T}no" >&6
26632 if test "$GTK_CONFIG" = "no" ; then
26633 echo "*** The gtk-config script installed by GTK could not be found"
26634 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26635 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26636 echo "*** full path to gtk-config."
26638 if test -f conf.gtktest
; then
26641 echo "*** Could not run GTK test program, checking why..."
26642 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26643 LIBS
="$LIBS $GTK_LIBS"
26644 cat >conftest.
$ac_ext <<_ACEOF
26647 cat confdefs.h
>>conftest.
$ac_ext
26648 cat >>conftest.
$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26651 #include <gtk/gtk.h>
26657 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26662 rm -f conftest.
$ac_objext conftest
$ac_exeext
26663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664 (eval $ac_link) 2>conftest.er1
26666 grep -v '^ *+' conftest.er1
>conftest.err
26668 cat conftest.err
>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } &&
26671 { ac_try
='test -z "$ac_c_werror_flag"
26672 || test ! -s conftest.err'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; } &&
26678 { ac_try
='test -s conftest$ac_exeext'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; }; then
26684 echo "*** The test program compiled, but did not run. This usually means"
26685 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26686 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26687 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26688 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26689 echo "*** is required on your system"
26691 echo "*** If you have an old version installed, it is best to remove it, although"
26692 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26694 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26695 echo "*** came with the system with the command"
26697 echo "*** rpm --erase --nodeps gtk gtk-devel"
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.
$ac_ext >&5
26702 echo "*** The test program failed to compile or link. See the file config.log for the"
26703 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26704 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26705 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26707 rm -f conftest.err conftest.
$ac_objext \
26708 conftest
$ac_exeext conftest.
$ac_ext
26709 CFLAGS
="$ac_save_CFLAGS"
26710 LIBS
="$ac_save_LIBS"
26722 if test -z "$wx_cv_lib_gtk"; then
26724 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26725 if test "${with_gtk_prefix+set}" = set; then
26726 withval
="$with_gtk_prefix"
26727 gtk_config_prefix
="$withval"
26729 gtk_config_prefix
=""
26732 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26733 if test "${with_gtk_exec_prefix+set}" = set; then
26734 withval
="$with_gtk_exec_prefix"
26735 gtk_config_exec_prefix
="$withval"
26737 gtk_config_exec_prefix
=""
26739 # Check whether --enable-gtktest or --disable-gtktest was given.
26740 if test "${enable_gtktest+set}" = set; then
26741 enableval
="$enable_gtktest"
26747 for module
in .
$GTK_MODULES
26751 gtk_config_args
="$gtk_config_args gthread"
26756 if test x
$gtk_config_exec_prefix != x
; then
26757 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26758 if test x
${GTK_CONFIG+set} != xset
; then
26759 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26762 if test x
$gtk_config_prefix != x
; then
26763 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26764 if test x
${GTK_CONFIG+set} != xset
; then
26765 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26769 # Extract the first word of "gtk-config", so it can be a program name with args.
26770 set dummy gtk
-config; ac_word
=$2
26771 echo "$as_me:$LINENO: checking for $ac_word" >&5
26772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26773 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26774 echo $ECHO_N "(cached) $ECHO_C" >&6
26776 case $GTK_CONFIG in
26778 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26782 for as_dir
in $PATH
26785 test -z "$as_dir" && as_dir
=.
26786 for ac_exec_ext
in '' $ac_executable_extensions; do
26787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26788 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26795 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26799 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26801 if test -n "$GTK_CONFIG"; then
26802 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26803 echo "${ECHO_T}$GTK_CONFIG" >&6
26805 echo "$as_me:$LINENO: result: no" >&5
26806 echo "${ECHO_T}no" >&6
26809 min_gtk_version
=1.2.3
26810 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26811 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26813 if test "$GTK_CONFIG" = "no" ; then
26816 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26817 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26818 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26820 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26821 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26822 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26823 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26824 if test "x$enable_gtktest" = "xyes" ; then
26825 ac_save_CFLAGS
="$CFLAGS"
26826 ac_save_LIBS
="$LIBS"
26827 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26828 LIBS
="$GTK_LIBS $LIBS"
26830 if test "$cross_compiling" = yes; then
26831 echo $ac_n "cross compiling; assumed OK... $ac_c"
26833 cat >conftest.
$ac_ext <<_ACEOF
26836 cat confdefs.h
>>conftest.
$ac_ext
26837 cat >>conftest.
$ac_ext <<_ACEOF
26838 /* end confdefs.h. */
26840 #include <gtk/gtk.h>
26842 #include <stdlib.h>
26847 int major, minor, micro;
26850 system ("touch conf.gtktest");
26852 /* HP/UX 9 (%@#!) writes to sscanf strings */
26853 tmp_version = g_strdup("$min_gtk_version");
26854 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26855 printf("%s, bad version string\n", "$min_gtk_version");
26859 if ((gtk_major_version != $gtk_config_major_version) ||
26860 (gtk_minor_version != $gtk_config_minor_version) ||
26861 (gtk_micro_version != $gtk_config_micro_version))
26863 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26864 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26865 gtk_major_version, gtk_minor_version, gtk_micro_version);
26866 printf ("*** was found! If gtk-config was correct, then it is best\n");
26867 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26868 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26869 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26870 printf("*** required on your system.\n");
26871 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26872 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26873 printf("*** before re-running configure\n");
26875 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26876 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26877 (gtk_minor_version != GTK_MINOR_VERSION) ||
26878 (gtk_micro_version != GTK_MICRO_VERSION))
26880 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26881 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26882 printf("*** library (version %d.%d.%d)\n",
26883 gtk_major_version, gtk_minor_version, gtk_micro_version);
26885 #endif /* defined (GTK_MAJOR_VERSION) ... */
26888 if ((gtk_major_version > major) ||
26889 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26890 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26896 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26897 gtk_major_version, gtk_minor_version, gtk_micro_version);
26898 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26899 major, minor, micro);
26900 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26902 printf("*** If you have already installed a sufficiently new version, this error\n");
26903 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26904 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26905 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26906 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26907 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26908 printf("*** so that the correct libraries are found at run-time))\n");
26915 rm -f conftest
$ac_exeext
26916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26917 (eval $ac_link) 2>&5
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; }; then
26928 echo "$as_me: program exited with status $ac_status" >&5
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.
$ac_ext >&5
26932 ( exit $ac_status )
26935 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26937 CFLAGS
="$ac_save_CFLAGS"
26938 LIBS
="$ac_save_LIBS"
26941 if test "x$no_gtk" = x
; then
26942 echo "$as_me:$LINENO: result: yes" >&5
26943 echo "${ECHO_T}yes" >&6
26944 wx_cv_lib_gtk
=1.2.3
26946 echo "$as_me:$LINENO: result: no" >&5
26947 echo "${ECHO_T}no" >&6
26948 if test "$GTK_CONFIG" = "no" ; then
26949 echo "*** The gtk-config script installed by GTK could not be found"
26950 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26951 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26952 echo "*** full path to gtk-config."
26954 if test -f conf.gtktest
; then
26957 echo "*** Could not run GTK test program, checking why..."
26958 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26959 LIBS
="$LIBS $GTK_LIBS"
26960 cat >conftest.
$ac_ext <<_ACEOF
26963 cat confdefs.h
>>conftest.
$ac_ext
26964 cat >>conftest.
$ac_ext <<_ACEOF
26965 /* end confdefs.h. */
26967 #include <gtk/gtk.h>
26973 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26978 rm -f conftest.
$ac_objext conftest
$ac_exeext
26979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26980 (eval $ac_link) 2>conftest.er1
26982 grep -v '^ *+' conftest.er1
>conftest.err
26984 cat conftest.err
>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); } &&
26987 { ac_try
='test -z "$ac_c_werror_flag"
26988 || test ! -s conftest.err'
26989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26990 (eval $ac_try) 2>&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; } &&
26994 { ac_try
='test -s conftest$ac_exeext'
26995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996 (eval $ac_try) 2>&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; }; then
27000 echo "*** The test program compiled, but did not run. This usually means"
27001 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27002 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27003 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27004 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27005 echo "*** is required on your system"
27007 echo "*** If you have an old version installed, it is best to remove it, although"
27008 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27010 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27011 echo "*** came with the system with the command"
27013 echo "*** rpm --erase --nodeps gtk gtk-devel"
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.
$ac_ext >&5
27018 echo "*** The test program failed to compile or link. See the file config.log for the"
27019 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27020 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27021 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27023 rm -f conftest.err conftest.
$ac_objext \
27024 conftest
$ac_exeext conftest.
$ac_ext
27025 CFLAGS
="$ac_save_CFLAGS"
27026 LIBS
="$ac_save_LIBS"
27041 if test -z "$wx_cv_lib_gtk"; then
27044 wx_cv_cflags_gtk
=$GTK_CFLAGS
27045 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27052 if test "$gtk_version_cached" = 1; then
27053 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27054 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27057 case "$wx_cv_lib_gtk" in
27066 *) { { echo "$as_me:$LINENO: error:
27067 The development files for GTK+ were not found. For GTK+ 2, please
27068 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27069 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27070 and that the version is 1.2.3 or above. Also check that the
27071 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27072 --libs' are in the LD_LIBRARY_PATH or equivalent.
27074 echo "$as_me: error:
27075 The development files for GTK+ were not found. For GTK+ 2, please
27076 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27077 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27078 and that the version is 1.2.3 or above. Also check that the
27079 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27080 --libs' are in the LD_LIBRARY_PATH or equivalent.
27082 { (exit 1); exit 1; }; }
27086 if test "$WXGTK20" = 1; then
27087 save_CFLAGS
="$CFLAGS"
27089 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
27090 LIBS
="$LIBS $wx_cv_libs_gtk"
27092 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27093 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27094 cat >conftest.
$ac_ext <<_ACEOF
27097 cat confdefs.h
>>conftest.
$ac_ext
27098 cat >>conftest.
$ac_ext <<_ACEOF
27099 /* end confdefs.h. */
27101 #include <gtk/gtk.h>
27107 void *f = gtk_icon_size_lookup;
27113 rm -f conftest.
$ac_objext
27114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27115 (eval $ac_compile) 2>conftest.er1
27117 grep -v '^ *+' conftest.er1
>conftest.err
27119 cat conftest.err
>&5
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); } &&
27122 { ac_try
='test -z "$ac_c_werror_flag"
27123 || test ! -s conftest.err'
27124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27125 (eval $ac_try) 2>&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); }; } &&
27129 { ac_try
='test -s conftest.$ac_objext'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; }; then
27136 echo "$as_me:$LINENO: result: no" >&5
27137 echo "${ECHO_T}no" >&6
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.
$ac_ext >&5
27144 cat >>confdefs.h
<<\_ACEOF
27145 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27148 echo "$as_me:$LINENO: result: yes" >&5
27149 echo "${ECHO_T}yes" >&6
27152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27154 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27155 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27156 cat >conftest.
$ac_ext <<_ACEOF
27159 cat confdefs.h
>>conftest.
$ac_ext
27160 cat >>conftest.
$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27163 #include <gtk/gtk.h>
27169 #if !GTK_CHECK_VERSION(2,4,0)
27177 rm -f conftest.
$ac_objext
27178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27179 (eval $ac_compile) 2>conftest.er1
27181 grep -v '^ *+' conftest.er1
>conftest.err
27183 cat conftest.err
>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } &&
27186 { ac_try
='test -z "$ac_c_werror_flag"
27187 || test ! -s conftest.err'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; } &&
27193 { ac_try
='test -s conftest.$ac_objext'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; }; then
27200 cat >>confdefs.h
<<\_ACEOF
27201 #define __WXGTK24__ 1
27204 echo "$as_me:$LINENO: result: yes" >&5
27205 echo "${ECHO_T}yes" >&6
27208 echo "$as_me: failed program was:" >&5
27209 sed 's/^/| /' conftest.
$ac_ext >&5
27212 echo "$as_me:$LINENO: result: no" >&5
27213 echo "${ECHO_T}no" >&6
27216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27218 CFLAGS
="$save_CFLAGS"
27221 if test "$wxUSE_UNICODE" = "yes"; then
27222 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27223 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27228 if test "$USE_DARWIN" != 1; then
27230 for ac_func
in poll
27232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27233 echo "$as_me:$LINENO: checking for $ac_func" >&5
27234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27235 if eval "test \"\${$as_ac_var+set}\" = set"; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27238 cat >conftest.
$ac_ext <<_ACEOF
27241 cat confdefs.h
>>conftest.
$ac_ext
27242 cat >>conftest.
$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27246 #define $ac_func innocuous_$ac_func
27248 /* System header to define __stub macros and hopefully few prototypes,
27249 which can conflict with char $ac_func (); below.
27250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27251 <limits.h> exists even on freestanding compilers. */
27254 # include <limits.h>
27256 # include <assert.h>
27261 /* Override any gcc2 internal prototype to avoid an error. */
27266 /* We use char because int might match the return type of a gcc2
27267 builtin and then its argument prototype would still apply. */
27269 /* The GNU C library defines this for functions which it implements
27270 to always fail with ENOSYS. Some functions are actually named
27271 something starting with __ and the normal name is an alias. */
27272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27275 char (*f) () = $ac_func;
27284 return f != $ac_func;
27289 rm -f conftest.
$ac_objext conftest
$ac_exeext
27290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27291 (eval $ac_link) 2>conftest.er1
27293 grep -v '^ *+' conftest.er1
>conftest.err
27295 cat conftest.err
>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } &&
27298 { ac_try
='test -z "$ac_c_werror_flag"
27299 || test ! -s conftest.err'
27300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27301 (eval $ac_try) 2>&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); }; } &&
27305 { ac_try
='test -s conftest$ac_exeext'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; }; then
27311 eval "$as_ac_var=yes"
27313 echo "$as_me: failed program was:" >&5
27314 sed 's/^/| /' conftest.
$ac_ext >&5
27316 eval "$as_ac_var=no"
27318 rm -f conftest.err conftest.
$ac_objext \
27319 conftest
$ac_exeext conftest.
$ac_ext
27321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27323 if test `eval echo '${'$as_ac_var'}'` = yes; then
27324 cat >>confdefs.h
<<_ACEOF
27325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27333 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27334 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27336 AFMINSTALL
=afminstall
27340 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27341 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27342 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27343 echo $ECHO_N "(cached) $ECHO_C" >&6
27345 ac_check_lib_save_LIBS
=$LIBS
27347 cat >conftest.
$ac_ext <<_ACEOF
27350 cat confdefs.h
>>conftest.
$ac_ext
27351 cat >>conftest.
$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27354 /* Override any gcc2 internal prototype to avoid an error. */
27358 /* We use char because int might match the return type of a gcc2
27359 builtin and then its argument prototype would still apply. */
27360 char gdk_im_open ();
27369 rm -f conftest.
$ac_objext conftest
$ac_exeext
27370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27371 (eval $ac_link) 2>conftest.er1
27373 grep -v '^ *+' conftest.er1
>conftest.err
27375 cat conftest.err
>&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } &&
27378 { ac_try
='test -z "$ac_c_werror_flag"
27379 || test ! -s conftest.err'
27380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27381 (eval $ac_try) 2>&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); }; } &&
27385 { ac_try
='test -s conftest$ac_exeext'
27386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27387 (eval $ac_try) 2>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); }; }; then
27391 ac_cv_lib_gdk_gdk_im_open
=yes
27393 echo "$as_me: failed program was:" >&5
27394 sed 's/^/| /' conftest.
$ac_ext >&5
27396 ac_cv_lib_gdk_gdk_im_open
=no
27398 rm -f conftest.err conftest.
$ac_objext \
27399 conftest
$ac_exeext conftest.
$ac_ext
27400 LIBS
=$ac_check_lib_save_LIBS
27402 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27403 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27404 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27405 cat >>confdefs.h
<<\_ACEOF
27413 if test "$wxUSE_GPE" = "yes"; then
27414 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27415 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27418 for ac_dir
in $SEARCH_LIB;
27420 for ac_extension
in a so sl dylib dll.a
; do
27421 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27422 ac_find_libraries
=$ac_dir
27428 if test "$ac_find_libraries" != "" ; then
27430 if test "$ac_find_libraries" = "default location"; then
27433 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27435 if test $result = 0; then
27438 ac_path_to_link
=" -L$ac_find_libraries"
27442 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27444 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27445 echo "${ECHO_T}found in $ac_find_libraries" >&6
27447 echo "$as_me:$LINENO: result: not found" >&5
27448 echo "${ECHO_T}not found" >&6
27454 if test "$wxUSE_MGL" = 1; then
27455 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27456 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27457 if test "x$MGL_ROOT" = x
; then
27458 echo "$as_me:$LINENO: result: not found" >&5
27459 echo "${ECHO_T}not found" >&6
27460 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27461 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27462 { (exit 1); exit 1; }; }
27464 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27465 echo "${ECHO_T}$MGL_ROOT" >&6
27468 echo "$as_me:$LINENO: checking for libmgl location" >&5
27469 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27472 if test "x$wxUSE_SHARED" = xyes
; then
27473 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27475 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27479 mgl_os_candidates
="dos32/dj2"
27482 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27483 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27484 { (exit 1); exit 1; }; }
27490 for mgl_os_i
in $mgl_os_candidates ; do
27491 if test "x$mgl_os" = x
; then
27492 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27493 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27494 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27499 if test "x$mgl_lib_type" = x
; then
27500 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27501 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27502 mgl_lib_type
=release
27509 if test "x$mgl_os" = x
; then
27510 echo "$as_me:$LINENO: result: not found" >&5
27511 echo "${ECHO_T}not found" >&6
27512 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27513 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27514 { (exit 1); exit 1; }; }
27516 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27517 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27519 wxUSE_UNIVERSAL
="yes"
27521 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27522 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27524 AFMINSTALL
=afminstall
27529 if test "$wxUSE_MICROWIN" = 1; then
27530 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27531 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27532 if test "x$MICROWINDOWS" = x
; then
27533 echo "$as_me:$LINENO: result: not found" >&5
27534 echo "${ECHO_T}not found" >&6
27535 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27536 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27537 { (exit 1); exit 1; }; }
27539 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27540 echo "${ECHO_T}$MICROWINDOWS" >&6
27543 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27544 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27545 echo "${ECHO_T}MicroWindows' libraries found." >&6
27547 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27548 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27549 { (exit 1); exit 1; }; }
27552 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27553 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27555 wxUSE_UNIVERSAL
="yes"
27557 AFMINSTALL
=afminstall
27559 GUIDIST
=MICROWIN_DIST
27561 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27564 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27565 echo "$as_me:$LINENO: checking for X" >&5
27566 echo $ECHO_N "checking for X... $ECHO_C" >&6
27569 # Check whether --with-x or --without-x was given.
27570 if test "${with_x+set}" = set; then
27574 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27575 if test "x$with_x" = xno
; then
27576 # The user explicitly disabled X.
27579 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27580 # Both variables are already set.
27583 if test "${ac_cv_have_x+set}" = set; then
27584 echo $ECHO_N "(cached) $ECHO_C" >&6
27586 # One or both of the vars are not set, and there is no cached value.
27587 ac_x_includes
=no ac_x_libraries
=no
27588 rm -fr conftest.dir
27589 if mkdir conftest.dir
; then
27591 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27592 cat >Imakefile
<<'_ACEOF'
27594 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27596 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27597 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27598 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27599 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27600 for ac_extension
in a so sl
; do
27601 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27602 test -f $ac_im_libdir/libX11.
$ac_extension; then
27603 ac_im_usrlibdir
=$ac_im_libdir; break
27606 # Screen out bogus values from the imake configuration. They are
27607 # bogus both because they are the default anyway, and because
27608 # using them would break gcc on systems where it needs fixed includes.
27609 case $ac_im_incroot in
27611 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27613 case $ac_im_usrlibdir in
27614 /usr
/lib
| /lib
) ;;
27615 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27619 rm -fr conftest.dir
27622 # Standard set of common directories for X headers.
27623 # Check X11 before X11Rn because it is often a symlink to the current release.
27635 /usr/local/X11/include
27636 /usr/local/X11R6/include
27637 /usr/local/X11R5/include
27638 /usr/local/X11R4/include
27640 /usr/local/include/X11
27641 /usr/local/include/X11R6
27642 /usr/local/include/X11R5
27643 /usr/local/include/X11R4
27647 /usr/XFree86/include/X11
27651 /usr/unsupported/include
27652 /usr/athena/include
27653 /usr/local/x11r5/include
27654 /usr/lpp/Xamples/include
27656 /usr/openwin/include
27657 /usr/openwin/share/include'
27659 if test "$ac_x_includes" = no
; then
27660 # Guess where to find include files, by looking for Intrinsic.h.
27661 # First, try using that file with no special directory specified.
27662 cat >conftest.
$ac_ext <<_ACEOF
27665 cat confdefs.h
>>conftest.
$ac_ext
27666 cat >>conftest.
$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27668 #include <X11/Intrinsic.h>
27670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27673 grep -v '^ *+' conftest.er1
>conftest.err
27675 cat conftest.err
>&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); } >/dev
/null
; then
27678 if test -s conftest.err
; then
27679 ac_cpp_err
=$ac_c_preproc_warn_flag
27680 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27687 if test -z "$ac_cpp_err"; then
27688 # We can compile using X headers with no special include directory.
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.
$ac_ext >&5
27694 for ac_dir
in $ac_x_header_dirs; do
27695 if test -r "$ac_dir/X11/Intrinsic.h"; then
27696 ac_x_includes
=$ac_dir
27701 rm -f conftest.err conftest.
$ac_ext
27702 fi # $ac_x_includes = no
27704 if test "$ac_x_libraries" = no
; then
27705 # Check for the libraries.
27706 # See if we find them without any special options.
27707 # Don't add to $LIBS permanently.
27710 cat >conftest.
$ac_ext <<_ACEOF
27713 cat confdefs.h
>>conftest.
$ac_ext
27714 cat >>conftest.
$ac_ext <<_ACEOF
27715 /* end confdefs.h. */
27716 #include <X11/Intrinsic.h>
27725 rm -f conftest.
$ac_objext conftest
$ac_exeext
27726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27727 (eval $ac_link) 2>conftest.er1
27729 grep -v '^ *+' conftest.er1
>conftest.err
27731 cat conftest.err
>&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); } &&
27734 { ac_try
='test -z "$ac_c_werror_flag"
27735 || test ! -s conftest.err'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; } &&
27741 { ac_try
='test -s conftest$ac_exeext'
27742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27743 (eval $ac_try) 2>&5
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); }; }; then
27748 # We can link X programs with no special library path.
27751 echo "$as_me: failed program was:" >&5
27752 sed 's/^/| /' conftest.
$ac_ext >&5
27755 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27757 # Don't even attempt the hair of trying to link an X program!
27758 for ac_extension
in a so sl
; do
27759 if test -r $ac_dir/libXt.
$ac_extension; then
27760 ac_x_libraries
=$ac_dir
27766 rm -f conftest.err conftest.
$ac_objext \
27767 conftest
$ac_exeext conftest.
$ac_ext
27768 fi # $ac_x_libraries = no
27770 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27771 # Didn't find X anywhere. Cache the known absence of X.
27772 ac_cv_have_x
="have_x=no"
27774 # Record where we found X for the cache.
27775 ac_cv_have_x
="have_x=yes \
27776 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27781 eval "$ac_cv_have_x"
27784 if test "$have_x" != yes; then
27785 echo "$as_me:$LINENO: result: $have_x" >&5
27786 echo "${ECHO_T}$have_x" >&6
27789 # If each of the values was on the command line, it overrides each guess.
27790 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27791 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27792 # Update the cache value to reflect the command line values.
27793 ac_cv_have_x
="have_x=yes \
27794 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27795 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27796 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27799 if test "$no_x" = yes; then
27800 # Not all programs may use this symbol, but it does not hurt to define it.
27802 cat >>confdefs.h
<<\_ACEOF
27803 #define X_DISPLAY_MISSING 1
27806 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27808 if test -n "$x_includes"; then
27809 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27812 # It would also be nice to do this for all -L options, not just this one.
27813 if test -n "$x_libraries"; then
27814 X_LIBS
="$X_LIBS -L$x_libraries"
27815 # For Solaris; some versions of Sun CC require a space after -R and
27816 # others require no space. Words are not sufficient . . . .
27817 case `(uname -sr) 2>/dev/null` in
27819 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27820 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27821 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27822 cat >conftest.
$ac_ext <<_ACEOF
27825 cat confdefs.h
>>conftest.
$ac_ext
27826 cat >>conftest.
$ac_ext <<_ACEOF
27827 /* end confdefs.h. */
27837 rm -f conftest.
$ac_objext conftest
$ac_exeext
27838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27839 (eval $ac_link) 2>conftest.er1
27841 grep -v '^ *+' conftest.er1
>conftest.err
27843 cat conftest.err
>&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); } &&
27846 { ac_try
='test -z "$ac_c_werror_flag"
27847 || test ! -s conftest.err'
27848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849 (eval $ac_try) 2>&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); }; } &&
27853 { ac_try
='test -s conftest$ac_exeext'
27854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855 (eval $ac_try) 2>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; }; then
27861 echo "$as_me: failed program was:" >&5
27862 sed 's/^/| /' conftest.
$ac_ext >&5
27866 rm -f conftest.err conftest.
$ac_objext \
27867 conftest
$ac_exeext conftest.
$ac_ext
27868 if test $ac_R_nospace = yes; then
27869 echo "$as_me:$LINENO: result: no" >&5
27870 echo "${ECHO_T}no" >&6
27871 X_LIBS
="$X_LIBS -R$x_libraries"
27873 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27874 cat >conftest.
$ac_ext <<_ACEOF
27877 cat confdefs.h
>>conftest.
$ac_ext
27878 cat >>conftest.
$ac_ext <<_ACEOF
27879 /* end confdefs.h. */
27889 rm -f conftest.
$ac_objext conftest
$ac_exeext
27890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27891 (eval $ac_link) 2>conftest.er1
27893 grep -v '^ *+' conftest.er1
>conftest.err
27895 cat conftest.err
>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); } &&
27898 { ac_try
='test -z "$ac_c_werror_flag"
27899 || test ! -s conftest.err'
27900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901 (eval $ac_try) 2>&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; } &&
27905 { ac_try
='test -s conftest$ac_exeext'
27906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907 (eval $ac_try) 2>&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); }; }; then
27913 echo "$as_me: failed program was:" >&5
27914 sed 's/^/| /' conftest.
$ac_ext >&5
27918 rm -f conftest.err conftest.
$ac_objext \
27919 conftest
$ac_exeext conftest.
$ac_ext
27920 if test $ac_R_space = yes; then
27921 echo "$as_me:$LINENO: result: yes" >&5
27922 echo "${ECHO_T}yes" >&6
27923 X_LIBS
="$X_LIBS -R $x_libraries"
27925 echo "$as_me:$LINENO: result: neither works" >&5
27926 echo "${ECHO_T}neither works" >&6
27929 LIBS
=$ac_xsave_LIBS
27933 # Check for system-dependent libraries X programs must link with.
27934 # Do this before checking for the system-independent R6 libraries
27935 # (-lICE), since we may need -lsocket or whatever for X linking.
27937 if test "$ISC" = yes; then
27938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27940 # Martyn Johnson says this is needed for Ultrix, if the X
27941 # libraries were built with DECnet support. And Karl Berry says
27942 # the Alpha needs dnet_stub (dnet does not exist).
27943 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27944 cat >conftest.
$ac_ext <<_ACEOF
27947 cat confdefs.h
>>conftest.
$ac_ext
27948 cat >>conftest.
$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27951 /* Override any gcc2 internal prototype to avoid an error. */
27955 /* We use char because int might match the return type of a gcc2
27956 builtin and then its argument prototype would still apply. */
27957 char XOpenDisplay ();
27966 rm -f conftest.
$ac_objext conftest
$ac_exeext
27967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27968 (eval $ac_link) 2>conftest.er1
27970 grep -v '^ *+' conftest.er1
>conftest.err
27972 cat conftest.err
>&5
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); } &&
27975 { ac_try
='test -z "$ac_c_werror_flag"
27976 || test ! -s conftest.err'
27977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27978 (eval $ac_try) 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; } &&
27982 { ac_try
='test -s conftest$ac_exeext'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; }; then
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.
$ac_ext >&5
27993 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27994 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27995 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 ac_check_lib_save_LIBS
=$LIBS
27999 LIBS
="-ldnet $LIBS"
28000 cat >conftest.
$ac_ext <<_ACEOF
28003 cat confdefs.h
>>conftest.
$ac_ext
28004 cat >>conftest.
$ac_ext <<_ACEOF
28005 /* end confdefs.h. */
28007 /* Override any gcc2 internal prototype to avoid an error. */
28011 /* We use char because int might match the return type of a gcc2
28012 builtin and then its argument prototype would still apply. */
28022 rm -f conftest.
$ac_objext conftest
$ac_exeext
28023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28024 (eval $ac_link) 2>conftest.er1
28026 grep -v '^ *+' conftest.er1
>conftest.err
28028 cat conftest.err
>&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); } &&
28031 { ac_try
='test -z "$ac_c_werror_flag"
28032 || test ! -s conftest.err'
28033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 (eval $ac_try) 2>&5
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; } &&
28038 { ac_try
='test -s conftest$ac_exeext'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; }; then
28044 ac_cv_lib_dnet_dnet_ntoa
=yes
28046 echo "$as_me: failed program was:" >&5
28047 sed 's/^/| /' conftest.
$ac_ext >&5
28049 ac_cv_lib_dnet_dnet_ntoa
=no
28051 rm -f conftest.err conftest.
$ac_objext \
28052 conftest
$ac_exeext conftest.
$ac_ext
28053 LIBS
=$ac_check_lib_save_LIBS
28055 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28056 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28057 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28058 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28061 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28062 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28063 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28064 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28065 echo $ECHO_N "(cached) $ECHO_C" >&6
28067 ac_check_lib_save_LIBS
=$LIBS
28068 LIBS
="-ldnet_stub $LIBS"
28069 cat >conftest.
$ac_ext <<_ACEOF
28072 cat confdefs.h
>>conftest.
$ac_ext
28073 cat >>conftest.
$ac_ext <<_ACEOF
28074 /* end confdefs.h. */
28076 /* Override any gcc2 internal prototype to avoid an error. */
28080 /* We use char because int might match the return type of a gcc2
28081 builtin and then its argument prototype would still apply. */
28091 rm -f conftest.
$ac_objext conftest
$ac_exeext
28092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28093 (eval $ac_link) 2>conftest.er1
28095 grep -v '^ *+' conftest.er1
>conftest.err
28097 cat conftest.err
>&5
28098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28099 (exit $ac_status); } &&
28100 { ac_try
='test -z "$ac_c_werror_flag"
28101 || test ! -s conftest.err'
28102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28103 (eval $ac_try) 2>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); }; } &&
28107 { ac_try
='test -s conftest$ac_exeext'
28108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28109 (eval $ac_try) 2>&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); }; }; then
28113 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28115 echo "$as_me: failed program was:" >&5
28116 sed 's/^/| /' conftest.
$ac_ext >&5
28118 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28120 rm -f conftest.err conftest.
$ac_objext \
28121 conftest
$ac_exeext conftest.
$ac_ext
28122 LIBS
=$ac_check_lib_save_LIBS
28124 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28125 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28126 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28127 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28132 rm -f conftest.err conftest.
$ac_objext \
28133 conftest
$ac_exeext conftest.
$ac_ext
28134 LIBS
="$ac_xsave_LIBS"
28136 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28137 # to get the SysV transport functions.
28138 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28140 # The nsl library prevents programs from opening the X display
28141 # on Irix 5.2, according to T.E. Dickey.
28142 # The functions gethostbyname, getservbyname, and inet_addr are
28143 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28144 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28145 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28146 if test "${ac_cv_func_gethostbyname+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28149 cat >conftest.
$ac_ext <<_ACEOF
28152 cat confdefs.h
>>conftest.
$ac_ext
28153 cat >>conftest.
$ac_ext <<_ACEOF
28154 /* end confdefs.h. */
28155 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28157 #define gethostbyname innocuous_gethostbyname
28159 /* System header to define __stub macros and hopefully few prototypes,
28160 which can conflict with char gethostbyname (); below.
28161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28162 <limits.h> exists even on freestanding compilers. */
28165 # include <limits.h>
28167 # include <assert.h>
28170 #undef gethostbyname
28172 /* Override any gcc2 internal prototype to avoid an error. */
28177 /* We use char because int might match the return type of a gcc2
28178 builtin and then its argument prototype would still apply. */
28179 char gethostbyname ();
28180 /* The GNU C library defines this for functions which it implements
28181 to always fail with ENOSYS. Some functions are actually named
28182 something starting with __ and the normal name is an alias. */
28183 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28186 char (*f) () = gethostbyname;
28195 return f != gethostbyname;
28200 rm -f conftest.
$ac_objext conftest
$ac_exeext
28201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28202 (eval $ac_link) 2>conftest.er1
28204 grep -v '^ *+' conftest.er1
>conftest.err
28206 cat conftest.err
>&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try
='test -z "$ac_c_werror_flag"
28210 || test ! -s conftest.err'
28211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28212 (eval $ac_try) 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; } &&
28216 { ac_try
='test -s conftest$ac_exeext'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; }; then
28222 ac_cv_func_gethostbyname
=yes
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.
$ac_ext >&5
28227 ac_cv_func_gethostbyname
=no
28229 rm -f conftest.err conftest.
$ac_objext \
28230 conftest
$ac_exeext conftest.
$ac_ext
28232 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28233 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28235 if test $ac_cv_func_gethostbyname = no
; then
28236 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28237 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28238 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28239 echo $ECHO_N "(cached) $ECHO_C" >&6
28241 ac_check_lib_save_LIBS
=$LIBS
28243 cat >conftest.
$ac_ext <<_ACEOF
28246 cat confdefs.h
>>conftest.
$ac_ext
28247 cat >>conftest.
$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28250 /* Override any gcc2 internal prototype to avoid an error. */
28254 /* We use char because int might match the return type of a gcc2
28255 builtin and then its argument prototype would still apply. */
28256 char gethostbyname ();
28265 rm -f conftest.
$ac_objext conftest
$ac_exeext
28266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28267 (eval $ac_link) 2>conftest.er1
28269 grep -v '^ *+' conftest.er1
>conftest.err
28271 cat conftest.err
>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } &&
28274 { ac_try
='test -z "$ac_c_werror_flag"
28275 || test ! -s conftest.err'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; } &&
28281 { ac_try
='test -s conftest$ac_exeext'
28282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283 (eval $ac_try) 2>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; }; then
28287 ac_cv_lib_nsl_gethostbyname
=yes
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.
$ac_ext >&5
28292 ac_cv_lib_nsl_gethostbyname
=no
28294 rm -f conftest.err conftest.
$ac_objext \
28295 conftest
$ac_exeext conftest.
$ac_ext
28296 LIBS
=$ac_check_lib_save_LIBS
28298 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28299 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28300 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28301 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28304 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28305 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28306 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28307 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28308 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 ac_check_lib_save_LIBS
=$LIBS
28312 cat >conftest.
$ac_ext <<_ACEOF
28315 cat confdefs.h
>>conftest.
$ac_ext
28316 cat >>conftest.
$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28319 /* Override any gcc2 internal prototype to avoid an error. */
28323 /* We use char because int might match the return type of a gcc2
28324 builtin and then its argument prototype would still apply. */
28325 char gethostbyname ();
28334 rm -f conftest.
$ac_objext conftest
$ac_exeext
28335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28336 (eval $ac_link) 2>conftest.er1
28338 grep -v '^ *+' conftest.er1
>conftest.err
28340 cat conftest.err
>&5
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); } &&
28343 { ac_try
='test -z "$ac_c_werror_flag"
28344 || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try
='test -s conftest$ac_exeext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 ac_cv_lib_bsd_gethostbyname
=yes
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.
$ac_ext >&5
28361 ac_cv_lib_bsd_gethostbyname
=no
28363 rm -f conftest.err conftest.
$ac_objext \
28364 conftest
$ac_exeext conftest.
$ac_ext
28365 LIBS
=$ac_check_lib_save_LIBS
28367 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28368 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28369 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28370 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28376 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28377 # socket/setsockopt and other routines are undefined under SCO ODT
28378 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28379 # on later versions), says Simon Leinen: it contains gethostby*
28380 # variants that don't use the name server (or something). -lsocket
28381 # must be given before -lnsl if both are needed. We assume that
28382 # if connect needs -lnsl, so does gethostbyname.
28383 echo "$as_me:$LINENO: checking for connect" >&5
28384 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28385 if test "${ac_cv_func_connect+set}" = set; then
28386 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 cat >conftest.
$ac_ext <<_ACEOF
28391 cat confdefs.h
>>conftest.
$ac_ext
28392 cat >>conftest.
$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28394 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28396 #define connect innocuous_connect
28398 /* System header to define __stub macros and hopefully few prototypes,
28399 which can conflict with char connect (); below.
28400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28401 <limits.h> exists even on freestanding compilers. */
28404 # include <limits.h>
28406 # include <assert.h>
28411 /* Override any gcc2 internal prototype to avoid an error. */
28416 /* We use char because int might match the return type of a gcc2
28417 builtin and then its argument prototype would still apply. */
28419 /* The GNU C library defines this for functions which it implements
28420 to always fail with ENOSYS. Some functions are actually named
28421 something starting with __ and the normal name is an alias. */
28422 #if defined (__stub_connect) || defined (__stub___connect)
28425 char (*f) () = connect;
28434 return f != connect;
28439 rm -f conftest.
$ac_objext conftest
$ac_exeext
28440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28441 (eval $ac_link) 2>conftest.er1
28443 grep -v '^ *+' conftest.er1
>conftest.err
28445 cat conftest.err
>&5
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); } &&
28448 { ac_try
='test -z "$ac_c_werror_flag"
28449 || test ! -s conftest.err'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; } &&
28455 { ac_try
='test -s conftest$ac_exeext'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; }; then
28461 ac_cv_func_connect
=yes
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.
$ac_ext >&5
28466 ac_cv_func_connect
=no
28468 rm -f conftest.err conftest.
$ac_objext \
28469 conftest
$ac_exeext conftest.
$ac_ext
28471 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28472 echo "${ECHO_T}$ac_cv_func_connect" >&6
28474 if test $ac_cv_func_connect = no
; then
28475 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28476 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28477 if test "${ac_cv_lib_socket_connect+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28480 ac_check_lib_save_LIBS
=$LIBS
28481 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28482 cat >conftest.
$ac_ext <<_ACEOF
28485 cat confdefs.h
>>conftest.
$ac_ext
28486 cat >>conftest.
$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28489 /* Override any gcc2 internal prototype to avoid an error. */
28493 /* We use char because int might match the return type of a gcc2
28494 builtin and then its argument prototype would still apply. */
28504 rm -f conftest.
$ac_objext conftest
$ac_exeext
28505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28506 (eval $ac_link) 2>conftest.er1
28508 grep -v '^ *+' conftest.er1
>conftest.err
28510 cat conftest.err
>&5
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } &&
28513 { ac_try
='test -z "$ac_c_werror_flag"
28514 || test ! -s conftest.err'
28515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516 (eval $ac_try) 2>&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); }; } &&
28520 { ac_try
='test -s conftest$ac_exeext'
28521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28522 (eval $ac_try) 2>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); }; }; then
28526 ac_cv_lib_socket_connect
=yes
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.
$ac_ext >&5
28531 ac_cv_lib_socket_connect
=no
28533 rm -f conftest.err conftest.
$ac_objext \
28534 conftest
$ac_exeext conftest.
$ac_ext
28535 LIBS
=$ac_check_lib_save_LIBS
28537 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28538 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28539 if test $ac_cv_lib_socket_connect = yes; then
28540 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28545 # Guillermo Gomez says -lposix is necessary on A/UX.
28546 echo "$as_me:$LINENO: checking for remove" >&5
28547 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28548 if test "${ac_cv_func_remove+set}" = set; then
28549 echo $ECHO_N "(cached) $ECHO_C" >&6
28551 cat >conftest.
$ac_ext <<_ACEOF
28554 cat confdefs.h
>>conftest.
$ac_ext
28555 cat >>conftest.
$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28557 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28559 #define remove innocuous_remove
28561 /* System header to define __stub macros and hopefully few prototypes,
28562 which can conflict with char remove (); below.
28563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28564 <limits.h> exists even on freestanding compilers. */
28567 # include <limits.h>
28569 # include <assert.h>
28574 /* Override any gcc2 internal prototype to avoid an error. */
28579 /* We use char because int might match the return type of a gcc2
28580 builtin and then its argument prototype would still apply. */
28582 /* The GNU C library defines this for functions which it implements
28583 to always fail with ENOSYS. Some functions are actually named
28584 something starting with __ and the normal name is an alias. */
28585 #if defined (__stub_remove) || defined (__stub___remove)
28588 char (*f) () = remove;
28597 return f != remove;
28602 rm -f conftest.
$ac_objext conftest
$ac_exeext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28604 (eval $ac_link) 2>conftest.er1
28606 grep -v '^ *+' conftest.er1
>conftest.err
28608 cat conftest.err
>&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try
='test -z "$ac_c_werror_flag"
28612 || test ! -s conftest.err'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; } &&
28618 { ac_try
='test -s conftest$ac_exeext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 ac_cv_func_remove
=yes
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.
$ac_ext >&5
28629 ac_cv_func_remove
=no
28631 rm -f conftest.err conftest.
$ac_objext \
28632 conftest
$ac_exeext conftest.
$ac_ext
28634 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28635 echo "${ECHO_T}$ac_cv_func_remove" >&6
28637 if test $ac_cv_func_remove = no
; then
28638 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28639 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28640 if test "${ac_cv_lib_posix_remove+set}" = set; then
28641 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 ac_check_lib_save_LIBS
=$LIBS
28644 LIBS
="-lposix $LIBS"
28645 cat >conftest.
$ac_ext <<_ACEOF
28648 cat confdefs.h
>>conftest.
$ac_ext
28649 cat >>conftest.
$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28652 /* Override any gcc2 internal prototype to avoid an error. */
28656 /* We use char because int might match the return type of a gcc2
28657 builtin and then its argument prototype would still apply. */
28667 rm -f conftest.
$ac_objext conftest
$ac_exeext
28668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28669 (eval $ac_link) 2>conftest.er1
28671 grep -v '^ *+' conftest.er1
>conftest.err
28673 cat conftest.err
>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } &&
28676 { ac_try
='test -z "$ac_c_werror_flag"
28677 || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try
='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_posix_remove
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_lib_posix_remove
=no
28696 rm -f conftest.err conftest.
$ac_objext \
28697 conftest
$ac_exeext conftest.
$ac_ext
28698 LIBS
=$ac_check_lib_save_LIBS
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28701 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28702 if test $ac_cv_lib_posix_remove = yes; then
28703 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28708 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28709 echo "$as_me:$LINENO: checking for shmat" >&5
28710 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28711 if test "${ac_cv_func_shmat+set}" = set; then
28712 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 cat >conftest.
$ac_ext <<_ACEOF
28717 cat confdefs.h
>>conftest.
$ac_ext
28718 cat >>conftest.
$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28722 #define shmat innocuous_shmat
28724 /* System header to define __stub macros and hopefully few prototypes,
28725 which can conflict with char shmat (); below.
28726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28727 <limits.h> exists even on freestanding compilers. */
28730 # include <limits.h>
28732 # include <assert.h>
28737 /* Override any gcc2 internal prototype to avoid an error. */
28742 /* We use char because int might match the return type of a gcc2
28743 builtin and then its argument prototype would still apply. */
28745 /* The GNU C library defines this for functions which it implements
28746 to always fail with ENOSYS. Some functions are actually named
28747 something starting with __ and the normal name is an alias. */
28748 #if defined (__stub_shmat) || defined (__stub___shmat)
28751 char (*f) () = shmat;
28765 rm -f conftest.
$ac_objext conftest
$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28769 grep -v '^ *+' conftest.er1
>conftest.err
28771 cat conftest.err
>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try
='test -z "$ac_c_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try
='test -s conftest$ac_exeext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 ac_cv_func_shmat
=yes
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.
$ac_ext >&5
28792 ac_cv_func_shmat
=no
28794 rm -f conftest.err conftest.
$ac_objext \
28795 conftest
$ac_exeext conftest.
$ac_ext
28797 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28798 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28800 if test $ac_cv_func_shmat = no
; then
28801 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28802 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28803 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28804 echo $ECHO_N "(cached) $ECHO_C" >&6
28806 ac_check_lib_save_LIBS
=$LIBS
28808 cat >conftest.
$ac_ext <<_ACEOF
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28815 /* Override any gcc2 internal prototype to avoid an error. */
28819 /* We use char because int might match the return type of a gcc2
28820 builtin and then its argument prototype would still apply. */
28830 rm -f conftest.
$ac_objext conftest
$ac_exeext
28831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28832 (eval $ac_link) 2>conftest.er1
28834 grep -v '^ *+' conftest.er1
>conftest.err
28836 cat conftest.err
>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } &&
28839 { ac_try
='test -z "$ac_c_werror_flag"
28840 || test ! -s conftest.err'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; } &&
28846 { ac_try
='test -s conftest$ac_exeext'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; }; then
28852 ac_cv_lib_ipc_shmat
=yes
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.
$ac_ext >&5
28857 ac_cv_lib_ipc_shmat
=no
28859 rm -f conftest.err conftest.
$ac_objext \
28860 conftest
$ac_exeext conftest.
$ac_ext
28861 LIBS
=$ac_check_lib_save_LIBS
28863 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28864 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28865 if test $ac_cv_lib_ipc_shmat = yes; then
28866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28872 # Check for libraries that X11R6 Xt/Xaw programs need.
28873 ac_save_LDFLAGS
=$LDFLAGS
28874 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28875 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28876 # check for ICE first), but we must link in the order -lSM -lICE or
28877 # we get undefined symbols. So assume we have SM if we have ICE.
28878 # These have to be linked with before -lX11, unlike the other
28879 # libraries we check for below, so use a different variable.
28880 # John Interrante, Karl Berry
28881 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28882 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28883 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 ac_check_lib_save_LIBS
=$LIBS
28887 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28888 cat >conftest.
$ac_ext <<_ACEOF
28891 cat confdefs.h
>>conftest.
$ac_ext
28892 cat >>conftest.
$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 /* Override any gcc2 internal prototype to avoid an error. */
28899 /* We use char because int might match the return type of a gcc2
28900 builtin and then its argument prototype would still apply. */
28901 char IceConnectionNumber ();
28905 IceConnectionNumber ();
28910 rm -f conftest.
$ac_objext conftest
$ac_exeext
28911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28912 (eval $ac_link) 2>conftest.er1
28914 grep -v '^ *+' conftest.er1
>conftest.err
28916 cat conftest.err
>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try
='test -z "$ac_c_werror_flag"
28920 || test ! -s conftest.err'
28921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28922 (eval $ac_try) 2>&5
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); }; } &&
28926 { ac_try
='test -s conftest$ac_exeext'
28927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28928 (eval $ac_try) 2>&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); }; }; then
28932 ac_cv_lib_ICE_IceConnectionNumber
=yes
28934 echo "$as_me: failed program was:" >&5
28935 sed 's/^/| /' conftest.
$ac_ext >&5
28937 ac_cv_lib_ICE_IceConnectionNumber
=no
28939 rm -f conftest.err conftest.
$ac_objext \
28940 conftest
$ac_exeext conftest.
$ac_ext
28941 LIBS
=$ac_check_lib_save_LIBS
28943 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28944 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28945 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28946 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28949 LDFLAGS
=$ac_save_LDFLAGS
28954 if test "$no_x" = "yes"; then
28955 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28956 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28957 { (exit 1); exit 1; }; }
28960 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28961 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28962 AFMINSTALL
=afminstall
28963 COMPILED_X_PROGRAM
=0
28967 if test "$wxUSE_X11" = 1; then
28968 if test "$wxUSE_NANOX" = "yes"; then
28969 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28970 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28971 if test "x$MICROWIN" = x
; then
28972 echo "$as_me:$LINENO: result: not found" >&5
28973 echo "${ECHO_T}not found" >&6
28974 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28975 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28976 { (exit 1); exit 1; }; }
28978 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28979 echo "${ECHO_T}$MICROWIN" >&6
28980 cat >>confdefs.h
<<\_ACEOF
28981 #define wxUSE_NANOX 1
28987 if test "$wxUSE_UNICODE" = "yes"; then
28991 if test -z "$PKG_CONFIG"; then
28992 # Extract the first word of "pkg-config", so it can be a program name with args.
28993 set dummy pkg
-config; ac_word
=$2
28994 echo "$as_me:$LINENO: checking for $ac_word" >&5
28995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28996 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28997 echo $ECHO_N "(cached) $ECHO_C" >&6
28999 case $PKG_CONFIG in
29001 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29005 for as_dir
in $PATH
29008 test -z "$as_dir" && as_dir
=.
29009 for ac_exec_ext
in '' $ac_executable_extensions; do
29010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29011 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29018 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29022 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29024 if test -n "$PKG_CONFIG"; then
29025 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29026 echo "${ECHO_T}$PKG_CONFIG" >&6
29028 echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6
29034 if test "$PKG_CONFIG" = "no" ; then
29035 echo "*** The pkg-config script could not be found. Make sure it is"
29036 echo "*** in your path, or set the PKG_CONFIG environment variable"
29037 echo "*** to the full path to pkg-config."
29038 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29040 PKG_CONFIG_MIN_VERSION
=0.9.0
29041 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29042 echo "$as_me:$LINENO: checking for pangox" >&5
29043 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29045 if $PKG_CONFIG --exists "pangox" ; then
29046 echo "$as_me:$LINENO: result: yes" >&5
29047 echo "${ECHO_T}yes" >&6
29050 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29051 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29052 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29053 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29054 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29056 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29057 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29058 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29059 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29060 echo "${ECHO_T}$PANGOX_LIBS" >&6
29064 ## If we have a custom action on failure, don't print errors, but
29065 ## do set a variable so people can do so.
29066 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29073 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29074 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29078 if test $succeeded = yes; then
29080 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
29081 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29085 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29086 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29087 { (exit 1); exit 1; }; }
29095 if test -z "$PKG_CONFIG"; then
29096 # Extract the first word of "pkg-config", so it can be a program name with args.
29097 set dummy pkg
-config; ac_word
=$2
29098 echo "$as_me:$LINENO: checking for $ac_word" >&5
29099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29100 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29101 echo $ECHO_N "(cached) $ECHO_C" >&6
29103 case $PKG_CONFIG in
29105 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29109 for as_dir
in $PATH
29112 test -z "$as_dir" && as_dir
=.
29113 for ac_exec_ext
in '' $ac_executable_extensions; do
29114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29115 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29122 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29126 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29128 if test -n "$PKG_CONFIG"; then
29129 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29130 echo "${ECHO_T}$PKG_CONFIG" >&6
29132 echo "$as_me:$LINENO: result: no" >&5
29133 echo "${ECHO_T}no" >&6
29138 if test "$PKG_CONFIG" = "no" ; then
29139 echo "*** The pkg-config script could not be found. Make sure it is"
29140 echo "*** in your path, or set the PKG_CONFIG environment variable"
29141 echo "*** to the full path to pkg-config."
29142 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29144 PKG_CONFIG_MIN_VERSION
=0.9.0
29145 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29146 echo "$as_me:$LINENO: checking for pangoft2" >&5
29147 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29149 if $PKG_CONFIG --exists "pangoft2" ; then
29150 echo "$as_me:$LINENO: result: yes" >&5
29151 echo "${ECHO_T}yes" >&6
29154 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29155 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29156 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29157 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29158 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29160 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29161 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29162 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29163 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29164 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29168 ## If we have a custom action on failure, don't print errors, but
29169 ## do set a variable so people can do so.
29170 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29177 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29178 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29182 if test $succeeded = yes; then
29184 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
29185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29189 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29190 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29191 wxUSE_PRINTING_ARCHITECTURE
="no"
29199 if test -z "$PKG_CONFIG"; then
29200 # Extract the first word of "pkg-config", so it can be a program name with args.
29201 set dummy pkg
-config; ac_word
=$2
29202 echo "$as_me:$LINENO: checking for $ac_word" >&5
29203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29204 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 case $PKG_CONFIG in
29209 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29213 for as_dir
in $PATH
29216 test -z "$as_dir" && as_dir
=.
29217 for ac_exec_ext
in '' $ac_executable_extensions; do
29218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29219 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29226 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29230 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29232 if test -n "$PKG_CONFIG"; then
29233 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29234 echo "${ECHO_T}$PKG_CONFIG" >&6
29236 echo "$as_me:$LINENO: result: no" >&5
29237 echo "${ECHO_T}no" >&6
29242 if test "$PKG_CONFIG" = "no" ; then
29243 echo "*** The pkg-config script could not be found. Make sure it is"
29244 echo "*** in your path, or set the PKG_CONFIG environment variable"
29245 echo "*** to the full path to pkg-config."
29246 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29248 PKG_CONFIG_MIN_VERSION
=0.9.0
29249 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29250 echo "$as_me:$LINENO: checking for pangoxft" >&5
29251 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29253 if $PKG_CONFIG --exists "pangoxft" ; then
29254 echo "$as_me:$LINENO: result: yes" >&5
29255 echo "${ECHO_T}yes" >&6
29258 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29259 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29260 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29261 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29262 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29264 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29265 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29266 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29267 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29268 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29272 ## If we have a custom action on failure, don't print errors, but
29273 ## do set a variable so people can do so.
29274 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29281 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29282 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29286 if test $succeeded = yes; then
29288 cat >>confdefs.h
<<\_ACEOF
29289 #define HAVE_PANGO_XFT 1
29292 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
29293 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29297 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29298 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29303 save_CFLAGS
="$CFLAGS"
29305 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
29306 LIBS
="$LIBS $PANGOX_LIBS"
29308 for ac_func
in pango_font_family_is_monospace
29310 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29311 echo "$as_me:$LINENO: checking for $ac_func" >&5
29312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29313 if eval "test \"\${$as_ac_var+set}\" = set"; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29316 cat >conftest.
$ac_ext <<_ACEOF
29319 cat confdefs.h
>>conftest.
$ac_ext
29320 cat >>conftest.
$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29324 #define $ac_func innocuous_$ac_func
29326 /* System header to define __stub macros and hopefully few prototypes,
29327 which can conflict with char $ac_func (); below.
29328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29329 <limits.h> exists even on freestanding compilers. */
29332 # include <limits.h>
29334 # include <assert.h>
29339 /* Override any gcc2 internal prototype to avoid an error. */
29344 /* We use char because int might match the return type of a gcc2
29345 builtin and then its argument prototype would still apply. */
29347 /* The GNU C library defines this for functions which it implements
29348 to always fail with ENOSYS. Some functions are actually named
29349 something starting with __ and the normal name is an alias. */
29350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29353 char (*f) () = $ac_func;
29362 return f != $ac_func;
29367 rm -f conftest.
$ac_objext conftest
$ac_exeext
29368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29369 (eval $ac_link) 2>conftest.er1
29371 grep -v '^ *+' conftest.er1
>conftest.err
29373 cat conftest.err
>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); } &&
29376 { ac_try
='test -z "$ac_c_werror_flag"
29377 || test ! -s conftest.err'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; } &&
29383 { ac_try
='test -s conftest$ac_exeext'
29384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29385 (eval $ac_try) 2>&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); }; }; then
29389 eval "$as_ac_var=yes"
29391 echo "$as_me: failed program was:" >&5
29392 sed 's/^/| /' conftest.
$ac_ext >&5
29394 eval "$as_ac_var=no"
29396 rm -f conftest.err conftest.
$ac_objext \
29397 conftest
$ac_exeext conftest.
$ac_ext
29399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29401 if test `eval echo '${'$as_ac_var'}'` = yes; then
29402 cat >>confdefs.h
<<_ACEOF
29403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29409 CFLAGS
="$save_CFLAGS"
29413 wxUSE_UNIVERSAL
="yes"
29415 if test "$wxUSE_NANOX" = "yes"; then
29416 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29417 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"
29418 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29420 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29427 if test "$wxUSE_MOTIF" = 1; then
29428 if test "$wxUSE_UNICODE" = "yes"; then
29429 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29430 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29431 { (exit 1); exit 1; }; }
29434 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29435 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29438 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29440 if test -f "$ac_dir/Xm/Xm.h"; then
29441 ac_find_includes
=$ac_dir
29446 if test "$ac_find_includes" != "" ; then
29447 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29448 echo "${ECHO_T}found in $ac_find_includes" >&6
29450 if test "x$ac_find_includes" = "x/usr/include"; then
29451 ac_path_to_include
=""
29453 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29455 if test $result = 0; then
29456 ac_path_to_include
=""
29458 ac_path_to_include
=" -I$ac_find_includes"
29462 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29464 save_CFLAGS
=$CFLAGS
29465 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29467 cat >conftest.
$ac_ext <<_ACEOF
29470 cat confdefs.h
>>conftest.
$ac_ext
29471 cat >>conftest.
$ac_ext <<_ACEOF
29472 /* end confdefs.h. */
29481 version = xmUseVersion;
29487 rm -f conftest.
$ac_objext
29488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29489 (eval $ac_compile) 2>conftest.er1
29491 grep -v '^ *+' conftest.er1
>conftest.err
29493 cat conftest.err
>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } &&
29496 { ac_try
='test -z "$ac_c_werror_flag"
29497 || test ! -s conftest.err'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; } &&
29503 { ac_try
='test -s conftest.$ac_objext'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; }; then
29510 echo "$as_me:$LINENO: result: found in default search path" >&5
29511 echo "${ECHO_T}found in default search path" >&6
29512 COMPILED_X_PROGRAM
=1
29515 echo "$as_me: failed program was:" >&5
29516 sed 's/^/| /' conftest.
$ac_ext >&5
29519 echo "$as_me:$LINENO: result: no" >&5
29520 echo "${ECHO_T}no" >&6
29521 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29522 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29523 { (exit 1); exit 1; }; }
29527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29529 CFLAGS
=$save_CFLAGS
29533 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29534 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29537 for ac_dir
in $SEARCH_LIB;
29539 for ac_extension
in a so sl dylib dll.a
; do
29540 if test -f "$ac_dir/libXm.$ac_extension"; then
29541 ac_find_libraries
=$ac_dir
29548 if test "x$ac_find_libraries" != "x" ; then
29549 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29550 echo "${ECHO_T}found in $ac_find_libraries" >&6
29553 if test "$ac_find_libraries" = "default location"; then
29556 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29558 if test $result = 0; then
29561 ac_path_to_link
=" -L$ac_find_libraries"
29565 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29567 save_CFLAGS
=$CFLAGS
29568 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29570 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29572 cat >conftest.
$ac_ext <<_ACEOF
29575 cat confdefs.h
>>conftest.
$ac_ext
29576 cat >>conftest.
$ac_ext <<_ACEOF
29577 /* end confdefs.h. */
29586 version = xmUseVersion;
29592 rm -f conftest.
$ac_objext conftest
$ac_exeext
29593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29594 (eval $ac_link) 2>conftest.er1
29596 grep -v '^ *+' conftest.er1
>conftest.err
29598 cat conftest.err
>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try
='test -z "$ac_c_werror_flag"
29602 || test ! -s conftest.err'
29603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29604 (eval $ac_try) 2>&5
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); }; } &&
29608 { ac_try
='test -s conftest$ac_exeext'
29609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29610 (eval $ac_try) 2>&5
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); }; }; then
29615 echo "$as_me:$LINENO: result: found in default search path" >&5
29616 echo "${ECHO_T}found in default search path" >&6
29617 COMPILED_X_PROGRAM
=1
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.
$ac_ext >&5
29624 echo "$as_me:$LINENO: result: no" >&5
29625 echo "${ECHO_T}no" >&6
29626 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29627 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29628 { (exit 1); exit 1; }; }
29632 rm -f conftest.err conftest.
$ac_objext \
29633 conftest
$ac_exeext conftest.
$ac_ext
29635 CFLAGS
=$save_CFLAGS
29639 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29640 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29644 for libp
in "" " -lXp"; do
29645 if test "$libs_found" = "0"; then
29646 for libsm_ice
in "" " -lSM -lICE"; do
29647 if test "$libs_found" = "0"; then
29649 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29650 save_CFLAGS
=$CFLAGS
29651 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29653 cat >conftest.
$ac_ext <<_ACEOF
29656 cat confdefs.h
>>conftest.
$ac_ext
29657 cat >>conftest.
$ac_ext <<_ACEOF
29658 /* end confdefs.h. */
29661 #include <Xm/List.h>
29667 XmString string = NULL;
29670 XmListAddItem(w, string, position);
29676 rm -f conftest.
$ac_objext conftest
$ac_exeext
29677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29678 (eval $ac_link) 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"
29686 || test ! -s conftest.err'
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; } &&
29692 { ac_try
='test -s conftest$ac_exeext'
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29700 libsm_ice_link
="$libsm_ice"
29701 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29702 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29706 echo "$as_me: failed program was:" >&5
29707 sed 's/^/| /' conftest.
$ac_ext >&5
29712 rm -f conftest.err conftest.
$ac_objext \
29713 conftest
$ac_exeext conftest.
$ac_ext
29716 CFLAGS
=$save_CFLAGS
29722 if test "$libs_found" = "0"; then
29723 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29724 echo "${ECHO_T}can't find the right libraries" >&6
29725 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29726 echo "$as_me: error: can't link a simple motif program" >&2;}
29727 { (exit 1); exit 1; }; }
29730 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29731 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29732 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 ac_check_lib_save_LIBS
=$LIBS
29737 cat >conftest.
$ac_ext <<_ACEOF
29740 cat confdefs.h
>>conftest.
$ac_ext
29741 cat >>conftest.
$ac_ext <<_ACEOF
29742 /* end confdefs.h. */
29744 /* Override any gcc2 internal prototype to avoid an error. */
29748 /* We use char because int might match the return type of a gcc2
29749 builtin and then its argument prototype would still apply. */
29750 char SgCreateList ();
29759 rm -f conftest.
$ac_objext conftest
$ac_exeext
29760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29761 (eval $ac_link) 2>conftest.er1
29763 grep -v '^ *+' conftest.er1
>conftest.err
29765 cat conftest.err
>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try
='test -z "$ac_c_werror_flag"
29769 || test ! -s conftest.err'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; } &&
29775 { ac_try
='test -s conftest$ac_exeext'
29776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29777 (eval $ac_try) 2>&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; }; then
29781 ac_cv_lib_Sgm_SgCreateList
=yes
29783 echo "$as_me: failed program was:" >&5
29784 sed 's/^/| /' conftest.
$ac_ext >&5
29786 ac_cv_lib_Sgm_SgCreateList
=no
29788 rm -f conftest.err conftest.
$ac_objext \
29789 conftest
$ac_exeext conftest.
$ac_ext
29790 LIBS
=$ac_check_lib_save_LIBS
29792 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29793 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29794 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29795 libsgm_link
=" -lSgm"
29799 save_CFLAGS
=$CFLAGS
29800 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29802 echo "$as_me:$LINENO: checking for Motif 2" >&5
29803 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29804 if test "${wx_cv_lib_motif2+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 cat >conftest.
$ac_ext <<_ACEOF
29810 cat confdefs.h
>>conftest.
$ac_ext
29811 cat >>conftest.
$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29820 #if XmVersion < 2000
29828 rm -f conftest.
$ac_objext
29829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29830 (eval $ac_compile) 2>conftest.er1
29832 grep -v '^ *+' conftest.er1
>conftest.err
29834 cat conftest.err
>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } &&
29837 { ac_try
='test -z "$ac_c_werror_flag"
29838 || test ! -s conftest.err'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; } &&
29844 { ac_try
='test -s conftest.$ac_objext'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; }; then
29850 wx_cv_lib_motif2
="yes"
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.
$ac_ext >&5
29855 wx_cv_lib_motif2
="no"
29857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29859 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29860 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29861 if test "$wx_cv_lib_motif2" = "yes"; then
29862 cat >>confdefs.h
<<\_ACEOF
29863 #define __WXMOTIF20__ 1
29867 cat >>confdefs.h
<<\_ACEOF
29868 #define __WXMOTIF20__ 0
29873 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29874 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29875 if test "${wx_cv_lib_lesstif+set}" = set; then
29876 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 cat >conftest.
$ac_ext <<_ACEOF
29881 cat confdefs.h
>>conftest.
$ac_ext
29882 cat >>conftest.
$ac_ext <<_ACEOF
29883 /* end confdefs.h. */
29891 #if !defined(LesstifVersion) || LesstifVersion <= 0
29899 rm -f conftest.
$ac_objext
29900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29901 (eval $ac_compile) 2>conftest.er1
29903 grep -v '^ *+' conftest.er1
>conftest.err
29905 cat conftest.err
>&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); } &&
29908 { ac_try
='test -z "$ac_c_werror_flag"
29909 || test ! -s conftest.err'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; } &&
29915 { ac_try
='test -s conftest.$ac_objext'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; }; then
29921 wx_cv_lib_lesstif
="yes"
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.
$ac_ext >&5
29926 wx_cv_lib_lesstif
="no"
29928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29931 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29932 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29933 if test "$wx_cv_lib_lesstif" = "yes"; then
29934 cat >>confdefs.h
<<\_ACEOF
29935 #define __WXLESSTIF__ 1
29939 cat >>confdefs.h
<<\_ACEOF
29940 #define __WXLESSTIF__ 0
29945 CFLAGS
=$save_CFLAGS
29947 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29952 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29953 if test "$wxUSE_LIBXPM" = "sys"; then
29954 echo "$as_me:$LINENO: checking for Xpm library" >&5
29955 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29958 for ac_dir
in $SEARCH_LIB;
29960 for ac_extension
in a so sl dylib dll.a
; do
29961 if test -f "$ac_dir/libXpm.$ac_extension"; then
29962 ac_find_libraries
=$ac_dir
29968 if test "$ac_find_libraries" != "" ; then
29970 if test "$ac_find_libraries" = "default location"; then
29973 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29975 if test $result = 0; then
29978 ac_path_to_link
=" -L$ac_find_libraries"
29982 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29983 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29984 echo "${ECHO_T}found in $ac_find_libraries" >&6
29986 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29987 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29988 if test "${wx_cv_x11_xpm_h+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29992 save_CFLAGS
=$CFLAGS
29993 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29995 cat >conftest.
$ac_ext <<_ACEOF
29998 cat confdefs.h
>>conftest.
$ac_ext
29999 cat >>conftest.
$ac_ext <<_ACEOF
30000 /* end confdefs.h. */
30002 #include <X11/xpm.h>
30009 version = XpmLibraryVersion();
30015 rm -f conftest.
$ac_objext
30016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30017 (eval $ac_compile) 2>conftest.er1
30019 grep -v '^ *+' conftest.er1
>conftest.err
30021 cat conftest.err
>&5
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); } &&
30024 { ac_try
='test -z "$ac_c_werror_flag"
30025 || test ! -s conftest.err'
30026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30027 (eval $ac_try) 2>&5
30029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030 (exit $ac_status); }; } &&
30031 { ac_try
='test -s conftest.$ac_objext'
30032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30033 (eval $ac_try) 2>&5
30035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30036 (exit $ac_status); }; }; then
30037 wx_cv_x11_xpm_h
=yes
30039 echo "$as_me: failed program was:" >&5
30040 sed 's/^/| /' conftest.
$ac_ext >&5
30045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30047 CFLAGS
=$save_CFLAGS
30051 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30052 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30054 if test $wx_cv_x11_xpm_h = "yes"; then
30055 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30056 cat >>confdefs.h
<<\_ACEOF
30057 #define wxHAVE_LIB_XPM 1
30061 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30062 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30068 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30069 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30070 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30071 echo $ECHO_N "(cached) $ECHO_C" >&6
30073 ac_check_lib_save_LIBS
=$LIBS
30074 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30075 cat >conftest.
$ac_ext <<_ACEOF
30078 cat confdefs.h
>>conftest.
$ac_ext
30079 cat >>conftest.
$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30082 /* Override any gcc2 internal prototype to avoid an error. */
30086 /* We use char because int might match the return type of a gcc2
30087 builtin and then its argument prototype would still apply. */
30088 char XShapeQueryExtension ();
30092 XShapeQueryExtension ();
30097 rm -f conftest.
$ac_objext conftest
$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099 (eval $ac_link) 2>conftest.er1
30101 grep -v '^ *+' conftest.er1
>conftest.err
30103 cat conftest.err
>&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try
='test -z "$ac_c_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try
='test -s conftest$ac_exeext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.
$ac_ext >&5
30124 ac_cv_lib_Xext_XShapeQueryExtension
=no
30126 rm -f conftest.err conftest.
$ac_objext \
30127 conftest
$ac_exeext conftest.
$ac_ext
30128 LIBS
=$ac_check_lib_save_LIBS
30130 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30131 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30132 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30134 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30140 if test "$wxHAVE_XEXT_LIB" = 1; then
30141 save_CFLAGS
="$CFLAGS"
30142 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
30144 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30145 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30146 cat >conftest.
$ac_ext <<_ACEOF
30149 cat confdefs.h
>>conftest.
$ac_ext
30150 cat >>conftest.
$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30154 #include <X11/extensions/shape.h>
30160 int dummy1, dummy2;
30161 XShapeQueryExtension((Display*)NULL,
30162 (int*)NULL, (int*)NULL);
30168 rm -f conftest.
$ac_objext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30170 (eval $ac_compile) 2>conftest.er1
30172 grep -v '^ *+' conftest.er1
>conftest.err
30174 cat conftest.err
>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); } &&
30177 { ac_try
='test -z "$ac_c_werror_flag"
30178 || test ! -s conftest.err'
30179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180 (eval $ac_try) 2>&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); }; } &&
30184 { ac_try
='test -s conftest.$ac_objext'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; }; then
30191 cat >>confdefs.h
<<\_ACEOF
30192 #define HAVE_XSHAPE 1
30195 echo "$as_me:$LINENO: result: found" >&5
30196 echo "${ECHO_T}found" >&6
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.
$ac_ext >&5
30203 echo "$as_me:$LINENO: result: not found" >&5
30204 echo "${ECHO_T}not found" >&6
30207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30208 CFLAGS
="$save_CFLAGS"
30213 if test "$wxUSE_MAC" = 1; then
30214 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30215 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30216 if test "$GCC" = yes; then
30217 echo "$as_me:$LINENO: result: gcc" >&5
30218 echo "${ECHO_T}gcc" >&6
30219 CPPFLAGS_PASCAL
="-fpascal-strings"
30220 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30221 echo "$as_me:$LINENO: result: xlc" >&5
30222 echo "${ECHO_T}xlc" >&6
30223 CPPFLAGS_PASCAL
="-qmacpstr"
30225 echo "$as_me:$LINENO: result: none" >&5
30226 echo "${ECHO_T}none" >&6
30229 if test "x$wxUSE_UNIX" = "xyes"; then
30230 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
30232 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
30237 WXBASEPORT
="_carbon"
30240 if test "$wxUSE_COCOA" = 1; then
30245 if test "$wxUSE_PM" = 1; then
30248 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30249 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30250 if test "${wx_cv_spbcdata+set}" = set; then
30251 echo $ECHO_N "(cached) $ECHO_C" >&6
30254 cat >conftest.
$ac_ext <<_ACEOF
30257 cat confdefs.h
>>conftest.
$ac_ext
30258 cat >>conftest.
$ac_ext <<_ACEOF
30259 /* end confdefs.h. */
30274 rm -f conftest.
$ac_objext
30275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30276 (eval $ac_compile) 2>conftest.er1
30278 grep -v '^ *+' conftest.er1
>conftest.err
30280 cat conftest.err
>&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); } &&
30283 { ac_try
='test -z "$ac_c_werror_flag"
30284 || test ! -s conftest.err'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try
='test -s conftest.$ac_objext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.
$ac_ext >&5
30304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30308 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30309 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30311 if test $wx_cv_spbcdata = "yes"; then
30312 cat >>confdefs.h
<<\_ACEOF
30313 #define HAVE_SPBCDATA 1
30319 if test "$TOOLKIT" = "PM" ; then
30322 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30325 if test "$wxUSE_UNIVERSAL" = "yes"; then
30326 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30330 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30331 DISTDIR
="wx\$(TOOLKIT)"
30337 if test "$USE_WIN32" = 1 ; then
30341 GUIDIST
="BASE_DIST"
30346 if test "$wxUSE_GUI" = "yes"; then
30347 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30349 for ac_header
in X
11/Xlib.h
30351 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30353 echo "$as_me:$LINENO: checking for $ac_header" >&5
30354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30356 echo $ECHO_N "(cached) $ECHO_C" >&6
30358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30361 # Is the header compilable?
30362 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30364 cat >conftest.
$ac_ext <<_ACEOF
30367 cat confdefs.h
>>conftest.
$ac_ext
30368 cat >>conftest.
$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370 $ac_includes_default
30371 #include <$ac_header>
30373 rm -f conftest.
$ac_objext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30375 (eval $ac_compile) 2>conftest.er1
30377 grep -v '^ *+' conftest.er1
>conftest.err
30379 cat conftest.err
>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try
='test -z "$ac_c_werror_flag"
30383 || test ! -s conftest.err'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; } &&
30389 { ac_try
='test -s conftest.$ac_objext'
30390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30391 (eval $ac_try) 2>&5
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); }; }; then
30395 ac_header_compiler
=yes
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.
$ac_ext >&5
30400 ac_header_compiler
=no
30402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30404 echo "${ECHO_T}$ac_header_compiler" >&6
30406 # Is the header present?
30407 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30409 cat >conftest.
$ac_ext <<_ACEOF
30412 cat confdefs.h
>>conftest.
$ac_ext
30413 cat >>conftest.
$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415 #include <$ac_header>
30417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30420 grep -v '^ *+' conftest.er1
>conftest.err
30422 cat conftest.err
>&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } >/dev
/null
; then
30425 if test -s conftest.err
; then
30426 ac_cpp_err
=$ac_c_preproc_warn_flag
30427 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30434 if test -z "$ac_cpp_err"; then
30435 ac_header_preproc
=yes
30437 echo "$as_me: failed program was:" >&5
30438 sed 's/^/| /' conftest.
$ac_ext >&5
30440 ac_header_preproc
=no
30442 rm -f conftest.err conftest.
$ac_ext
30443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30444 echo "${ECHO_T}$ac_header_preproc" >&6
30446 # So? What about this header?
30447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30453 ac_header_preproc
=yes
30456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30470 ## ----------------------------------------- ##
30471 ## Report this to wx-dev@lists.wxwidgets.org ##
30472 ## ----------------------------------------- ##
30475 sed "s/^/$as_me: WARNING: /" >&2
30478 echo "$as_me:$LINENO: checking for $ac_header" >&5
30479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 eval "$as_ac_Header=\$ac_header_preproc"
30485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30490 cat >>confdefs.h
<<_ACEOF
30491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30499 for ac_header
in X
11/XKBlib.h
30501 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30502 echo "$as_me:$LINENO: checking for $ac_header" >&5
30503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30505 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 cat >conftest.
$ac_ext <<_ACEOF
30510 cat confdefs.h
>>conftest.
$ac_ext
30511 cat >>conftest.
$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30514 #if HAVE_X11_XLIB_H
30515 #include <X11/Xlib.h>
30519 #include <$ac_header>
30521 rm -f conftest.
$ac_objext
30522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30523 (eval $ac_compile) 2>conftest.er1
30525 grep -v '^ *+' conftest.er1
>conftest.err
30527 cat conftest.err
>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); } &&
30530 { ac_try
='test -z "$ac_c_werror_flag"
30531 || test ! -s conftest.err'
30532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30533 (eval $ac_try) 2>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); }; } &&
30537 { ac_try
='test -s conftest.$ac_objext'
30538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30539 (eval $ac_try) 2>&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); }; }; then
30543 eval "$as_ac_Header=yes"
30545 echo "$as_me: failed program was:" >&5
30546 sed 's/^/| /' conftest.
$ac_ext >&5
30548 eval "$as_ac_Header=no"
30550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30555 cat >>confdefs.h
<<_ACEOF
30556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30571 if test "$TOOLKIT" != "MSW" ; then
30573 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30575 if test "${ac_cv_header_sql_h+set}" = set; then
30576 echo "$as_me:$LINENO: checking for sql.h" >&5
30577 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30578 if test "${ac_cv_header_sql_h+set}" = set; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30582 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30584 # Is the header compilable?
30585 echo "$as_me:$LINENO: checking sql.h usability" >&5
30586 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30587 cat >conftest.
$ac_ext <<_ACEOF
30590 cat confdefs.h
>>conftest.
$ac_ext
30591 cat >>conftest.
$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 $ac_includes_default
30596 rm -f conftest.
$ac_objext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30598 (eval $ac_compile) 2>conftest.er1
30600 grep -v '^ *+' conftest.er1
>conftest.err
30602 cat conftest.err
>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } &&
30605 { ac_try
='test -z "$ac_c_werror_flag"
30606 || test ! -s conftest.err'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; } &&
30612 { ac_try
='test -s conftest.$ac_objext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 ac_header_compiler
=yes
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.
$ac_ext >&5
30623 ac_header_compiler
=no
30625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30627 echo "${ECHO_T}$ac_header_compiler" >&6
30629 # Is the header present?
30630 echo "$as_me:$LINENO: checking sql.h presence" >&5
30631 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30632 cat >conftest.
$ac_ext <<_ACEOF
30635 cat confdefs.h
>>conftest.
$ac_ext
30636 cat >>conftest.
$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30643 grep -v '^ *+' conftest.er1
>conftest.err
30645 cat conftest.err
>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } >/dev
/null
; then
30648 if test -s conftest.err
; then
30649 ac_cpp_err
=$ac_c_preproc_warn_flag
30650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30657 if test -z "$ac_cpp_err"; then
30658 ac_header_preproc
=yes
30660 echo "$as_me: failed program was:" >&5
30661 sed 's/^/| /' conftest.
$ac_ext >&5
30663 ac_header_preproc
=no
30665 rm -f conftest.err conftest.
$ac_ext
30666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30667 echo "${ECHO_T}$ac_header_preproc" >&6
30669 # So? What about this header?
30670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30672 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30673 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30674 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30675 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30676 ac_header_preproc
=yes
30679 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30680 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30681 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30682 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30683 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30684 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30685 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30686 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30687 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30688 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30689 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30690 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30693 ## ----------------------------------------- ##
30694 ## Report this to wx-dev@lists.wxwidgets.org ##
30695 ## ----------------------------------------- ##
30698 sed "s/^/$as_me: WARNING: /" >&2
30701 echo "$as_me:$LINENO: checking for sql.h" >&5
30702 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30703 if test "${ac_cv_header_sql_h+set}" = set; then
30704 echo $ECHO_N "(cached) $ECHO_C" >&6
30706 ac_cv_header_sql_h
=$ac_header_preproc
30708 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30709 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30712 if test $ac_cv_header_sql_h = yes; then
30717 if test "x$found_sql_h" = "x1" ; then
30718 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30719 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30720 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30721 echo $ECHO_N "(cached) $ECHO_C" >&6
30723 ac_check_lib_save_LIBS
=$LIBS
30724 LIBS
="-liodbc $LIBS"
30725 cat >conftest.
$ac_ext <<_ACEOF
30728 cat confdefs.h
>>conftest.
$ac_ext
30729 cat >>conftest.
$ac_ext <<_ACEOF
30730 /* end confdefs.h. */
30732 /* Override any gcc2 internal prototype to avoid an error. */
30736 /* We use char because int might match the return type of a gcc2
30737 builtin and then its argument prototype would still apply. */
30738 char SQLAllocEnv ();
30747 rm -f conftest.
$ac_objext conftest
$ac_exeext
30748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30749 (eval $ac_link) 2>conftest.er1
30751 grep -v '^ *+' conftest.er1
>conftest.err
30753 cat conftest.err
>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } &&
30756 { ac_try
='test -z "$ac_c_werror_flag"
30757 || test ! -s conftest.err'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; } &&
30763 { ac_try
='test -s conftest$ac_exeext'
30764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30765 (eval $ac_try) 2>&5
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); }; }; then
30769 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.
$ac_ext >&5
30774 ac_cv_lib_iodbc_SQLAllocEnv
=no
30776 rm -f conftest.err conftest.
$ac_objext \
30777 conftest
$ac_exeext conftest.
$ac_ext
30778 LIBS
=$ac_check_lib_save_LIBS
30780 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30781 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30782 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30783 ODBC_LINK
=" -liodbc"
30786 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30787 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30788 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30789 echo $ECHO_N "(cached) $ECHO_C" >&6
30791 ac_check_lib_save_LIBS
=$LIBS
30792 LIBS
="-lunixodbc $LIBS"
30793 cat >conftest.
$ac_ext <<_ACEOF
30796 cat confdefs.h
>>conftest.
$ac_ext
30797 cat >>conftest.
$ac_ext <<_ACEOF
30798 /* end confdefs.h. */
30800 /* Override any gcc2 internal prototype to avoid an error. */
30804 /* We use char because int might match the return type of a gcc2
30805 builtin and then its argument prototype would still apply. */
30806 char SQLAllocEnv ();
30815 rm -f conftest.
$ac_objext conftest
$ac_exeext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30817 (eval $ac_link) 2>conftest.er1
30819 grep -v '^ *+' conftest.er1
>conftest.err
30821 cat conftest.err
>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try
='test -z "$ac_c_werror_flag"
30825 || test ! -s conftest.err'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try
='test -s conftest$ac_exeext'
30832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30833 (eval $ac_try) 2>&5
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); }; }; then
30837 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.
$ac_ext >&5
30842 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30844 rm -f conftest.err conftest.
$ac_objext \
30845 conftest
$ac_exeext conftest.
$ac_ext
30846 LIBS
=$ac_check_lib_save_LIBS
30848 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30849 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30850 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30851 ODBC_LINK
=" -lunixodbc"
30854 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30855 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30856 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30857 echo $ECHO_N "(cached) $ECHO_C" >&6
30859 ac_check_lib_save_LIBS
=$LIBS
30860 LIBS
="-lodbc $LIBS"
30861 cat >conftest.
$ac_ext <<_ACEOF
30864 cat confdefs.h
>>conftest.
$ac_ext
30865 cat >>conftest.
$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30868 /* Override any gcc2 internal prototype to avoid an error. */
30872 /* We use char because int might match the return type of a gcc2
30873 builtin and then its argument prototype would still apply. */
30874 char SQLAllocEnv ();
30883 rm -f conftest.
$ac_objext conftest
$ac_exeext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30885 (eval $ac_link) 2>conftest.er1
30887 grep -v '^ *+' conftest.er1
>conftest.err
30889 cat conftest.err
>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } &&
30892 { ac_try
='test -z "$ac_c_werror_flag"
30893 || test ! -s conftest.err'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; } &&
30899 { ac_try
='test -s conftest$ac_exeext'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; }; then
30905 ac_cv_lib_odbc_SQLAllocEnv
=yes
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.
$ac_ext >&5
30910 ac_cv_lib_odbc_SQLAllocEnv
=no
30912 rm -f conftest.err conftest.
$ac_objext \
30913 conftest
$ac_exeext conftest.
$ac_ext
30914 LIBS
=$ac_check_lib_save_LIBS
30916 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30917 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30918 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30919 ODBC_LINK
=" -lodbc"
30929 if test "x$ODBC_LINK" = "x" ; then
30930 if test "$wxUSE_ODBC" = "sys" ; then
30931 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30932 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30933 { (exit 1); exit 1; }; }
30935 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30936 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30944 if test "$wxUSE_ODBC" = "builtin" ; then
30945 cat >>confdefs.h
<<\_ACEOF
30946 #define wxUSE_BUILTIN_IODBC 1
30952 if test "$wxUSE_ODBC" != "no" ; then
30953 cat >>confdefs.h
<<\_ACEOF
30954 #define wxUSE_ODBC 1
30957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30959 WXODBCFLAG
="-D_IODBC_"
30963 if test "$wxUSE_DISPLAY" = "yes"; then
30964 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30965 echo "$as_me:$LINENO: checking for Xinerama" >&5
30966 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30969 for ac_dir
in $SEARCH_LIB;
30971 for ac_extension
in a so sl dylib dll.a
; do
30972 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30973 ac_find_libraries
=$ac_dir
30979 if test "$ac_find_libraries" != "" ; then
30981 if test "$ac_find_libraries" = "default location"; then
30984 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30986 if test $result = 0; then
30989 ac_path_to_link
=" -L$ac_find_libraries"
30993 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30994 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30996 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30997 echo "$as_me:$LINENO: result: yes" >&5
30998 echo "${ECHO_T}yes" >&6
31000 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31001 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31004 for ac_dir
in $SEARCH_LIB;
31006 for ac_extension
in a so sl dylib dll.a
; do
31007 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31008 ac_find_libraries
=$ac_dir
31014 if test "$ac_find_libraries" != "" ; then
31015 echo "$as_me:$LINENO: result: yes" >&5
31016 echo "${ECHO_T}yes" >&6
31018 for ac_header
in X
11/extensions
/xf86vmode.h
31020 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31021 echo "$as_me:$LINENO: checking for $ac_header" >&5
31022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31024 echo $ECHO_N "(cached) $ECHO_C" >&6
31026 cat >conftest.
$ac_ext <<_ACEOF
31029 cat confdefs.h
>>conftest.
$ac_ext
31030 cat >>conftest.
$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31033 #if HAVE_X11_XLIB_H
31034 #include <X11/Xlib.h>
31038 #include <$ac_header>
31040 rm -f conftest.
$ac_objext
31041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31042 (eval $ac_compile) 2>conftest.er1
31044 grep -v '^ *+' conftest.er1
>conftest.err
31046 cat conftest.err
>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); } &&
31049 { ac_try
='test -z "$ac_c_werror_flag"
31050 || test ! -s conftest.err'
31051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31052 (eval $ac_try) 2>&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); }; } &&
31056 { ac_try
='test -s conftest.$ac_objext'
31057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31058 (eval $ac_try) 2>&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); }; }; then
31062 eval "$as_ac_Header=yes"
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.
$ac_ext >&5
31067 eval "$as_ac_Header=no"
31069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31074 cat >>confdefs.h
<<_ACEOF
31075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31085 echo "$as_me:$LINENO: result: no" >&5
31086 echo "${ECHO_T}no" >&6
31090 echo "$as_me:$LINENO: result: no" >&5
31091 echo "${ECHO_T}no" >&6
31092 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31093 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31096 elif test "$wxUSE_MSW" = 1; then
31099 for ac_header
in multimon.h ddraw.h
31101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31102 echo "$as_me:$LINENO: checking for $ac_header" >&5
31103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31105 echo $ECHO_N "(cached) $ECHO_C" >&6
31107 cat >conftest.
$ac_ext <<_ACEOF
31110 cat confdefs.h
>>conftest.
$ac_ext
31111 cat >>conftest.
$ac_ext <<_ACEOF
31112 /* end confdefs.h. */
31113 #include <windows.h>
31115 #include <$ac_header>
31117 rm -f conftest.
$ac_objext
31118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31119 (eval $ac_compile) 2>conftest.er1
31121 grep -v '^ *+' conftest.er1
>conftest.err
31123 cat conftest.err
>&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); } &&
31126 { ac_try
='test -z "$ac_c_werror_flag"
31127 || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try
='test -s conftest.$ac_objext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 eval "$as_ac_Header=yes"
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.
$ac_ext >&5
31144 eval "$as_ac_Header=no"
31146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31151 cat >>confdefs.h
<<_ACEOF
31152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31158 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31159 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31170 if test "$wxUSE_OPENGL" = "yes"; then
31171 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31172 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31173 elif test "$wxUSE_MSW" = 1; then
31174 OPENGL_LIBS
="-lopengl32 -lglu32"
31179 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31181 if test -f "$ac_dir/GL/gl.h"; then
31182 ac_find_includes
=$ac_dir
31187 if test "$ac_find_includes" != "" ; then
31188 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31189 echo "${ECHO_T}found in $ac_find_includes" >&6
31191 if test "x$ac_find_includes" = "x/usr/include"; then
31192 ac_path_to_include
=""
31194 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31196 if test $result = 0; then
31197 ac_path_to_include
=""
31199 ac_path_to_include
=" -I$ac_find_includes"
31203 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
31206 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31207 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31208 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31209 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31210 echo $ECHO_N "(cached) $ECHO_C" >&6
31212 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31213 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31215 # Is the header compilable?
31216 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31217 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31218 cat >conftest.
$ac_ext <<_ACEOF
31221 cat confdefs.h
>>conftest.
$ac_ext
31222 cat >>conftest.
$ac_ext <<_ACEOF
31223 /* end confdefs.h. */
31224 $ac_includes_default
31227 rm -f conftest.
$ac_objext
31228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31229 (eval $ac_compile) 2>conftest.er1
31231 grep -v '^ *+' conftest.er1
>conftest.err
31233 cat conftest.err
>&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } &&
31236 { ac_try
='test -z "$ac_c_werror_flag"
31237 || test ! -s conftest.err'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; } &&
31243 { ac_try
='test -s conftest.$ac_objext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 ac_header_compiler
=yes
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.
$ac_ext >&5
31254 ac_header_compiler
=no
31256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31258 echo "${ECHO_T}$ac_header_compiler" >&6
31260 # Is the header present?
31261 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31262 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31263 cat >conftest.
$ac_ext <<_ACEOF
31266 cat confdefs.h
>>conftest.
$ac_ext
31267 cat >>conftest.
$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31272 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
31279 if test -s conftest.err
; then
31280 ac_cpp_err
=$ac_c_preproc_warn_flag
31281 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31288 if test -z "$ac_cpp_err"; then
31289 ac_header_preproc
=yes
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.
$ac_ext >&5
31294 ac_header_preproc
=no
31296 rm -f conftest.err conftest.
$ac_ext
31297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31298 echo "${ECHO_T}$ac_header_preproc" >&6
31300 # So? What about this header?
31301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31303 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31304 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31305 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31306 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31307 ac_header_preproc
=yes
31310 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31311 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31312 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31313 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31314 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31315 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31316 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31317 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31318 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31319 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31320 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31321 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31324 ## ----------------------------------------- ##
31325 ## Report this to wx-dev@lists.wxwidgets.org ##
31326 ## ----------------------------------------- ##
31329 sed "s/^/$as_me: WARNING: /" >&2
31332 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31333 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31334 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31335 echo $ECHO_N "(cached) $ECHO_C" >&6
31337 ac_cv_header_GL_gl_h
=$ac_header_preproc
31339 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31340 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31343 if test $ac_cv_header_GL_gl_h = yes; then
31347 echo "$as_me:$LINENO: checking for -lGL" >&5
31348 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31351 for ac_dir
in $SEARCH_LIB;
31353 for ac_extension
in a so sl dylib dll.a
; do
31354 if test -f "$ac_dir/libGL.$ac_extension"; then
31355 ac_find_libraries
=$ac_dir
31361 if test "$ac_find_libraries" != "" ; then
31362 echo "$as_me:$LINENO: result: yes" >&5
31363 echo "${ECHO_T}yes" >&6
31366 if test "$ac_find_libraries" = "default location"; then
31369 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31371 if test $result = 0; then
31374 ac_path_to_link
=" -L$ac_find_libraries"
31378 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31379 LDFLAGS_GL
="$ac_path_to_link"
31382 echo "$as_me:$LINENO: checking for -lGLU" >&5
31383 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31386 for ac_dir
in $SEARCH_LIB;
31388 for ac_extension
in a so sl dylib dll.a
; do
31389 if test -f "$ac_dir/libGLU.$ac_extension"; then
31390 ac_find_libraries
=$ac_dir
31396 if test "$ac_find_libraries" != "" ; then
31398 if test "$ac_find_libraries" = "default location"; then
31401 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31403 if test $result = 0; then
31406 ac_path_to_link
=" -L$ac_find_libraries"
31410 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31411 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31412 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31416 OPENGL_LIBS
="-lGL -lGLU"
31417 echo "$as_me:$LINENO: result: yes" >&5
31418 echo "${ECHO_T}yes" >&6
31420 echo "$as_me:$LINENO: result: no" >&5
31421 echo "${ECHO_T}no" >&6
31424 echo "$as_me:$LINENO: result: no" >&5
31425 echo "${ECHO_T}no" >&6
31428 if test "$found_gl" != 1; then
31429 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31430 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31433 for ac_dir
in $SEARCH_LIB;
31435 for ac_extension
in a so sl dylib dll.a
; do
31436 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31437 ac_find_libraries
=$ac_dir
31443 if test "$ac_find_libraries" != "" ; then
31445 if test "$ac_find_libraries" = "default location"; then
31448 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31450 if test $result = 0; then
31453 ac_path_to_link
=" -L$ac_find_libraries"
31457 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31458 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31459 echo "$as_me:$LINENO: result: yes" >&5
31460 echo "${ECHO_T}yes" >&6
31462 echo "$as_me:$LINENO: result: no" >&5
31463 echo "${ECHO_T}no" >&6
31471 if test "x$OPENGL_LIBS" = "x"; then
31472 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31473 echo "$as_me: error: OpenGL libraries not available" >&2;}
31474 { (exit 1); exit 1; }; }
31478 if test "$wxUSE_OPENGL" = "yes"; then
31480 cat >>confdefs.h
<<\_ACEOF
31481 #define wxUSE_OPENGL 1
31484 cat >>confdefs.h
<<\_ACEOF
31485 #define wxUSE_GLCANVAS 1
31488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31493 if test -n "$TOOLKIT" ; then
31494 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31499 if test "$wxUSE_SHARED" = "yes"; then
31503 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31504 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31509 if test "$wxUSE_SHARED" = "yes"; then
31512 found_versioning
=no
31515 if test $found_versioning = no
; then
31516 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31517 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31518 if test "${wx_cv_version_script+set}" = set; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 echo "VER_1 { *; };" >conftest.sym
31523 echo "int main() { return 0; }" >conftest.cpp
31526 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31527 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529 (eval $ac_try) 2>&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; } ; then
31533 if test -s conftest.stderr
; then
31534 wx_cv_version_script
=no
31536 wx_cv_version_script
=yes
31539 wx_cv_version_script
=no
31542 if test $wx_cv_version_script = yes
31544 echo "struct B { virtual ~B() { } }; \
31545 struct D : public B { }; \
31546 void F() { D d; }" > conftest.cpp
31549 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31550 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
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); }; } &&
31557 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31558 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31560 (eval $ac_try) 2>&5
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; }
31566 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31567 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31569 (eval $ac_try) 2>&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); }; }
31574 wx_cv_version_script
=yes
31576 wx_cv_version_script
=no
31581 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31582 rm -f conftest1.output conftest2.output conftest3.output
31585 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31586 echo "${ECHO_T}$wx_cv_version_script" >&6
31587 if test $wx_cv_version_script = yes ; then
31588 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31594 *-*-linux* | *-*-gnu* )
31595 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31596 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31600 if test "$GCC" = yes ; then
31601 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
31603 saveLdflags
="$LDFLAGS"
31604 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31605 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31606 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31607 cat >conftest.
$ac_ext <<_ACEOF
31610 cat confdefs.h
>>conftest.
$ac_ext
31611 cat >>conftest.
$ac_ext <<_ACEOF
31612 /* end confdefs.h. */
31622 rm -f conftest.
$ac_objext conftest
$ac_exeext
31623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31624 (eval $ac_link) 2>conftest.er1
31626 grep -v '^ *+' conftest.er1
>conftest.err
31628 cat conftest.err
>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } &&
31631 { ac_try
='test -z "$ac_c_werror_flag"
31632 || test ! -s conftest.err'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try
='test -s conftest$ac_exeext'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31645 echo "$as_me:$LINENO: result: yes" >&5
31646 echo "${ECHO_T}yes" >&6
31647 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31648 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31651 echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.
$ac_ext >&5
31655 echo "$as_me:$LINENO: result: no" >&5
31656 echo "${ECHO_T}no" >&6
31657 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31658 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31659 LDFLAGS
="$saveLdflags -Wl,-R,/"
31660 cat >conftest.
$ac_ext <<_ACEOF
31663 cat confdefs.h
>>conftest.
$ac_ext
31664 cat >>conftest.
$ac_ext <<_ACEOF
31665 /* end confdefs.h. */
31675 rm -f conftest.
$ac_objext conftest
$ac_exeext
31676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31677 (eval $ac_link) 2>conftest.er1
31679 grep -v '^ *+' conftest.er1
>conftest.err
31681 cat conftest.err
>&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); } &&
31684 { ac_try
='test -z "$ac_c_werror_flag"
31685 || test ! -s conftest.err'
31686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31687 (eval $ac_try) 2>&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); }; } &&
31691 { ac_try
='test -s conftest$ac_exeext'
31692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31693 (eval $ac_try) 2>&5
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); }; }; then
31698 echo "$as_me:$LINENO: result: yes" >&5
31699 echo "${ECHO_T}yes" >&6
31700 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31701 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.
$ac_ext >&5
31708 echo "$as_me:$LINENO: result: no" >&5
31709 echo "${ECHO_T}no" >&6
31712 rm -f conftest.err conftest.
$ac_objext \
31713 conftest
$ac_exeext conftest.
$ac_ext
31716 rm -f conftest.err conftest.
$ac_objext \
31717 conftest
$ac_exeext conftest.
$ac_ext
31718 LDFLAGS
="$saveLdflags"
31720 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31721 WXCONFIG_RPATH
="-R\$libdir"
31726 install_name_tool
=`which install_name_tool`
31727 if test "$install_name_tool" -a -x "$install_name_tool"; then
31728 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31729 cat <<EOF >change-install-names
31731 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31732 inst_cmd="install_name_tool "
31733 for i in \${libnames} ; do
31734 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31738 chmod +x change
-install-names
31742 *-*-cygwin* | *-*-mingw32* )
31743 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31747 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31748 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31753 if test $wxUSE_RPATH = "no"; then
31754 SAMPLES_RPATH_FLAG
=''
31755 SAMPLES_RPATH_POSTLINK
=''
31763 config_linkage_component
="-static"
31770 lib_unicode_suffix
=
31772 if test "$wxUSE_UNICODE" = "yes"; then
31773 lib_unicode_suffix
=u
31774 WX_CHARTYPE
="unicode"
31779 WX_DEBUGTYPE
="release"
31781 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31783 WX_DEBUGTYPE
="debug"
31787 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31788 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31791 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31795 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31797 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31799 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31801 if test "$cross_compiling" = "yes"; then
31802 HOST_SUFFIX
="-$host_alias"
31803 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31804 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31807 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31808 if test "${TOOLKIT_DIR}" = "os2"; then
31809 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31811 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31816 if test "$wxUSE_COCOA" = 1; then
31820 ac_cpp
='$CPP $CPPFLAGS'
31821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31827 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31828 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31829 cat >conftest.
$ac_ext <<_ACEOF
31832 cat confdefs.h
>>conftest.
$ac_ext
31833 cat >>conftest.
$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31835 #include <AppKit/NSEvent.h>
31836 #include <CoreFoundation/CoreFoundation.h>
31846 rm -f conftest.
$ac_objext
31847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31848 (eval $ac_compile) 2>conftest.er1
31850 grep -v '^ *+' conftest.er1
>conftest.err
31852 cat conftest.err
>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } &&
31855 { ac_try
='test -z "$ac_c_werror_flag"
31856 || test ! -s conftest.err'
31857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31858 (eval $ac_try) 2>&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); }; } &&
31862 { ac_try
='test -s conftest.$ac_objext'
31863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864 (eval $ac_try) 2>&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); }; }; then
31868 echo "$as_me:$LINENO: result: no" >&5
31869 echo "${ECHO_T}no" >&6
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.
$ac_ext >&5
31874 echo "$as_me:$LINENO: result: yes" >&5
31875 echo "${ECHO_T}yes" >&6
31876 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31877 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31878 cat >conftest.
$ac_ext <<_ACEOF
31881 cat confdefs.h
>>conftest.
$ac_ext
31882 cat >>conftest.
$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884 #define __Point__ 1
31885 #include <AppKit/NSEvent.h>
31886 #include <CoreFoundation/CoreFoundation.h>
31896 rm -f conftest.
$ac_objext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31898 (eval $ac_compile) 2>conftest.er1
31900 grep -v '^ *+' conftest.er1
>conftest.err
31902 cat conftest.err
>&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); } &&
31905 { ac_try
='test -z "$ac_c_werror_flag"
31906 || test ! -s conftest.err'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; } &&
31912 { ac_try
='test -s conftest.$ac_objext'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; }; then
31918 echo "$as_me:$LINENO: result: yes" >&5
31919 echo "${ECHO_T}yes" >&6
31920 cat >>confdefs.h
<<\_ACEOF
31921 #define __Point__ 1
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.
$ac_ext >&5
31929 { { echo "$as_me:$LINENO: error: no
31930 See \`config.log' for more details." >&5
31931 echo "$as_me: error: no
31932 See \`config.log' for more details." >&2;}
31933 { (exit 1); exit 1; }; }
31936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31941 ac_cpp
='$CPP $CPPFLAGS'
31942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31948 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31949 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31950 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31952 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31954 # Extract the first word of "Rez", so it can be a program name with args.
31955 set dummy Rez
; ac_word
=$2
31956 echo "$as_me:$LINENO: checking for $ac_word" >&5
31957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31958 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31959 echo $ECHO_N "(cached) $ECHO_C" >&6
31961 if test -n "$RESCOMP"; then
31962 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31965 for as_dir
in $PATH
31968 test -z "$as_dir" && as_dir
=.
31969 for ac_exec_ext
in '' $ac_executable_extensions; do
31970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31971 ac_cv_prog_RESCOMP
="Rez"
31972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31978 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31981 RESCOMP
=$ac_cv_prog_RESCOMP
31982 if test -n "$RESCOMP"; then
31983 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31984 echo "${ECHO_T}$RESCOMP" >&6
31986 echo "$as_me:$LINENO: result: no" >&5
31987 echo "${ECHO_T}no" >&6
31990 # Extract the first word of "DeRez", so it can be a program name with args.
31991 set dummy DeRez
; ac_word
=$2
31992 echo "$as_me:$LINENO: checking for $ac_word" >&5
31993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31994 if test "${ac_cv_prog_DEREZ+set}" = set; then
31995 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 if test -n "$DEREZ"; then
31998 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32001 for as_dir
in $PATH
32004 test -z "$as_dir" && as_dir
=.
32005 for ac_exec_ext
in '' $ac_executable_extensions; do
32006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32007 ac_cv_prog_DEREZ
="DeRez"
32008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32014 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32017 DEREZ
=$ac_cv_prog_DEREZ
32018 if test -n "$DEREZ"; then
32019 echo "$as_me:$LINENO: result: $DEREZ" >&5
32020 echo "${ECHO_T}$DEREZ" >&6
32022 echo "$as_me:$LINENO: result: no" >&5
32023 echo "${ECHO_T}no" >&6
32026 # Extract the first word of "SetFile", so it can be a program name with args.
32027 set dummy SetFile
; ac_word
=$2
32028 echo "$as_me:$LINENO: checking for $ac_word" >&5
32029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32030 if test "${ac_cv_prog_SETFILE+set}" = set; then
32031 echo $ECHO_N "(cached) $ECHO_C" >&6
32033 if test -n "$SETFILE"; then
32034 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32037 for as_dir
in $PATH
32040 test -z "$as_dir" && as_dir
=.
32041 for ac_exec_ext
in '' $ac_executable_extensions; do
32042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32043 ac_cv_prog_SETFILE
="SetFile"
32044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32050 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32053 SETFILE
=$ac_cv_prog_SETFILE
32054 if test -n "$SETFILE"; then
32055 echo "$as_me:$LINENO: result: $SETFILE" >&5
32056 echo "${ECHO_T}$SETFILE" >&6
32058 echo "$as_me:$LINENO: result: no" >&5
32059 echo "${ECHO_T}no" >&6
32063 MACSETFILE
="\$(SETFILE)"
32065 if test "$wxUSE_MAC" = 1; then
32066 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
32068 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
32070 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
32071 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
32075 MACRESWXCONFIG
="@true"
32077 if test "$wxUSE_PM" = 1; then
32078 MACRESCOMP
="emxbind -ep"
32086 echo "$as_me:$LINENO: checking for mode_t" >&5
32087 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32088 if test "${ac_cv_type_mode_t+set}" = set; then
32089 echo $ECHO_N "(cached) $ECHO_C" >&6
32091 cat >conftest.
$ac_ext <<_ACEOF
32094 cat confdefs.h
>>conftest.
$ac_ext
32095 cat >>conftest.
$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32097 $ac_includes_default
32103 if (sizeof (mode_t))
32109 rm -f conftest.
$ac_objext
32110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32111 (eval $ac_compile) 2>conftest.er1
32113 grep -v '^ *+' conftest.er1
>conftest.err
32115 cat conftest.err
>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); } &&
32118 { ac_try
='test -z "$ac_c_werror_flag"
32119 || test ! -s conftest.err'
32120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121 (eval $ac_try) 2>&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; } &&
32125 { ac_try
='test -s conftest.$ac_objext'
32126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127 (eval $ac_try) 2>&5
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); }; }; then
32131 ac_cv_type_mode_t
=yes
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.
$ac_ext >&5
32136 ac_cv_type_mode_t
=no
32138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32140 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32141 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32142 if test $ac_cv_type_mode_t = yes; then
32146 cat >>confdefs.h
<<_ACEOF
32152 echo "$as_me:$LINENO: checking for off_t" >&5
32153 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32154 if test "${ac_cv_type_off_t+set}" = set; then
32155 echo $ECHO_N "(cached) $ECHO_C" >&6
32157 cat >conftest.
$ac_ext <<_ACEOF
32160 cat confdefs.h
>>conftest.
$ac_ext
32161 cat >>conftest.
$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163 $ac_includes_default
32169 if (sizeof (off_t))
32175 rm -f conftest.
$ac_objext
32176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32177 (eval $ac_compile) 2>conftest.er1
32179 grep -v '^ *+' conftest.er1
>conftest.err
32181 cat conftest.err
>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try
='test -z "$ac_c_werror_flag"
32185 || test ! -s conftest.err'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; } &&
32191 { ac_try
='test -s conftest.$ac_objext'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 ac_cv_type_off_t
=yes
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32202 ac_cv_type_off_t
=no
32204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32206 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32207 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32208 if test $ac_cv_type_off_t = yes; then
32212 cat >>confdefs.h
<<_ACEOF
32218 echo "$as_me:$LINENO: checking for pid_t" >&5
32219 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32220 if test "${ac_cv_type_pid_t+set}" = set; then
32221 echo $ECHO_N "(cached) $ECHO_C" >&6
32223 cat >conftest.
$ac_ext <<_ACEOF
32226 cat confdefs.h
>>conftest.
$ac_ext
32227 cat >>conftest.
$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32229 $ac_includes_default
32235 if (sizeof (pid_t))
32241 rm -f conftest.
$ac_objext
32242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32243 (eval $ac_compile) 2>conftest.er1
32245 grep -v '^ *+' conftest.er1
>conftest.err
32247 cat conftest.err
>&5
32248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32249 (exit $ac_status); } &&
32250 { ac_try
='test -z "$ac_c_werror_flag"
32251 || test ! -s conftest.err'
32252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32253 (eval $ac_try) 2>&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); }; } &&
32257 { ac_try
='test -s conftest.$ac_objext'
32258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32259 (eval $ac_try) 2>&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; }; then
32263 ac_cv_type_pid_t
=yes
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.
$ac_ext >&5
32268 ac_cv_type_pid_t
=no
32270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32272 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32273 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32274 if test $ac_cv_type_pid_t = yes; then
32278 cat >>confdefs.h
<<_ACEOF
32284 echo "$as_me:$LINENO: checking for size_t" >&5
32285 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32286 if test "${ac_cv_type_size_t+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32289 cat >conftest.
$ac_ext <<_ACEOF
32292 cat confdefs.h
>>conftest.
$ac_ext
32293 cat >>conftest.
$ac_ext <<_ACEOF
32294 /* end confdefs.h. */
32295 $ac_includes_default
32301 if (sizeof (size_t))
32307 rm -f conftest.
$ac_objext
32308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32309 (eval $ac_compile) 2>conftest.er1
32311 grep -v '^ *+' conftest.er1
>conftest.err
32313 cat conftest.err
>&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try
='test -z "$ac_c_werror_flag"
32317 || test ! -s conftest.err'
32318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32319 (eval $ac_try) 2>&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); }; } &&
32323 { ac_try
='test -s conftest.$ac_objext'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; }; then
32329 ac_cv_type_size_t
=yes
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.
$ac_ext >&5
32334 ac_cv_type_size_t
=no
32336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32338 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32339 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32340 if test $ac_cv_type_size_t = yes; then
32344 cat >>confdefs.h
<<_ACEOF
32345 #define size_t unsigned
32350 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32351 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32352 if test "${ac_cv_type_uid_t+set}" = set; then
32353 echo $ECHO_N "(cached) $ECHO_C" >&6
32355 cat >conftest.
$ac_ext <<_ACEOF
32358 cat confdefs.h
>>conftest.
$ac_ext
32359 cat >>conftest.
$ac_ext <<_ACEOF
32360 /* end confdefs.h. */
32361 #include <sys/types.h>
32364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32365 $EGREP "uid_t" >/dev
/null
2>&1; then
32366 ac_cv_type_uid_t
=yes
32368 ac_cv_type_uid_t
=no
32373 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32374 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32375 if test $ac_cv_type_uid_t = no
; then
32377 cat >>confdefs.h
<<\_ACEOF
32382 cat >>confdefs.h
<<\_ACEOF
32389 echo "$as_me:$LINENO: checking for ssize_t" >&5
32390 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32391 if test "${ac_cv_type_ssize_t+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 cat >conftest.
$ac_ext <<_ACEOF
32397 cat confdefs.h
>>conftest.
$ac_ext
32398 cat >>conftest.
$ac_ext <<_ACEOF
32399 /* end confdefs.h. */
32400 $ac_includes_default
32406 if (sizeof (ssize_t))
32412 rm -f conftest.
$ac_objext
32413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32414 (eval $ac_compile) 2>conftest.er1
32416 grep -v '^ *+' conftest.er1
>conftest.err
32418 cat conftest.err
>&5
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); } &&
32421 { ac_try
='test -z "$ac_c_werror_flag"
32422 || test ! -s conftest.err'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; } &&
32428 { ac_try
='test -s conftest.$ac_objext'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; }; then
32434 ac_cv_type_ssize_t
=yes
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.
$ac_ext >&5
32439 ac_cv_type_ssize_t
=no
32441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32443 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32444 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32445 if test $ac_cv_type_ssize_t = yes; then
32447 cat >>confdefs.h
<<_ACEOF
32448 #define HAVE_SSIZE_T 1
32458 ac_cpp
='$CXXCPP $CPPFLAGS'
32459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32463 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32464 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32465 if test "${wx_cv_size_t_is_uint+set}" = set; then
32466 echo $ECHO_N "(cached) $ECHO_C" >&6
32469 cat >conftest.
$ac_ext <<_ACEOF
32472 cat confdefs.h
>>conftest.
$ac_ext
32473 cat >>conftest.
$ac_ext <<_ACEOF
32474 /* end confdefs.h. */
32475 #include <stddef.h>
32482 struct Foo { void foo(size_t); void foo(unsigned int); };
32490 rm -f conftest.
$ac_objext
32491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32492 (eval $ac_compile) 2>conftest.er1
32494 grep -v '^ *+' conftest.er1
>conftest.err
32496 cat conftest.err
>&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); } &&
32499 { ac_try
='test -z "$ac_cxx_werror_flag"
32500 || test ! -s conftest.err'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; } &&
32506 { ac_try
='test -s conftest.$ac_objext'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; }; then
32512 wx_cv_size_t_is_uint
=no
32514 echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.
$ac_ext >&5
32517 wx_cv_size_t_is_uint
=yes
32520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32524 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32525 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32527 if test "$wx_cv_size_t_is_uint" = "yes"; then
32528 cat >>confdefs.h
<<\_ACEOF
32529 #define wxSIZE_T_IS_UINT 1
32533 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32534 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32535 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 cat >conftest.
$ac_ext <<_ACEOF
32541 cat confdefs.h
>>conftest.
$ac_ext
32542 cat >>conftest.
$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 #include <stddef.h>
32551 struct Foo { void foo(size_t); void foo(unsigned long); };
32559 rm -f conftest.
$ac_objext
32560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32561 (eval $ac_compile) 2>conftest.er1
32563 grep -v '^ *+' conftest.er1
>conftest.err
32565 cat conftest.err
>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); } &&
32568 { ac_try
='test -z "$ac_cxx_werror_flag"
32569 || test ! -s conftest.err'
32570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32571 (eval $ac_try) 2>&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); }; } &&
32575 { ac_try
='test -s conftest.$ac_objext'
32576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32577 (eval $ac_try) 2>&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); }; }; then
32581 wx_cv_size_t_is_ulong
=no
32583 echo "$as_me: failed program was:" >&5
32584 sed 's/^/| /' conftest.
$ac_ext >&5
32586 wx_cv_size_t_is_ulong
=yes
32589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32592 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32593 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32595 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32596 cat >>confdefs.h
<<\_ACEOF
32597 #define wxSIZE_T_IS_ULONG 1
32604 ac_cpp
='$CPP $CPPFLAGS'
32605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32611 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32612 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32613 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32614 echo $ECHO_N "(cached) $ECHO_C" >&6
32617 cat >conftest.
$ac_ext <<_ACEOF
32620 cat confdefs.h
>>conftest.
$ac_ext
32621 cat >>conftest.
$ac_ext <<_ACEOF
32622 /* end confdefs.h. */
32636 rm -f conftest.
$ac_objext
32637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32638 (eval $ac_compile) 2>conftest.er1
32640 grep -v '^ *+' conftest.er1
>conftest.err
32642 cat conftest.err
>&5
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); } &&
32645 { ac_try
='test -z "$ac_c_werror_flag"
32646 || test ! -s conftest.err'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; } &&
32652 { ac_try
='test -s conftest.$ac_objext'
32653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 (eval $ac_try) 2>&5
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); }; }; then
32659 wx_cv_struct_pw_gecos
=yes
32662 echo "$as_me: failed program was:" >&5
32663 sed 's/^/| /' conftest.
$ac_ext >&5
32666 wx_cv_struct_pw_gecos
=no
32670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32674 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32675 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32677 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32678 cat >>confdefs.h
<<\_ACEOF
32679 #define HAVE_PW_GECOS 1
32685 if test "$wxUSE_WCHAR_T" = "yes"; then
32686 cat >>confdefs.h
<<\_ACEOF
32687 #define wxUSE_WCHAR_T 1
32694 for ac_func
in wcslen
32696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32697 echo "$as_me:$LINENO: checking for $ac_func" >&5
32698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32699 if eval "test \"\${$as_ac_var+set}\" = set"; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32702 cat >conftest.
$ac_ext <<_ACEOF
32705 cat confdefs.h
>>conftest.
$ac_ext
32706 cat >>conftest.
$ac_ext <<_ACEOF
32707 /* end confdefs.h. */
32708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32710 #define $ac_func innocuous_$ac_func
32712 /* System header to define __stub macros and hopefully few prototypes,
32713 which can conflict with char $ac_func (); below.
32714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32715 <limits.h> exists even on freestanding compilers. */
32718 # include <limits.h>
32720 # include <assert.h>
32725 /* Override any gcc2 internal prototype to avoid an error. */
32730 /* We use char because int might match the return type of a gcc2
32731 builtin and then its argument prototype would still apply. */
32733 /* The GNU C library defines this for functions which it implements
32734 to always fail with ENOSYS. Some functions are actually named
32735 something starting with __ and the normal name is an alias. */
32736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32739 char (*f) () = $ac_func;
32748 return f != $ac_func;
32753 rm -f conftest.
$ac_objext conftest
$ac_exeext
32754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32755 (eval $ac_link) 2>conftest.er1
32757 grep -v '^ *+' conftest.er1
>conftest.err
32759 cat conftest.err
>&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } &&
32762 { ac_try
='test -z "$ac_c_werror_flag"
32763 || test ! -s conftest.err'
32764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32765 (eval $ac_try) 2>&5
32767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768 (exit $ac_status); }; } &&
32769 { ac_try
='test -s conftest$ac_exeext'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; }; then
32775 eval "$as_ac_var=yes"
32777 echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.
$ac_ext >&5
32780 eval "$as_ac_var=no"
32782 rm -f conftest.err conftest.
$ac_objext \
32783 conftest
$ac_exeext conftest.
$ac_ext
32785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32787 if test `eval echo '${'$as_ac_var'}'` = yes; then
32788 cat >>confdefs.h
<<_ACEOF
32789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32796 if test "$WCSLEN_FOUND" = 0; then
32797 if test "$TOOLKIT" = "MSW"; then
32798 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32799 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32800 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 ac_check_lib_save_LIBS
=$LIBS
32804 LIBS
="-lmsvcrt $LIBS"
32805 cat >conftest.
$ac_ext <<_ACEOF
32808 cat confdefs.h
>>conftest.
$ac_ext
32809 cat >>conftest.
$ac_ext <<_ACEOF
32810 /* end confdefs.h. */
32812 /* Override any gcc2 internal prototype to avoid an error. */
32816 /* We use char because int might match the return type of a gcc2
32817 builtin and then its argument prototype would still apply. */
32827 rm -f conftest.
$ac_objext conftest
$ac_exeext
32828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32829 (eval $ac_link) 2>conftest.er1
32831 grep -v '^ *+' conftest.er1
>conftest.err
32833 cat conftest.err
>&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); } &&
32836 { ac_try
='test -z "$ac_c_werror_flag"
32837 || test ! -s conftest.err'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; } &&
32843 { ac_try
='test -s conftest$ac_exeext'
32844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32845 (eval $ac_try) 2>&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); }; }; then
32849 ac_cv_lib_msvcrt_wcslen
=yes
32851 echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.
$ac_ext >&5
32854 ac_cv_lib_msvcrt_wcslen
=no
32856 rm -f conftest.err conftest.
$ac_objext \
32857 conftest
$ac_exeext conftest.
$ac_ext
32858 LIBS
=$ac_check_lib_save_LIBS
32860 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32861 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32862 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32867 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32868 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32869 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 ac_check_lib_save_LIBS
=$LIBS
32874 cat >conftest.
$ac_ext <<_ACEOF
32877 cat confdefs.h
>>conftest.
$ac_ext
32878 cat >>conftest.
$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32881 /* Override any gcc2 internal prototype to avoid an error. */
32885 /* We use char because int might match the return type of a gcc2
32886 builtin and then its argument prototype would still apply. */
32896 rm -f conftest.
$ac_objext conftest
$ac_exeext
32897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32898 (eval $ac_link) 2>conftest.er1
32900 grep -v '^ *+' conftest.er1
>conftest.err
32902 cat conftest.err
>&5
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); } &&
32905 { ac_try
='test -z "$ac_c_werror_flag"
32906 || test ! -s conftest.err'
32907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32908 (eval $ac_try) 2>&5
32910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 (exit $ac_status); }; } &&
32912 { ac_try
='test -s conftest$ac_exeext'
32913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32914 (eval $ac_try) 2>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); }; }; then
32918 ac_cv_lib_w_wcslen
=yes
32920 echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.
$ac_ext >&5
32923 ac_cv_lib_w_wcslen
=no
32925 rm -f conftest.err conftest.
$ac_objext \
32926 conftest
$ac_exeext conftest.
$ac_ext
32927 LIBS
=$ac_check_lib_save_LIBS
32929 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32930 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32931 if test $ac_cv_lib_w_wcslen = yes; then
32941 if test "$WCSLEN_FOUND" = 1; then
32942 cat >>confdefs.h
<<\_ACEOF
32943 #define HAVE_WCSLEN 1
32948 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32949 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32952 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32953 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32954 if test "${ac_cv_type_mbstate_t+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 cat >conftest.
$ac_ext <<_ACEOF
32960 cat confdefs.h
>>conftest.
$ac_ext
32961 cat >>conftest.
$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32968 if ((mbstate_t *) 0)
32970 if (sizeof (mbstate_t))
32976 rm -f conftest.
$ac_objext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32978 (eval $ac_compile) 2>conftest.er1
32980 grep -v '^ *+' conftest.er1
>conftest.err
32982 cat conftest.err
>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try
='test -z "$ac_c_werror_flag"
32986 || test ! -s conftest.err'
32987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32988 (eval $ac_try) 2>&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); }; } &&
32992 { ac_try
='test -s conftest.$ac_objext'
32993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32994 (eval $ac_try) 2>&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); }; }; then
32998 ac_cv_type_mbstate_t
=yes
33000 echo "$as_me: failed program was:" >&5
33001 sed 's/^/| /' conftest.
$ac_ext >&5
33003 ac_cv_type_mbstate_t
=no
33005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33007 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33008 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33009 if test $ac_cv_type_mbstate_t = yes; then
33011 cat >>confdefs.h
<<_ACEOF
33012 #define HAVE_MBSTATE_T 1
33016 for ac_func
in wcsrtombs
33018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33019 echo "$as_me:$LINENO: checking for $ac_func" >&5
33020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33021 if eval "test \"\${$as_ac_var+set}\" = set"; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33024 cat >conftest.
$ac_ext <<_ACEOF
33027 cat confdefs.h
>>conftest.
$ac_ext
33028 cat >>conftest.
$ac_ext <<_ACEOF
33029 /* end confdefs.h. */
33030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33032 #define $ac_func innocuous_$ac_func
33034 /* System header to define __stub macros and hopefully few prototypes,
33035 which can conflict with char $ac_func (); below.
33036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33037 <limits.h> exists even on freestanding compilers. */
33040 # include <limits.h>
33042 # include <assert.h>
33047 /* Override any gcc2 internal prototype to avoid an error. */
33052 /* We use char because int might match the return type of a gcc2
33053 builtin and then its argument prototype would still apply. */
33055 /* The GNU C library defines this for functions which it implements
33056 to always fail with ENOSYS. Some functions are actually named
33057 something starting with __ and the normal name is an alias. */
33058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33061 char (*f) () = $ac_func;
33070 return f != $ac_func;
33075 rm -f conftest.
$ac_objext conftest
$ac_exeext
33076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33077 (eval $ac_link) 2>conftest.er1
33079 grep -v '^ *+' conftest.er1
>conftest.err
33081 cat conftest.err
>&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); } &&
33084 { ac_try
='test -z "$ac_c_werror_flag"
33085 || test ! -s conftest.err'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; } &&
33091 { ac_try
='test -s conftest$ac_exeext'
33092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093 (eval $ac_try) 2>&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); }; }; then
33097 eval "$as_ac_var=yes"
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.
$ac_ext >&5
33102 eval "$as_ac_var=no"
33104 rm -f conftest.err conftest.
$ac_objext \
33105 conftest
$ac_exeext conftest.
$ac_ext
33107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33109 if test `eval echo '${'$as_ac_var'}'` = yes; then
33110 cat >>confdefs.h
<<_ACEOF
33111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33120 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33121 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33127 ac_cpp
='$CXXCPP $CPPFLAGS'
33128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33135 for ac_func
in snprintf vsnprintf
33137 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33138 echo "$as_me:$LINENO: checking for $ac_func" >&5
33139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33140 if eval "test \"\${$as_ac_var+set}\" = set"; then
33141 echo $ECHO_N "(cached) $ECHO_C" >&6
33143 cat >conftest.
$ac_ext <<_ACEOF
33146 cat confdefs.h
>>conftest.
$ac_ext
33147 cat >>conftest.
$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33151 #define $ac_func innocuous_$ac_func
33153 /* System header to define __stub macros and hopefully few prototypes,
33154 which can conflict with char $ac_func (); below.
33155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33156 <limits.h> exists even on freestanding compilers. */
33159 # include <limits.h>
33161 # include <assert.h>
33166 /* Override any gcc2 internal prototype to avoid an error. */
33171 /* We use char because int might match the return type of a gcc2
33172 builtin and then its argument prototype would still apply. */
33174 /* The GNU C library defines this for functions which it implements
33175 to always fail with ENOSYS. Some functions are actually named
33176 something starting with __ and the normal name is an alias. */
33177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33180 char (*f) () = $ac_func;
33189 return f != $ac_func;
33194 rm -f conftest.
$ac_objext conftest
$ac_exeext
33195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33196 (eval $ac_link) 2>conftest.er1
33198 grep -v '^ *+' conftest.er1
>conftest.err
33200 cat conftest.err
>&5
33201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202 (exit $ac_status); } &&
33203 { ac_try
='test -z "$ac_cxx_werror_flag"
33204 || test ! -s conftest.err'
33205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206 (eval $ac_try) 2>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); }; } &&
33210 { ac_try
='test -s conftest$ac_exeext'
33211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33212 (eval $ac_try) 2>&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); }; }; then
33216 eval "$as_ac_var=yes"
33218 echo "$as_me: failed program was:" >&5
33219 sed 's/^/| /' conftest.
$ac_ext >&5
33221 eval "$as_ac_var=no"
33223 rm -f conftest.err conftest.
$ac_objext \
33224 conftest
$ac_exeext conftest.
$ac_ext
33226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33228 if test `eval echo '${'$as_ac_var'}'` = yes; then
33229 cat >>confdefs.h
<<_ACEOF
33230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33237 if test "$ac_cv_func_vsnprintf" = "yes"; then
33238 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33239 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33240 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33244 cat >conftest.
$ac_ext <<_ACEOF
33247 cat confdefs.h
>>conftest.
$ac_ext
33248 cat >>conftest.
$ac_ext <<_ACEOF
33249 /* end confdefs.h. */
33252 #include <stdarg.h>
33254 #if __MSL__ >= 0x6000
33256 using namespace std;
33266 vsnprintf(buf, 10u, "%s", ap);
33272 rm -f conftest.
$ac_objext
33273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33274 (eval $ac_compile) 2>conftest.er1
33276 grep -v '^ *+' conftest.er1
>conftest.err
33278 cat conftest.err
>&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); } &&
33281 { ac_try
='test -z "$ac_cxx_werror_flag"
33282 || test ! -s conftest.err'
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; } &&
33288 { ac_try
='test -s conftest.$ac_objext'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; }; then
33294 wx_cv_func_vsnprintf_decl
=yes
33296 echo "$as_me: failed program was:" >&5
33297 sed 's/^/| /' conftest.
$ac_ext >&5
33299 wx_cv_func_vsnprintf_decl
=no
33302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33306 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33307 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33309 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33310 cat >>confdefs.h
<<\_ACEOF
33311 #define HAVE_VSNPRINTF_DECL 1
33315 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33316 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33317 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33318 echo $ECHO_N "(cached) $ECHO_C" >&6
33321 cat >conftest.
$ac_ext <<_ACEOF
33324 cat confdefs.h
>>conftest.
$ac_ext
33325 cat >>conftest.
$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33329 #include <stdarg.h>
33331 #if __MSL__ >= 0x6000
33333 using namespace std;
33343 const char *fmt = "%s";
33344 vsnprintf(buf, 10u, fmt, ap);
33350 rm -f conftest.
$ac_objext
33351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33352 (eval $ac_compile) 2>conftest.er1
33354 grep -v '^ *+' conftest.er1
>conftest.err
33356 cat conftest.err
>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } &&
33359 { ac_try
='test -z "$ac_cxx_werror_flag"
33360 || test ! -s conftest.err'
33361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362 (eval $ac_try) 2>&5
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; } &&
33366 { ac_try
='test -s conftest.$ac_objext'
33367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33368 (eval $ac_try) 2>&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; }; then
33372 wx_cv_func_broken_vsnprintf_decl
=no
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.
$ac_ext >&5
33377 wx_cv_func_broken_vsnprintf_decl
=yes
33380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33384 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33385 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33387 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33388 cat >>confdefs.h
<<\_ACEOF
33389 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33396 if test "$ac_cv_func_snprintf" = "yes"; then
33397 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33398 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33399 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33403 cat >conftest.
$ac_ext <<_ACEOF
33406 cat confdefs.h
>>conftest.
$ac_ext
33407 cat >>conftest.
$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33411 #include <stdarg.h>
33413 #if __MSL__ >= 0x6000
33415 using namespace std;
33424 snprintf(buf, 10u, "%s", "wx");
33430 rm -f conftest.
$ac_objext
33431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33432 (eval $ac_compile) 2>conftest.er1
33434 grep -v '^ *+' conftest.er1
>conftest.err
33436 cat conftest.err
>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } &&
33439 { ac_try
='test -z "$ac_cxx_werror_flag"
33440 || test ! -s conftest.err'
33441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33442 (eval $ac_try) 2>&5
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); }; } &&
33446 { ac_try
='test -s conftest.$ac_objext'
33447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33448 (eval $ac_try) 2>&5
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); }; }; then
33452 wx_cv_func_snprintf_decl
=yes
33454 echo "$as_me: failed program was:" >&5
33455 sed 's/^/| /' conftest.
$ac_ext >&5
33457 wx_cv_func_snprintf_decl
=no
33460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33464 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33465 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33467 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33468 cat >>confdefs.h
<<\_ACEOF
33469 #define HAVE_SNPRINTF_DECL 1
33473 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33474 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33475 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33476 echo $ECHO_N "(cached) $ECHO_C" >&6
33479 cat >conftest.
$ac_ext <<_ACEOF
33482 cat confdefs.h
>>conftest.
$ac_ext
33483 cat >>conftest.
$ac_ext <<_ACEOF
33484 /* end confdefs.h. */
33487 #include <stdarg.h>
33489 #if __MSL__ >= 0x6000
33491 using namespace std;
33500 const char *fmt = "%s";
33501 snprintf(buf, 10u, fmt, "wx");
33507 rm -f conftest.
$ac_objext
33508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33509 (eval $ac_compile) 2>conftest.er1
33511 grep -v '^ *+' conftest.er1
>conftest.err
33513 cat conftest.err
>&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); } &&
33516 { ac_try
='test -z "$ac_cxx_werror_flag"
33517 || test ! -s conftest.err'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; } &&
33523 { ac_try
='test -s conftest.$ac_objext'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; }; then
33529 wx_cv_func_broken_snprintf_decl
=no
33531 echo "$as_me: failed program was:" >&5
33532 sed 's/^/| /' conftest.
$ac_ext >&5
33534 wx_cv_func_broken_snprintf_decl
=yes
33537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33541 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33542 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33544 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33545 cat >>confdefs.h
<<\_ACEOF
33546 #define HAVE_BROKEN_SNPRINTF_DECL 1
33553 if test "$wxUSE_UNICODE" = yes; then
33560 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33563 echo "$as_me:$LINENO: checking for $ac_func" >&5
33564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33565 if eval "test \"\${$as_ac_var+set}\" = set"; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 cat >conftest.
$ac_ext <<_ACEOF
33571 cat confdefs.h
>>conftest.
$ac_ext
33572 cat >>conftest.
$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33576 #define $ac_func innocuous_$ac_func
33578 /* System header to define __stub macros and hopefully few prototypes,
33579 which can conflict with char $ac_func (); below.
33580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33581 <limits.h> exists even on freestanding compilers. */
33584 # include <limits.h>
33586 # include <assert.h>
33591 /* Override any gcc2 internal prototype to avoid an error. */
33596 /* We use char because int might match the return type of a gcc2
33597 builtin and then its argument prototype would still apply. */
33599 /* The GNU C library defines this for functions which it implements
33600 to always fail with ENOSYS. Some functions are actually named
33601 something starting with __ and the normal name is an alias. */
33602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33605 char (*f) () = $ac_func;
33614 return f != $ac_func;
33619 rm -f conftest.
$ac_objext conftest
$ac_exeext
33620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33621 (eval $ac_link) 2>conftest.er1
33623 grep -v '^ *+' conftest.er1
>conftest.err
33625 cat conftest.err
>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); } &&
33628 { ac_try
='test -z "$ac_cxx_werror_flag"
33629 || test ! -s conftest.err'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; } &&
33635 { ac_try
='test -s conftest$ac_exeext'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; }; then
33641 eval "$as_ac_var=yes"
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.
$ac_ext >&5
33646 eval "$as_ac_var=no"
33648 rm -f conftest.err conftest.
$ac_objext \
33649 conftest
$ac_exeext conftest.
$ac_ext
33651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33653 if test `eval echo '${'$as_ac_var'}'` = yes; then
33654 cat >>confdefs.h
<<_ACEOF
33655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33662 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33663 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33664 cat >conftest.
$ac_ext <<_ACEOF
33667 cat confdefs.h
>>conftest.
$ac_ext
33668 cat >>conftest.
$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33679 rm -f conftest.
$ac_objext
33680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33681 (eval $ac_compile) 2>conftest.er1
33683 grep -v '^ *+' conftest.er1
>conftest.err
33685 cat conftest.err
>&5
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); } &&
33688 { ac_try
='test -z "$ac_cxx_werror_flag"
33689 || test ! -s conftest.err'
33690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33691 (eval $ac_try) 2>&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); }; } &&
33695 { ac_try
='test -s conftest.$ac_objext'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; }; then
33701 echo "$as_me:$LINENO: result: yes" >&5
33702 echo "${ECHO_T}yes" >&6
33703 cat >>confdefs.h
<<\_ACEOF
33704 #define HAVE__VSNWPRINTF 1
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.
$ac_ext >&5
33711 echo "$as_me:$LINENO: result: no" >&5
33712 echo "${ECHO_T}no" >&6
33714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33718 ac_cpp
='$CPP $CPPFLAGS'
33719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33724 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33726 for ac_func
in fnmatch
33728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33729 echo "$as_me:$LINENO: checking for $ac_func" >&5
33730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33731 if eval "test \"\${$as_ac_var+set}\" = set"; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 cat >conftest.
$ac_ext <<_ACEOF
33737 cat confdefs.h
>>conftest.
$ac_ext
33738 cat >>conftest.
$ac_ext <<_ACEOF
33739 /* end confdefs.h. */
33740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33742 #define $ac_func innocuous_$ac_func
33744 /* System header to define __stub macros and hopefully few prototypes,
33745 which can conflict with char $ac_func (); below.
33746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33747 <limits.h> exists even on freestanding compilers. */
33750 # include <limits.h>
33752 # include <assert.h>
33757 /* Override any gcc2 internal prototype to avoid an error. */
33762 /* We use char because int might match the return type of a gcc2
33763 builtin and then its argument prototype would still apply. */
33765 /* The GNU C library defines this for functions which it implements
33766 to always fail with ENOSYS. Some functions are actually named
33767 something starting with __ and the normal name is an alias. */
33768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33771 char (*f) () = $ac_func;
33780 return f != $ac_func;
33785 rm -f conftest.
$ac_objext conftest
$ac_exeext
33786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33787 (eval $ac_link) 2>conftest.er1
33789 grep -v '^ *+' conftest.er1
>conftest.err
33791 cat conftest.err
>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } &&
33794 { ac_try
='test -z "$ac_c_werror_flag"
33795 || test ! -s conftest.err'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; } &&
33801 { ac_try
='test -s conftest$ac_exeext'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33807 eval "$as_ac_var=yes"
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.
$ac_ext >&5
33812 eval "$as_ac_var=no"
33814 rm -f conftest.err conftest.
$ac_objext \
33815 conftest
$ac_exeext conftest.
$ac_ext
33817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33819 if test `eval echo '${'$as_ac_var'}'` = yes; then
33820 cat >>confdefs.h
<<_ACEOF
33821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33829 if test "$wxUSE_FILE" = "yes"; then
33831 for ac_func
in fsync
33833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33834 echo "$as_me:$LINENO: checking for $ac_func" >&5
33835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33836 if eval "test \"\${$as_ac_var+set}\" = set"; then
33837 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 cat >conftest.
$ac_ext <<_ACEOF
33842 cat confdefs.h
>>conftest.
$ac_ext
33843 cat >>conftest.
$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33847 #define $ac_func innocuous_$ac_func
33849 /* System header to define __stub macros and hopefully few prototypes,
33850 which can conflict with char $ac_func (); below.
33851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33852 <limits.h> exists even on freestanding compilers. */
33855 # include <limits.h>
33857 # include <assert.h>
33862 /* Override any gcc2 internal prototype to avoid an error. */
33867 /* We use char because int might match the return type of a gcc2
33868 builtin and then its argument prototype would still apply. */
33870 /* The GNU C library defines this for functions which it implements
33871 to always fail with ENOSYS. Some functions are actually named
33872 something starting with __ and the normal name is an alias. */
33873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33876 char (*f) () = $ac_func;
33885 return f != $ac_func;
33890 rm -f conftest.
$ac_objext conftest
$ac_exeext
33891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33892 (eval $ac_link) 2>conftest.er1
33894 grep -v '^ *+' conftest.er1
>conftest.err
33896 cat conftest.err
>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } &&
33899 { ac_try
='test -z "$ac_c_werror_flag"
33900 || test ! -s conftest.err'
33901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33902 (eval $ac_try) 2>&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); }; } &&
33906 { ac_try
='test -s conftest$ac_exeext'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; }; then
33912 eval "$as_ac_var=yes"
33914 echo "$as_me: failed program was:" >&5
33915 sed 's/^/| /' conftest.
$ac_ext >&5
33917 eval "$as_ac_var=no"
33919 rm -f conftest.err conftest.
$ac_objext \
33920 conftest
$ac_exeext conftest.
$ac_ext
33922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33924 if test `eval echo '${'$as_ac_var'}'` = yes; then
33925 cat >>confdefs.h
<<_ACEOF
33926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33935 if test "$TOOLKIT" != "MSW"; then
33941 ac_cpp
='$CXXCPP $CPPFLAGS'
33942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33949 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33950 if test "${with_libiconv_prefix+set}" = set; then
33951 withval
="$with_libiconv_prefix"
33953 for dir
in `echo "$withval" | tr : ' '`; do
33954 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33955 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33960 echo "$as_me:$LINENO: checking for iconv" >&5
33961 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33962 if test "${am_cv_func_iconv+set}" = set; then
33963 echo $ECHO_N "(cached) $ECHO_C" >&6
33966 am_cv_func_iconv
="no, consider installing GNU libiconv"
33968 cat >conftest.
$ac_ext <<_ACEOF
33971 cat confdefs.h
>>conftest.
$ac_ext
33972 cat >>conftest.
$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 #include <stdlib.h>
33979 iconv_t cd = iconv_open("","");
33980 iconv(cd,NULL,NULL,NULL,NULL);
33986 rm -f conftest.
$ac_objext conftest
$ac_exeext
33987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33988 (eval $ac_link) 2>conftest.er1
33990 grep -v '^ *+' conftest.er1
>conftest.err
33992 cat conftest.err
>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); } &&
33995 { ac_try
='test -z "$ac_cxx_werror_flag"
33996 || test ! -s conftest.err'
33997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33998 (eval $ac_try) 2>&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); }; } &&
34002 { ac_try
='test -s conftest$ac_exeext'
34003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34004 (eval $ac_try) 2>&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); }; }; then
34008 am_cv_func_iconv
=yes
34010 echo "$as_me: failed program was:" >&5
34011 sed 's/^/| /' conftest.
$ac_ext >&5
34014 rm -f conftest.err conftest.
$ac_objext \
34015 conftest
$ac_exeext conftest.
$ac_ext
34016 if test "$am_cv_func_iconv" != yes; then
34017 am_save_LIBS
="$LIBS"
34018 LIBS
="$LIBS -liconv"
34019 cat >conftest.
$ac_ext <<_ACEOF
34022 cat confdefs.h
>>conftest.
$ac_ext
34023 cat >>conftest.
$ac_ext <<_ACEOF
34024 /* end confdefs.h. */
34025 #include <stdlib.h>
34030 iconv_t cd = iconv_open("","");
34031 iconv(cd,NULL,NULL,NULL,NULL);
34037 rm -f conftest.
$ac_objext conftest
$ac_exeext
34038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34039 (eval $ac_link) 2>conftest.er1
34041 grep -v '^ *+' conftest.er1
>conftest.err
34043 cat conftest.err
>&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); } &&
34046 { ac_try
='test -z "$ac_cxx_werror_flag"
34047 || test ! -s conftest.err'
34048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34049 (eval $ac_try) 2>&5
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); }; } &&
34053 { ac_try
='test -s conftest$ac_exeext'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; }; then
34059 am_cv_lib_iconv
=yes
34060 am_cv_func_iconv
=yes
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.
$ac_ext >&5
34066 rm -f conftest.err conftest.
$ac_objext \
34067 conftest
$ac_exeext conftest.
$ac_ext
34068 LIBS
="$am_save_LIBS"
34072 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34073 echo "${ECHO_T}$am_cv_func_iconv" >&6
34074 if test "$am_cv_func_iconv" = yes; then
34076 cat >>confdefs.h
<<\_ACEOF
34077 #define HAVE_ICONV 1
34080 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34081 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34082 if test "${wx_cv_func_iconv_const+set}" = set; then
34083 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 cat >conftest.
$ac_ext <<_ACEOF
34088 cat confdefs.h
>>conftest.
$ac_ext
34089 cat >>conftest.
$ac_ext <<_ACEOF
34090 /* end confdefs.h. */
34092 #include <stdlib.h>
34098 #if defined(__STDC__) || defined(__cplusplus)
34099 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34112 rm -f conftest.
$ac_objext
34113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34114 (eval $ac_compile) 2>conftest.er1
34116 grep -v '^ *+' conftest.er1
>conftest.err
34118 cat conftest.err
>&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); } &&
34121 { ac_try
='test -z "$ac_cxx_werror_flag"
34122 || test ! -s conftest.err'
34123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34124 (eval $ac_try) 2>&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); }; } &&
34128 { ac_try
='test -s conftest.$ac_objext'
34129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34130 (eval $ac_try) 2>&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); }; }; then
34134 wx_cv_func_iconv_const
="no"
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.
$ac_ext >&5
34139 wx_cv_func_iconv_const
="yes"
34142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34145 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34146 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34149 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34150 iconv_const
="const"
34154 cat >>confdefs.h
<<_ACEOF
34155 #define ICONV_CONST $iconv_const
34160 if test "$am_cv_lib_iconv" = yes; then
34165 LIBS
="$LIBICONV $LIBS"
34167 ac_cpp
='$CPP $CPPFLAGS'
34168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34173 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34175 for ac_func
in sigaction
34177 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34178 echo "$as_me:$LINENO: checking for $ac_func" >&5
34179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34180 if eval "test \"\${$as_ac_var+set}\" = set"; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34183 cat >conftest.
$ac_ext <<_ACEOF
34186 cat confdefs.h
>>conftest.
$ac_ext
34187 cat >>conftest.
$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34191 #define $ac_func innocuous_$ac_func
34193 /* System header to define __stub macros and hopefully few prototypes,
34194 which can conflict with char $ac_func (); below.
34195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34196 <limits.h> exists even on freestanding compilers. */
34199 # include <limits.h>
34201 # include <assert.h>
34206 /* Override any gcc2 internal prototype to avoid an error. */
34211 /* We use char because int might match the return type of a gcc2
34212 builtin and then its argument prototype would still apply. */
34214 /* The GNU C library defines this for functions which it implements
34215 to always fail with ENOSYS. Some functions are actually named
34216 something starting with __ and the normal name is an alias. */
34217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34220 char (*f) () = $ac_func;
34229 return f != $ac_func;
34234 rm -f conftest.
$ac_objext conftest
$ac_exeext
34235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34236 (eval $ac_link) 2>conftest.er1
34238 grep -v '^ *+' conftest.er1
>conftest.err
34240 cat conftest.err
>&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } &&
34243 { ac_try
='test -z "$ac_c_werror_flag"
34244 || test ! -s conftest.err'
34245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34246 (eval $ac_try) 2>&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); }; } &&
34250 { ac_try
='test -s conftest$ac_exeext'
34251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34252 (eval $ac_try) 2>&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); }; }; then
34256 eval "$as_ac_var=yes"
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.
$ac_ext >&5
34261 eval "$as_ac_var=no"
34263 rm -f conftest.err conftest.
$ac_objext \
34264 conftest
$ac_exeext conftest.
$ac_ext
34266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34268 if test `eval echo '${'$as_ac_var'}'` = yes; then
34269 cat >>confdefs.h
<<_ACEOF
34270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34277 if test "$ac_cv_func_sigaction" = "no"; then
34278 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34279 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34280 wxUSE_ON_FATAL_EXCEPTION
=no
34283 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34287 ac_cpp
='$CXXCPP $CPPFLAGS'
34288 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34289 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34290 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34293 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34294 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34295 if test "${wx_cv_type_sa_handler+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 cat >conftest.
$ac_ext <<_ACEOF
34302 cat confdefs.h
>>conftest.
$ac_ext
34303 cat >>conftest.
$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 #include <signal.h>
34310 extern void testSigHandler(int);
34312 struct sigaction sa;
34313 sa.sa_handler = testSigHandler;
34319 rm -f conftest.
$ac_objext
34320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34321 (eval $ac_compile) 2>conftest.er1
34323 grep -v '^ *+' conftest.er1
>conftest.err
34325 cat conftest.err
>&5
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); } &&
34328 { ac_try
='test -z "$ac_cxx_werror_flag"
34329 || test ! -s conftest.err'
34330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34331 (eval $ac_try) 2>&5
34333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334 (exit $ac_status); }; } &&
34335 { ac_try
='test -s conftest.$ac_objext'
34336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34337 (eval $ac_try) 2>&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); }; }; then
34342 wx_cv_type_sa_handler
=int
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.
$ac_ext >&5
34349 wx_cv_type_sa_handler
=void
34352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34355 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34356 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34359 ac_cpp
='$CPP $CPPFLAGS'
34360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34365 cat >>confdefs.h
<<_ACEOF
34366 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34372 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34376 ac_cpp
='$CXXCPP $CPPFLAGS'
34377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34382 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34383 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34384 if test "${wx_cv_func_backtrace+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 cat >conftest.
$ac_ext <<_ACEOF
34391 cat confdefs.h
>>conftest.
$ac_ext
34392 cat >>conftest.
$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34394 #include <execinfo.h>
34402 backtrace(trace, 1);
34403 messages = backtrace_symbols(trace, 1);
34409 rm -f conftest.
$ac_objext
34410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34411 (eval $ac_compile) 2>conftest.er1
34413 grep -v '^ *+' conftest.er1
>conftest.err
34415 cat conftest.err
>&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); } &&
34418 { ac_try
='test -z "$ac_cxx_werror_flag"
34419 || test ! -s conftest.err'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; } &&
34425 { ac_try
='test -s conftest.$ac_objext'
34426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34427 (eval $ac_try) 2>&5
34429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430 (exit $ac_status); }; }; then
34431 wx_cv_func_backtrace
=yes
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.
$ac_ext >&5
34436 wx_cv_func_backtrace
=no
34439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34443 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34444 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34447 if test "$wx_cv_func_backtrace" = "no"; then
34448 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34449 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34450 wxUSE_STACKWALKER
=no
34452 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34453 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34454 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34455 echo $ECHO_N "(cached) $ECHO_C" >&6
34458 cat >conftest.
$ac_ext <<_ACEOF
34461 cat confdefs.h
>>conftest.
$ac_ext
34462 cat >>conftest.
$ac_ext <<_ACEOF
34463 /* end confdefs.h. */
34464 #include <cxxabi.h>
34470 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34476 rm -f conftest.
$ac_objext conftest
$ac_exeext
34477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34478 (eval $ac_link) 2>conftest.er1
34480 grep -v '^ *+' conftest.er1
>conftest.err
34482 cat conftest.err
>&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); } &&
34485 { ac_try
='test -z "$ac_cxx_werror_flag"
34486 || test ! -s conftest.err'
34487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34488 (eval $ac_try) 2>&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); }; } &&
34492 { ac_try
='test -s conftest$ac_exeext'
34493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34494 (eval $ac_try) 2>&5
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); }; }; then
34498 wx_cv_func_cxa_demangle
=yes
34500 echo "$as_me: failed program was:" >&5
34501 sed 's/^/| /' conftest.
$ac_ext >&5
34503 wx_cv_func_cxa_demangle
=no
34506 rm -f conftest.err conftest.
$ac_objext \
34507 conftest
$ac_exeext conftest.
$ac_ext
34511 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34512 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34514 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34515 cat >>confdefs.h
<<\_ACEOF
34516 #define HAVE_CXA_DEMANGLE 1
34523 ac_cpp
='$CPP $CPPFLAGS'
34524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34530 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34531 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34532 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34533 wxUSE_STACKWALKER
=no
34539 for ac_func
in mkstemp mktemp
34541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34542 echo "$as_me:$LINENO: checking for $ac_func" >&5
34543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34544 if eval "test \"\${$as_ac_var+set}\" = set"; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34547 cat >conftest.
$ac_ext <<_ACEOF
34550 cat confdefs.h
>>conftest.
$ac_ext
34551 cat >>conftest.
$ac_ext <<_ACEOF
34552 /* end confdefs.h. */
34553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34555 #define $ac_func innocuous_$ac_func
34557 /* System header to define __stub macros and hopefully few prototypes,
34558 which can conflict with char $ac_func (); below.
34559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34560 <limits.h> exists even on freestanding compilers. */
34563 # include <limits.h>
34565 # include <assert.h>
34570 /* Override any gcc2 internal prototype to avoid an error. */
34575 /* We use char because int might match the return type of a gcc2
34576 builtin and then its argument prototype would still apply. */
34578 /* The GNU C library defines this for functions which it implements
34579 to always fail with ENOSYS. Some functions are actually named
34580 something starting with __ and the normal name is an alias. */
34581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34584 char (*f) () = $ac_func;
34593 return f != $ac_func;
34598 rm -f conftest.
$ac_objext conftest
$ac_exeext
34599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34600 (eval $ac_link) 2>conftest.er1
34602 grep -v '^ *+' conftest.er1
>conftest.err
34604 cat conftest.err
>&5
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); } &&
34607 { ac_try
='test -z "$ac_c_werror_flag"
34608 || test ! -s conftest.err'
34609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34610 (eval $ac_try) 2>&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); }; } &&
34614 { ac_try
='test -s conftest$ac_exeext'
34615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34616 (eval $ac_try) 2>&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); }; }; then
34620 eval "$as_ac_var=yes"
34622 echo "$as_me: failed program was:" >&5
34623 sed 's/^/| /' conftest.
$ac_ext >&5
34625 eval "$as_ac_var=no"
34627 rm -f conftest.err conftest.
$ac_objext \
34628 conftest
$ac_exeext conftest.
$ac_ext
34630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34632 if test `eval echo '${'$as_ac_var'}'` = yes; then
34633 cat >>confdefs.h
<<_ACEOF
34634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34641 echo "$as_me:$LINENO: checking for statfs" >&5
34642 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34643 if test "${wx_cv_func_statfs+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.
$ac_ext <<_ACEOF
34649 cat confdefs.h
>>conftest.
$ac_ext
34650 cat >>conftest.
$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34653 #if defined(__BSD__)
34654 #include <sys/param.h>
34655 #include <sys/mount.h>
34657 #include <sys/vfs.h>
34675 rm -f conftest.
$ac_objext
34676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34677 (eval $ac_compile) 2>conftest.er1
34679 grep -v '^ *+' conftest.er1
>conftest.err
34681 cat conftest.err
>&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } &&
34684 { ac_try
='test -z "$ac_c_werror_flag"
34685 || test ! -s conftest.err'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; } &&
34691 { ac_try
='test -s conftest.$ac_objext'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; }; then
34697 wx_cv_func_statfs
=yes
34699 echo "$as_me: failed program was:" >&5
34700 sed 's/^/| /' conftest.
$ac_ext >&5
34702 wx_cv_func_statfs
=no
34705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34708 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34709 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34711 if test "$wx_cv_func_statfs" = "yes"; then
34715 ac_cpp
='$CXXCPP $CPPFLAGS'
34716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34720 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34721 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34722 if test "${wx_cv_func_statfs_decl+set}" = set; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 cat >conftest.
$ac_ext <<_ACEOF
34728 cat confdefs.h
>>conftest.
$ac_ext
34729 cat >>conftest.
$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34732 #if defined(__BSD__)
34733 #include <sys/param.h>
34734 #include <sys/mount.h>
34736 #include <sys/vfs.h>
34750 rm -f conftest.
$ac_objext
34751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34752 (eval $ac_compile) 2>conftest.er1
34754 grep -v '^ *+' conftest.er1
>conftest.err
34756 cat conftest.err
>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } &&
34759 { ac_try
='test -z "$ac_cxx_werror_flag"
34760 || test ! -s conftest.err'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; } &&
34766 { ac_try
='test -s conftest.$ac_objext'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34772 wx_cv_func_statfs_decl
=yes
34774 echo "$as_me: failed program was:" >&5
34775 sed 's/^/| /' conftest.
$ac_ext >&5
34777 wx_cv_func_statfs_decl
=no
34780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34783 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34784 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34786 ac_cpp
='$CPP $CPPFLAGS'
34787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34792 if test "$wx_cv_func_statfs_decl" = "yes"; then
34793 cat >>confdefs.h
<<\_ACEOF
34794 #define HAVE_STATFS_DECL 1
34799 wx_cv_type_statvfs_t
="struct statfs"
34800 cat >>confdefs.h
<<\_ACEOF
34801 #define HAVE_STATFS 1
34805 echo "$as_me:$LINENO: checking for statvfs" >&5
34806 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34807 if test "${wx_cv_func_statvfs+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34810 cat >conftest.
$ac_ext <<_ACEOF
34813 cat confdefs.h
>>conftest.
$ac_ext
34814 cat >>conftest.
$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34817 #include <stddef.h>
34818 #include <sys/statvfs.h>
34824 statvfs("/", NULL);
34830 rm -f conftest.
$ac_objext
34831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34832 (eval $ac_compile) 2>conftest.er1
34834 grep -v '^ *+' conftest.er1
>conftest.err
34836 cat conftest.err
>&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } &&
34839 { ac_try
='test -z "$ac_c_werror_flag"
34840 || test ! -s conftest.err'
34841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34842 (eval $ac_try) 2>&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); }; } &&
34846 { ac_try
='test -s conftest.$ac_objext'
34847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34848 (eval $ac_try) 2>&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); }; }; then
34852 wx_cv_func_statvfs
=yes
34854 echo "$as_me: failed program was:" >&5
34855 sed 's/^/| /' conftest.
$ac_ext >&5
34857 wx_cv_func_statvfs
=no
34860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34863 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34864 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34866 if test "$wx_cv_func_statvfs" = "yes"; then
34870 ac_cpp
='$CXXCPP $CPPFLAGS'
34871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34876 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34877 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34878 if test "${wx_cv_type_statvfs_t+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34881 cat >conftest.
$ac_ext <<_ACEOF
34884 cat confdefs.h
>>conftest.
$ac_ext
34885 cat >>conftest.
$ac_ext <<_ACEOF
34886 /* end confdefs.h. */
34888 #include <sys/statvfs.h>
34905 rm -f conftest.
$ac_objext
34906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34907 (eval $ac_compile) 2>conftest.er1
34909 grep -v '^ *+' conftest.er1
>conftest.err
34911 cat conftest.err
>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); } &&
34914 { ac_try
='test -z "$ac_cxx_werror_flag"
34915 || test ! -s conftest.err'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; } &&
34921 { ac_try
='test -s conftest.$ac_objext'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; }; then
34927 wx_cv_type_statvfs_t
=statvfs_t
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.
$ac_ext >&5
34933 cat >conftest.
$ac_ext <<_ACEOF
34936 cat confdefs.h
>>conftest.
$ac_ext
34937 cat >>conftest.
$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34940 #include <sys/statvfs.h>
34957 rm -f conftest.
$ac_objext
34958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34959 (eval $ac_compile) 2>conftest.er1
34961 grep -v '^ *+' conftest.er1
>conftest.err
34963 cat conftest.err
>&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } &&
34966 { ac_try
='test -z "$ac_cxx_werror_flag"
34967 || test ! -s conftest.err'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; } &&
34973 { ac_try
='test -s conftest.$ac_objext'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; }; then
34979 wx_cv_type_statvfs_t
="struct statvfs"
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.
$ac_ext >&5
34984 wx_cv_type_statvfs_t
="unknown"
34987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34994 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34995 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34998 ac_cpp
='$CPP $CPPFLAGS'
34999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35004 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35005 cat >>confdefs.h
<<\_ACEOF
35006 #define HAVE_STATVFS 1
35011 wx_cv_type_statvfs_t
="unknown"
35015 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35016 cat >>confdefs.h
<<_ACEOF
35017 #define WX_STATFS_T $wx_cv_type_statvfs_t
35021 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35022 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35025 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35028 for ac_func
in fcntl flock
35030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35031 echo "$as_me:$LINENO: checking for $ac_func" >&5
35032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35033 if eval "test \"\${$as_ac_var+set}\" = set"; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35036 cat >conftest.
$ac_ext <<_ACEOF
35039 cat confdefs.h
>>conftest.
$ac_ext
35040 cat >>conftest.
$ac_ext <<_ACEOF
35041 /* end confdefs.h. */
35042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35044 #define $ac_func innocuous_$ac_func
35046 /* System header to define __stub macros and hopefully few prototypes,
35047 which can conflict with char $ac_func (); below.
35048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35049 <limits.h> exists even on freestanding compilers. */
35052 # include <limits.h>
35054 # include <assert.h>
35059 /* Override any gcc2 internal prototype to avoid an error. */
35064 /* We use char because int might match the return type of a gcc2
35065 builtin and then its argument prototype would still apply. */
35067 /* The GNU C library defines this for functions which it implements
35068 to always fail with ENOSYS. Some functions are actually named
35069 something starting with __ and the normal name is an alias. */
35070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35073 char (*f) () = $ac_func;
35082 return f != $ac_func;
35087 rm -f conftest.
$ac_objext conftest
$ac_exeext
35088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35089 (eval $ac_link) 2>conftest.er1
35091 grep -v '^ *+' conftest.er1
>conftest.err
35093 cat conftest.err
>&5
35094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35095 (exit $ac_status); } &&
35096 { ac_try
='test -z "$ac_c_werror_flag"
35097 || test ! -s conftest.err'
35098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099 (eval $ac_try) 2>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); }; } &&
35103 { ac_try
='test -s conftest$ac_exeext'
35104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35105 (eval $ac_try) 2>&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; }; then
35109 eval "$as_ac_var=yes"
35111 echo "$as_me: failed program was:" >&5
35112 sed 's/^/| /' conftest.
$ac_ext >&5
35114 eval "$as_ac_var=no"
35116 rm -f conftest.err conftest.
$ac_objext \
35117 conftest
$ac_exeext conftest.
$ac_ext
35119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35121 if test `eval echo '${'$as_ac_var'}'` = yes; then
35122 cat >>confdefs.h
<<_ACEOF
35123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35130 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35131 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35132 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35133 wxUSE_SNGLINST_CHECKER
=no
35138 for ac_func
in timegm
35140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35141 echo "$as_me:$LINENO: checking for $ac_func" >&5
35142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35143 if eval "test \"\${$as_ac_var+set}\" = set"; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 cat >conftest.
$ac_ext <<_ACEOF
35149 cat confdefs.h
>>conftest.
$ac_ext
35150 cat >>conftest.
$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35154 #define $ac_func innocuous_$ac_func
35156 /* System header to define __stub macros and hopefully few prototypes,
35157 which can conflict with char $ac_func (); below.
35158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35159 <limits.h> exists even on freestanding compilers. */
35162 # include <limits.h>
35164 # include <assert.h>
35169 /* Override any gcc2 internal prototype to avoid an error. */
35174 /* We use char because int might match the return type of a gcc2
35175 builtin and then its argument prototype would still apply. */
35177 /* The GNU C library defines this for functions which it implements
35178 to always fail with ENOSYS. Some functions are actually named
35179 something starting with __ and the normal name is an alias. */
35180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35183 char (*f) () = $ac_func;
35192 return f != $ac_func;
35197 rm -f conftest.
$ac_objext conftest
$ac_exeext
35198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35199 (eval $ac_link) 2>conftest.er1
35201 grep -v '^ *+' conftest.er1
>conftest.err
35203 cat conftest.err
>&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try
='test -z "$ac_c_werror_flag"
35207 || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try
='test -s conftest$ac_exeext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 eval "$as_ac_var=yes"
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35224 eval "$as_ac_var=no"
35226 rm -f conftest.err conftest.
$ac_objext \
35227 conftest
$ac_exeext conftest.
$ac_ext
35229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35231 if test `eval echo '${'$as_ac_var'}'` = yes; then
35232 cat >>confdefs.h
<<_ACEOF
35233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35242 for ac_func
in putenv setenv
35244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35245 echo "$as_me:$LINENO: checking for $ac_func" >&5
35246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35247 if eval "test \"\${$as_ac_var+set}\" = set"; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35250 cat >conftest.
$ac_ext <<_ACEOF
35253 cat confdefs.h
>>conftest.
$ac_ext
35254 cat >>conftest.
$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35258 #define $ac_func innocuous_$ac_func
35260 /* System header to define __stub macros and hopefully few prototypes,
35261 which can conflict with char $ac_func (); below.
35262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35263 <limits.h> exists even on freestanding compilers. */
35266 # include <limits.h>
35268 # include <assert.h>
35273 /* Override any gcc2 internal prototype to avoid an error. */
35278 /* We use char because int might match the return type of a gcc2
35279 builtin and then its argument prototype would still apply. */
35281 /* The GNU C library defines this for functions which it implements
35282 to always fail with ENOSYS. Some functions are actually named
35283 something starting with __ and the normal name is an alias. */
35284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35287 char (*f) () = $ac_func;
35296 return f != $ac_func;
35301 rm -f conftest.
$ac_objext conftest
$ac_exeext
35302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35303 (eval $ac_link) 2>conftest.er1
35305 grep -v '^ *+' conftest.er1
>conftest.err
35307 cat conftest.err
>&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); } &&
35310 { ac_try
='test -z "$ac_c_werror_flag"
35311 || test ! -s conftest.err'
35312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35313 (eval $ac_try) 2>&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); }; } &&
35317 { ac_try
='test -s conftest$ac_exeext'
35318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35319 (eval $ac_try) 2>&5
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); }; }; then
35323 eval "$as_ac_var=yes"
35325 echo "$as_me: failed program was:" >&5
35326 sed 's/^/| /' conftest.
$ac_ext >&5
35328 eval "$as_ac_var=no"
35330 rm -f conftest.err conftest.
$ac_objext \
35331 conftest
$ac_exeext conftest.
$ac_ext
35333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35335 if test `eval echo '${'$as_ac_var'}'` = yes; then
35336 cat >>confdefs.h
<<_ACEOF
35337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35344 HAVE_SOME_SLEEP_FUNC
=0
35345 if test "$USE_BEOS" = 1; then
35346 cat >>confdefs.h
<<\_ACEOF
35347 #define HAVE_SLEEP 1
35350 HAVE_SOME_SLEEP_FUNC
=1
35353 if test "$USE_DARWIN" = 1; then
35354 cat >>confdefs.h
<<\_ACEOF
35355 #define HAVE_USLEEP 1
35358 HAVE_SOME_SLEEP_FUNC
=1
35361 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35364 for ac_func
in nanosleep
35366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35367 echo "$as_me:$LINENO: checking for $ac_func" >&5
35368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35369 if eval "test \"\${$as_ac_var+set}\" = set"; then
35370 echo $ECHO_N "(cached) $ECHO_C" >&6
35372 cat >conftest.
$ac_ext <<_ACEOF
35375 cat confdefs.h
>>conftest.
$ac_ext
35376 cat >>conftest.
$ac_ext <<_ACEOF
35377 /* end confdefs.h. */
35378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35380 #define $ac_func innocuous_$ac_func
35382 /* System header to define __stub macros and hopefully few prototypes,
35383 which can conflict with char $ac_func (); below.
35384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35385 <limits.h> exists even on freestanding compilers. */
35388 # include <limits.h>
35390 # include <assert.h>
35395 /* Override any gcc2 internal prototype to avoid an error. */
35400 /* We use char because int might match the return type of a gcc2
35401 builtin and then its argument prototype would still apply. */
35403 /* The GNU C library defines this for functions which it implements
35404 to always fail with ENOSYS. Some functions are actually named
35405 something starting with __ and the normal name is an alias. */
35406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35409 char (*f) () = $ac_func;
35418 return f != $ac_func;
35423 rm -f conftest.
$ac_objext conftest
$ac_exeext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35425 (eval $ac_link) 2>conftest.er1
35427 grep -v '^ *+' conftest.er1
>conftest.err
35429 cat conftest.err
>&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } &&
35432 { ac_try
='test -z "$ac_c_werror_flag"
35433 || test ! -s conftest.err'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; } &&
35439 { ac_try
='test -s conftest$ac_exeext'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 eval "$as_ac_var=yes"
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.
$ac_ext >&5
35450 eval "$as_ac_var=no"
35452 rm -f conftest.err conftest.
$ac_objext \
35453 conftest
$ac_exeext conftest.
$ac_ext
35455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35457 if test `eval echo '${'$as_ac_var'}'` = yes; then
35458 cat >>confdefs.h
<<_ACEOF
35459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35461 cat >>confdefs.h
<<\_ACEOF
35462 #define HAVE_NANOSLEEP 1
35467 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35468 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35469 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 ac_check_lib_save_LIBS
=$LIBS
35473 LIBS
="-lposix4 $LIBS"
35474 cat >conftest.
$ac_ext <<_ACEOF
35477 cat confdefs.h
>>conftest.
$ac_ext
35478 cat >>conftest.
$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35481 /* Override any gcc2 internal prototype to avoid an error. */
35485 /* We use char because int might match the return type of a gcc2
35486 builtin and then its argument prototype would still apply. */
35496 rm -f conftest.
$ac_objext conftest
$ac_exeext
35497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35498 (eval $ac_link) 2>conftest.er1
35500 grep -v '^ *+' conftest.er1
>conftest.err
35502 cat conftest.err
>&5
35503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35504 (exit $ac_status); } &&
35505 { ac_try
='test -z "$ac_c_werror_flag"
35506 || test ! -s conftest.err'
35507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35508 (eval $ac_try) 2>&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); }; } &&
35512 { ac_try
='test -s conftest$ac_exeext'
35513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35514 (eval $ac_try) 2>&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); }; }; then
35518 ac_cv_lib_posix4_nanosleep
=yes
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.
$ac_ext >&5
35523 ac_cv_lib_posix4_nanosleep
=no
35525 rm -f conftest.err conftest.
$ac_objext \
35526 conftest
$ac_exeext conftest.
$ac_ext
35527 LIBS
=$ac_check_lib_save_LIBS
35529 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35530 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35531 if test $ac_cv_lib_posix4_nanosleep = yes; then
35533 cat >>confdefs.h
<<\_ACEOF
35534 #define HAVE_NANOSLEEP 1
35537 POSIX4_LINK
=" -lposix4"
35542 for ac_func
in usleep
35544 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35545 echo "$as_me:$LINENO: checking for $ac_func" >&5
35546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35547 if eval "test \"\${$as_ac_var+set}\" = set"; then
35548 echo $ECHO_N "(cached) $ECHO_C" >&6
35550 cat >conftest.
$ac_ext <<_ACEOF
35553 cat confdefs.h
>>conftest.
$ac_ext
35554 cat >>conftest.
$ac_ext <<_ACEOF
35555 /* end confdefs.h. */
35556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35558 #define $ac_func innocuous_$ac_func
35560 /* System header to define __stub macros and hopefully few prototypes,
35561 which can conflict with char $ac_func (); below.
35562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35563 <limits.h> exists even on freestanding compilers. */
35566 # include <limits.h>
35568 # include <assert.h>
35573 /* Override any gcc2 internal prototype to avoid an error. */
35578 /* We use char because int might match the return type of a gcc2
35579 builtin and then its argument prototype would still apply. */
35581 /* The GNU C library defines this for functions which it implements
35582 to always fail with ENOSYS. Some functions are actually named
35583 something starting with __ and the normal name is an alias. */
35584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35587 char (*f) () = $ac_func;
35596 return f != $ac_func;
35601 rm -f conftest.
$ac_objext conftest
$ac_exeext
35602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35603 (eval $ac_link) 2>conftest.er1
35605 grep -v '^ *+' conftest.er1
>conftest.err
35607 cat conftest.err
>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } &&
35610 { ac_try
='test -z "$ac_c_werror_flag"
35611 || test ! -s conftest.err'
35612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35613 (eval $ac_try) 2>&5
35615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35616 (exit $ac_status); }; } &&
35617 { ac_try
='test -s conftest$ac_exeext'
35618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35619 (eval $ac_try) 2>&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); }; }; then
35623 eval "$as_ac_var=yes"
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.
$ac_ext >&5
35628 eval "$as_ac_var=no"
35630 rm -f conftest.err conftest.
$ac_objext \
35631 conftest
$ac_exeext conftest.
$ac_ext
35633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35635 if test `eval echo '${'$as_ac_var'}'` = yes; then
35636 cat >>confdefs.h
<<_ACEOF
35637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35639 cat >>confdefs.h
<<\_ACEOF
35640 #define HAVE_USLEEP 1
35644 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35645 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35663 for ac_func
in uname gethostname
35665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35666 echo "$as_me:$LINENO: checking for $ac_func" >&5
35667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35668 if eval "test \"\${$as_ac_var+set}\" = set"; then
35669 echo $ECHO_N "(cached) $ECHO_C" >&6
35671 cat >conftest.
$ac_ext <<_ACEOF
35674 cat confdefs.h
>>conftest.
$ac_ext
35675 cat >>conftest.
$ac_ext <<_ACEOF
35676 /* end confdefs.h. */
35677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35679 #define $ac_func innocuous_$ac_func
35681 /* System header to define __stub macros and hopefully few prototypes,
35682 which can conflict with char $ac_func (); below.
35683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35684 <limits.h> exists even on freestanding compilers. */
35687 # include <limits.h>
35689 # include <assert.h>
35694 /* Override any gcc2 internal prototype to avoid an error. */
35699 /* We use char because int might match the return type of a gcc2
35700 builtin and then its argument prototype would still apply. */
35702 /* The GNU C library defines this for functions which it implements
35703 to always fail with ENOSYS. Some functions are actually named
35704 something starting with __ and the normal name is an alias. */
35705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35708 char (*f) () = $ac_func;
35717 return f != $ac_func;
35722 rm -f conftest.
$ac_objext conftest
$ac_exeext
35723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35724 (eval $ac_link) 2>conftest.er1
35726 grep -v '^ *+' conftest.er1
>conftest.err
35728 cat conftest.err
>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } &&
35731 { ac_try
='test -z "$ac_c_werror_flag"
35732 || test ! -s conftest.err'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try
='test -s conftest$ac_exeext'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; }; then
35744 eval "$as_ac_var=yes"
35746 echo "$as_me: failed program was:" >&5
35747 sed 's/^/| /' conftest.
$ac_ext >&5
35749 eval "$as_ac_var=no"
35751 rm -f conftest.err conftest.
$ac_objext \
35752 conftest
$ac_exeext conftest.
$ac_ext
35754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35756 if test `eval echo '${'$as_ac_var'}'` = yes; then
35757 cat >>confdefs.h
<<_ACEOF
35758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35768 ac_cpp
='$CXXCPP $CPPFLAGS'
35769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35775 for ac_func
in strtok_r
35777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35778 echo "$as_me:$LINENO: checking for $ac_func" >&5
35779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35780 if eval "test \"\${$as_ac_var+set}\" = set"; then
35781 echo $ECHO_N "(cached) $ECHO_C" >&6
35783 cat >conftest.
$ac_ext <<_ACEOF
35786 cat confdefs.h
>>conftest.
$ac_ext
35787 cat >>conftest.
$ac_ext <<_ACEOF
35788 /* end confdefs.h. */
35789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35791 #define $ac_func innocuous_$ac_func
35793 /* System header to define __stub macros and hopefully few prototypes,
35794 which can conflict with char $ac_func (); below.
35795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35796 <limits.h> exists even on freestanding compilers. */
35799 # include <limits.h>
35801 # include <assert.h>
35806 /* Override any gcc2 internal prototype to avoid an error. */
35811 /* We use char because int might match the return type of a gcc2
35812 builtin and then its argument prototype would still apply. */
35814 /* The GNU C library defines this for functions which it implements
35815 to always fail with ENOSYS. Some functions are actually named
35816 something starting with __ and the normal name is an alias. */
35817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35820 char (*f) () = $ac_func;
35829 return f != $ac_func;
35834 rm -f conftest.
$ac_objext conftest
$ac_exeext
35835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35836 (eval $ac_link) 2>conftest.er1
35838 grep -v '^ *+' conftest.er1
>conftest.err
35840 cat conftest.err
>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } &&
35843 { ac_try
='test -z "$ac_cxx_werror_flag"
35844 || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try
='test -s conftest$ac_exeext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 eval "$as_ac_var=yes"
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.
$ac_ext >&5
35861 eval "$as_ac_var=no"
35863 rm -f conftest.err conftest.
$ac_objext \
35864 conftest
$ac_exeext conftest.
$ac_ext
35866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35868 if test `eval echo '${'$as_ac_var'}'` = yes; then
35869 cat >>confdefs.h
<<_ACEOF
35870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35878 ac_cpp
='$CPP $CPPFLAGS'
35879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35886 for ac_func
in inet_addr
35888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35889 echo "$as_me:$LINENO: checking for $ac_func" >&5
35890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35891 if eval "test \"\${$as_ac_var+set}\" = set"; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 cat >conftest.
$ac_ext <<_ACEOF
35897 cat confdefs.h
>>conftest.
$ac_ext
35898 cat >>conftest.
$ac_ext <<_ACEOF
35899 /* end confdefs.h. */
35900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35902 #define $ac_func innocuous_$ac_func
35904 /* System header to define __stub macros and hopefully few prototypes,
35905 which can conflict with char $ac_func (); below.
35906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35907 <limits.h> exists even on freestanding compilers. */
35910 # include <limits.h>
35912 # include <assert.h>
35917 /* Override any gcc2 internal prototype to avoid an error. */
35922 /* We use char because int might match the return type of a gcc2
35923 builtin and then its argument prototype would still apply. */
35925 /* The GNU C library defines this for functions which it implements
35926 to always fail with ENOSYS. Some functions are actually named
35927 something starting with __ and the normal name is an alias. */
35928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35931 char (*f) () = $ac_func;
35940 return f != $ac_func;
35945 rm -f conftest.
$ac_objext conftest
$ac_exeext
35946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35947 (eval $ac_link) 2>conftest.er1
35949 grep -v '^ *+' conftest.er1
>conftest.err
35951 cat conftest.err
>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } &&
35954 { ac_try
='test -z "$ac_c_werror_flag"
35955 || test ! -s conftest.err'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; } &&
35961 { ac_try
='test -s conftest$ac_exeext'
35962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963 (eval $ac_try) 2>&5
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 (exit $ac_status); }; }; then
35967 eval "$as_ac_var=yes"
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.
$ac_ext >&5
35972 eval "$as_ac_var=no"
35974 rm -f conftest.err conftest.
$ac_objext \
35975 conftest
$ac_exeext conftest.
$ac_ext
35977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980 cat >>confdefs.h
<<_ACEOF
35981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35983 cat >>confdefs.h
<<\_ACEOF
35984 #define HAVE_INET_ADDR 1
35989 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35990 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35991 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 ac_check_lib_save_LIBS
=$LIBS
35996 cat >conftest.
$ac_ext <<_ACEOF
35999 cat confdefs.h
>>conftest.
$ac_ext
36000 cat >>conftest.
$ac_ext <<_ACEOF
36001 /* end confdefs.h. */
36003 /* Override any gcc2 internal prototype to avoid an error. */
36007 /* We use char because int might match the return type of a gcc2
36008 builtin and then its argument prototype would still apply. */
36018 rm -f conftest.
$ac_objext conftest
$ac_exeext
36019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36020 (eval $ac_link) 2>conftest.er1
36022 grep -v '^ *+' conftest.er1
>conftest.err
36024 cat conftest.err
>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } &&
36027 { ac_try
='test -z "$ac_c_werror_flag"
36028 || test ! -s conftest.err'
36029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36030 (eval $ac_try) 2>&5
36032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36033 (exit $ac_status); }; } &&
36034 { ac_try
='test -s conftest$ac_exeext'
36035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36036 (eval $ac_try) 2>&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); }; }; then
36040 ac_cv_lib_nsl_inet_addr
=yes
36042 echo "$as_me: failed program was:" >&5
36043 sed 's/^/| /' conftest.
$ac_ext >&5
36045 ac_cv_lib_nsl_inet_addr
=no
36047 rm -f conftest.err conftest.
$ac_objext \
36048 conftest
$ac_exeext conftest.
$ac_ext
36049 LIBS
=$ac_check_lib_save_LIBS
36051 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36052 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36053 if test $ac_cv_lib_nsl_inet_addr = yes; then
36057 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36058 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36059 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 ac_check_lib_save_LIBS
=$LIBS
36063 LIBS
="-lresolv $LIBS"
36064 cat >conftest.
$ac_ext <<_ACEOF
36067 cat confdefs.h
>>conftest.
$ac_ext
36068 cat >>conftest.
$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36071 /* Override any gcc2 internal prototype to avoid an error. */
36075 /* We use char because int might match the return type of a gcc2
36076 builtin and then its argument prototype would still apply. */
36086 rm -f conftest.
$ac_objext conftest
$ac_exeext
36087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36088 (eval $ac_link) 2>conftest.er1
36090 grep -v '^ *+' conftest.er1
>conftest.err
36092 cat conftest.err
>&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); } &&
36095 { ac_try
='test -z "$ac_c_werror_flag"
36096 || 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_exeext'
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_cv_lib_resolv_inet_addr
=yes
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.
$ac_ext >&5
36113 ac_cv_lib_resolv_inet_addr
=no
36115 rm -f conftest.err conftest.
$ac_objext \
36116 conftest
$ac_exeext conftest.
$ac_ext
36117 LIBS
=$ac_check_lib_save_LIBS
36119 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36120 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36121 if test $ac_cv_lib_resolv_inet_addr = yes; then
36125 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36126 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36127 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 ac_check_lib_save_LIBS
=$LIBS
36131 LIBS
="-lsocket $LIBS"
36132 cat >conftest.
$ac_ext <<_ACEOF
36135 cat confdefs.h
>>conftest.
$ac_ext
36136 cat >>conftest.
$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36139 /* Override any gcc2 internal prototype to avoid an error. */
36143 /* We use char because int might match the return type of a gcc2
36144 builtin and then its argument prototype would still apply. */
36154 rm -f conftest.
$ac_objext conftest
$ac_exeext
36155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36156 (eval $ac_link) 2>conftest.er1
36158 grep -v '^ *+' conftest.er1
>conftest.err
36160 cat conftest.err
>&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } &&
36163 { ac_try
='test -z "$ac_c_werror_flag"
36164 || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try
='test -s conftest$ac_exeext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 ac_cv_lib_socket_inet_addr
=yes
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.
$ac_ext >&5
36181 ac_cv_lib_socket_inet_addr
=no
36183 rm -f conftest.err conftest.
$ac_objext \
36184 conftest
$ac_exeext conftest.
$ac_ext
36185 LIBS
=$ac_check_lib_save_LIBS
36187 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36188 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36189 if test $ac_cv_lib_socket_inet_addr = yes; then
36209 for ac_func
in inet_aton
36211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36212 echo "$as_me:$LINENO: checking for $ac_func" >&5
36213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36214 if eval "test \"\${$as_ac_var+set}\" = set"; then
36215 echo $ECHO_N "(cached) $ECHO_C" >&6
36217 cat >conftest.
$ac_ext <<_ACEOF
36220 cat confdefs.h
>>conftest.
$ac_ext
36221 cat >>conftest.
$ac_ext <<_ACEOF
36222 /* end confdefs.h. */
36223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36225 #define $ac_func innocuous_$ac_func
36227 /* System header to define __stub macros and hopefully few prototypes,
36228 which can conflict with char $ac_func (); below.
36229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36230 <limits.h> exists even on freestanding compilers. */
36233 # include <limits.h>
36235 # include <assert.h>
36240 /* Override any gcc2 internal prototype to avoid an error. */
36245 /* We use char because int might match the return type of a gcc2
36246 builtin and then its argument prototype would still apply. */
36248 /* The GNU C library defines this for functions which it implements
36249 to always fail with ENOSYS. Some functions are actually named
36250 something starting with __ and the normal name is an alias. */
36251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36254 char (*f) () = $ac_func;
36263 return f != $ac_func;
36268 rm -f conftest.
$ac_objext conftest
$ac_exeext
36269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36270 (eval $ac_link) 2>conftest.er1
36272 grep -v '^ *+' conftest.er1
>conftest.err
36274 cat conftest.err
>&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); } &&
36277 { ac_try
='test -z "$ac_c_werror_flag"
36278 || test ! -s conftest.err'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; } &&
36284 { ac_try
='test -s conftest$ac_exeext'
36285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36286 (eval $ac_try) 2>&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); }; }; then
36290 eval "$as_ac_var=yes"
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.
$ac_ext >&5
36295 eval "$as_ac_var=no"
36297 rm -f conftest.err conftest.
$ac_objext \
36298 conftest
$ac_exeext conftest.
$ac_ext
36300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36302 if test `eval echo '${'$as_ac_var'}'` = yes; then
36303 cat >>confdefs.h
<<_ACEOF
36304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36306 cat >>confdefs.h
<<\_ACEOF
36307 #define HAVE_INET_ATON 1
36312 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36313 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36314 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36315 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 ac_check_lib_save_LIBS
=$LIBS
36319 LIBS
="-l$INET_LINK $LIBS"
36320 cat >conftest.
$ac_ext <<_ACEOF
36323 cat confdefs.h
>>conftest.
$ac_ext
36324 cat >>conftest.
$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36327 /* Override any gcc2 internal prototype to avoid an error. */
36331 /* We use char because int might match the return type of a gcc2
36332 builtin and then its argument prototype would still apply. */
36342 rm -f conftest.
$ac_objext conftest
$ac_exeext
36343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36344 (eval $ac_link) 2>conftest.er1
36346 grep -v '^ *+' conftest.er1
>conftest.err
36348 cat conftest.err
>&5
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); } &&
36351 { ac_try
='test -z "$ac_c_werror_flag"
36352 || test ! -s conftest.err'
36353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36354 (eval $ac_try) 2>&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); }; } &&
36358 { ac_try
='test -s conftest$ac_exeext'
36359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36360 (eval $ac_try) 2>&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); }; }; then
36364 eval "$as_ac_Lib=yes"
36366 echo "$as_me: failed program was:" >&5
36367 sed 's/^/| /' conftest.
$ac_ext >&5
36369 eval "$as_ac_Lib=no"
36371 rm -f conftest.err conftest.
$ac_objext \
36372 conftest
$ac_exeext conftest.
$ac_ext
36373 LIBS
=$ac_check_lib_save_LIBS
36375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36376 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36377 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36378 cat >>confdefs.h
<<\_ACEOF
36379 #define HAVE_INET_ATON 1
36389 if test "x$INET_LINK" != "x"; then
36390 cat >>confdefs.h
<<\_ACEOF
36391 #define HAVE_INET_ADDR 1
36394 INET_LINK
=" -l$INET_LINK"
36402 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36403 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36404 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 ac_check_lib_save_LIBS
=$LIBS
36409 cat >conftest.
$ac_ext <<_ACEOF
36412 cat confdefs.h
>>conftest.
$ac_ext
36413 cat >>conftest.
$ac_ext <<_ACEOF
36414 /* end confdefs.h. */
36416 /* Override any gcc2 internal prototype to avoid an error. */
36420 /* We use char because int might match the return type of a gcc2
36421 builtin and then its argument prototype would still apply. */
36431 rm -f conftest.
$ac_objext conftest
$ac_exeext
36432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36433 (eval $ac_link) 2>conftest.er1
36435 grep -v '^ *+' conftest.er1
>conftest.err
36437 cat conftest.err
>&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } &&
36440 { ac_try
='test -z "$ac_c_werror_flag"
36441 || test ! -s conftest.err'
36442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36443 (eval $ac_try) 2>&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); }; } &&
36447 { ac_try
='test -s conftest$ac_exeext'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; }; then
36453 ac_cv_lib_esd_esd_close
=yes
36455 echo "$as_me: failed program was:" >&5
36456 sed 's/^/| /' conftest.
$ac_ext >&5
36458 ac_cv_lib_esd_esd_close
=no
36460 rm -f conftest.err conftest.
$ac_objext \
36461 conftest
$ac_exeext conftest.
$ac_ext
36462 LIBS
=$ac_check_lib_save_LIBS
36464 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36465 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36466 if test $ac_cv_lib_esd_esd_close = yes; then
36469 for ac_header
in esd.h
36471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36473 echo "$as_me:$LINENO: checking for $ac_header" >&5
36474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36481 # Is the header compilable?
36482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36484 cat >conftest.
$ac_ext <<_ACEOF
36487 cat confdefs.h
>>conftest.
$ac_ext
36488 cat >>conftest.
$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 $ac_includes_default
36491 #include <$ac_header>
36493 rm -f conftest.
$ac_objext
36494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36495 (eval $ac_compile) 2>conftest.er1
36497 grep -v '^ *+' conftest.er1
>conftest.err
36499 cat conftest.err
>&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); } &&
36502 { ac_try
='test -z "$ac_c_werror_flag"
36503 || test ! -s conftest.err'
36504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36505 (eval $ac_try) 2>&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); }; } &&
36509 { ac_try
='test -s conftest.$ac_objext'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; }; then
36515 ac_header_compiler
=yes
36517 echo "$as_me: failed program was:" >&5
36518 sed 's/^/| /' conftest.
$ac_ext >&5
36520 ac_header_compiler
=no
36522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36524 echo "${ECHO_T}$ac_header_compiler" >&6
36526 # Is the header present?
36527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36529 cat >conftest.
$ac_ext <<_ACEOF
36532 cat confdefs.h
>>conftest.
$ac_ext
36533 cat >>conftest.
$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 #include <$ac_header>
36537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36538 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36540 grep -v '^ *+' conftest.er1
>conftest.err
36542 cat conftest.err
>&5
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); } >/dev
/null
; then
36545 if test -s conftest.err
; then
36546 ac_cpp_err
=$ac_c_preproc_warn_flag
36547 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36554 if test -z "$ac_cpp_err"; then
36555 ac_header_preproc
=yes
36557 echo "$as_me: failed program was:" >&5
36558 sed 's/^/| /' conftest.
$ac_ext >&5
36560 ac_header_preproc
=no
36562 rm -f conftest.err conftest.
$ac_ext
36563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36564 echo "${ECHO_T}$ac_header_preproc" >&6
36566 # So? What about this header?
36567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36573 ac_header_preproc
=yes
36576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36590 ## ----------------------------------------- ##
36591 ## Report this to wx-dev@lists.wxwidgets.org ##
36592 ## ----------------------------------------- ##
36595 sed "s/^/$as_me: WARNING: /" >&2
36598 echo "$as_me:$LINENO: checking for $ac_header" >&5
36599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36601 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 eval "$as_ac_Header=\$ac_header_preproc"
36605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36610 cat >>confdefs.h
<<_ACEOF
36611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36614 EXTRALIBS_ESD
="-lesd"
36625 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36626 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36627 cat >conftest.
$ac_ext <<_ACEOF
36630 cat confdefs.h
>>conftest.
$ac_ext
36631 cat >>conftest.
$ac_ext <<_ACEOF
36632 /* end confdefs.h. */
36634 #include <linux/cdrom.h>
36637 #include <sys/cdio.h>
36643 struct cdrom_tocentry entry, old_entry;
36648 rm -f conftest.
$ac_objext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36650 (eval $ac_compile) 2>conftest.er1
36652 grep -v '^ *+' conftest.er1
>conftest.err
36654 cat conftest.err
>&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try
='test -z "$ac_c_werror_flag"
36658 || test ! -s conftest.err'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; } &&
36664 { ac_try
='test -s conftest.$ac_objext'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; }; then
36670 echo "$as_me:$LINENO: result: yes" >&5
36671 echo "${ECHO_T}yes" >&6
36672 cat >>confdefs.h
<<\_ACEOF
36673 #define HAVE_KNOWN_CDROM_INTERFACE 1
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.
$ac_ext >&5
36680 echo "$as_me:$LINENO: result: no" >&5
36681 echo "${ECHO_T}no" >&6
36683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36686 cat >confcache
<<\_ACEOF
36687 # This file is a shell script that caches the results of configure
36688 # tests run on this system so they can be shared between configure
36689 # scripts and configure runs, see configure's option --config-cache.
36690 # It is not useful on other systems. If it contains results you don't
36691 # want to keep, you may remove or edit it.
36693 # config.status only pays attention to the cache file if you give it
36694 # the --recheck option to rerun configure.
36696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36698 # following values.
36702 # The following way of writing the cache mishandles newlines in values,
36703 # but we know of no workaround that is simple, portable, and efficient.
36704 # So, don't put newlines in cache variables' values.
36705 # Ultrix sh set writes to stderr and can't be redirected directly,
36706 # and sets the high bit in the cache file unless we assign to the vars.
36709 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36711 # `set' does not quote correctly, so add quotes (double-quote
36712 # substitution turns \\\\ into \\, and sed turns \\ into \).
36715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36718 # `set' quotes correctly as required by POSIX, so do not add quotes.
36720 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36729 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36731 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36732 if test -w $cache_file; then
36733 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36734 cat confcache
>$cache_file
36736 echo "not updating unwritable cache $cache_file"
36743 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36749 if test "$wxUSE_THREADS" = "yes" ; then
36750 if test "$USE_BEOS" = 1; then
36751 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36752 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36757 if test "$wxUSE_THREADS" = "yes" ; then
36760 THREAD_OPTS
="-pthread"
36762 *-*-solaris2* | *-*-sunos4* )
36763 if test "x$GCC" = "xyes"; then
36764 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36766 THREAD_OPTS
="-mt $THREAD_OPTS"
36770 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36772 *-*-darwin* | *-*-cygwin* )
36776 THREAD_OPTS
="pthreads"
36779 if test "x$GCC" = "xyes"; then
36780 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36788 if test "x$GCC" = "xyes"; then
36794 if test "x$GCC" != "xyes"; then
36795 THREAD_OPTS
="-Ethread"
36800 THREAD_OPTS
="$THREAD_OPTS pthread none"
36803 for flag
in $THREAD_OPTS; do
36806 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36807 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36811 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36812 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36813 THREADS_CFLAGS
="$flag"
36817 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36818 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36819 THREADS_LINK
="-l$flag"
36824 save_CFLAGS
="$CFLAGS"
36825 LIBS
="$THREADS_LINK $LIBS"
36826 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36828 cat >conftest.
$ac_ext <<_ACEOF
36831 cat confdefs.h
>>conftest.
$ac_ext
36832 cat >>conftest.
$ac_ext <<_ACEOF
36833 /* end confdefs.h. */
36834 #include <pthread.h>
36838 pthread_create(0,0,0,0);
36843 rm -f conftest.
$ac_objext conftest
$ac_exeext
36844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36845 (eval $ac_link) 2>conftest.er1
36847 grep -v '^ *+' conftest.er1
>conftest.err
36849 cat conftest.err
>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } &&
36852 { ac_try
='test -z "$ac_c_werror_flag"
36853 || test ! -s conftest.err'
36854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36855 (eval $ac_try) 2>&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); }; } &&
36859 { ac_try
='test -s conftest$ac_exeext'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; }; then
36867 echo "$as_me: failed program was:" >&5
36868 sed 's/^/| /' conftest.
$ac_ext >&5
36871 rm -f conftest.err conftest.
$ac_objext \
36872 conftest
$ac_exeext conftest.
$ac_ext
36875 CFLAGS
="$save_CFLAGS"
36877 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36878 echo "${ECHO_T}$THREADS_OK" >&6
36879 if test "x$THREADS_OK" = "xyes"; then
36887 if test "x$THREADS_OK" != "xyes"; then
36889 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36890 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36892 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36893 LIBS
="$THREADS_LINK $LIBS"
36895 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36896 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36900 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36901 flag
="-D_THREAD_SAFE"
36904 flag
="-D_THREAD_SAFE"
36907 flag
="-D_REENTRANT"
36908 if test "x$GCC" != "xyes"; then
36909 flag
="$flag -D_RWSTD_MULTI_THREAD"
36912 *solaris
* | alpha
*-osf*)
36913 flag
="-D_REENTRANT"
36916 echo "$as_me:$LINENO: result: ${flag}" >&5
36917 echo "${ECHO_T}${flag}" >&6
36918 if test "x$flag" != xno
; then
36919 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36922 if test "x$THREADS_CFLAGS" != "x"; then
36923 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
36924 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
36929 if test "$wxUSE_THREADS" = "yes" ; then
36931 for ac_func
in thr_setconcurrency
36933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36934 echo "$as_me:$LINENO: checking for $ac_func" >&5
36935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36936 if eval "test \"\${$as_ac_var+set}\" = set"; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 cat >conftest.
$ac_ext <<_ACEOF
36942 cat confdefs.h
>>conftest.
$ac_ext
36943 cat >>conftest.
$ac_ext <<_ACEOF
36944 /* end confdefs.h. */
36945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36947 #define $ac_func innocuous_$ac_func
36949 /* System header to define __stub macros and hopefully few prototypes,
36950 which can conflict with char $ac_func (); below.
36951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36952 <limits.h> exists even on freestanding compilers. */
36955 # include <limits.h>
36957 # include <assert.h>
36962 /* Override any gcc2 internal prototype to avoid an error. */
36967 /* We use char because int might match the return type of a gcc2
36968 builtin and then its argument prototype would still apply. */
36970 /* The GNU C library defines this for functions which it implements
36971 to always fail with ENOSYS. Some functions are actually named
36972 something starting with __ and the normal name is an alias. */
36973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36976 char (*f) () = $ac_func;
36985 return f != $ac_func;
36990 rm -f conftest.
$ac_objext conftest
$ac_exeext
36991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36992 (eval $ac_link) 2>conftest.er1
36994 grep -v '^ *+' conftest.er1
>conftest.err
36996 cat conftest.err
>&5
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); } &&
36999 { ac_try
='test -z "$ac_c_werror_flag"
37000 || test ! -s conftest.err'
37001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37002 (eval $ac_try) 2>&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); }; } &&
37006 { ac_try
='test -s conftest$ac_exeext'
37007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37008 (eval $ac_try) 2>&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); }; }; then
37012 eval "$as_ac_var=yes"
37014 echo "$as_me: failed program was:" >&5
37015 sed 's/^/| /' conftest.
$ac_ext >&5
37017 eval "$as_ac_var=no"
37019 rm -f conftest.err conftest.
$ac_objext \
37020 conftest
$ac_exeext conftest.
$ac_ext
37022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37024 if test `eval echo '${'$as_ac_var'}'` = yes; then
37025 cat >>confdefs.h
<<_ACEOF
37026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37033 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37034 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37035 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37036 echo $ECHO_N "(cached) $ECHO_C" >&6
37039 cat >conftest.
$ac_ext <<_ACEOF
37042 cat confdefs.h
>>conftest.
$ac_ext
37043 cat >>conftest.
$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37045 #include <pthread.h>
37046 void ThreadCleanupFunc(void *p);
37053 pthread_cleanup_push(ThreadCleanupFunc, p);
37054 pthread_cleanup_pop(0);
37060 rm -f conftest.
$ac_objext
37061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37062 (eval $ac_compile) 2>conftest.er1
37064 grep -v '^ *+' conftest.er1
>conftest.err
37066 cat conftest.err
>&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); } &&
37069 { ac_try
='test -z "$ac_c_werror_flag"
37070 || test ! -s conftest.err'
37071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37072 (eval $ac_try) 2>&5
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); }; } &&
37076 { ac_try
='test -s conftest.$ac_objext'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; }; then
37083 wx_cv_func_pthread_cleanup
=yes
37086 echo "$as_me: failed program was:" >&5
37087 sed 's/^/| /' conftest.
$ac_ext >&5
37090 wx_cv_func_pthread_cleanup
=no
37094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37097 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37098 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37099 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37100 cat >>confdefs.h
<<\_ACEOF
37101 #define wxHAVE_PTHREAD_CLEANUP 1
37107 for ac_header
in sched.h
37109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37111 echo "$as_me:$LINENO: checking for $ac_header" >&5
37112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37114 echo $ECHO_N "(cached) $ECHO_C" >&6
37116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37119 # Is the header compilable?
37120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37122 cat >conftest.
$ac_ext <<_ACEOF
37125 cat confdefs.h
>>conftest.
$ac_ext
37126 cat >>conftest.
$ac_ext <<_ACEOF
37127 /* end confdefs.h. */
37128 $ac_includes_default
37129 #include <$ac_header>
37131 rm -f conftest.
$ac_objext
37132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37133 (eval $ac_compile) 2>conftest.er1
37135 grep -v '^ *+' conftest.er1
>conftest.err
37137 cat conftest.err
>&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } &&
37140 { ac_try
='test -z "$ac_c_werror_flag"
37141 || test ! -s conftest.err'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; } &&
37147 { ac_try
='test -s conftest.$ac_objext'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; }; then
37153 ac_header_compiler
=yes
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.
$ac_ext >&5
37158 ac_header_compiler
=no
37160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37162 echo "${ECHO_T}$ac_header_compiler" >&6
37164 # Is the header present?
37165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37167 cat >conftest.
$ac_ext <<_ACEOF
37170 cat confdefs.h
>>conftest.
$ac_ext
37171 cat >>conftest.
$ac_ext <<_ACEOF
37172 /* end confdefs.h. */
37173 #include <$ac_header>
37175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37178 grep -v '^ *+' conftest.er1
>conftest.err
37180 cat conftest.err
>&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); } >/dev
/null
; then
37183 if test -s conftest.err
; then
37184 ac_cpp_err
=$ac_c_preproc_warn_flag
37185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37192 if test -z "$ac_cpp_err"; then
37193 ac_header_preproc
=yes
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.
$ac_ext >&5
37198 ac_header_preproc
=no
37200 rm -f conftest.err conftest.
$ac_ext
37201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37202 echo "${ECHO_T}$ac_header_preproc" >&6
37204 # So? What about this header?
37205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37211 ac_header_preproc
=yes
37214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37228 ## ----------------------------------------- ##
37229 ## Report this to wx-dev@lists.wxwidgets.org ##
37230 ## ----------------------------------------- ##
37233 sed "s/^/$as_me: WARNING: /" >&2
37236 echo "$as_me:$LINENO: checking for $ac_header" >&5
37237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37239 echo $ECHO_N "(cached) $ECHO_C" >&6
37241 eval "$as_ac_Header=\$ac_header_preproc"
37243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37248 cat >>confdefs.h
<<_ACEOF
37249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37256 if test "$ac_cv_header_sched_h" = "yes"; then
37257 echo "$as_me:$LINENO: checking for sched_yield" >&5
37258 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37259 if test "${ac_cv_func_sched_yield+set}" = set; then
37260 echo $ECHO_N "(cached) $ECHO_C" >&6
37262 cat >conftest.
$ac_ext <<_ACEOF
37265 cat confdefs.h
>>conftest.
$ac_ext
37266 cat >>conftest.
$ac_ext <<_ACEOF
37267 /* end confdefs.h. */
37268 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37270 #define sched_yield innocuous_sched_yield
37272 /* System header to define __stub macros and hopefully few prototypes,
37273 which can conflict with char sched_yield (); below.
37274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37275 <limits.h> exists even on freestanding compilers. */
37278 # include <limits.h>
37280 # include <assert.h>
37285 /* Override any gcc2 internal prototype to avoid an error. */
37290 /* We use char because int might match the return type of a gcc2
37291 builtin and then its argument prototype would still apply. */
37292 char sched_yield ();
37293 /* The GNU C library defines this for functions which it implements
37294 to always fail with ENOSYS. Some functions are actually named
37295 something starting with __ and the normal name is an alias. */
37296 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37299 char (*f) () = sched_yield;
37308 return f != sched_yield;
37313 rm -f conftest.
$ac_objext conftest
$ac_exeext
37314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37315 (eval $ac_link) 2>conftest.er1
37317 grep -v '^ *+' conftest.er1
>conftest.err
37319 cat conftest.err
>&5
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); } &&
37322 { ac_try
='test -z "$ac_c_werror_flag"
37323 || test ! -s conftest.err'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; } &&
37329 { ac_try
='test -s conftest$ac_exeext'
37330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37331 (eval $ac_try) 2>&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); }; }; then
37335 ac_cv_func_sched_yield
=yes
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.
$ac_ext >&5
37340 ac_cv_func_sched_yield
=no
37342 rm -f conftest.err conftest.
$ac_objext \
37343 conftest
$ac_exeext conftest.
$ac_ext
37345 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37346 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37347 if test $ac_cv_func_sched_yield = yes; then
37348 cat >>confdefs.h
<<\_ACEOF
37349 #define HAVE_SCHED_YIELD 1
37354 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37355 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37356 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37357 echo $ECHO_N "(cached) $ECHO_C" >&6
37359 ac_check_lib_save_LIBS
=$LIBS
37360 LIBS
="-lposix4 $LIBS"
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37368 /* Override any gcc2 internal prototype to avoid an error. */
37372 /* We use char because int might match the return type of a gcc2
37373 builtin and then its argument prototype would still apply. */
37374 char sched_yield ();
37383 rm -f conftest.
$ac_objext conftest
$ac_exeext
37384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37385 (eval $ac_link) 2>conftest.er1
37387 grep -v '^ *+' conftest.er1
>conftest.err
37389 cat conftest.err
>&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); } &&
37392 { ac_try
='test -z "$ac_c_werror_flag"
37393 || test ! -s conftest.err'
37394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395 (eval $ac_try) 2>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; } &&
37399 { ac_try
='test -s conftest$ac_exeext'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; }; then
37405 ac_cv_lib_posix4_sched_yield
=yes
37407 echo "$as_me: failed program was:" >&5
37408 sed 's/^/| /' conftest.
$ac_ext >&5
37410 ac_cv_lib_posix4_sched_yield
=no
37412 rm -f conftest.err conftest.
$ac_objext \
37413 conftest
$ac_exeext conftest.
$ac_ext
37414 LIBS
=$ac_check_lib_save_LIBS
37416 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37417 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37418 if test $ac_cv_lib_posix4_sched_yield = yes; then
37419 cat >>confdefs.h
<<\_ACEOF
37420 #define HAVE_SCHED_YIELD 1
37422 POSIX4_LINK
=" -lposix4"
37424 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37425 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37436 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37437 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37438 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37439 echo $ECHO_N "(cached) $ECHO_C" >&6
37441 cat >conftest.
$ac_ext <<_ACEOF
37444 cat confdefs.h
>>conftest.
$ac_ext
37445 cat >>conftest.
$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37447 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37449 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37451 /* System header to define __stub macros and hopefully few prototypes,
37452 which can conflict with char pthread_attr_getschedpolicy (); below.
37453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37454 <limits.h> exists even on freestanding compilers. */
37457 # include <limits.h>
37459 # include <assert.h>
37462 #undef pthread_attr_getschedpolicy
37464 /* Override any gcc2 internal prototype to avoid an error. */
37469 /* We use char because int might match the return type of a gcc2
37470 builtin and then its argument prototype would still apply. */
37471 char pthread_attr_getschedpolicy ();
37472 /* The GNU C library defines this for functions which it implements
37473 to always fail with ENOSYS. Some functions are actually named
37474 something starting with __ and the normal name is an alias. */
37475 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37478 char (*f) () = pthread_attr_getschedpolicy;
37487 return f != pthread_attr_getschedpolicy;
37492 rm -f conftest.
$ac_objext conftest
$ac_exeext
37493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37494 (eval $ac_link) 2>conftest.er1
37496 grep -v '^ *+' conftest.er1
>conftest.err
37498 cat conftest.err
>&5
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); } &&
37501 { ac_try
='test -z "$ac_c_werror_flag"
37502 || test ! -s conftest.err'
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; } &&
37508 { ac_try
='test -s conftest$ac_exeext'
37509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37510 (eval $ac_try) 2>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); }; }; then
37514 ac_cv_func_pthread_attr_getschedpolicy
=yes
37516 echo "$as_me: failed program was:" >&5
37517 sed 's/^/| /' conftest.
$ac_ext >&5
37519 ac_cv_func_pthread_attr_getschedpolicy
=no
37521 rm -f conftest.err conftest.
$ac_objext \
37522 conftest
$ac_exeext conftest.
$ac_ext
37524 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37525 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37526 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37527 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37528 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37529 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37530 echo $ECHO_N "(cached) $ECHO_C" >&6
37532 cat >conftest.
$ac_ext <<_ACEOF
37535 cat confdefs.h
>>conftest.
$ac_ext
37536 cat >>conftest.
$ac_ext <<_ACEOF
37537 /* end confdefs.h. */
37538 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37540 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37542 /* System header to define __stub macros and hopefully few prototypes,
37543 which can conflict with char pthread_attr_setschedparam (); below.
37544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37545 <limits.h> exists even on freestanding compilers. */
37548 # include <limits.h>
37550 # include <assert.h>
37553 #undef pthread_attr_setschedparam
37555 /* Override any gcc2 internal prototype to avoid an error. */
37560 /* We use char because int might match the return type of a gcc2
37561 builtin and then its argument prototype would still apply. */
37562 char pthread_attr_setschedparam ();
37563 /* The GNU C library defines this for functions which it implements
37564 to always fail with ENOSYS. Some functions are actually named
37565 something starting with __ and the normal name is an alias. */
37566 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37569 char (*f) () = pthread_attr_setschedparam;
37578 return f != pthread_attr_setschedparam;
37583 rm -f conftest.
$ac_objext conftest
$ac_exeext
37584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37585 (eval $ac_link) 2>conftest.er1
37587 grep -v '^ *+' conftest.er1
>conftest.err
37589 cat conftest.err
>&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } &&
37592 { ac_try
='test -z "$ac_c_werror_flag"
37593 || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try
='test -s conftest$ac_exeext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 ac_cv_func_pthread_attr_setschedparam
=yes
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.
$ac_ext >&5
37610 ac_cv_func_pthread_attr_setschedparam
=no
37612 rm -f conftest.err conftest.
$ac_objext \
37613 conftest
$ac_exeext conftest.
$ac_ext
37615 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37616 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37617 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37618 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37619 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37620 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37623 cat >conftest.
$ac_ext <<_ACEOF
37626 cat confdefs.h
>>conftest.
$ac_ext
37627 cat >>conftest.
$ac_ext <<_ACEOF
37628 /* end confdefs.h. */
37629 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37631 #define sched_get_priority_max innocuous_sched_get_priority_max
37633 /* System header to define __stub macros and hopefully few prototypes,
37634 which can conflict with char sched_get_priority_max (); below.
37635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37636 <limits.h> exists even on freestanding compilers. */
37639 # include <limits.h>
37641 # include <assert.h>
37644 #undef sched_get_priority_max
37646 /* Override any gcc2 internal prototype to avoid an error. */
37651 /* We use char because int might match the return type of a gcc2
37652 builtin and then its argument prototype would still apply. */
37653 char sched_get_priority_max ();
37654 /* The GNU C library defines this for functions which it implements
37655 to always fail with ENOSYS. Some functions are actually named
37656 something starting with __ and the normal name is an alias. */
37657 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37660 char (*f) () = sched_get_priority_max;
37669 return f != sched_get_priority_max;
37674 rm -f conftest.
$ac_objext conftest
$ac_exeext
37675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37676 (eval $ac_link) 2>conftest.er1
37678 grep -v '^ *+' conftest.er1
>conftest.err
37680 cat conftest.err
>&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } &&
37683 { ac_try
='test -z "$ac_c_werror_flag"
37684 || test ! -s conftest.err'
37685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37686 (eval $ac_try) 2>&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); }; } &&
37690 { ac_try
='test -s conftest$ac_exeext'
37691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692 (eval $ac_try) 2>&5
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); }; }; then
37696 ac_cv_func_sched_get_priority_max
=yes
37698 echo "$as_me: failed program was:" >&5
37699 sed 's/^/| /' conftest.
$ac_ext >&5
37701 ac_cv_func_sched_get_priority_max
=no
37703 rm -f conftest.err conftest.
$ac_objext \
37704 conftest
$ac_exeext conftest.
$ac_ext
37706 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37707 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37708 if test $ac_cv_func_sched_get_priority_max = yes; then
37711 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37712 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37713 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37714 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 ac_check_lib_save_LIBS
=$LIBS
37717 LIBS
="-lposix4 $LIBS"
37718 cat >conftest.
$ac_ext <<_ACEOF
37721 cat confdefs.h
>>conftest.
$ac_ext
37722 cat >>conftest.
$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37725 /* Override any gcc2 internal prototype to avoid an error. */
37729 /* We use char because int might match the return type of a gcc2
37730 builtin and then its argument prototype would still apply. */
37731 char sched_get_priority_max ();
37735 sched_get_priority_max ();
37740 rm -f conftest.
$ac_objext conftest
$ac_exeext
37741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37742 (eval $ac_link) 2>conftest.er1
37744 grep -v '^ *+' conftest.er1
>conftest.err
37746 cat conftest.err
>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } &&
37749 { ac_try
='test -z "$ac_c_werror_flag"
37750 || test ! -s conftest.err'
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); }; } &&
37756 { ac_try
='test -s conftest$ac_exeext'
37757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758 (eval $ac_try) 2>&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); }; }; then
37762 ac_cv_lib_posix4_sched_get_priority_max
=yes
37764 echo "$as_me: failed program was:" >&5
37765 sed 's/^/| /' conftest.
$ac_ext >&5
37767 ac_cv_lib_posix4_sched_get_priority_max
=no
37769 rm -f conftest.err conftest.
$ac_objext \
37770 conftest
$ac_exeext conftest.
$ac_ext
37771 LIBS
=$ac_check_lib_save_LIBS
37773 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37774 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37775 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37778 POSIX4_LINK
=" -lposix4"
37792 if test "$HAVE_PRIOR_FUNCS" = 1; then
37793 cat >>confdefs.h
<<\_ACEOF
37794 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37798 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37799 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37802 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37803 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37804 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37805 echo $ECHO_N "(cached) $ECHO_C" >&6
37807 cat >conftest.
$ac_ext <<_ACEOF
37810 cat confdefs.h
>>conftest.
$ac_ext
37811 cat >>conftest.
$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37813 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37815 #define pthread_cancel innocuous_pthread_cancel
37817 /* System header to define __stub macros and hopefully few prototypes,
37818 which can conflict with char pthread_cancel (); below.
37819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37820 <limits.h> exists even on freestanding compilers. */
37823 # include <limits.h>
37825 # include <assert.h>
37828 #undef pthread_cancel
37830 /* Override any gcc2 internal prototype to avoid an error. */
37835 /* We use char because int might match the return type of a gcc2
37836 builtin and then its argument prototype would still apply. */
37837 char pthread_cancel ();
37838 /* The GNU C library defines this for functions which it implements
37839 to always fail with ENOSYS. Some functions are actually named
37840 something starting with __ and the normal name is an alias. */
37841 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37844 char (*f) () = pthread_cancel;
37853 return f != pthread_cancel;
37858 rm -f conftest.
$ac_objext conftest
$ac_exeext
37859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37860 (eval $ac_link) 2>conftest.er1
37862 grep -v '^ *+' conftest.er1
>conftest.err
37864 cat conftest.err
>&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } &&
37867 { ac_try
='test -z "$ac_c_werror_flag"
37868 || test ! -s conftest.err'
37869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37870 (eval $ac_try) 2>&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); }; } &&
37874 { ac_try
='test -s conftest$ac_exeext'
37875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37876 (eval $ac_try) 2>&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); }; }; then
37880 ac_cv_func_pthread_cancel
=yes
37882 echo "$as_me: failed program was:" >&5
37883 sed 's/^/| /' conftest.
$ac_ext >&5
37885 ac_cv_func_pthread_cancel
=no
37887 rm -f conftest.err conftest.
$ac_objext \
37888 conftest
$ac_exeext conftest.
$ac_ext
37890 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37891 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37892 if test $ac_cv_func_pthread_cancel = yes; then
37893 cat >>confdefs.h
<<\_ACEOF
37894 #define HAVE_PTHREAD_CANCEL 1
37898 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37899 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37903 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37904 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37905 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37906 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 cat >conftest.
$ac_ext <<_ACEOF
37911 cat confdefs.h
>>conftest.
$ac_ext
37912 cat >>conftest.
$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37916 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37918 /* System header to define __stub macros and hopefully few prototypes,
37919 which can conflict with char pthread_attr_setstacksize (); below.
37920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37921 <limits.h> exists even on freestanding compilers. */
37924 # include <limits.h>
37926 # include <assert.h>
37929 #undef pthread_attr_setstacksize
37931 /* Override any gcc2 internal prototype to avoid an error. */
37936 /* We use char because int might match the return type of a gcc2
37937 builtin and then its argument prototype would still apply. */
37938 char pthread_attr_setstacksize ();
37939 /* The GNU C library defines this for functions which it implements
37940 to always fail with ENOSYS. Some functions are actually named
37941 something starting with __ and the normal name is an alias. */
37942 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37945 char (*f) () = pthread_attr_setstacksize;
37954 return f != pthread_attr_setstacksize;
37959 rm -f conftest.
$ac_objext conftest
$ac_exeext
37960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37961 (eval $ac_link) 2>conftest.er1
37963 grep -v '^ *+' conftest.er1
>conftest.err
37965 cat conftest.err
>&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } &&
37968 { ac_try
='test -z "$ac_c_werror_flag"
37969 || test ! -s conftest.err'
37970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37971 (eval $ac_try) 2>&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); }; } &&
37975 { ac_try
='test -s conftest$ac_exeext'
37976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37977 (eval $ac_try) 2>&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); }; }; then
37981 ac_cv_func_pthread_attr_setstacksize
=yes
37983 echo "$as_me: failed program was:" >&5
37984 sed 's/^/| /' conftest.
$ac_ext >&5
37986 ac_cv_func_pthread_attr_setstacksize
=no
37988 rm -f conftest.err conftest.
$ac_objext \
37989 conftest
$ac_exeext conftest.
$ac_ext
37991 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37992 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37993 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37994 cat >>confdefs.h
<<\_ACEOF
37995 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38002 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38003 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38004 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 cat >conftest.
$ac_ext <<_ACEOF
38011 cat confdefs.h
>>conftest.
$ac_ext
38012 cat >>conftest.
$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 #include <pthread.h>
38019 pthread_mutexattr_t attr;
38020 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38026 rm -f conftest.
$ac_objext
38027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38028 (eval $ac_compile) 2>conftest.er1
38030 grep -v '^ *+' conftest.er1
>conftest.err
38032 cat conftest.err
>&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); } &&
38035 { ac_try
='test -z "$ac_c_werror_flag"
38036 || test ! -s conftest.err'
38037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38038 (eval $ac_try) 2>&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); }; } &&
38042 { ac_try
='test -s conftest.$ac_objext'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; }; then
38048 wx_cv_type_pthread_mutexattr_t
=yes
38050 echo "$as_me: failed program was:" >&5
38051 sed 's/^/| /' conftest.
$ac_ext >&5
38053 wx_cv_type_pthread_mutexattr_t
=no
38056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38059 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38060 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38062 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38063 cat >>confdefs.h
<<\_ACEOF
38064 #define HAVE_PTHREAD_MUTEXATTR_T 1
38068 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38069 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38070 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38071 echo $ECHO_N "(cached) $ECHO_C" >&6
38074 cat >conftest.
$ac_ext <<_ACEOF
38077 cat confdefs.h
>>conftest.
$ac_ext
38078 cat >>conftest.
$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38080 #include <pthread.h>
38085 pthread_mutexattr_t attr;
38086 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38092 rm -f conftest.
$ac_objext
38093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38094 (eval $ac_compile) 2>conftest.er1
38096 grep -v '^ *+' conftest.er1
>conftest.err
38098 cat conftest.err
>&5
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); } &&
38101 { ac_try
='test -z "$ac_c_werror_flag"
38102 || test ! -s conftest.err'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; } &&
38108 { ac_try
='test -s conftest.$ac_objext'
38109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38110 (eval $ac_try) 2>&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); }; }; then
38114 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38116 echo "$as_me: failed program was:" >&5
38117 sed 's/^/| /' conftest.
$ac_ext >&5
38119 wx_cv_func_pthread_mutexattr_settype_decl
=no
38122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38125 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38126 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38127 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38128 cat >>confdefs.h
<<\_ACEOF
38129 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38134 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38135 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38136 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38137 echo $ECHO_N "(cached) $ECHO_C" >&6
38140 cat >conftest.
$ac_ext <<_ACEOF
38143 cat confdefs.h
>>conftest.
$ac_ext
38144 cat >>conftest.
$ac_ext <<_ACEOF
38145 /* end confdefs.h. */
38146 #include <pthread.h>
38151 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38157 rm -f conftest.
$ac_objext
38158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38159 (eval $ac_compile) 2>conftest.er1
38161 grep -v '^ *+' conftest.er1
>conftest.err
38163 cat conftest.err
>&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } &&
38166 { ac_try
='test -z "$ac_c_werror_flag"
38167 || test ! -s conftest.err'
38168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38169 (eval $ac_try) 2>&5
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); }; } &&
38173 { ac_try
='test -s conftest.$ac_objext'
38174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38175 (eval $ac_try) 2>&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); }; }; then
38180 wx_cv_type_pthread_rec_mutex_init
=yes
38183 echo "$as_me: failed program was:" >&5
38184 sed 's/^/| /' conftest.
$ac_ext >&5
38187 wx_cv_type_pthread_rec_mutex_init
=no
38191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38194 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38195 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38196 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38197 cat >>confdefs.h
<<\_ACEOF
38198 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38202 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38203 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38209 if test "$wxUSE_THREADS" = "yes" ; then
38212 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38213 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38214 if test "${wx_cv_cflags_mthread+set}" = set; then
38215 echo $ECHO_N "(cached) $ECHO_C" >&6
38218 CFLAGS_OLD
="$CFLAGS"
38219 CFLAGS
="$CFLAGS -mthreads"
38220 cat >conftest.
$ac_ext <<_ACEOF
38223 cat confdefs.h
>>conftest.
$ac_ext
38224 cat >>conftest.
$ac_ext <<_ACEOF
38225 /* end confdefs.h. */
38235 rm -f conftest.
$ac_objext
38236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38237 (eval $ac_compile) 2>conftest.er1
38239 grep -v '^ *+' conftest.er1
>conftest.err
38241 cat conftest.err
>&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } &&
38244 { ac_try
='test -z "$ac_c_werror_flag"
38245 || test ! -s conftest.err'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; } &&
38251 { ac_try
='test -s conftest.$ac_objext'
38252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38253 (eval $ac_try) 2>&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); }; }; then
38257 wx_cv_cflags_mthread
=yes
38259 echo "$as_me: failed program was:" >&5
38260 sed 's/^/| /' conftest.
$ac_ext >&5
38262 wx_cv_cflags_mthread
=no
38265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38269 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38270 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38272 if test "$wx_cv_cflags_mthread" = "yes"; then
38273 CXXFLAGS
="$CXXFLAGS -mthreads"
38274 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
38275 LDFLAGS
="$LDFLAGS -mthreads"
38277 CFLAGS
="$CFLAGS_OLD"
38281 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
38282 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38283 LDFLAGS
="$LDFLAGS -Zmt"
38289 if test "$wxUSE_THREADS" = "yes"; then
38290 cat >>confdefs.h
<<\_ACEOF
38291 #define wxUSE_THREADS 1
38295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
38297 if test "$ac_cv_func_strtok_r" = "yes"; then
38298 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
38299 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
38300 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
38301 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
38302 echo "$as_me:$LINENO: result: yes" >&5
38303 echo "${ECHO_T}yes" >&6
38305 echo "$as_me:$LINENO: result: no" >&5
38306 echo "${ECHO_T}no" >&6
38311 if test "$WXGTK20" = 1 ; then
38312 cat >>confdefs.h
<<_ACEOF
38313 #define __WXGTK20__ $WXGTK20
38319 if test "$WXGTK12" = 1 ; then
38320 cat >>confdefs.h
<<_ACEOF
38321 #define __WXGTK12__ $WXGTK12
38326 if test "$WXGTK127" = 1 ; then
38327 cat >>confdefs.h
<<_ACEOF
38328 #define __WXGTK127__ $WXGTK127
38333 if test "$WXGPE" = 1 ; then
38334 cat >>confdefs.h
<<_ACEOF
38335 #define __WXGPE__ $WXGPE
38342 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
38347 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
38348 wxUSE_DEBUG_INFO
=yes
38349 if test "$GCC" = yes; then
38354 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
38355 cat >>confdefs.h
<<\_ACEOF
38359 WXDEBUG_DEFINE
="-D__WXDEBUG__"
38361 if test "$wxUSE_GTK" = 1 ; then
38362 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
38366 if test "$wxUSE_MEM_TRACING" = "yes" ; then
38367 cat >>confdefs.h
<<\_ACEOF
38368 #define wxUSE_MEMORY_TRACING 1
38371 cat >>confdefs.h
<<\_ACEOF
38372 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
38375 cat >>confdefs.h
<<\_ACEOF
38376 #define wxUSE_DEBUG_NEW_ALWAYS 1
38379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
38382 if test "$wxUSE_DMALLOC" = "yes" ; then
38383 DMALLOC_LIBS
="-ldmallocthcxx"
38387 if test "$wxUSE_PROFILE" = "yes" ; then
38392 CODE_GEN_FLAGS_CXX
=
38393 if test "$GCC" = "yes" ; then
38394 if test "$wxUSE_NO_RTTI" = "yes" ; then
38395 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
38397 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38398 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
38400 if test "$wxUSE_PERMISSIVE" = "yes" ; then
38401 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
38406 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
38409 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
38415 if test "$wxUSE_OPTIMISE" = "no" ; then
38416 if test "$GCC" = yes ; then
38420 if test "$GCC" = yes ; then
38424 i586
-*-*|i686
-*-* )
38425 OPTIMISE
="${OPTIMISE} "
38434 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
38435 cat >>confdefs.h
<<\_ACEOF
38436 #define WXWIN_COMPATIBILITY_2_4 1
38440 WXWIN_COMPATIBILITY_2_6
="yes"
38443 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
38444 cat >>confdefs.h
<<\_ACEOF
38445 #define WXWIN_COMPATIBILITY_2_6 1
38451 if test "$wxUSE_GUI" = "yes"; then
38452 cat >>confdefs.h
<<\_ACEOF
38453 #define wxUSE_GUI 1
38460 if test "$wxUSE_UNIX" = "yes"; then
38461 cat >>confdefs.h
<<\_ACEOF
38462 #define wxUSE_UNIX 1
38468 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38472 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38473 if test "$USE_DARWIN" = 1; then
38475 elif test "$USE_DOS" = 1; then
38479 for ac_func
in dlopen
38481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38482 echo "$as_me:$LINENO: checking for $ac_func" >&5
38483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38484 if eval "test \"\${$as_ac_var+set}\" = set"; then
38485 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 cat >conftest.
$ac_ext <<_ACEOF
38490 cat confdefs.h
>>conftest.
$ac_ext
38491 cat >>conftest.
$ac_ext <<_ACEOF
38492 /* end confdefs.h. */
38493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38495 #define $ac_func innocuous_$ac_func
38497 /* System header to define __stub macros and hopefully few prototypes,
38498 which can conflict with char $ac_func (); below.
38499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38500 <limits.h> exists even on freestanding compilers. */
38503 # include <limits.h>
38505 # include <assert.h>
38510 /* Override any gcc2 internal prototype to avoid an error. */
38515 /* We use char because int might match the return type of a gcc2
38516 builtin and then its argument prototype would still apply. */
38518 /* The GNU C library defines this for functions which it implements
38519 to always fail with ENOSYS. Some functions are actually named
38520 something starting with __ and the normal name is an alias. */
38521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38524 char (*f) () = $ac_func;
38533 return f != $ac_func;
38538 rm -f conftest.
$ac_objext conftest
$ac_exeext
38539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38540 (eval $ac_link) 2>conftest.er1
38542 grep -v '^ *+' conftest.er1
>conftest.err
38544 cat conftest.err
>&5
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); } &&
38547 { ac_try
='test -z "$ac_c_werror_flag"
38548 || test ! -s conftest.err'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; } &&
38554 { ac_try
='test -s conftest$ac_exeext'
38555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38556 (eval $ac_try) 2>&5
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); }; }; then
38560 eval "$as_ac_var=yes"
38562 echo "$as_me: failed program was:" >&5
38563 sed 's/^/| /' conftest.
$ac_ext >&5
38565 eval "$as_ac_var=no"
38567 rm -f conftest.err conftest.
$ac_objext \
38568 conftest
$ac_exeext conftest.
$ac_ext
38570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38572 if test `eval echo '${'$as_ac_var'}'` = yes; then
38573 cat >>confdefs.h
<<_ACEOF
38574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38577 cat >>confdefs.h
<<\_ACEOF
38578 #define HAVE_DLOPEN 1
38585 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38586 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38587 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38588 echo $ECHO_N "(cached) $ECHO_C" >&6
38590 ac_check_lib_save_LIBS
=$LIBS
38592 cat >conftest.
$ac_ext <<_ACEOF
38595 cat confdefs.h
>>conftest.
$ac_ext
38596 cat >>conftest.
$ac_ext <<_ACEOF
38597 /* end confdefs.h. */
38599 /* Override any gcc2 internal prototype to avoid an error. */
38603 /* We use char because int might match the return type of a gcc2
38604 builtin and then its argument prototype would still apply. */
38614 rm -f conftest.
$ac_objext conftest
$ac_exeext
38615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38616 (eval $ac_link) 2>conftest.er1
38618 grep -v '^ *+' conftest.er1
>conftest.err
38620 cat conftest.err
>&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } &&
38623 { ac_try
='test -z "$ac_c_werror_flag"
38624 || test ! -s conftest.err'
38625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38626 (eval $ac_try) 2>&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); }; } &&
38630 { ac_try
='test -s conftest$ac_exeext'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; }; then
38636 ac_cv_lib_dl_dlopen
=yes
38638 echo "$as_me: failed program was:" >&5
38639 sed 's/^/| /' conftest.
$ac_ext >&5
38641 ac_cv_lib_dl_dlopen
=no
38643 rm -f conftest.err conftest.
$ac_objext \
38644 conftest
$ac_exeext conftest.
$ac_ext
38645 LIBS
=$ac_check_lib_save_LIBS
38647 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38648 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38649 if test $ac_cv_lib_dl_dlopen = yes; then
38651 cat >>confdefs.h
<<\_ACEOF
38652 #define HAVE_DLOPEN 1
38656 DL_LINK
=" -ldl$DL_LINK"
38661 for ac_func
in shl_load
38663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38664 echo "$as_me:$LINENO: checking for $ac_func" >&5
38665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38666 if eval "test \"\${$as_ac_var+set}\" = set"; then
38667 echo $ECHO_N "(cached) $ECHO_C" >&6
38669 cat >conftest.
$ac_ext <<_ACEOF
38672 cat confdefs.h
>>conftest.
$ac_ext
38673 cat >>conftest.
$ac_ext <<_ACEOF
38674 /* end confdefs.h. */
38675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38677 #define $ac_func innocuous_$ac_func
38679 /* System header to define __stub macros and hopefully few prototypes,
38680 which can conflict with char $ac_func (); below.
38681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38682 <limits.h> exists even on freestanding compilers. */
38685 # include <limits.h>
38687 # include <assert.h>
38692 /* Override any gcc2 internal prototype to avoid an error. */
38697 /* We use char because int might match the return type of a gcc2
38698 builtin and then its argument prototype would still apply. */
38700 /* The GNU C library defines this for functions which it implements
38701 to always fail with ENOSYS. Some functions are actually named
38702 something starting with __ and the normal name is an alias. */
38703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38706 char (*f) () = $ac_func;
38715 return f != $ac_func;
38720 rm -f conftest.
$ac_objext conftest
$ac_exeext
38721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38722 (eval $ac_link) 2>conftest.er1
38724 grep -v '^ *+' conftest.er1
>conftest.err
38726 cat conftest.err
>&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); } &&
38729 { ac_try
='test -z "$ac_c_werror_flag"
38730 || test ! -s conftest.err'
38731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38732 (eval $ac_try) 2>&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); }; } &&
38736 { ac_try
='test -s conftest$ac_exeext'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; }; then
38742 eval "$as_ac_var=yes"
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.
$ac_ext >&5
38747 eval "$as_ac_var=no"
38749 rm -f conftest.err conftest.
$ac_objext \
38750 conftest
$ac_exeext conftest.
$ac_ext
38752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38754 if test `eval echo '${'$as_ac_var'}'` = yes; then
38755 cat >>confdefs.h
<<_ACEOF
38756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38759 cat >>confdefs.h
<<\_ACEOF
38760 #define HAVE_SHL_LOAD 1
38767 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38768 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38769 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 ac_check_lib_save_LIBS
=$LIBS
38773 LIBS
="-lshl_load $LIBS"
38774 cat >conftest.
$ac_ext <<_ACEOF
38777 cat confdefs.h
>>conftest.
$ac_ext
38778 cat >>conftest.
$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38781 /* Override any gcc2 internal prototype to avoid an error. */
38785 /* We use char because int might match the return type of a gcc2
38786 builtin and then its argument prototype would still apply. */
38796 rm -f conftest.
$ac_objext conftest
$ac_exeext
38797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38798 (eval $ac_link) 2>conftest.er1
38800 grep -v '^ *+' conftest.er1
>conftest.err
38802 cat conftest.err
>&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } &&
38805 { ac_try
='test -z "$ac_c_werror_flag"
38806 || test ! -s conftest.err'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; } &&
38812 { ac_try
='test -s conftest$ac_exeext'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; }; then
38818 ac_cv_lib_shl_load_dld
=yes
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.
$ac_ext >&5
38823 ac_cv_lib_shl_load_dld
=no
38825 rm -f conftest.err conftest.
$ac_objext \
38826 conftest
$ac_exeext conftest.
$ac_ext
38827 LIBS
=$ac_check_lib_save_LIBS
38829 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38830 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38831 if test $ac_cv_lib_shl_load_dld = yes; then
38834 DL_LINK
=" -ldld$DL_LINK"
38850 if test "$HAVE_DL_FUNCS" = 1; then
38852 for ac_func
in dlerror
38854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38855 echo "$as_me:$LINENO: checking for $ac_func" >&5
38856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38857 if eval "test \"\${$as_ac_var+set}\" = set"; then
38858 echo $ECHO_N "(cached) $ECHO_C" >&6
38860 cat >conftest.
$ac_ext <<_ACEOF
38863 cat confdefs.h
>>conftest.
$ac_ext
38864 cat >>conftest.
$ac_ext <<_ACEOF
38865 /* end confdefs.h. */
38866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38868 #define $ac_func innocuous_$ac_func
38870 /* System header to define __stub macros and hopefully few prototypes,
38871 which can conflict with char $ac_func (); below.
38872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38873 <limits.h> exists even on freestanding compilers. */
38876 # include <limits.h>
38878 # include <assert.h>
38883 /* Override any gcc2 internal prototype to avoid an error. */
38888 /* We use char because int might match the return type of a gcc2
38889 builtin and then its argument prototype would still apply. */
38891 /* The GNU C library defines this for functions which it implements
38892 to always fail with ENOSYS. Some functions are actually named
38893 something starting with __ and the normal name is an alias. */
38894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38897 char (*f) () = $ac_func;
38906 return f != $ac_func;
38911 rm -f conftest.
$ac_objext conftest
$ac_exeext
38912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38913 (eval $ac_link) 2>conftest.er1
38915 grep -v '^ *+' conftest.er1
>conftest.err
38917 cat conftest.err
>&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } &&
38920 { ac_try
='test -z "$ac_c_werror_flag"
38921 || test ! -s conftest.err'
38922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923 (eval $ac_try) 2>&5
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); }; } &&
38927 { ac_try
='test -s conftest$ac_exeext'
38928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38929 (eval $ac_try) 2>&5
38931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38932 (exit $ac_status); }; }; then
38933 eval "$as_ac_var=yes"
38935 echo "$as_me: failed program was:" >&5
38936 sed 's/^/| /' conftest.
$ac_ext >&5
38938 eval "$as_ac_var=no"
38940 rm -f conftest.err conftest.
$ac_objext \
38941 conftest
$ac_exeext conftest.
$ac_ext
38943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38945 if test `eval echo '${'$as_ac_var'}'` = yes; then
38946 cat >>confdefs.h
<<_ACEOF
38947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38949 cat >>confdefs.h
<<\_ACEOF
38950 #define HAVE_DLERROR 1
38955 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38956 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38957 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38958 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 ac_check_lib_save_LIBS
=$LIBS
38962 cat >conftest.
$ac_ext <<_ACEOF
38965 cat confdefs.h
>>conftest.
$ac_ext
38966 cat >>conftest.
$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38969 /* Override any gcc2 internal prototype to avoid an error. */
38973 /* We use char because int might match the return type of a gcc2
38974 builtin and then its argument prototype would still apply. */
38984 rm -f conftest.
$ac_objext conftest
$ac_exeext
38985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38986 (eval $ac_link) 2>conftest.er1
38988 grep -v '^ *+' conftest.er1
>conftest.err
38990 cat conftest.err
>&5
38991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38992 (exit $ac_status); } &&
38993 { ac_try
='test -z "$ac_c_werror_flag"
38994 || test ! -s conftest.err'
38995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38996 (eval $ac_try) 2>&5
38998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38999 (exit $ac_status); }; } &&
39000 { ac_try
='test -s conftest$ac_exeext'
39001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39002 (eval $ac_try) 2>&5
39004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005 (exit $ac_status); }; }; then
39006 ac_cv_lib_dl_dlerror
=yes
39008 echo "$as_me: failed program was:" >&5
39009 sed 's/^/| /' conftest.
$ac_ext >&5
39011 ac_cv_lib_dl_dlerror
=no
39013 rm -f conftest.err conftest.
$ac_objext \
39014 conftest
$ac_exeext conftest.
$ac_ext
39015 LIBS
=$ac_check_lib_save_LIBS
39017 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
39018 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
39019 if test $ac_cv_lib_dl_dlerror = yes; then
39020 cat >>confdefs.h
<<\_ACEOF
39021 #define HAVE_DLERROR 1
39034 if test "$HAVE_DL_FUNCS" = 0; then
39035 if test "$HAVE_SHL_FUNCS" = 0; then
39036 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
39037 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
39038 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
39039 wxUSE_DYNAMIC_LOADER
=no
39040 wxUSE_DYNLIB_CLASS
=no
39042 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
39043 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
39050 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
39051 cat >>confdefs.h
<<\_ACEOF
39052 #define wxUSE_DYNAMIC_LOADER 1
39056 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39057 cat >>confdefs.h
<<\_ACEOF
39058 #define wxUSE_DYNLIB_CLASS 1
39065 if test "$wxUSE_PLUGINS" = "yes" ; then
39066 if test "$wxUSE_SHARED" = "no" ; then
39067 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
39068 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
39071 if test "$wxUSE_MONOLITHIC" = "yes" ; then
39072 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
39073 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
39076 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
39077 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
39078 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
39081 if test "$wxUSE_PLUGINS" = "yes" ; then
39082 cat >>confdefs.h
<<\_ACEOF
39083 #define wxUSE_PLUGINS 1
39090 if test "$wxUSE_STL" = "yes"; then
39091 cat >>confdefs.h
<<\_ACEOF
39092 #define wxUSE_STL 1
39097 if test "$wxUSE_APPLE_IEEE" = "yes"; then
39098 cat >>confdefs.h
<<\_ACEOF
39099 #define wxUSE_APPLE_IEEE 1
39104 if test "$wxUSE_TIMER" = "yes"; then
39105 cat >>confdefs.h
<<\_ACEOF
39106 #define wxUSE_TIMER 1
39111 if test "$USE_UNIX" = "1" ; then
39112 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
39113 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
39114 if test "${ac_cv_header_sys_soundcard+set}" = set; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39118 cat >conftest.
$ac_ext <<_ACEOF
39121 cat confdefs.h
>>conftest.
$ac_ext
39122 cat >>conftest.
$ac_ext <<_ACEOF
39123 /* end confdefs.h. */
39125 #include <sys/soundcard.h>
39131 ioctl(0, SNDCTL_DSP_SYNC, 0);
39137 rm -f conftest.
$ac_objext conftest
$ac_exeext
39138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39139 (eval $ac_link) 2>conftest.er1
39141 grep -v '^ *+' conftest.er1
>conftest.err
39143 cat conftest.err
>&5
39144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39145 (exit $ac_status); } &&
39146 { ac_try
='test -z "$ac_c_werror_flag"
39147 || test ! -s conftest.err'
39148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39149 (eval $ac_try) 2>&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); }; } &&
39153 { ac_try
='test -s conftest$ac_exeext'
39154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39155 (eval $ac_try) 2>&5
39157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39158 (exit $ac_status); }; }; then
39159 ac_cv_header_sys_soundcard
=yes
39161 echo "$as_me: failed program was:" >&5
39162 sed 's/^/| /' conftest.
$ac_ext >&5
39166 LIBS
="$saveLibs -lossaudio"
39167 cat >conftest.
$ac_ext <<_ACEOF
39170 cat confdefs.h
>>conftest.
$ac_ext
39171 cat >>conftest.
$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39174 #include <sys/soundcard.h>
39180 ioctl(0, SNDCTL_DSP_SYNC, 0);
39186 rm -f conftest.
$ac_objext conftest
$ac_exeext
39187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39188 (eval $ac_link) 2>conftest.er1
39190 grep -v '^ *+' conftest.er1
>conftest.err
39192 cat conftest.err
>&5
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); } &&
39195 { ac_try
='test -z "$ac_c_werror_flag"
39196 || test ! -s conftest.err'
39197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39198 (eval $ac_try) 2>&5
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); }; } &&
39202 { ac_try
='test -s conftest$ac_exeext'
39203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39204 (eval $ac_try) 2>&5
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); }; }; then
39208 ac_cv_header_sys_soundcard
=yes
39210 echo "$as_me: failed program was:" >&5
39211 sed 's/^/| /' conftest.
$ac_ext >&5
39215 ac_cv_header_sys_soundcard
=no
39219 rm -f conftest.err conftest.
$ac_objext \
39220 conftest
$ac_exeext conftest.
$ac_ext
39224 rm -f conftest.err conftest.
$ac_objext \
39225 conftest
$ac_exeext conftest.
$ac_ext
39228 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
39229 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
39231 if test "$ac_cv_header_sys_soundcard" = "yes"; then
39232 cat >>confdefs.h
<<\_ACEOF
39233 #define HAVE_SYS_SOUNDCARD_H 1
39237 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
39241 if test "$wxUSE_SOUND" = "yes"; then
39242 if test "$USE_UNIX" = "1" ; then
39243 if test "$wxUSE_LIBSDL" != "no"; then
39245 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
39246 if test "${with_sdl_prefix+set}" = set; then
39247 withval
="$with_sdl_prefix"
39248 sdl_prefix
="$withval"
39253 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
39254 if test "${with_sdl_exec_prefix+set}" = set; then
39255 withval
="$with_sdl_exec_prefix"
39256 sdl_exec_prefix
="$withval"
39260 # Check whether --enable-sdltest or --disable-sdltest was given.
39261 if test "${enable_sdltest+set}" = set; then
39262 enableval
="$enable_sdltest"
39268 if test x
$sdl_exec_prefix != x
; then
39269 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
39270 if test x
${SDL_CONFIG+set} != xset
; then
39271 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
39274 if test x
$sdl_prefix != x
; then
39275 sdl_args
="$sdl_args --prefix=$sdl_prefix"
39276 if test x
${SDL_CONFIG+set} != xset
; then
39277 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
39282 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
39283 # Extract the first word of "sdl-config", so it can be a program name with args.
39284 set dummy sdl
-config; ac_word
=$2
39285 echo "$as_me:$LINENO: checking for $ac_word" >&5
39286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39287 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
39288 echo $ECHO_N "(cached) $ECHO_C" >&6
39290 case $SDL_CONFIG in
39292 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
39295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39296 for as_dir
in $PATH
39299 test -z "$as_dir" && as_dir
=.
39300 for ac_exec_ext
in '' $ac_executable_extensions; do
39301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39302 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39309 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
39313 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
39315 if test -n "$SDL_CONFIG"; then
39316 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
39317 echo "${ECHO_T}$SDL_CONFIG" >&6
39319 echo "$as_me:$LINENO: result: no" >&5
39320 echo "${ECHO_T}no" >&6
39323 min_sdl_version
=1.2.0
39324 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
39325 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
39327 if test "$SDL_CONFIG" = "no" ; then
39330 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
39331 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
39333 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
39334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39335 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
39336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39337 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
39338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39339 if test "x$enable_sdltest" = "xyes" ; then
39340 ac_save_CFLAGS
="$CFLAGS"
39341 ac_save_CXXFLAGS
="$CXXFLAGS"
39342 ac_save_LIBS
="$LIBS"
39343 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39344 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39345 LIBS
="$LIBS $SDL_LIBS"
39347 if test "$cross_compiling" = yes; then
39348 echo $ac_n "cross compiling; assumed OK... $ac_c"
39350 cat >conftest.
$ac_ext <<_ACEOF
39353 cat confdefs.h
>>conftest.
$ac_ext
39354 cat >>conftest.
$ac_ext <<_ACEOF
39355 /* end confdefs.h. */
39358 #include <stdlib.h>
39359 #include <string.h>
39363 my_strdup (char *str)
39369 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
39370 strcpy (new_str, str);
39378 int main (int argc, char *argv[])
39380 int major, minor, micro;
39383 /* This hangs on some systems (?)
39384 system ("touch conf.sdltest");
39386 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
39388 /* HP/UX 9 (%@#!) writes to sscanf strings */
39389 tmp_version = my_strdup("$min_sdl_version");
39390 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
39391 printf("%s, bad version string\n", "$min_sdl_version");
39395 if (($sdl_major_version > major) ||
39396 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
39397 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
39403 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
39404 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
39405 printf("*** best to upgrade to the required version.\n");
39406 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
39407 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
39408 printf("*** config.cache before re-running configure\n");
39415 rm -f conftest
$ac_exeext
39416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39417 (eval $ac_link) 2>&5
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
39421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39422 (eval $ac_try) 2>&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); }; }; then
39428 echo "$as_me: program exited with status $ac_status" >&5
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.
$ac_ext >&5
39432 ( exit $ac_status )
39435 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
39437 CFLAGS
="$ac_save_CFLAGS"
39438 CXXFLAGS
="$ac_save_CXXFLAGS"
39439 LIBS
="$ac_save_LIBS"
39442 if test "x$no_sdl" = x
; then
39443 echo "$as_me:$LINENO: result: yes" >&5
39444 echo "${ECHO_T}yes" >&6
39446 EXTRALIBS_SDL
="$SDL_LIBS"
39447 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39448 cat >>confdefs.h
<<\_ACEOF
39449 #define wxUSE_LIBSDL 1
39454 echo "$as_me:$LINENO: result: no" >&5
39455 echo "${ECHO_T}no" >&6
39456 if test "$SDL_CONFIG" = "no" ; then
39457 echo "*** The sdl-config script installed by SDL could not be found"
39458 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39459 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39460 echo "*** full path to sdl-config."
39462 if test -f conf.sdltest
; then
39465 echo "*** Could not run SDL test program, checking why..."
39466 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39467 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39468 LIBS
="$LIBS $SDL_LIBS"
39469 cat >conftest.
$ac_ext <<_ACEOF
39472 cat confdefs.h
>>conftest.
$ac_ext
39473 cat >>conftest.
$ac_ext <<_ACEOF
39474 /* end confdefs.h. */
39479 int main(int argc, char *argv[])
39482 #define main K_and_R_C_main
39492 rm -f conftest.
$ac_objext conftest
$ac_exeext
39493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39494 (eval $ac_link) 2>conftest.er1
39496 grep -v '^ *+' conftest.er1
>conftest.err
39498 cat conftest.err
>&5
39499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39500 (exit $ac_status); } &&
39501 { ac_try
='test -z "$ac_c_werror_flag"
39502 || test ! -s conftest.err'
39503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39504 (eval $ac_try) 2>&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); }; } &&
39508 { ac_try
='test -s conftest$ac_exeext'
39509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39510 (eval $ac_try) 2>&5
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); }; }; then
39514 echo "*** The test program compiled, but did not run. This usually means"
39515 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39516 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39519 echo "*** is required on your system"
39521 echo "*** If you have an old version installed, it is best to remove it, although"
39522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39524 echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.
$ac_ext >&5
39527 echo "*** The test program failed to compile or link. See the file config.log for the"
39528 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39529 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39530 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39532 rm -f conftest.err conftest.
$ac_objext \
39533 conftest
$ac_exeext conftest.
$ac_ext
39534 CFLAGS
="$ac_save_CFLAGS"
39535 CXXFLAGS
="$ac_save_CXXFLAGS"
39536 LIBS
="$ac_save_LIBS"
39547 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39553 cat >>confdefs.h
<<\_ACEOF
39554 #define wxUSE_SOUND 1
39557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
39560 if test "$WXGTK20" = 1; then
39561 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39562 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39567 if test -z "$PKG_CONFIG"; then
39568 # Extract the first word of "pkg-config", so it can be a program name with args.
39569 set dummy pkg
-config; ac_word
=$2
39570 echo "$as_me:$LINENO: checking for $ac_word" >&5
39571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39573 echo $ECHO_N "(cached) $ECHO_C" >&6
39575 case $PKG_CONFIG in
39577 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39581 for as_dir
in $PATH
39584 test -z "$as_dir" && as_dir
=.
39585 for ac_exec_ext
in '' $ac_executable_extensions; do
39586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39587 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39598 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39600 if test -n "$PKG_CONFIG"; then
39601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39602 echo "${ECHO_T}$PKG_CONFIG" >&6
39604 echo "$as_me:$LINENO: result: no" >&5
39605 echo "${ECHO_T}no" >&6
39610 if test "$PKG_CONFIG" = "no" ; then
39611 echo "*** The pkg-config script could not be found. Make sure it is"
39612 echo "*** in your path, or set the PKG_CONFIG environment variable"
39613 echo "*** to the full path to pkg-config."
39614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39616 PKG_CONFIG_MIN_VERSION
=0.9.0
39617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39618 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39619 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39621 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39622 echo "$as_me:$LINENO: result: yes" >&5
39623 echo "${ECHO_T}yes" >&6
39626 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39627 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39628 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39629 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39630 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39632 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39633 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39634 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39635 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39636 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39638 LIBGNOMEPRINTUI_CFLAGS
=""
39639 LIBGNOMEPRINTUI_LIBS
=""
39640 ## If we have a custom action on failure, don't print errors, but
39641 ## do set a variable so people can do so.
39642 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39654 if test $succeeded = yes; then
39656 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39657 cat >>confdefs.h
<<\_ACEOF
39658 #define wxUSE_LIBGNOMEPRINT 1
39664 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39665 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39666 wxUSE_LIBGNOMEPRINT
="no"
39676 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39677 cat >>confdefs.h
<<\_ACEOF
39678 #define wxUSE_CMDLINE_PARSER 1
39683 if test "$wxUSE_STOPWATCH" = "yes"; then
39684 cat >>confdefs.h
<<\_ACEOF
39685 #define wxUSE_STOPWATCH 1
39690 if test "$wxUSE_DATETIME" = "yes"; then
39691 cat >>confdefs.h
<<\_ACEOF
39692 #define wxUSE_DATETIME 1
39697 if test "$wxUSE_FILE" = "yes"; then
39698 cat >>confdefs.h
<<\_ACEOF
39699 #define wxUSE_FILE 1
39704 if test "$wxUSE_FFILE" = "yes"; then
39705 cat >>confdefs.h
<<\_ACEOF
39706 #define wxUSE_FFILE 1
39711 if test "$wxUSE_FILESYSTEM" = "yes"; then
39712 cat >>confdefs.h
<<\_ACEOF
39713 #define wxUSE_FILESYSTEM 1
39718 if test "$wxUSE_FS_ZIP" = "yes"; then
39719 cat >>confdefs.h
<<\_ACEOF
39720 #define wxUSE_FS_ZIP 1
39725 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39726 cat >>confdefs.h
<<\_ACEOF
39727 #define wxUSE_ARCHIVE_STREAMS 1
39732 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39733 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39734 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39735 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39736 elif test "$wxUSE_ZLIB" = "no"; then
39737 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39738 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39740 cat >>confdefs.h
<<\_ACEOF
39741 #define wxUSE_ZIPSTREAM 1
39747 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39748 if test "$USE_UNIX" != 1; then
39749 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39750 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39751 wxUSE_ON_FATAL_EXCEPTION
=no
39753 cat >>confdefs.h
<<\_ACEOF
39754 #define wxUSE_ON_FATAL_EXCEPTION 1
39760 if test "$wxUSE_STACKWALKER" = "yes"; then
39761 cat >>confdefs.h
<<\_ACEOF
39762 #define wxUSE_STACKWALKER 1
39767 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39768 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39769 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39770 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39771 wxUSE_DEBUGREPORT
=no
39773 cat >>confdefs.h
<<\_ACEOF
39774 #define wxUSE_DEBUGREPORT 1
39777 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
39783 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39784 cat >>confdefs.h
<<\_ACEOF
39785 #define wxUSE_SNGLINST_CHECKER 1
39790 if test "$wxUSE_BUSYINFO" = "yes"; then
39791 cat >>confdefs.h
<<\_ACEOF
39792 #define wxUSE_BUSYINFO 1
39797 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39798 cat >>confdefs.h
<<\_ACEOF
39799 #define wxUSE_STD_IOSTREAM 1
39804 if test "$wxUSE_STD_STRING" = "yes"; then
39805 cat >>confdefs.h
<<\_ACEOF
39806 #define wxUSE_STD_STRING 1
39811 if test "$wxUSE_STDPATHS" = "yes"; then
39812 cat >>confdefs.h
<<\_ACEOF
39813 #define wxUSE_STDPATHS 1
39818 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39819 cat >>confdefs.h
<<\_ACEOF
39820 #define wxUSE_TEXTBUFFER 1
39825 if test "$wxUSE_TEXTFILE" = "yes"; then
39826 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39827 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39828 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39830 cat >>confdefs.h
<<\_ACEOF
39831 #define wxUSE_TEXTFILE 1
39837 if test "$wxUSE_CONFIG" = "yes" ; then
39838 if test "$wxUSE_TEXTFILE" != "yes"; then
39839 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39840 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39842 cat >>confdefs.h
<<\_ACEOF
39843 #define wxUSE_CONFIG 1
39846 cat >>confdefs.h
<<\_ACEOF
39847 #define wxUSE_CONFIG_NATIVE 1
39850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
39854 if test "$wxUSE_INTL" = "yes" ; then
39855 if test "$wxUSE_FILE" != "yes"; then
39856 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39857 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39859 cat >>confdefs.h
<<\_ACEOF
39860 #define wxUSE_INTL 1
39863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
39864 GUIDIST
="$GUIDIST INTL_DIST"
39868 if test "$wxUSE_LOG" = "yes"; then
39869 cat >>confdefs.h
<<\_ACEOF
39870 #define wxUSE_LOG 1
39874 if test "$wxUSE_LOGGUI" = "yes"; then
39875 cat >>confdefs.h
<<\_ACEOF
39876 #define wxUSE_LOGGUI 1
39881 if test "$wxUSE_LOGWINDOW" = "yes"; then
39882 cat >>confdefs.h
<<\_ACEOF
39883 #define wxUSE_LOGWINDOW 1
39888 if test "$wxUSE_LOGDIALOG" = "yes"; then
39889 cat >>confdefs.h
<<\_ACEOF
39890 #define wxUSE_LOG_DIALOG 1
39895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
39898 if test "$wxUSE_LONGLONG" = "yes"; then
39899 cat >>confdefs.h
<<\_ACEOF
39900 #define wxUSE_LONGLONG 1
39905 if test "$wxUSE_GEOMETRY" = "yes"; then
39906 cat >>confdefs.h
<<\_ACEOF
39907 #define wxUSE_GEOMETRY 1
39912 if test "$wxUSE_STREAMS" = "yes" ; then
39913 cat >>confdefs.h
<<\_ACEOF
39914 #define wxUSE_STREAMS 1
39920 if test "$wxUSE_DATETIME" = "yes"; then
39922 for ac_func
in strptime
39924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39925 echo "$as_me:$LINENO: checking for $ac_func" >&5
39926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39927 if eval "test \"\${$as_ac_var+set}\" = set"; then
39928 echo $ECHO_N "(cached) $ECHO_C" >&6
39930 cat >conftest.
$ac_ext <<_ACEOF
39933 cat confdefs.h
>>conftest.
$ac_ext
39934 cat >>conftest.
$ac_ext <<_ACEOF
39935 /* end confdefs.h. */
39936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39938 #define $ac_func innocuous_$ac_func
39940 /* System header to define __stub macros and hopefully few prototypes,
39941 which can conflict with char $ac_func (); below.
39942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39943 <limits.h> exists even on freestanding compilers. */
39946 # include <limits.h>
39948 # include <assert.h>
39953 /* Override any gcc2 internal prototype to avoid an error. */
39958 /* We use char because int might match the return type of a gcc2
39959 builtin and then its argument prototype would still apply. */
39961 /* The GNU C library defines this for functions which it implements
39962 to always fail with ENOSYS. Some functions are actually named
39963 something starting with __ and the normal name is an alias. */
39964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39967 char (*f) () = $ac_func;
39976 return f != $ac_func;
39981 rm -f conftest.
$ac_objext conftest
$ac_exeext
39982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39983 (eval $ac_link) 2>conftest.er1
39985 grep -v '^ *+' conftest.er1
>conftest.err
39987 cat conftest.err
>&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } &&
39990 { ac_try
='test -z "$ac_c_werror_flag"
39991 || test ! -s conftest.err'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; } &&
39997 { ac_try
='test -s conftest$ac_exeext'
39998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39999 (eval $ac_try) 2>&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); }; }; then
40003 eval "$as_ac_var=yes"
40005 echo "$as_me: failed program was:" >&5
40006 sed 's/^/| /' conftest.
$ac_ext >&5
40008 eval "$as_ac_var=no"
40010 rm -f conftest.err conftest.
$ac_objext \
40011 conftest
$ac_exeext conftest.
$ac_ext
40013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40015 if test `eval echo '${'$as_ac_var'}'` = yes; then
40016 cat >>confdefs.h
<<_ACEOF
40017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40023 if test "$ac_cv_func_strptime" = "yes"; then
40024 echo "$as_me:$LINENO: checking for strptime declaration" >&5
40025 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
40026 if test "${wx_cv_func_strptime_decl+set}" = set; then
40027 echo $ECHO_N "(cached) $ECHO_C" >&6
40033 ac_cpp
='$CXXCPP $CPPFLAGS'
40034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40038 cat >conftest.
$ac_ext <<_ACEOF
40041 cat confdefs.h
>>conftest.
$ac_ext
40042 cat >>conftest.
$ac_ext <<_ACEOF
40043 /* end confdefs.h. */
40052 strptime("foo", "bar", &t);
40058 rm -f conftest.
$ac_objext
40059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40060 (eval $ac_compile) 2>conftest.er1
40062 grep -v '^ *+' conftest.er1
>conftest.err
40064 cat conftest.err
>&5
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); } &&
40067 { ac_try
='test -z "$ac_cxx_werror_flag"
40068 || test ! -s conftest.err'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; } &&
40074 { ac_try
='test -s conftest.$ac_objext'
40075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076 (eval $ac_try) 2>&5
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); }; }; then
40080 wx_cv_func_strptime_decl
=yes
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.
$ac_ext >&5
40085 wx_cv_func_strptime_decl
=no
40088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40090 ac_cpp
='$CPP $CPPFLAGS'
40091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40098 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
40099 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
40101 if test "$wx_cv_func_strptime_decl" = "yes"; then
40102 cat >>confdefs.h
<<\_ACEOF
40103 #define HAVE_STRPTIME_DECL 1
40108 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
40109 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
40110 if test "${wx_cv_var_timezone+set}" = set; then
40111 echo $ECHO_N "(cached) $ECHO_C" >&6
40114 cat >conftest.
$ac_ext <<_ACEOF
40117 cat confdefs.h
>>conftest.
$ac_ext
40118 cat >>conftest.
$ac_ext <<_ACEOF
40119 /* end confdefs.h. */
40134 rm -f conftest.
$ac_objext
40135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40136 (eval $ac_compile) 2>conftest.er1
40138 grep -v '^ *+' conftest.er1
>conftest.err
40140 cat conftest.err
>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } &&
40143 { ac_try
='test -z "$ac_c_werror_flag"
40144 || test ! -s conftest.err'
40145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40146 (eval $ac_try) 2>&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); }; } &&
40150 { ac_try
='test -s conftest.$ac_objext'
40151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40152 (eval $ac_try) 2>&5
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); }; }; then
40157 wx_cv_var_timezone
=timezone
40160 echo "$as_me: failed program was:" >&5
40161 sed 's/^/| /' conftest.
$ac_ext >&5
40164 cat >conftest.
$ac_ext <<_ACEOF
40167 cat confdefs.h
>>conftest.
$ac_ext
40168 cat >>conftest.
$ac_ext <<_ACEOF
40169 /* end confdefs.h. */
40184 rm -f conftest.
$ac_objext
40185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40186 (eval $ac_compile) 2>conftest.er1
40188 grep -v '^ *+' conftest.er1
>conftest.err
40190 cat conftest.err
>&5
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); } &&
40193 { ac_try
='test -z "$ac_c_werror_flag"
40194 || test ! -s conftest.err'
40195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40196 (eval $ac_try) 2>&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); }; } &&
40200 { ac_try
='test -s conftest.$ac_objext'
40201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202 (eval $ac_try) 2>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); }; }; then
40207 wx_cv_var_timezone
=_timezone
40210 echo "$as_me: failed program was:" >&5
40211 sed 's/^/| /' conftest.
$ac_ext >&5
40214 cat >conftest.
$ac_ext <<_ACEOF
40217 cat confdefs.h
>>conftest.
$ac_ext
40218 cat >>conftest.
$ac_ext <<_ACEOF
40219 /* end confdefs.h. */
40234 rm -f conftest.
$ac_objext
40235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40236 (eval $ac_compile) 2>conftest.er1
40238 grep -v '^ *+' conftest.er1
>conftest.err
40240 cat conftest.err
>&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); } &&
40243 { ac_try
='test -z "$ac_c_werror_flag"
40244 || test ! -s conftest.err'
40245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246 (eval $ac_try) 2>&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); }; } &&
40250 { ac_try
='test -s conftest.$ac_objext'
40251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40252 (eval $ac_try) 2>&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); }; }; then
40257 wx_cv_var_timezone
=__timezone
40260 echo "$as_me: failed program was:" >&5
40261 sed 's/^/| /' conftest.
$ac_ext >&5
40264 if test "$USE_DOS" = 0 ; then
40265 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
40266 echo "$as_me: WARNING: no timezone variable" >&2;}
40271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40283 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
40284 echo "${ECHO_T}$wx_cv_var_timezone" >&6
40286 if test "x$wx_cv_var_timezone" != x
; then
40287 cat >>confdefs.h
<<_ACEOF
40288 #define WX_TIMEZONE $wx_cv_var_timezone
40294 for ac_func
in localtime
40296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40297 echo "$as_me:$LINENO: checking for $ac_func" >&5
40298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40299 if eval "test \"\${$as_ac_var+set}\" = set"; then
40300 echo $ECHO_N "(cached) $ECHO_C" >&6
40302 cat >conftest.
$ac_ext <<_ACEOF
40305 cat confdefs.h
>>conftest.
$ac_ext
40306 cat >>conftest.
$ac_ext <<_ACEOF
40307 /* end confdefs.h. */
40308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40310 #define $ac_func innocuous_$ac_func
40312 /* System header to define __stub macros and hopefully few prototypes,
40313 which can conflict with char $ac_func (); below.
40314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40315 <limits.h> exists even on freestanding compilers. */
40318 # include <limits.h>
40320 # include <assert.h>
40325 /* Override any gcc2 internal prototype to avoid an error. */
40330 /* We use char because int might match the return type of a gcc2
40331 builtin and then its argument prototype would still apply. */
40333 /* The GNU C library defines this for functions which it implements
40334 to always fail with ENOSYS. Some functions are actually named
40335 something starting with __ and the normal name is an alias. */
40336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40339 char (*f) () = $ac_func;
40348 return f != $ac_func;
40353 rm -f conftest.
$ac_objext conftest
$ac_exeext
40354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40355 (eval $ac_link) 2>conftest.er1
40357 grep -v '^ *+' conftest.er1
>conftest.err
40359 cat conftest.err
>&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } &&
40362 { ac_try
='test -z "$ac_c_werror_flag"
40363 || test ! -s conftest.err'
40364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40365 (eval $ac_try) 2>&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); }; } &&
40369 { ac_try
='test -s conftest$ac_exeext'
40370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40371 (eval $ac_try) 2>&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); }; }; then
40375 eval "$as_ac_var=yes"
40377 echo "$as_me: failed program was:" >&5
40378 sed 's/^/| /' conftest.
$ac_ext >&5
40380 eval "$as_ac_var=no"
40382 rm -f conftest.err conftest.
$ac_objext \
40383 conftest
$ac_exeext conftest.
$ac_ext
40385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40387 if test `eval echo '${'$as_ac_var'}'` = yes; then
40388 cat >>confdefs.h
<<_ACEOF
40389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40396 if test "$ac_cv_func_localtime" = "yes"; then
40397 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40398 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
40399 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
40400 echo $ECHO_N "(cached) $ECHO_C" >&6
40403 cat >conftest.
$ac_ext <<_ACEOF
40406 cat confdefs.h
>>conftest.
$ac_ext
40407 cat >>conftest.
$ac_ext <<_ACEOF
40408 /* end confdefs.h. */
40423 rm -f conftest.
$ac_objext
40424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40425 (eval $ac_compile) 2>conftest.er1
40427 grep -v '^ *+' conftest.er1
>conftest.err
40429 cat conftest.err
>&5
40430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40431 (exit $ac_status); } &&
40432 { ac_try
='test -z "$ac_c_werror_flag"
40433 || test ! -s conftest.err'
40434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40435 (eval $ac_try) 2>&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); }; } &&
40439 { ac_try
='test -s conftest.$ac_objext'
40440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40441 (eval $ac_try) 2>&5
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); }; }; then
40446 wx_cv_struct_tm_has_gmtoff
=yes
40449 echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.
$ac_ext >&5
40452 wx_cv_struct_tm_has_gmtoff
=no
40455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40458 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40459 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40462 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40463 cat >>confdefs.h
<<\_ACEOF
40464 #define WX_GMTOFF_IN_TM 1
40471 for ac_func
in gettimeofday ftime
40473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40474 echo "$as_me:$LINENO: checking for $ac_func" >&5
40475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40476 if eval "test \"\${$as_ac_var+set}\" = set"; then
40477 echo $ECHO_N "(cached) $ECHO_C" >&6
40479 cat >conftest.
$ac_ext <<_ACEOF
40482 cat confdefs.h
>>conftest.
$ac_ext
40483 cat >>conftest.
$ac_ext <<_ACEOF
40484 /* end confdefs.h. */
40485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40487 #define $ac_func innocuous_$ac_func
40489 /* System header to define __stub macros and hopefully few prototypes,
40490 which can conflict with char $ac_func (); below.
40491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40492 <limits.h> exists even on freestanding compilers. */
40495 # include <limits.h>
40497 # include <assert.h>
40502 /* Override any gcc2 internal prototype to avoid an error. */
40507 /* We use char because int might match the return type of a gcc2
40508 builtin and then its argument prototype would still apply. */
40510 /* The GNU C library defines this for functions which it implements
40511 to always fail with ENOSYS. Some functions are actually named
40512 something starting with __ and the normal name is an alias. */
40513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40516 char (*f) () = $ac_func;
40525 return f != $ac_func;
40530 rm -f conftest.
$ac_objext conftest
$ac_exeext
40531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40532 (eval $ac_link) 2>conftest.er1
40534 grep -v '^ *+' conftest.er1
>conftest.err
40536 cat conftest.err
>&5
40537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40538 (exit $ac_status); } &&
40539 { ac_try
='test -z "$ac_c_werror_flag"
40540 || test ! -s conftest.err'
40541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40542 (eval $ac_try) 2>&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); }; } &&
40546 { ac_try
='test -s conftest$ac_exeext'
40547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40548 (eval $ac_try) 2>&5
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); }; }; then
40552 eval "$as_ac_var=yes"
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.
$ac_ext >&5
40557 eval "$as_ac_var=no"
40559 rm -f conftest.err conftest.
$ac_objext \
40560 conftest
$ac_exeext conftest.
$ac_ext
40562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40564 if test `eval echo '${'$as_ac_var'}'` = yes; then
40565 cat >>confdefs.h
<<_ACEOF
40566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40573 if test "$ac_cv_func_gettimeofday" = "yes"; then
40574 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40575 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40576 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40577 echo $ECHO_N "(cached) $ECHO_C" >&6
40583 ac_cpp
='$CXXCPP $CPPFLAGS'
40584 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40585 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40586 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40589 cat >conftest.
$ac_ext <<_ACEOF
40592 cat confdefs.h
>>conftest.
$ac_ext
40593 cat >>conftest.
$ac_ext <<_ACEOF
40594 /* end confdefs.h. */
40596 #include <sys/time.h>
40597 #include <unistd.h>
40604 gettimeofday(&tv, NULL);
40610 rm -f conftest.
$ac_objext
40611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40612 (eval $ac_compile) 2>conftest.er1
40614 grep -v '^ *+' conftest.er1
>conftest.err
40616 cat conftest.err
>&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } &&
40619 { ac_try
='test -z "$ac_cxx_werror_flag"
40620 || test ! -s conftest.err'
40621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40622 (eval $ac_try) 2>&5
40624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40625 (exit $ac_status); }; } &&
40626 { ac_try
='test -s conftest.$ac_objext'
40627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40628 (eval $ac_try) 2>&5
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); }; }; then
40632 wx_cv_func_gettimeofday_has_2_args
=yes
40634 echo "$as_me: failed program was:" >&5
40635 sed 's/^/| /' conftest.
$ac_ext >&5
40637 cat >conftest.
$ac_ext <<_ACEOF
40640 cat confdefs.h
>>conftest.
$ac_ext
40641 cat >>conftest.
$ac_ext <<_ACEOF
40642 /* end confdefs.h. */
40644 #include <sys/time.h>
40645 #include <unistd.h>
40658 rm -f conftest.
$ac_objext
40659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40660 (eval $ac_compile) 2>conftest.er1
40662 grep -v '^ *+' conftest.er1
>conftest.err
40664 cat conftest.err
>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try
='test -z "$ac_cxx_werror_flag"
40668 || test ! -s conftest.err'
40669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40670 (eval $ac_try) 2>&5
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; } &&
40674 { ac_try
='test -s conftest.$ac_objext'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; }; then
40680 wx_cv_func_gettimeofday_has_2_args
=no
40682 echo "$as_me: failed program was:" >&5
40683 sed 's/^/| /' conftest.
$ac_ext >&5
40686 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40687 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40688 wx_cv_func_gettimeofday_has_2_args
=unknown
40692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40697 ac_cpp
='$CPP $CPPFLAGS'
40698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40704 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40705 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40707 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40708 cat >>confdefs.h
<<\_ACEOF
40709 #define WX_GETTIMEOFDAY_NO_TZ 1
40715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
40719 if test "$wxUSE_SOCKETS" = "yes"; then
40720 if test "$wxUSE_MGL" = "1"; then
40721 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40722 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40727 if test "$wxUSE_SOCKETS" = "yes"; then
40728 if test "$TOOLKIT" != "MSW"; then
40729 echo "$as_me:$LINENO: checking for socket" >&5
40730 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40731 if test "${ac_cv_func_socket+set}" = set; then
40732 echo $ECHO_N "(cached) $ECHO_C" >&6
40734 cat >conftest.
$ac_ext <<_ACEOF
40737 cat confdefs.h
>>conftest.
$ac_ext
40738 cat >>conftest.
$ac_ext <<_ACEOF
40739 /* end confdefs.h. */
40740 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40742 #define socket innocuous_socket
40744 /* System header to define __stub macros and hopefully few prototypes,
40745 which can conflict with char socket (); below.
40746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40747 <limits.h> exists even on freestanding compilers. */
40750 # include <limits.h>
40752 # include <assert.h>
40757 /* Override any gcc2 internal prototype to avoid an error. */
40762 /* We use char because int might match the return type of a gcc2
40763 builtin and then its argument prototype would still apply. */
40765 /* The GNU C library defines this for functions which it implements
40766 to always fail with ENOSYS. Some functions are actually named
40767 something starting with __ and the normal name is an alias. */
40768 #if defined (__stub_socket) || defined (__stub___socket)
40771 char (*f) () = socket;
40780 return f != socket;
40785 rm -f conftest.
$ac_objext conftest
$ac_exeext
40786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40787 (eval $ac_link) 2>conftest.er1
40789 grep -v '^ *+' conftest.er1
>conftest.err
40791 cat conftest.err
>&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } &&
40794 { ac_try
='test -z "$ac_c_werror_flag"
40795 || test ! -s conftest.err'
40796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40797 (eval $ac_try) 2>&5
40799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800 (exit $ac_status); }; } &&
40801 { ac_try
='test -s conftest$ac_exeext'
40802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40803 (eval $ac_try) 2>&5
40805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40806 (exit $ac_status); }; }; then
40807 ac_cv_func_socket
=yes
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.
$ac_ext >&5
40812 ac_cv_func_socket
=no
40814 rm -f conftest.err conftest.
$ac_objext \
40815 conftest
$ac_exeext conftest.
$ac_ext
40817 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40818 echo "${ECHO_T}$ac_cv_func_socket" >&6
40819 if test $ac_cv_func_socket = yes; then
40823 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40824 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40825 if test "${ac_cv_lib_socket_socket+set}" = set; then
40826 echo $ECHO_N "(cached) $ECHO_C" >&6
40828 ac_check_lib_save_LIBS
=$LIBS
40829 LIBS
="-lsocket $LIBS"
40830 cat >conftest.
$ac_ext <<_ACEOF
40833 cat confdefs.h
>>conftest.
$ac_ext
40834 cat >>conftest.
$ac_ext <<_ACEOF
40835 /* end confdefs.h. */
40837 /* Override any gcc2 internal prototype to avoid an error. */
40841 /* We use char because int might match the return type of a gcc2
40842 builtin and then its argument prototype would still apply. */
40852 rm -f conftest.
$ac_objext conftest
$ac_exeext
40853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40854 (eval $ac_link) 2>conftest.er1
40856 grep -v '^ *+' conftest.er1
>conftest.err
40858 cat conftest.err
>&5
40859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40860 (exit $ac_status); } &&
40861 { ac_try
='test -z "$ac_c_werror_flag"
40862 || test ! -s conftest.err'
40863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40864 (eval $ac_try) 2>&5
40866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40867 (exit $ac_status); }; } &&
40868 { ac_try
='test -s conftest$ac_exeext'
40869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40870 (eval $ac_try) 2>&5
40872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873 (exit $ac_status); }; }; then
40874 ac_cv_lib_socket_socket
=yes
40876 echo "$as_me: failed program was:" >&5
40877 sed 's/^/| /' conftest.
$ac_ext >&5
40879 ac_cv_lib_socket_socket
=no
40881 rm -f conftest.err conftest.
$ac_objext \
40882 conftest
$ac_exeext conftest.
$ac_ext
40883 LIBS
=$ac_check_lib_save_LIBS
40885 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40886 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40887 if test $ac_cv_lib_socket_socket = yes; then
40888 if test "$INET_LINK" != " -lsocket"; then
40889 INET_LINK
="$INET_LINK -lsocket"
40893 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40894 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40907 if test "$wxUSE_SOCKETS" = "yes" ; then
40908 if test "$TOOLKIT" != "MSW"; then
40910 ac_cpp
='$CXXCPP $CPPFLAGS'
40911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40915 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40916 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40917 if test "${wx_cv_type_getsockname3+set}" = set; then
40918 echo $ECHO_N "(cached) $ECHO_C" >&6
40921 cat >conftest.
$ac_ext <<_ACEOF
40924 cat confdefs.h
>>conftest.
$ac_ext
40925 cat >>conftest.
$ac_ext <<_ACEOF
40926 /* end confdefs.h. */
40928 #include <sys/types.h>
40929 #include <sys/socket.h>
40936 getsockname(0, 0, &len);
40942 rm -f conftest.
$ac_objext
40943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40944 (eval $ac_compile) 2>conftest.er1
40946 grep -v '^ *+' conftest.er1
>conftest.err
40948 cat conftest.err
>&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } &&
40951 { ac_try
='test -z "$ac_cxx_werror_flag"
40952 || test ! -s conftest.err'
40953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40954 (eval $ac_try) 2>&5
40956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40957 (exit $ac_status); }; } &&
40958 { ac_try
='test -s conftest.$ac_objext'
40959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40960 (eval $ac_try) 2>&5
40962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963 (exit $ac_status); }; }; then
40964 wx_cv_type_getsockname3
=socklen_t
40966 echo "$as_me: failed program was:" >&5
40967 sed 's/^/| /' conftest.
$ac_ext >&5
40970 CXXFLAGS_OLD
="$CXXFLAGS"
40971 if test "$GCC" = yes ; then
40972 CXXFLAGS
="$CXXFLAGS -Werror"
40975 cat >conftest.
$ac_ext <<_ACEOF
40978 cat confdefs.h
>>conftest.
$ac_ext
40979 cat >>conftest.
$ac_ext <<_ACEOF
40980 /* end confdefs.h. */
40982 #include <sys/types.h>
40983 #include <sys/socket.h>
40990 getsockname(0, 0, &len);
40996 rm -f conftest.
$ac_objext
40997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40998 (eval $ac_compile) 2>conftest.er1
41000 grep -v '^ *+' conftest.er1
>conftest.err
41002 cat conftest.err
>&5
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); } &&
41005 { ac_try
='test -z "$ac_cxx_werror_flag"
41006 || test ! -s conftest.err'
41007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008 (eval $ac_try) 2>&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); }; } &&
41012 { ac_try
='test -s conftest.$ac_objext'
41013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41014 (eval $ac_try) 2>&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); }; }; then
41018 wx_cv_type_getsockname3
=size_t
41020 echo "$as_me: failed program was:" >&5
41021 sed 's/^/| /' conftest.
$ac_ext >&5
41023 cat >conftest.
$ac_ext <<_ACEOF
41026 cat confdefs.h
>>conftest.
$ac_ext
41027 cat >>conftest.
$ac_ext <<_ACEOF
41028 /* end confdefs.h. */
41030 #include <sys/types.h>
41031 #include <sys/socket.h>
41038 getsockname(0, 0, &len);
41044 rm -f conftest.
$ac_objext
41045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41046 (eval $ac_compile) 2>conftest.er1
41048 grep -v '^ *+' conftest.er1
>conftest.err
41050 cat conftest.err
>&5
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); } &&
41053 { ac_try
='test -z "$ac_cxx_werror_flag"
41054 || test ! -s conftest.err'
41055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41056 (eval $ac_try) 2>&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); }; } &&
41060 { ac_try
='test -s conftest.$ac_objext'
41061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41062 (eval $ac_try) 2>&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); }; }; then
41066 wx_cv_type_getsockname3
=int
41068 echo "$as_me: failed program was:" >&5
41069 sed 's/^/| /' conftest.
$ac_ext >&5
41071 wx_cv_type_getsockname3
=unknown
41074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41079 CXXFLAGS
="$CXXFLAGS_OLD"
41083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41086 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
41087 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
41089 if test "$wx_cv_type_getsockname3" = "unknown"; then
41091 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
41092 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
41094 cat >>confdefs.h
<<_ACEOF
41095 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
41099 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
41100 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
41101 if test "${wx_cv_type_getsockopt5+set}" = set; then
41102 echo $ECHO_N "(cached) $ECHO_C" >&6
41105 cat >conftest.
$ac_ext <<_ACEOF
41108 cat confdefs.h
>>conftest.
$ac_ext
41109 cat >>conftest.
$ac_ext <<_ACEOF
41110 /* end confdefs.h. */
41112 #include <sys/types.h>
41113 #include <sys/socket.h>
41120 getsockopt(0, 0, 0, 0, &len);
41126 rm -f conftest.
$ac_objext
41127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41128 (eval $ac_compile) 2>conftest.er1
41130 grep -v '^ *+' conftest.er1
>conftest.err
41132 cat conftest.err
>&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); } &&
41135 { ac_try
='test -z "$ac_cxx_werror_flag"
41136 || test ! -s conftest.err'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; } &&
41142 { ac_try
='test -s conftest.$ac_objext'
41143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41144 (eval $ac_try) 2>&5
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); }; }; then
41148 wx_cv_type_getsockopt5
=socklen_t
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.
$ac_ext >&5
41154 CXXFLAGS_OLD
="$CXXFLAGS"
41155 if test "$GCC" = yes ; then
41156 CXXFLAGS
="$CXXFLAGS -Werror"
41159 cat >conftest.
$ac_ext <<_ACEOF
41162 cat confdefs.h
>>conftest.
$ac_ext
41163 cat >>conftest.
$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41166 #include <sys/types.h>
41167 #include <sys/socket.h>
41174 getsockopt(0, 0, 0, 0, &len);
41180 rm -f conftest.
$ac_objext
41181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41182 (eval $ac_compile) 2>conftest.er1
41184 grep -v '^ *+' conftest.er1
>conftest.err
41186 cat conftest.err
>&5
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); } &&
41189 { ac_try
='test -z "$ac_cxx_werror_flag"
41190 || test ! -s conftest.err'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; } &&
41196 { ac_try
='test -s conftest.$ac_objext'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; }; then
41202 wx_cv_type_getsockopt5
=size_t
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.
$ac_ext >&5
41207 cat >conftest.
$ac_ext <<_ACEOF
41210 cat confdefs.h
>>conftest.
$ac_ext
41211 cat >>conftest.
$ac_ext <<_ACEOF
41212 /* end confdefs.h. */
41214 #include <sys/types.h>
41215 #include <sys/socket.h>
41222 getsockopt(0, 0, 0, 0, &len);
41228 rm -f conftest.
$ac_objext
41229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41230 (eval $ac_compile) 2>conftest.er1
41232 grep -v '^ *+' conftest.er1
>conftest.err
41234 cat conftest.err
>&5
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); } &&
41237 { ac_try
='test -z "$ac_cxx_werror_flag"
41238 || test ! -s conftest.err'
41239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240 (eval $ac_try) 2>&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); }; } &&
41244 { ac_try
='test -s conftest.$ac_objext'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; }; then
41250 wx_cv_type_getsockopt5
=int
41252 echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.
$ac_ext >&5
41255 wx_cv_type_getsockopt5
=unknown
41258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41263 CXXFLAGS
="$CXXFLAGS_OLD"
41267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41270 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
41271 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
41273 if test "$wx_cv_type_getsockopt5" = "unknown"; then
41275 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
41276 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
41278 cat >>confdefs.h
<<_ACEOF
41279 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
41284 ac_cpp
='$CPP $CPPFLAGS'
41285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41292 if test "$wxUSE_SOCKETS" = "yes" ; then
41293 cat >>confdefs.h
<<\_ACEOF
41294 #define wxUSE_SOCKETS 1
41297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
41300 if test "$wxUSE_PROTOCOL" = "yes"; then
41301 if test "$wxUSE_SOCKETS" != "yes"; then
41302 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
41303 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
41308 if test "$wxUSE_PROTOCOL" = "yes"; then
41309 cat >>confdefs.h
<<\_ACEOF
41310 #define wxUSE_PROTOCOL 1
41314 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
41315 cat >>confdefs.h
<<\_ACEOF
41316 #define wxUSE_PROTOCOL_HTTP 1
41320 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
41321 cat >>confdefs.h
<<\_ACEOF
41322 #define wxUSE_PROTOCOL_FTP 1
41326 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
41327 cat >>confdefs.h
<<\_ACEOF
41328 #define wxUSE_PROTOCOL_FILE 1
41333 if test "$wxUSE_FS_INET" = "yes"; then
41334 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
41335 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
41340 if test "$wxUSE_URL" = "yes"; then
41341 if test "$wxUSE_PROTOCOL" != "yes"; then
41342 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
41343 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
41346 if test "$wxUSE_URL" = "yes"; then
41347 cat >>confdefs.h
<<\_ACEOF
41348 #define wxUSE_URL 1
41354 if test "$wxUSE_FS_INET" = "yes"; then
41355 cat >>confdefs.h
<<\_ACEOF
41356 #define wxUSE_FS_INET 1
41362 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
41365 if test "$TOOLKIT" = "MSW"; then
41368 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
41369 if test "$USE_DARWIN" = 1; then
41370 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
41371 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
41373 ac_cpp
='$CXXCPP $CPPFLAGS'
41374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41378 cat >conftest.
$ac_ext <<_ACEOF
41381 cat confdefs.h
>>conftest.
$ac_ext
41382 cat >>conftest.
$ac_ext <<_ACEOF
41383 /* end confdefs.h. */
41384 #include <IOKit/hid/IOHIDLib.h>
41388 IOHIDQueueInterface *qi = NULL;
41389 IOHIDCallbackFunction cb = NULL;
41390 qi->setEventCallout(NULL, cb, NULL, NULL);
41395 rm -f conftest.
$ac_objext
41396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41397 (eval $ac_compile) 2>conftest.er1
41399 grep -v '^ *+' conftest.er1
>conftest.err
41401 cat conftest.err
>&5
41402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41403 (exit $ac_status); } &&
41404 { ac_try
='test -z "$ac_cxx_werror_flag"
41405 || test ! -s conftest.err'
41406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41407 (eval $ac_try) 2>&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); }; } &&
41411 { ac_try
='test -s conftest.$ac_objext'
41412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41413 (eval $ac_try) 2>&5
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); }; }; then
41420 echo "$as_me: failed program was:" >&5
41421 sed 's/^/| /' conftest.
$ac_ext >&5
41424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41426 ac_cpp
='$CPP $CPPFLAGS'
41427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41431 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
41432 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
41437 for ac_header
in linux
/joystick.h
41439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41441 echo "$as_me:$LINENO: checking for $ac_header" >&5
41442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41444 echo $ECHO_N "(cached) $ECHO_C" >&6
41446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41449 # Is the header compilable?
41450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41452 cat >conftest.
$ac_ext <<_ACEOF
41455 cat confdefs.h
>>conftest.
$ac_ext
41456 cat >>conftest.
$ac_ext <<_ACEOF
41457 /* end confdefs.h. */
41458 $ac_includes_default
41459 #include <$ac_header>
41461 rm -f conftest.
$ac_objext
41462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41463 (eval $ac_compile) 2>conftest.er1
41465 grep -v '^ *+' conftest.er1
>conftest.err
41467 cat conftest.err
>&5
41468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41469 (exit $ac_status); } &&
41470 { ac_try
='test -z "$ac_c_werror_flag"
41471 || test ! -s conftest.err'
41472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41473 (eval $ac_try) 2>&5
41475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41476 (exit $ac_status); }; } &&
41477 { ac_try
='test -s conftest.$ac_objext'
41478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41479 (eval $ac_try) 2>&5
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); }; }; then
41483 ac_header_compiler
=yes
41485 echo "$as_me: failed program was:" >&5
41486 sed 's/^/| /' conftest.
$ac_ext >&5
41488 ac_header_compiler
=no
41490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41492 echo "${ECHO_T}$ac_header_compiler" >&6
41494 # Is the header present?
41495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41497 cat >conftest.
$ac_ext <<_ACEOF
41500 cat confdefs.h
>>conftest.
$ac_ext
41501 cat >>conftest.
$ac_ext <<_ACEOF
41502 /* end confdefs.h. */
41503 #include <$ac_header>
41505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41508 grep -v '^ *+' conftest.er1
>conftest.err
41510 cat conftest.err
>&5
41511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41512 (exit $ac_status); } >/dev
/null
; then
41513 if test -s conftest.err
; then
41514 ac_cpp_err
=$ac_c_preproc_warn_flag
41515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41522 if test -z "$ac_cpp_err"; then
41523 ac_header_preproc
=yes
41525 echo "$as_me: failed program was:" >&5
41526 sed 's/^/| /' conftest.
$ac_ext >&5
41528 ac_header_preproc
=no
41530 rm -f conftest.err conftest.
$ac_ext
41531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41532 echo "${ECHO_T}$ac_header_preproc" >&6
41534 # So? What about this header?
41535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41541 ac_header_preproc
=yes
41544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41558 ## ----------------------------------------- ##
41559 ## Report this to wx-dev@lists.wxwidgets.org ##
41560 ## ----------------------------------------- ##
41563 sed "s/^/$as_me: WARNING: /" >&2
41566 echo "$as_me:$LINENO: checking for $ac_header" >&5
41567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41569 echo $ECHO_N "(cached) $ECHO_C" >&6
41571 eval "$as_ac_Header=\$ac_header_preproc"
41573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41578 cat >>confdefs.h
<<_ACEOF
41579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41588 if test "$wxUSE_JOYSTICK" = "yes"; then
41589 cat >>confdefs.h
<<\_ACEOF
41590 #define wxUSE_JOYSTICK 1
41593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
41595 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41596 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41602 if test "$wxUSE_FONTMAP" = "yes" ; then
41603 cat >>confdefs.h
<<\_ACEOF
41604 #define wxUSE_FONTMAP 1
41609 if test "$wxUSE_UNICODE" = "yes" ; then
41610 cat >>confdefs.h
<<\_ACEOF
41611 #define wxUSE_UNICODE 1
41615 if test "$USE_WIN32" != 1; then
41616 wxUSE_UNICODE_MSLU
=no
41619 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41620 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41621 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41622 if test "${ac_cv_lib_unicows_main+set}" = set; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41625 ac_check_lib_save_LIBS
=$LIBS
41626 LIBS
="-lunicows $LIBS"
41627 cat >conftest.
$ac_ext <<_ACEOF
41630 cat confdefs.h
>>conftest.
$ac_ext
41631 cat >>conftest.
$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41643 rm -f conftest.
$ac_objext conftest
$ac_exeext
41644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41645 (eval $ac_link) 2>conftest.er1
41647 grep -v '^ *+' conftest.er1
>conftest.err
41649 cat conftest.err
>&5
41650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41651 (exit $ac_status); } &&
41652 { ac_try
='test -z "$ac_c_werror_flag"
41653 || test ! -s conftest.err'
41654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41655 (eval $ac_try) 2>&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); }; } &&
41659 { ac_try
='test -s conftest$ac_exeext'
41660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41661 (eval $ac_try) 2>&5
41663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664 (exit $ac_status); }; }; then
41665 ac_cv_lib_unicows_main
=yes
41667 echo "$as_me: failed program was:" >&5
41668 sed 's/^/| /' conftest.
$ac_ext >&5
41670 ac_cv_lib_unicows_main
=no
41672 rm -f conftest.err conftest.
$ac_objext \
41673 conftest
$ac_exeext conftest.
$ac_ext
41674 LIBS
=$ac_check_lib_save_LIBS
41676 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41677 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41678 if test $ac_cv_lib_unicows_main = yes; then
41680 cat >>confdefs.h
<<\_ACEOF
41681 #define wxUSE_UNICODE_MSLU 1
41687 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41688 Applications will only run on Windows NT/2000/XP!" >&5
41689 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41690 Applications will only run on Windows NT/2000/XP!" >&2;}
41691 wxUSE_UNICODE_MSLU
=no
41698 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41699 cat >>confdefs.h
<<\_ACEOF
41700 #define wxUSE_EXPERIMENTAL_PRINTF 1
41706 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41707 cat >>confdefs.h
<<\_ACEOF
41708 #define wxUSE_POSTSCRIPT 1
41713 cat >>confdefs.h
<<\_ACEOF
41714 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41718 cat >>confdefs.h
<<\_ACEOF
41719 #define wxUSE_NORMALIZED_PS_FONTS 1
41724 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41725 cat >>confdefs.h
<<\_ACEOF
41726 #define wxUSE_CONSTRAINTS 1
41729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
41732 if test "$wxUSE_MDI" = "yes"; then
41733 cat >>confdefs.h
<<\_ACEOF
41734 #define wxUSE_MDI 1
41738 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41739 cat >>confdefs.h
<<\_ACEOF
41740 #define wxUSE_MDI_ARCHITECTURE 1
41743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
41747 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41748 cat >>confdefs.h
<<\_ACEOF
41749 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
41753 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
41758 if test "$wxUSE_HELP" = "yes"; then
41759 cat >>confdefs.h
<<\_ACEOF
41760 #define wxUSE_HELP 1
41763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
41765 if test "$wxUSE_MSW" = 1; then
41766 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41767 cat >>confdefs.h
<<\_ACEOF
41768 #define wxUSE_MS_HTML_HELP 1
41774 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41775 if test "$wxUSE_HTML" = "yes"; then
41776 cat >>confdefs.h
<<\_ACEOF
41777 #define wxUSE_WXHTML_HELP 1
41781 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41782 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41783 wxUSE_WXHTML_HELP
=no
41788 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41790 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41791 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41793 cat >>confdefs.h
<<\_ACEOF
41794 #define wxUSE_PRINTING_ARCHITECTURE 1
41798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
41801 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41802 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41803 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41804 { (exit 1); exit 1; }; }
41808 if test "$wxUSE_METAFILE" = "yes"; then
41809 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41810 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41811 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41817 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
41818 -o "$wxUSE_CLIPBOARD" = "yes" \
41819 -o "$wxUSE_OLE" = "yes" \
41820 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
41822 for ac_header
in ole2.h
41824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41826 echo "$as_me:$LINENO: checking for $ac_header" >&5
41827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41829 echo $ECHO_N "(cached) $ECHO_C" >&6
41831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41834 # Is the header compilable?
41835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41837 cat >conftest.
$ac_ext <<_ACEOF
41840 cat confdefs.h
>>conftest.
$ac_ext
41841 cat >>conftest.
$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41843 $ac_includes_default
41844 #include <$ac_header>
41846 rm -f conftest.
$ac_objext
41847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41848 (eval $ac_compile) 2>conftest.er1
41850 grep -v '^ *+' conftest.er1
>conftest.err
41852 cat conftest.err
>&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); } &&
41855 { ac_try
='test -z "$ac_c_werror_flag"
41856 || test ! -s conftest.err'
41857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858 (eval $ac_try) 2>&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); }; } &&
41862 { ac_try
='test -s conftest.$ac_objext'
41863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864 (eval $ac_try) 2>&5
41866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867 (exit $ac_status); }; }; then
41868 ac_header_compiler
=yes
41870 echo "$as_me: failed program was:" >&5
41871 sed 's/^/| /' conftest.
$ac_ext >&5
41873 ac_header_compiler
=no
41875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41877 echo "${ECHO_T}$ac_header_compiler" >&6
41879 # Is the header present?
41880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41882 cat >conftest.
$ac_ext <<_ACEOF
41885 cat confdefs.h
>>conftest.
$ac_ext
41886 cat >>conftest.
$ac_ext <<_ACEOF
41887 /* end confdefs.h. */
41888 #include <$ac_header>
41890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41893 grep -v '^ *+' conftest.er1
>conftest.err
41895 cat conftest.err
>&5
41896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41897 (exit $ac_status); } >/dev
/null
; then
41898 if test -s conftest.err
; then
41899 ac_cpp_err
=$ac_c_preproc_warn_flag
41900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41907 if test -z "$ac_cpp_err"; then
41908 ac_header_preproc
=yes
41910 echo "$as_me: failed program was:" >&5
41911 sed 's/^/| /' conftest.
$ac_ext >&5
41913 ac_header_preproc
=no
41915 rm -f conftest.err conftest.
$ac_ext
41916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41917 echo "${ECHO_T}$ac_header_preproc" >&6
41919 # So? What about this header?
41920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41926 ac_header_preproc
=yes
41929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41943 ## ----------------------------------------- ##
41944 ## Report this to wx-dev@lists.wxwidgets.org ##
41945 ## ----------------------------------------- ##
41948 sed "s/^/$as_me: WARNING: /" >&2
41951 echo "$as_me:$LINENO: checking for $ac_header" >&5
41952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41954 echo $ECHO_N "(cached) $ECHO_C" >&6
41956 eval "$as_ac_Header=\$ac_header_preproc"
41958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41963 cat >>confdefs.h
<<_ACEOF
41964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41972 if test "$ac_cv_header_ole2_h" = "yes" ; then
41973 if test "$GCC" = yes ; then
41977 ac_cpp
='$CXXCPP $CPPFLAGS'
41978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41983 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41984 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41985 cat >conftest.
$ac_ext <<_ACEOF
41988 cat confdefs.h
>>conftest.
$ac_ext
41989 cat >>conftest.
$ac_ext <<_ACEOF
41990 /* end confdefs.h. */
41991 #include <windows.h>
42001 rm -f conftest.
$ac_objext
42002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42003 (eval $ac_compile) 2>conftest.er1
42005 grep -v '^ *+' conftest.er1
>conftest.err
42007 cat conftest.err
>&5
42008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42009 (exit $ac_status); } &&
42010 { ac_try
='test -z "$ac_cxx_werror_flag"
42011 || test ! -s conftest.err'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; } &&
42017 { ac_try
='test -s conftest.$ac_objext'
42018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019 (eval $ac_try) 2>&5
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); }; }; then
42023 echo "$as_me:$LINENO: result: no" >&5
42024 echo "${ECHO_T}no" >&6
42026 echo "$as_me: failed program was:" >&5
42027 sed 's/^/| /' conftest.
$ac_ext >&5
42029 echo "$as_me:$LINENO: result: yes" >&5
42030 echo "${ECHO_T}yes" >&6
42031 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
42033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42035 ac_cpp
='$CPP $CPPFLAGS'
42036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42040 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
42041 if test "$wxUSE_OLE" = "yes" ; then
42042 cat >>confdefs.h
<<\_ACEOF
42043 #define wxUSE_OLE 1
42046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
42050 if test "$wxUSE_DATAOBJ" = "yes" ; then
42051 cat >>confdefs.h
<<\_ACEOF
42052 #define wxUSE_DATAOBJ 1
42057 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
42058 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
42061 wxUSE_DRAG_AND_DROP
=no
42066 if test "$wxUSE_METAFILE" = "yes"; then
42067 cat >>confdefs.h
<<\_ACEOF
42068 #define wxUSE_METAFILE 1
42072 cat >>confdefs.h
<<\_ACEOF
42073 #define wxUSE_ENH_METAFILE 1
42079 if test "$wxUSE_IPC" = "yes"; then
42080 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
42081 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
42082 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
42086 if test "$wxUSE_IPC" = "yes"; then
42087 cat >>confdefs.h
<<\_ACEOF
42088 #define wxUSE_IPC 1
42091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
42095 if test "$wxUSE_DATAOBJ" = "yes"; then
42096 if test "$wxUSE_MGL" = 1; then
42097 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
42098 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
42101 cat >>confdefs.h
<<\_ACEOF
42102 #define wxUSE_DATAOBJ 1
42107 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
42108 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
42110 wxUSE_DRAG_AND_DROP
=no
42113 if test "$wxUSE_CLIPBOARD" = "yes"; then
42114 if test "$wxUSE_MGL" = 1; then
42115 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
42116 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
42120 if test "$wxUSE_CLIPBOARD" = "yes"; then
42121 cat >>confdefs.h
<<\_ACEOF
42122 #define wxUSE_CLIPBOARD 1
42128 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
42129 if test "$wxUSE_GTK" = 1; then
42130 if test "$WXGTK12" != 1; then
42131 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
42132 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
42133 wxUSE_DRAG_AND_DROP
=no
42137 if test "$wxUSE_MOTIF" = 1; then
42138 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
42139 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
42140 wxUSE_DRAG_AND_DROP
=no
42143 if test "$wxUSE_X11" = 1; then
42144 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
42145 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
42146 wxUSE_DRAG_AND_DROP
=no
42149 if test "$wxUSE_MGL" = 1; then
42150 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
42151 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
42152 wxUSE_DRAG_AND_DROP
=no
42155 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
42156 cat >>confdefs.h
<<\_ACEOF
42157 #define wxUSE_DRAG_AND_DROP 1
42164 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
42165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
42168 if test "$wxUSE_SPLINES" = "yes" ; then
42169 cat >>confdefs.h
<<\_ACEOF
42170 #define wxUSE_SPLINES 1
42175 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
42176 cat >>confdefs.h
<<\_ACEOF
42177 #define wxUSE_MOUSEWHEEL 1
42184 if test "$wxUSE_CONTROLS" = "yes"; then
42188 if test "$wxUSE_ACCEL" = "yes"; then
42189 cat >>confdefs.h
<<\_ACEOF
42190 #define wxUSE_ACCEL 1
42196 if test "$wxUSE_BUTTON" = "yes"; then
42197 cat >>confdefs.h
<<\_ACEOF
42198 #define wxUSE_BUTTON 1
42204 if test "$wxUSE_BMPBUTTON" = "yes"; then
42205 cat >>confdefs.h
<<\_ACEOF
42206 #define wxUSE_BMPBUTTON 1
42212 if test "$wxUSE_CALCTRL" = "yes"; then
42213 cat >>confdefs.h
<<\_ACEOF
42214 #define wxUSE_CALENDARCTRL 1
42218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
42221 if test "$wxUSE_CARET" = "yes"; then
42222 cat >>confdefs.h
<<\_ACEOF
42223 #define wxUSE_CARET 1
42227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
42230 if test "$wxUSE_COMBOBOX" = "yes"; then
42231 cat >>confdefs.h
<<\_ACEOF
42232 #define wxUSE_COMBOBOX 1
42238 if test "$wxUSE_CHOICE" = "yes"; then
42239 cat >>confdefs.h
<<\_ACEOF
42240 #define wxUSE_CHOICE 1
42246 if test "$wxUSE_CHOICEBOOK" = "yes"; then
42247 cat >>confdefs.h
<<\_ACEOF
42248 #define wxUSE_CHOICEBOOK 1
42254 if test "$wxUSE_CHECKBOX" = "yes"; then
42255 cat >>confdefs.h
<<\_ACEOF
42256 #define wxUSE_CHECKBOX 1
42262 if test "$wxUSE_CHECKLST" = "yes"; then
42263 cat >>confdefs.h
<<\_ACEOF
42264 #define wxUSE_CHECKLISTBOX 1
42268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
42271 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
42272 cat >>confdefs.h
<<\_ACEOF
42273 #define wxUSE_DATEPICKCTRL 1
42279 if test "$wxUSE_DISPLAY" = "yes"; then
42280 cat >>confdefs.h
<<\_ACEOF
42281 #define wxUSE_DISPLAY 1
42284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
42287 if test "$wxUSE_GAUGE" = "yes"; then
42288 cat >>confdefs.h
<<\_ACEOF
42289 #define wxUSE_GAUGE 1
42295 if test "$wxUSE_GRID" = "yes"; then
42296 cat >>confdefs.h
<<\_ACEOF
42297 #define wxUSE_GRID 1
42301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
42304 if test "$wxUSE_IMAGLIST" = "yes"; then
42305 cat >>confdefs.h
<<\_ACEOF
42306 #define wxUSE_IMAGLIST 1
42311 if test "$wxUSE_LISTBOOK" = "yes"; then
42312 cat >>confdefs.h
<<\_ACEOF
42313 #define wxUSE_LISTBOOK 1
42319 if test "$wxUSE_LISTBOX" = "yes"; then
42320 cat >>confdefs.h
<<\_ACEOF
42321 #define wxUSE_LISTBOX 1
42325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
42328 if test "$wxUSE_LISTCTRL" = "yes"; then
42329 if test "$wxUSE_IMAGLIST" = "yes"; then
42330 cat >>confdefs.h
<<\_ACEOF
42331 #define wxUSE_LISTCTRL 1
42335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
42337 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
42338 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
42342 if test "$wxUSE_NOTEBOOK" = "yes"; then
42343 cat >>confdefs.h
<<\_ACEOF
42344 #define wxUSE_NOTEBOOK 1
42348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
42352 if test "$wxUSE_RADIOBOX" = "yes"; then
42353 cat >>confdefs.h
<<\_ACEOF
42354 #define wxUSE_RADIOBOX 1
42360 if test "$wxUSE_RADIOBTN" = "yes"; then
42361 cat >>confdefs.h
<<\_ACEOF
42362 #define wxUSE_RADIOBTN 1
42368 if test "$wxUSE_SASH" = "yes"; then
42369 cat >>confdefs.h
<<\_ACEOF
42370 #define wxUSE_SASH 1
42373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
42376 if test "$wxUSE_SCROLLBAR" = "yes"; then
42377 cat >>confdefs.h
<<\_ACEOF
42378 #define wxUSE_SCROLLBAR 1
42382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
42385 if test "$wxUSE_SLIDER" = "yes"; then
42386 cat >>confdefs.h
<<\_ACEOF
42387 #define wxUSE_SLIDER 1
42393 if test "$wxUSE_SPINBTN" = "yes"; then
42394 cat >>confdefs.h
<<\_ACEOF
42395 #define wxUSE_SPINBTN 1
42401 if test "$wxUSE_SPINCTRL" = "yes"; then
42402 cat >>confdefs.h
<<\_ACEOF
42403 #define wxUSE_SPINCTRL 1
42409 if test "$wxUSE_SPLITTER" = "yes"; then
42410 cat >>confdefs.h
<<\_ACEOF
42411 #define wxUSE_SPLITTER 1
42414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
42417 if test "$wxUSE_STATBMP" = "yes"; then
42418 cat >>confdefs.h
<<\_ACEOF
42419 #define wxUSE_STATBMP 1
42425 if test "$wxUSE_STATBOX" = "yes"; then
42426 cat >>confdefs.h
<<\_ACEOF
42427 #define wxUSE_STATBOX 1
42433 if test "$wxUSE_STATTEXT" = "yes"; then
42434 cat >>confdefs.h
<<\_ACEOF
42435 #define wxUSE_STATTEXT 1
42441 if test "$wxUSE_STATLINE" = "yes"; then
42442 cat >>confdefs.h
<<\_ACEOF
42443 #define wxUSE_STATLINE 1
42449 if test "$wxUSE_STATUSBAR" = "yes"; then
42450 cat >>confdefs.h
<<\_ACEOF
42451 #define wxUSE_NATIVE_STATUSBAR 1
42454 cat >>confdefs.h
<<\_ACEOF
42455 #define wxUSE_STATUSBAR 1
42460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
42463 if test "$wxUSE_TABDIALOG" = "yes"; then
42464 cat >>confdefs.h
<<\_ACEOF
42465 #define wxUSE_TAB_DIALOG 1
42470 if test "$wxUSE_TEXTCTRL" = "yes"; then
42471 cat >>confdefs.h
<<\_ACEOF
42472 #define wxUSE_TEXTCTRL 1
42476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
42479 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42480 if test "$wxUSE_COCOA" = 1 ; then
42481 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42482 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42485 if test "$wxUSE_UNIVERSAL" = "yes"; then
42486 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42487 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42491 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42492 cat >>confdefs.h
<<\_ACEOF
42493 #define wxUSE_TOGGLEBTN 1
42500 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42501 cat >>confdefs.h
<<\_ACEOF
42502 #define wxUSE_TOOLBAR_SIMPLE 1
42505 wxUSE_TOOLBAR
="yes"
42509 if test "$wxUSE_TOOLBAR" = "yes"; then
42510 cat >>confdefs.h
<<\_ACEOF
42511 #define wxUSE_TOOLBAR 1
42516 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42517 wxUSE_TOOLBAR_NATIVE
="yes"
42520 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42521 cat >>confdefs.h
<<\_ACEOF
42522 #define wxUSE_TOOLBAR_NATIVE 1
42528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
42531 if test "$wxUSE_TOOLTIPS" = "yes"; then
42532 if test "$wxUSE_MOTIF" = 1; then
42533 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42534 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42536 if test "$wxUSE_UNIVERSAL" = "yes"; then
42537 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42538 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42540 cat >>confdefs.h
<<\_ACEOF
42541 #define wxUSE_TOOLTIPS 1
42548 if test "$wxUSE_TREEBOOK" = "yes"; then
42549 cat >>confdefs.h
<<\_ACEOF
42550 #define wxUSE_TREEBOOK 1
42556 if test "$wxUSE_TREECTRL" = "yes"; then
42557 if test "$wxUSE_IMAGLIST" = "yes"; then
42558 cat >>confdefs.h
<<\_ACEOF
42559 #define wxUSE_TREECTRL 1
42563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
42565 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42566 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42570 if test "$wxUSE_POPUPWIN" = "yes"; then
42571 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42572 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42573 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42575 if test "$wxUSE_PM" = 1; then
42576 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42577 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42579 cat >>confdefs.h
<<\_ACEOF
42580 #define wxUSE_POPUPWIN 1
42583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
42590 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42591 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42592 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42593 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42595 cat >>confdefs.h
<<\_ACEOF
42596 #define wxUSE_DIALUP_MANAGER 1
42599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
42603 if test "$wxUSE_TIPWINDOW" = "yes"; then
42604 if test "$wxUSE_PM" = 1; then
42605 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42606 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42608 cat >>confdefs.h
<<\_ACEOF
42609 #define wxUSE_TIPWINDOW 1
42615 if test "$USES_CONTROLS" = 1; then
42616 cat >>confdefs.h
<<\_ACEOF
42617 #define wxUSE_CONTROLS 1
42623 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42624 cat >>confdefs.h
<<\_ACEOF
42625 #define wxUSE_ACCESSIBILITY 1
42628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
42631 if test "$wxUSE_DC_CACHEING" = "yes"; then
42632 cat >>confdefs.h
<<\_ACEOF
42633 #define wxUSE_DC_CACHEING 1
42638 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42639 cat >>confdefs.h
<<\_ACEOF
42640 #define wxUSE_DRAGIMAGE 1
42643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
42646 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42647 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42648 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42649 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42651 cat >>confdefs.h
<<\_ACEOF
42652 #define wxUSE_EXCEPTIONS 1
42655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
42660 if test "$wxUSE_HTML" = "yes"; then
42661 cat >>confdefs.h
<<\_ACEOF
42662 #define wxUSE_HTML 1
42666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42667 if test "$wxUSE_MAC" = 1; then
42668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
42671 if test "$wxUSE_WEBKIT" = "yes"; then
42672 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42673 old_CPPFLAGS
="$CPPFLAGS"
42674 CPPFLAGS
="$CPPFLAGS -x objective-c++"
42675 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42676 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42677 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42678 echo $ECHO_N "(cached) $ECHO_C" >&6
42680 cat >conftest.
$ac_ext <<_ACEOF
42683 cat confdefs.h
>>conftest.
$ac_ext
42684 cat >>conftest.
$ac_ext <<_ACEOF
42685 /* end confdefs.h. */
42686 #include <Carbon/Carbon.h>
42688 #include <WebKit/HIWebView.h>
42690 rm -f conftest.
$ac_objext
42691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42692 (eval $ac_compile) 2>conftest.er1
42694 grep -v '^ *+' conftest.er1
>conftest.err
42696 cat conftest.err
>&5
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); } &&
42699 { ac_try
='test -z "$ac_c_werror_flag"
42700 || test ! -s conftest.err'
42701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42702 (eval $ac_try) 2>&5
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); }; } &&
42706 { ac_try
='test -s conftest.$ac_objext'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; }; then
42712 ac_cv_header_WebKit_HIWebView_h
=yes
42714 echo "$as_me: failed program was:" >&5
42715 sed 's/^/| /' conftest.
$ac_ext >&5
42717 ac_cv_header_WebKit_HIWebView_h
=no
42719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42721 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42722 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42723 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42725 cat >>confdefs.h
<<\_ACEOF
42726 #define wxUSE_WEBKIT 1
42729 WEBKIT_LINK
="-framework WebKit"
42733 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42734 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42740 CPPFLAGS
="$old_CPPFLAGS"
42741 elif test "$wxUSE_COCOA" = 1; then
42742 cat >>confdefs.h
<<\_ACEOF
42743 #define wxUSE_WEBKIT 1
42752 if test "$wxUSE_XRC" = "yes"; then
42753 if test "$wxUSE_XML" != "yes"; then
42754 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42755 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42758 cat >>confdefs.h
<<\_ACEOF
42759 #define wxUSE_XRC 1
42763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
42767 if test "$wxUSE_MENUS" = "yes"; then
42768 cat >>confdefs.h
<<\_ACEOF
42769 #define wxUSE_MENUS 1
42772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
42775 if test "$wxUSE_METAFILE" = "yes"; then
42776 cat >>confdefs.h
<<\_ACEOF
42777 #define wxUSE_METAFILE 1
42782 if test "$wxUSE_MIMETYPE" = "yes"; then
42783 cat >>confdefs.h
<<\_ACEOF
42784 #define wxUSE_MIMETYPE 1
42789 if test "$wxUSE_MINIFRAME" = "yes"; then
42790 cat >>confdefs.h
<<\_ACEOF
42791 #define wxUSE_MINIFRAME 1
42794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
42797 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42798 cat >>confdefs.h
<<\_ACEOF
42799 #define wxUSE_SYSTEM_OPTIONS 1
42802 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42803 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
42809 if test "$wxUSE_VALIDATORS" = "yes"; then
42810 cat >>confdefs.h
<<\_ACEOF
42811 #define wxUSE_VALIDATORS 1
42814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
42817 if test "$wxUSE_PALETTE" = "yes" ; then
42818 cat >>confdefs.h
<<\_ACEOF
42819 #define wxUSE_PALETTE 1
42824 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42825 LIBS
=" -lunicows $LIBS"
42829 if test "$wxUSE_RICHTEXT" = "yes"; then
42830 cat >>confdefs.h
<<\_ACEOF
42831 #define wxUSE_RICHTEXT 1
42835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
42839 if test "$wxUSE_IMAGE" = "yes" ; then
42840 cat >>confdefs.h
<<\_ACEOF
42841 #define wxUSE_IMAGE 1
42845 if test "$wxUSE_GIF" = "yes" ; then
42846 cat >>confdefs.h
<<\_ACEOF
42847 #define wxUSE_GIF 1
42852 if test "$wxUSE_PCX" = "yes" ; then
42853 cat >>confdefs.h
<<\_ACEOF
42854 #define wxUSE_PCX 1
42859 if test "$wxUSE_IFF" = "yes" ; then
42860 cat >>confdefs.h
<<\_ACEOF
42861 #define wxUSE_IFF 1
42866 if test "$wxUSE_PNM" = "yes" ; then
42867 cat >>confdefs.h
<<\_ACEOF
42868 #define wxUSE_PNM 1
42873 if test "$wxUSE_XPM" = "yes" ; then
42874 cat >>confdefs.h
<<\_ACEOF
42875 #define wxUSE_XPM 1
42880 if test "$wxUSE_ICO_CUR" = "yes" ; then
42881 cat >>confdefs.h
<<\_ACEOF
42882 #define wxUSE_ICO_CUR 1
42889 if test "$wxUSE_CHOICEDLG" = "yes"; then
42890 cat >>confdefs.h
<<\_ACEOF
42891 #define wxUSE_CHOICEDLG 1
42896 if test "$wxUSE_COLOURDLG" = "yes"; then
42897 cat >>confdefs.h
<<\_ACEOF
42898 #define wxUSE_COLOURDLG 1
42903 if test "$wxUSE_FILEDLG" = "yes"; then
42904 cat >>confdefs.h
<<\_ACEOF
42905 #define wxUSE_FILEDLG 1
42910 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42911 cat >>confdefs.h
<<\_ACEOF
42912 #define wxUSE_FINDREPLDLG 1
42917 if test "$wxUSE_FONTDLG" = "yes"; then
42918 cat >>confdefs.h
<<\_ACEOF
42919 #define wxUSE_FONTDLG 1
42924 if test "$wxUSE_DIRDLG" = "yes"; then
42925 if test "$wxUSE_TREECTRL" != "yes"; then
42926 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42927 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42929 cat >>confdefs.h
<<\_ACEOF
42930 #define wxUSE_DIRDLG 1
42936 if test "$wxUSE_MSGDLG" = "yes"; then
42937 cat >>confdefs.h
<<\_ACEOF
42938 #define wxUSE_MSGDLG 1
42943 if test "$wxUSE_NUMBERDLG" = "yes"; then
42944 cat >>confdefs.h
<<\_ACEOF
42945 #define wxUSE_NUMBERDLG 1
42950 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42951 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42952 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42953 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42955 cat >>confdefs.h
<<\_ACEOF
42956 #define wxUSE_PROGRESSDLG 1
42962 if test "$wxUSE_SPLASH" = "yes"; then
42963 cat >>confdefs.h
<<\_ACEOF
42964 #define wxUSE_SPLASH 1
42967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
42970 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42971 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42972 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42973 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42975 cat >>confdefs.h
<<\_ACEOF
42976 #define wxUSE_STARTUP_TIPS 1
42982 if test "$wxUSE_TEXTDLG" = "yes"; then
42983 cat >>confdefs.h
<<\_ACEOF
42984 #define wxUSE_TEXTDLG 1
42989 if test "$wxUSE_WIZARDDLG" = "yes"; then
42990 cat >>confdefs.h
<<\_ACEOF
42991 #define wxUSE_WIZARDDLG 1
42994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42998 if test "$wxUSE_MEDIACTRL" = "yes"; then
42999 if test "$wxUSE_GTK" = 1; then
43000 wxUSE_GSTREAMER
="yes"
43005 if test -z "$PKG_CONFIG"; then
43006 # Extract the first word of "pkg-config", so it can be a program name with args.
43007 set dummy pkg
-config; ac_word
=$2
43008 echo "$as_me:$LINENO: checking for $ac_word" >&5
43009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43010 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43011 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 case $PKG_CONFIG in
43015 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43019 for as_dir
in $PATH
43022 test -z "$as_dir" && as_dir
=.
43023 for ac_exec_ext
in '' $ac_executable_extensions; do
43024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43025 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43032 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
43036 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43038 if test -n "$PKG_CONFIG"; then
43039 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43040 echo "${ECHO_T}$PKG_CONFIG" >&6
43042 echo "$as_me:$LINENO: result: no" >&5
43043 echo "${ECHO_T}no" >&6
43048 if test "$PKG_CONFIG" = "no" ; then
43049 echo "*** The pkg-config script could not be found. Make sure it is"
43050 echo "*** in your path, or set the PKG_CONFIG environment variable"
43051 echo "*** to the full path to pkg-config."
43052 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
43054 PKG_CONFIG_MIN_VERSION
=0.9.0
43055 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
43056 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
43057 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
43059 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
43060 echo "$as_me:$LINENO: result: yes" >&5
43061 echo "${ECHO_T}yes" >&6
43064 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
43065 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
43066 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
43067 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
43068 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
43070 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
43071 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
43072 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
43073 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
43074 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
43076 GSTREAMER_CFLAGS
=""
43078 ## If we have a custom action on failure, don't print errors, but
43079 ## do set a variable so people can do so.
43080 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
43087 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
43088 echo "*** See http://www.freedesktop.org/software/pkgconfig"
43092 if test $succeeded = yes; then
43094 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
43095 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
43099 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
43100 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
43101 wxUSE_GSTREAMER
="no"
43109 if test "x$GST_INSPECT" == "x"; then
43110 # Extract the first word of "gst-inspect", so it can be a program name with args.
43111 set dummy gst
-inspect; ac_word
=$2
43112 echo "$as_me:$LINENO: checking for $ac_word" >&5
43113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43114 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
43115 echo $ECHO_N "(cached) $ECHO_C" >&6
43117 if test -n "$GST_INSPECT"; then
43118 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
43120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43121 for as_dir
in $PATH
43124 test -z "$as_dir" && as_dir
=.
43125 for ac_exec_ext
in '' $ac_executable_extensions; do
43126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43127 ac_cv_prog_GST_INSPECT
="gst-inspect"
43128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43136 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
43137 if test -n "$GST_INSPECT"; then
43138 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
43139 echo "${ECHO_T}$GST_INSPECT" >&6
43141 echo "$as_me:$LINENO: result: no" >&5
43142 echo "${ECHO_T}no" >&6
43147 if test "x$GST_INSPECT" != "x"; then
43148 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
43149 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
43150 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
43151 echo "$as_me:$LINENO: result: found." >&5
43152 echo "${ECHO_T}found." >&6
43155 echo "$as_me:$LINENO: result: not found." >&5
43156 echo "${ECHO_T}not found." >&6
43158 wxUSE_GSTREAMER
="no"
43159 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
43160 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
43166 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
43167 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
43168 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
43169 echo $ECHO_N "(cached) $ECHO_C" >&6
43171 cat >conftest.
$ac_ext <<_ACEOF
43174 cat confdefs.h
>>conftest.
$ac_ext
43175 cat >>conftest.
$ac_ext <<_ACEOF
43176 /* end confdefs.h. */
43177 #include <gst/gst.h>
43179 #include <gst/xoverlay/xoverlay.h>
43181 rm -f conftest.
$ac_objext
43182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43183 (eval $ac_compile) 2>conftest.er1
43185 grep -v '^ *+' conftest.er1
>conftest.err
43187 cat conftest.err
>&5
43188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189 (exit $ac_status); } &&
43190 { ac_try
='test -z "$ac_c_werror_flag"
43191 || test ! -s conftest.err'
43192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43193 (eval $ac_try) 2>&5
43195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43196 (exit $ac_status); }; } &&
43197 { ac_try
='test -s conftest.$ac_objext'
43198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43199 (eval $ac_try) 2>&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); }; }; then
43203 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
43205 echo "$as_me: failed program was:" >&5
43206 sed 's/^/| /' conftest.
$ac_ext >&5
43208 ac_cv_header_gst_xoverlay_xoverlay_h
=no
43210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43212 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
43213 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
43214 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
43218 wxUSE_GSTREAMER
="no"
43219 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
43220 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
43226 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
43227 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
43230 for ac_dir
in $SEARCH_LIB;
43232 for ac_extension
in a so sl dylib dll.a
; do
43233 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
43234 ac_find_libraries
=$ac_dir
43241 if test "$ac_find_libraries" = "" ; then
43242 echo "$as_me:$LINENO: result: no" >&5
43243 echo "${ECHO_T}no" >&6
43244 wxUSE_GSTREAMER
="no"
43246 echo "$as_me:$LINENO: result: yes" >&5
43247 echo "${ECHO_T}yes" >&6
43250 if test "$wxUSE_GSTREAMER" = "yes"; then
43251 cat >>confdefs.h
<<\_ACEOF
43252 #define wxUSE_GSTREAMER 1
43255 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
43256 echo "${ECHO_T}GStreamer detection successful" >&6
43259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
43260 cat >>confdefs.h
<<\_ACEOF
43261 #define wxUSE_MEDIACTRL 1
43267 if test "$cross_compiling" = "yes"; then
43270 OSINFO
=`uname -s -r -m`
43271 OSINFO
="\"$OSINFO\""
43274 cat >>confdefs.h
<<_ACEOF
43275 #define WXWIN_OS_DESCRIPTION $OSINFO
43280 if test "x$prefix" != "xNONE"; then
43283 wxPREFIX
=$ac_default_prefix
43286 cat >>confdefs.h
<<_ACEOF
43287 #define wxINSTALL_PREFIX "$wxPREFIX"
43293 CORE_BASE_LIBS
="net base"
43294 CORE_GUI_LIBS
="adv core"
43296 if test "$wxUSE_XML" = "yes" ; then
43297 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
43299 if test "$wxUSE_ODBC" != "no" ; then
43300 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
43301 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
43303 if test "$wxUSE_HTML" = "yes" ; then
43304 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
43306 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43307 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
43309 if test "$wxUSE_XRC" = "yes" ; then
43310 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
43313 if test "$wxUSE_GUI" != "yes"; then
43324 if test "$wxUSE_MAC" = 1 ; then
43325 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
43326 if test "$USE_DARWIN" = 1; then
43327 LDFLAGS
="$LDFLAGS -framework QuickTime"
43329 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
43332 if test "$USE_DARWIN" = 1; then
43333 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
43335 LDFLAGS
="$LDFLAGS -lCarbonLib"
43338 if test "$wxUSE_COCOA" = 1 ; then
43339 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
43340 if test "$wxUSE_MEDIACTRL" = "yes"; then
43341 LDFLAGS
="$LDFLAGS -framework QuickTime"
43344 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
43345 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
43349 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
43356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43357 echo "$as_me:$LINENO: checking for $ac_func" >&5
43358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43359 if eval "test \"\${$as_ac_var+set}\" = set"; then
43360 echo $ECHO_N "(cached) $ECHO_C" >&6
43362 cat >conftest.
$ac_ext <<_ACEOF
43365 cat confdefs.h
>>conftest.
$ac_ext
43366 cat >>conftest.
$ac_ext <<_ACEOF
43367 /* end confdefs.h. */
43368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43370 #define $ac_func innocuous_$ac_func
43372 /* System header to define __stub macros and hopefully few prototypes,
43373 which can conflict with char $ac_func (); below.
43374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43375 <limits.h> exists even on freestanding compilers. */
43378 # include <limits.h>
43380 # include <assert.h>
43385 /* Override any gcc2 internal prototype to avoid an error. */
43390 /* We use char because int might match the return type of a gcc2
43391 builtin and then its argument prototype would still apply. */
43393 /* The GNU C library defines this for functions which it implements
43394 to always fail with ENOSYS. Some functions are actually named
43395 something starting with __ and the normal name is an alias. */
43396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43399 char (*f) () = $ac_func;
43408 return f != $ac_func;
43413 rm -f conftest.
$ac_objext conftest
$ac_exeext
43414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43415 (eval $ac_link) 2>conftest.er1
43417 grep -v '^ *+' conftest.er1
>conftest.err
43419 cat conftest.err
>&5
43420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43421 (exit $ac_status); } &&
43422 { ac_try
='test -z "$ac_c_werror_flag"
43423 || test ! -s conftest.err'
43424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43425 (eval $ac_try) 2>&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); }; } &&
43429 { ac_try
='test -s conftest$ac_exeext'
43430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43431 (eval $ac_try) 2>&5
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); }; }; then
43435 eval "$as_ac_var=yes"
43437 echo "$as_me: failed program was:" >&5
43438 sed 's/^/| /' conftest.
$ac_ext >&5
43440 eval "$as_ac_var=no"
43442 rm -f conftest.err conftest.
$ac_objext \
43443 conftest
$ac_exeext conftest.
$ac_ext
43445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43447 if test `eval echo '${'$as_ac_var'}'` = yes; then
43448 cat >>confdefs.h
<<_ACEOF
43449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43456 for ac_func
in floor
43458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43459 echo "$as_me:$LINENO: checking for $ac_func" >&5
43460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43461 if eval "test \"\${$as_ac_var+set}\" = set"; then
43462 echo $ECHO_N "(cached) $ECHO_C" >&6
43464 cat >conftest.
$ac_ext <<_ACEOF
43467 cat confdefs.h
>>conftest.
$ac_ext
43468 cat >>conftest.
$ac_ext <<_ACEOF
43469 /* end confdefs.h. */
43470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43472 #define $ac_func innocuous_$ac_func
43474 /* System header to define __stub macros and hopefully few prototypes,
43475 which can conflict with char $ac_func (); below.
43476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43477 <limits.h> exists even on freestanding compilers. */
43480 # include <limits.h>
43482 # include <assert.h>
43487 /* Override any gcc2 internal prototype to avoid an error. */
43492 /* We use char because int might match the return type of a gcc2
43493 builtin and then its argument prototype would still apply. */
43495 /* The GNU C library defines this for functions which it implements
43496 to always fail with ENOSYS. Some functions are actually named
43497 something starting with __ and the normal name is an alias. */
43498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43501 char (*f) () = $ac_func;
43510 return f != $ac_func;
43515 rm -f conftest.
$ac_objext conftest
$ac_exeext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43517 (eval $ac_link) 2>conftest.er1
43519 grep -v '^ *+' conftest.er1
>conftest.err
43521 cat conftest.err
>&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } &&
43524 { ac_try
='test -z "$ac_c_werror_flag"
43525 || test ! -s conftest.err'
43526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43527 (eval $ac_try) 2>&5
43529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43530 (exit $ac_status); }; } &&
43531 { ac_try
='test -s conftest$ac_exeext'
43532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43533 (eval $ac_try) 2>&5
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); }; }; then
43537 eval "$as_ac_var=yes"
43539 echo "$as_me: failed program was:" >&5
43540 sed 's/^/| /' conftest.
$ac_ext >&5
43542 eval "$as_ac_var=no"
43544 rm -f conftest.err conftest.
$ac_objext \
43545 conftest
$ac_exeext conftest.
$ac_ext
43547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43549 if test `eval echo '${'$as_ac_var'}'` = yes; then
43550 cat >>confdefs.h
<<_ACEOF
43551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43557 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43558 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43559 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43560 echo "$as_me:$LINENO: result: yes" >&5
43561 echo "${ECHO_T}yes" >&6
43563 echo "$as_me:$LINENO: result: no" >&5
43564 echo "${ECHO_T}no" >&6
43566 # use different functions to avoid configure caching
43572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43573 echo "$as_me:$LINENO: checking for $ac_func" >&5
43574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43575 if eval "test \"\${$as_ac_var+set}\" = set"; then
43576 echo $ECHO_N "(cached) $ECHO_C" >&6
43578 cat >conftest.
$ac_ext <<_ACEOF
43581 cat confdefs.h
>>conftest.
$ac_ext
43582 cat >>conftest.
$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43586 #define $ac_func innocuous_$ac_func
43588 /* System header to define __stub macros and hopefully few prototypes,
43589 which can conflict with char $ac_func (); below.
43590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43591 <limits.h> exists even on freestanding compilers. */
43594 # include <limits.h>
43596 # include <assert.h>
43601 /* Override any gcc2 internal prototype to avoid an error. */
43606 /* We use char because int might match the return type of a gcc2
43607 builtin and then its argument prototype would still apply. */
43609 /* The GNU C library defines this for functions which it implements
43610 to always fail with ENOSYS. Some functions are actually named
43611 something starting with __ and the normal name is an alias. */
43612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43615 char (*f) () = $ac_func;
43624 return f != $ac_func;
43629 rm -f conftest.
$ac_objext conftest
$ac_exeext
43630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43631 (eval $ac_link) 2>conftest.er1
43633 grep -v '^ *+' conftest.er1
>conftest.err
43635 cat conftest.err
>&5
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); } &&
43638 { ac_try
='test -z "$ac_c_werror_flag"
43639 || test ! -s conftest.err'
43640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43641 (eval $ac_try) 2>&5
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; } &&
43645 { ac_try
='test -s conftest$ac_exeext'
43646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43647 (eval $ac_try) 2>&5
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); }; }; then
43651 eval "$as_ac_var=yes"
43653 echo "$as_me: failed program was:" >&5
43654 sed 's/^/| /' conftest.
$ac_ext >&5
43656 eval "$as_ac_var=no"
43658 rm -f conftest.err conftest.
$ac_objext \
43659 conftest
$ac_exeext conftest.
$ac_ext
43661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43663 if test `eval echo '${'$as_ac_var'}'` = yes; then
43664 cat >>confdefs.h
<<_ACEOF
43665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43672 for ac_func
in ceil
43674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43675 echo "$as_me:$LINENO: checking for $ac_func" >&5
43676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43677 if eval "test \"\${$as_ac_var+set}\" = set"; then
43678 echo $ECHO_N "(cached) $ECHO_C" >&6
43680 cat >conftest.
$ac_ext <<_ACEOF
43683 cat confdefs.h
>>conftest.
$ac_ext
43684 cat >>conftest.
$ac_ext <<_ACEOF
43685 /* end confdefs.h. */
43686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43688 #define $ac_func innocuous_$ac_func
43690 /* System header to define __stub macros and hopefully few prototypes,
43691 which can conflict with char $ac_func (); below.
43692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43693 <limits.h> exists even on freestanding compilers. */
43696 # include <limits.h>
43698 # include <assert.h>
43703 /* Override any gcc2 internal prototype to avoid an error. */
43708 /* We use char because int might match the return type of a gcc2
43709 builtin and then its argument prototype would still apply. */
43711 /* The GNU C library defines this for functions which it implements
43712 to always fail with ENOSYS. Some functions are actually named
43713 something starting with __ and the normal name is an alias. */
43714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43717 char (*f) () = $ac_func;
43726 return f != $ac_func;
43731 rm -f conftest.
$ac_objext conftest
$ac_exeext
43732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43733 (eval $ac_link) 2>conftest.er1
43735 grep -v '^ *+' conftest.er1
>conftest.err
43737 cat conftest.err
>&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } &&
43740 { ac_try
='test -z "$ac_c_werror_flag"
43741 || test ! -s conftest.err'
43742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43743 (eval $ac_try) 2>&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); }; } &&
43747 { ac_try
='test -s conftest$ac_exeext'
43748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43749 (eval $ac_try) 2>&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); }; }; then
43753 eval "$as_ac_var=yes"
43755 echo "$as_me: failed program was:" >&5
43756 sed 's/^/| /' conftest.
$ac_ext >&5
43758 eval "$as_ac_var=no"
43760 rm -f conftest.err conftest.
$ac_objext \
43761 conftest
$ac_exeext conftest.
$ac_ext
43763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43765 if test `eval echo '${'$as_ac_var'}'` = yes; then
43766 cat >>confdefs.h
<<_ACEOF
43767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43773 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43774 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43775 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43776 echo "$as_me:$LINENO: result: yes" >&5
43777 echo "${ECHO_T}yes" >&6
43779 echo "$as_me:$LINENO: result: no" >&5
43780 echo "${ECHO_T}no" >&6
43781 # not sure we should warn the user, crash, etc.
43785 if test "$wxUSE_GUI" = "yes"; then
43788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43789 dynamic erase event exec font image minimal mobile \
43790 mobile/wxedit mobile/styles propsize render \
43791 richedit rotate shaped vscroll widgets"
43793 if test "$wxUSE_MONOLITHIC" != "yes"; then
43794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
43796 if test "$TOOLKIT" = "MSW"; then
43797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
43798 if test "$wxUSE_UNIVERSAL" != "yes"; then
43799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43802 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
43806 SAMPLES_SUBDIRS
="console"
43810 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43811 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43813 if test "x$INTELCC" = "xyes" ; then
43814 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
43815 elif test "$GCC" = yes ; then
43816 CWARNINGS
="-Wall -Wundef"
43819 if test "x$INTELCXX" = "xyes" ; then
43820 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
43821 elif test "$GXX" = yes ; then
43822 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
43825 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43827 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43828 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43829 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43831 if test "x$MWCC" = "xyes"; then
43833 CC
="$CC -cwd source -I-"
43834 CXX
="$CXX -cwd source -I-"
43839 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43840 EXTRALIBS_XML
="$EXPAT_LINK"
43841 EXTRALIBS_HTML
="$MSPACK_LINK"
43842 EXTRALIBS_ODBC
="$ODBC_LINK"
43843 if test "$wxUSE_GUI" = "yes"; then
43844 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43846 if test "$wxUSE_OPENGL" = "yes"; then
43847 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
43850 LDFLAGS
="$LDFLAGS $PROFILE"
43852 if test "$wxUSE_GTK" = 1; then
43855 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
43858 WXCONFIG_EXTRALIBS
="$LIBS"
43860 if test "$wxUSE_REGEX" = "builtin" ; then
43861 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43863 if test "$wxUSE_EXPAT" = "builtin" ; then
43864 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
43866 if test "$wxUSE_ODBC" = "builtin" ; then
43867 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
43869 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43870 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
43872 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43873 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
43875 if test "$wxUSE_LIBPNG" = "builtin" ; then
43876 wxconfig_3rdparty
="png $wxconfig_3rdparty"
43878 if test "$wxUSE_ZLIB" = "builtin" ; then
43879 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
43882 for i
in $wxconfig_3rdparty ; do
43883 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43887 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43901 if test $wxUSE_MONOLITHIC = "yes" ; then
43907 if test $wxUSE_PLUGINS = "yes" ; then
43913 if test $wxUSE_ODBC != "no" ; then
43919 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43925 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43953 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43964 TOOLKIT_USER
="GTK+"
43965 if test "$WXGTK20" = 1; then
43966 TOOLKIT_USER
="$TOOLKIT_USER 2"
43971 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
43975 if test "$wxUSE_WINE" = "yes"; then
43976 BAKEFILE_FORCE_PLATFORM
=win32
43982 if test "x$BAKEFILE_HOST" = "x"; then
43983 BAKEFILE_HOST
="${host}"
43986 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43988 if test -n "$ac_tool_prefix"; then
43989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43990 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
43991 echo "$as_me:$LINENO: checking for $ac_word" >&5
43992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43993 if test "${ac_cv_prog_RANLIB+set}" = set; then
43994 echo $ECHO_N "(cached) $ECHO_C" >&6
43996 if test -n "$RANLIB"; then
43997 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44000 for as_dir
in $PATH
44003 test -z "$as_dir" && as_dir
=.
44004 for ac_exec_ext
in '' $ac_executable_extensions; do
44005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44006 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
44007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44015 RANLIB
=$ac_cv_prog_RANLIB
44016 if test -n "$RANLIB"; then
44017 echo "$as_me:$LINENO: result: $RANLIB" >&5
44018 echo "${ECHO_T}$RANLIB" >&6
44020 echo "$as_me:$LINENO: result: no" >&5
44021 echo "${ECHO_T}no" >&6
44025 if test -z "$ac_cv_prog_RANLIB"; then
44026 ac_ct_RANLIB
=$RANLIB
44027 # Extract the first word of "ranlib", so it can be a program name with args.
44028 set dummy ranlib
; ac_word
=$2
44029 echo "$as_me:$LINENO: checking for $ac_word" >&5
44030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44031 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44034 if test -n "$ac_ct_RANLIB"; then
44035 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
44037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44038 for as_dir
in $PATH
44041 test -z "$as_dir" && as_dir
=.
44042 for ac_exec_ext
in '' $ac_executable_extensions; do
44043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44044 ac_cv_prog_ac_ct_RANLIB
="ranlib"
44045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44051 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
44054 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
44055 if test -n "$ac_ct_RANLIB"; then
44056 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
44057 echo "${ECHO_T}$ac_ct_RANLIB" >&6
44059 echo "$as_me:$LINENO: result: no" >&5
44060 echo "${ECHO_T}no" >&6
44063 RANLIB
=$ac_ct_RANLIB
44065 RANLIB
="$ac_cv_prog_RANLIB"
44068 # Find a good install program. We prefer a C program (faster),
44069 # so one script is as good as another. But avoid the broken or
44070 # incompatible versions:
44071 # SysV /etc/install, /usr/sbin/install
44072 # SunOS /usr/etc/install
44073 # IRIX /sbin/install
44075 # AmigaOS /C/install, which installs bootblocks on floppy discs
44076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
44077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
44078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
44079 # OS/2's system install, which has a completely different semantic
44080 # ./install, which can be erroneously created by make from ./install.sh.
44081 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
44082 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
44083 if test -z "$INSTALL"; then
44084 if test "${ac_cv_path_install+set}" = set; then
44085 echo $ECHO_N "(cached) $ECHO_C" >&6
44087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44088 for as_dir
in $PATH
44091 test -z "$as_dir" && as_dir
=.
44092 # Account for people who put trailing slashes in PATH elements.
44094 .
/ | .
// | /cC
/* | \
44095 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
44096 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
44099 # OSF1 and SCO ODT 3.0 have their own names for install.
44100 # Don't use installbsd from OSF since it installs stuff as root
44102 for ac_prog
in ginstall scoinst
install; do
44103 for ac_exec_ext
in '' $ac_executable_extensions; do
44104 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
44105 if test $ac_prog = install &&
44106 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
44107 # AIX install. It has an incompatible calling convention.
44109 elif test $ac_prog = install &&
44110 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
44111 # program-specific install script used by HP pwplus--don't use.
44114 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
44126 if test "${ac_cv_path_install+set}" = set; then
44127 INSTALL
=$ac_cv_path_install
44129 # As a last resort, use the slow shell script. We don't cache a
44130 # path for INSTALL within a source directory, because that will
44131 # break other packages using the cache if that directory is
44132 # removed, or if the path is relative.
44133 INSTALL
=$ac_install_sh
44136 echo "$as_me:$LINENO: result: $INSTALL" >&5
44137 echo "${ECHO_T}$INSTALL" >&6
44139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
44140 # It thinks the first close brace ends the variable substitution.
44141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
44143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
44145 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
44147 echo "$as_me:$LINENO: checking whether ln -s works" >&5
44148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
44150 if test "$LN_S" = "ln -s"; then
44151 echo "$as_me:$LINENO: result: yes" >&5
44152 echo "${ECHO_T}yes" >&6
44154 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
44155 echo "${ECHO_T}no, using $LN_S" >&6
44159 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44160 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44161 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44162 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44163 echo $ECHO_N "(cached) $ECHO_C" >&6
44165 cat >conftest.
make <<\_ACEOF
44167 @
echo 'ac_maketemp="$(MAKE)"'
44169 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44170 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44171 if test -n "$ac_maketemp"; then
44172 eval ac_cv_prog_make_
${ac_make}_set
=yes
44174 eval ac_cv_prog_make_
${ac_make}_set
=no
44176 rm -f conftest.
make
44178 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44179 echo "$as_me:$LINENO: result: yes" >&5
44180 echo "${ECHO_T}yes" >&6
44183 echo "$as_me:$LINENO: result: no" >&5
44184 echo "${ECHO_T}no" >&6
44185 SET_MAKE
="MAKE=${MAKE-make}"
44190 if test -n "$ac_tool_prefix"; then
44191 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
44192 set dummy
${ac_tool_prefix}ar; ac_word
=$2
44193 echo "$as_me:$LINENO: checking for $ac_word" >&5
44194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44195 if test "${ac_cv_prog_AR+set}" = set; then
44196 echo $ECHO_N "(cached) $ECHO_C" >&6
44198 if test -n "$AR"; then
44199 ac_cv_prog_AR
="$AR" # Let the user override the test.
44201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44202 for as_dir
in $PATH
44205 test -z "$as_dir" && as_dir
=.
44206 for ac_exec_ext
in '' $ac_executable_extensions; do
44207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44208 ac_cv_prog_AR
="${ac_tool_prefix}ar"
44209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44218 if test -n "$AR"; then
44219 echo "$as_me:$LINENO: result: $AR" >&5
44220 echo "${ECHO_T}$AR" >&6
44222 echo "$as_me:$LINENO: result: no" >&5
44223 echo "${ECHO_T}no" >&6
44227 if test -z "$ac_cv_prog_AR"; then
44229 # Extract the first word of "ar", so it can be a program name with args.
44230 set dummy
ar; ac_word
=$2
44231 echo "$as_me:$LINENO: checking for $ac_word" >&5
44232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44233 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
44234 echo $ECHO_N "(cached) $ECHO_C" >&6
44236 if test -n "$ac_ct_AR"; then
44237 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
44239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44240 for as_dir
in $PATH
44243 test -z "$as_dir" && as_dir
=.
44244 for ac_exec_ext
in '' $ac_executable_extensions; do
44245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44246 ac_cv_prog_ac_ct_AR
="ar"
44247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44253 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
44256 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
44257 if test -n "$ac_ct_AR"; then
44258 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
44259 echo "${ECHO_T}$ac_ct_AR" >&6
44261 echo "$as_me:$LINENO: result: no" >&5
44262 echo "${ECHO_T}no" >&6
44267 AR
="$ac_cv_prog_AR"
44270 if test -n "$ac_tool_prefix"; then
44271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
44272 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
44273 echo "$as_me:$LINENO: checking for $ac_word" >&5
44274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44275 if test "${ac_cv_prog_STRIP+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44278 if test -n "$STRIP"; then
44279 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
44281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44282 for as_dir
in $PATH
44285 test -z "$as_dir" && as_dir
=.
44286 for ac_exec_ext
in '' $ac_executable_extensions; do
44287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44288 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
44289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44297 STRIP
=$ac_cv_prog_STRIP
44298 if test -n "$STRIP"; then
44299 echo "$as_me:$LINENO: result: $STRIP" >&5
44300 echo "${ECHO_T}$STRIP" >&6
44302 echo "$as_me:$LINENO: result: no" >&5
44303 echo "${ECHO_T}no" >&6
44307 if test -z "$ac_cv_prog_STRIP"; then
44309 # Extract the first word of "strip", so it can be a program name with args.
44310 set dummy strip
; ac_word
=$2
44311 echo "$as_me:$LINENO: checking for $ac_word" >&5
44312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
44314 echo $ECHO_N "(cached) $ECHO_C" >&6
44316 if test -n "$ac_ct_STRIP"; then
44317 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
44319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44320 for as_dir
in $PATH
44323 test -z "$as_dir" && as_dir
=.
44324 for ac_exec_ext
in '' $ac_executable_extensions; do
44325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44326 ac_cv_prog_ac_ct_STRIP
="strip"
44327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44333 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
44336 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
44337 if test -n "$ac_ct_STRIP"; then
44338 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
44339 echo "${ECHO_T}$ac_ct_STRIP" >&6
44341 echo "$as_me:$LINENO: result: no" >&5
44342 echo "${ECHO_T}no" >&6
44347 STRIP
="$ac_cv_prog_STRIP"
44350 if test -n "$ac_tool_prefix"; then
44351 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
44352 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
44353 echo "$as_me:$LINENO: checking for $ac_word" >&5
44354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44355 if test "${ac_cv_prog_NM+set}" = set; then
44356 echo $ECHO_N "(cached) $ECHO_C" >&6
44358 if test -n "$NM"; then
44359 ac_cv_prog_NM
="$NM" # Let the user override the test.
44361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44362 for as_dir
in $PATH
44365 test -z "$as_dir" && as_dir
=.
44366 for ac_exec_ext
in '' $ac_executable_extensions; do
44367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44368 ac_cv_prog_NM
="${ac_tool_prefix}nm"
44369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44378 if test -n "$NM"; then
44379 echo "$as_me:$LINENO: result: $NM" >&5
44380 echo "${ECHO_T}$NM" >&6
44382 echo "$as_me:$LINENO: result: no" >&5
44383 echo "${ECHO_T}no" >&6
44387 if test -z "$ac_cv_prog_NM"; then
44389 # Extract the first word of "nm", so it can be a program name with args.
44390 set dummy nm
; ac_word
=$2
44391 echo "$as_me:$LINENO: checking for $ac_word" >&5
44392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44393 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
44394 echo $ECHO_N "(cached) $ECHO_C" >&6
44396 if test -n "$ac_ct_NM"; then
44397 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
44399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44400 for as_dir
in $PATH
44403 test -z "$as_dir" && as_dir
=.
44404 for ac_exec_ext
in '' $ac_executable_extensions; do
44405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44406 ac_cv_prog_ac_ct_NM
="nm"
44407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44413 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
44416 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
44417 if test -n "$ac_ct_NM"; then
44418 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
44419 echo "${ECHO_T}$ac_ct_NM" >&6
44421 echo "$as_me:$LINENO: result: no" >&5
44422 echo "${ECHO_T}no" >&6
44427 NM
="$ac_cv_prog_NM"
44431 case ${BAKEFILE_HOST} in
44433 INSTALL_DIR
="mkdir -p"
44435 *) INSTALL_DIR
="$INSTALL -d"
44441 case ${BAKEFILE_HOST} in
44442 *-*-cygwin* | *-*-mingw32* )
44443 LDFLAGS_GUI
="-mwindows"
44449 echo "$as_me:$LINENO: checking if make is GNU make" >&5
44450 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
44451 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
44452 echo $ECHO_N "(cached) $ECHO_C" >&6
44455 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
44456 egrep -s GNU
> /dev
/null
); then
44457 bakefile_cv_prog_makeisgnu
="yes"
44459 bakefile_cv_prog_makeisgnu
="no"
44463 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
44464 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
44466 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44483 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44484 case "${BAKEFILE_HOST}" in
44491 *-pc-os2_emx | *-pc-os2-emx )
44501 powerpc
-apple-macos* )
44510 case "$BAKEFILE_FORCE_PLATFORM" in
44531 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44532 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44533 { (exit 1); exit 1; }; }
44548 # Check whether --enable-omf or --disable-omf was given.
44549 if test "${enable_omf+set}" = set; then
44550 enableval
="$enable_omf"
44551 bk_os2_use_omf
="$enableval"
44554 case "${BAKEFILE_HOST}" in
44556 if test "x$GCC" = "xyes"; then
44557 CFLAGS
="$CFLAGS -fno-common"
44558 CXXFLAGS
="$CXXFLAGS -fno-common"
44560 if test "x$XLCC" = "xyes"; then
44561 CFLAGS
="$CFLAGS -qnocommon"
44562 CXXFLAGS
="$CXXFLAGS -qnocommon"
44566 *-pc-os2_emx | *-pc-os2-emx )
44567 if test "x$bk_os2_use_omf" = "xyes" ; then
44570 LDFLAGS
="-Zomf $LDFLAGS"
44571 CFLAGS
="-Zomf $CFLAGS"
44572 CXXFLAGS
="-Zomf $CXXFLAGS"
44580 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
44586 SO_SUFFIX_MODULE
="so"
44591 DLLPREFIX_MODULE
=""
44595 case "${BAKEFILE_HOST}" in
44598 SO_SUFFIX_MODULE
="sl"
44602 SO_SUFFIX_MODULE
="a"
44606 SO_SUFFIX_MODULE
="dll"
44607 DLLIMP_SUFFIX
="dll.a"
44614 SO_SUFFIX_MODULE
="dll"
44615 DLLIMP_SUFFIX
="dll.a"
44625 *-pc-os2_emx | *-pc-os2-emx )
44627 SO_SUFFIX_MODULE
="dll"
44628 DLLIMP_SUFFIX
=$OS2_LIBEXT
44632 LIBEXT
=".$OS2_LIBEXT"
44637 SO_SUFFIX_MODULE
="bundle"
44641 if test "x$DLLIMP_SUFFIX" = "x" ; then
44642 DLLIMP_SUFFIX
="$SO_SUFFIX"
44657 if test "x$GCC" = "xyes"; then
44661 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
44662 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
44665 case "${BAKEFILE_HOST}" in
44667 if test "x$GCC" != "xyes"; then
44668 LDFLAGS
="$LDFLAGS -L/usr/lib"
44670 SHARED_LD_CC
="${CC} -b -o"
44671 SHARED_LD_CXX
="${CXX} -b -o"
44677 if test "x$GCC" != "xyes"; then
44678 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44679 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44680 if test "${bakefile_cv_prog_icc+set}" = set; then
44681 echo $ECHO_N "(cached) $ECHO_C" >&6
44684 cat >conftest.
$ac_ext <<_ACEOF
44687 cat confdefs.h
>>conftest.
$ac_ext
44688 cat >>conftest.
$ac_ext <<_ACEOF
44689 /* end confdefs.h. */
44695 #ifndef __INTEL_COMPILER
44703 rm -f conftest.
$ac_objext
44704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44705 (eval $ac_compile) 2>conftest.er1
44707 grep -v '^ *+' conftest.er1
>conftest.err
44709 cat conftest.err
>&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); } &&
44712 { ac_try
='test -z "$ac_c_werror_flag"
44713 || test ! -s conftest.err'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; } &&
44719 { ac_try
='test -s conftest.$ac_objext'
44720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44721 (eval $ac_try) 2>&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; }; then
44725 bakefile_cv_prog_icc
=yes
44727 echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.
$ac_ext >&5
44730 bakefile_cv_prog_icc
=no
44733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44736 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44737 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44738 if test "$bakefile_cv_prog_icc" = "yes"; then
44745 if test "x$GCC" != xyes
; then
44746 SHARED_LD_CC
="${CC} -G -o"
44747 SHARED_LD_CXX
="${CXX} -G -o"
44755 cat <<EOF >shared-ld-sh
44757 #-----------------------------------------------------------------------------
44758 #-- Name: distrib/mac/shared-ld-sh
44759 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44760 #-- Author: Gilles Depeyrot
44761 #-- Copyright: (c) 2002 Gilles Depeyrot
44762 #-- Licence: any use permitted
44763 #-----------------------------------------------------------------------------
44768 linking_flag="-dynamiclib"
44769 ldargs="-r -keep_private_externs -nostdlib"
44771 while test ${D}# -gt 0; do
44778 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44779 # collect these options and values
44780 args="${D}{args} ${D}1 ${D}2"
44785 # collect these load args
44786 ldargs="${D}{ldargs} ${D}1"
44789 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44790 # collect these options
44791 args="${D}{args} ${D}1"
44794 -dynamiclib|-bundle)
44795 linking_flag="${D}1"
44799 echo "shared-ld: unhandled option '${D}1'"
44803 *.o | *.a | *.dylib)
44804 # collect object files
44805 objects="${D}{objects} ${D}1"
44809 echo "shared-ld: unhandled argument '${D}1'"
44820 # Link one module containing all the others
44822 if test ${D}{verbose} = 1; then
44823 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44825 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44829 # Link the shared library from the single module created, but only if the
44830 # previous command didn't fail:
44832 if test ${D}{status} = 0; then
44833 if test ${D}{verbose} = 1; then
44834 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44836 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44841 # Remove intermediate module
44843 rm -f master.${D}${D}.o
44848 chmod +x shared
-ld-sh
44850 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44851 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
44854 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44855 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44856 if test "${bakefile_cv_gcc31+set}" = set; then
44857 echo $ECHO_N "(cached) $ECHO_C" >&6
44860 cat >conftest.
$ac_ext <<_ACEOF
44863 cat confdefs.h
>>conftest.
$ac_ext
44864 cat >>conftest.
$ac_ext <<_ACEOF
44865 /* end confdefs.h. */
44871 #if (__GNUC__ < 3) || \
44872 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44880 rm -f conftest.
$ac_objext
44881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44882 (eval $ac_compile) 2>conftest.er1
44884 grep -v '^ *+' conftest.er1
>conftest.err
44886 cat conftest.err
>&5
44887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888 (exit $ac_status); } &&
44889 { ac_try
='test -z "$ac_c_werror_flag"
44890 || test ! -s conftest.err'
44891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44892 (eval $ac_try) 2>&5
44894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44895 (exit $ac_status); }; } &&
44896 { ac_try
='test -s conftest.$ac_objext'
44897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44898 (eval $ac_try) 2>&5
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); }; }; then
44903 bakefile_cv_gcc31
=yes
44906 echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.
$ac_ext >&5
44910 bakefile_cv_gcc31
=no
44914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44917 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44918 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44919 if test "$bakefile_cv_gcc31" = "no"; then
44920 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44921 SHARED_LD_CXX
="$SHARED_LD_CC"
44923 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44924 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44927 if test "x$GCC" == "xyes"; then
44928 PIC_FLAG
="-dynamic -fPIC"
44930 if test "x$XLCC" = "xyes"; then
44931 PIC_FLAG
="-dynamic -DPIC"
44936 if test "x$GCC" = "xyes"; then
44939 case "${BAKEFILE_HOST}" in
44941 LD_EXPFULL
="-Wl,-bexpfull"
44945 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
44946 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
44948 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44949 set dummy makeC
++SharedLib
; ac_word
=$2
44950 echo "$as_me:$LINENO: checking for $ac_word" >&5
44951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44952 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44953 echo $ECHO_N "(cached) $ECHO_C" >&6
44955 if test -n "$AIX_CXX_LD"; then
44956 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
44958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44959 for as_dir
in $PATH
44962 test -z "$as_dir" && as_dir
=.
44963 for ac_exec_ext
in '' $ac_executable_extensions; do
44964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44965 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
44966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44972 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
44975 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
44976 if test -n "$AIX_CXX_LD"; then
44977 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44978 echo "${ECHO_T}$AIX_CXX_LD" >&6
44980 echo "$as_me:$LINENO: result: no" >&5
44981 echo "${ECHO_T}no" >&6
44984 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
44985 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
44990 SHARED_LD_CC
="${LD} -nostart -o"
44991 SHARED_LD_CXX
="${LD} -nostart -o"
44995 if test "x$GCC" != "xyes"; then
45000 *-*-cygwin* | *-*-mingw32* )
45002 SHARED_LD_CC
="\$(CC) -shared -o"
45003 SHARED_LD_CXX
="\$(CXX) -shared -o"
45007 *-pc-os2_emx | *-pc-os2-emx )
45008 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45009 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45013 cat <<EOF >dllar.sh
45016 # dllar - a tool to build both a .dll and an .a file
45017 # from a set of object (.o) files for EMX/OS2.
45019 # Written by Andrew Zabolotny, bit@freya.etu.ru
45020 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
45022 # This script will accept a set of files on the command line.
45023 # All the public symbols from the .o files will be exported into
45024 # a .DEF file, then linker will be run (through gcc) against them to
45025 # build a shared library consisting of all given .o files. All libraries
45026 # (.a) will be first decompressed into component .o files then act as
45027 # described above. You can optionally give a description (-d "description")
45028 # which will be put into .DLL. To see the list of accepted options (as well
45029 # as command-line format) simply run this program without options. The .DLL
45030 # is built to be imported by name (there is no guarantee that new versions
45031 # of the library you build will have same ordinals for same symbols).
45033 # dllar is free software; you can redistribute it and/or modify
45034 # it under the terms of the GNU General Public License as published by
45035 # the Free Software Foundation; either version 2, or (at your option)
45036 # any later version.
45038 # dllar is distributed in the hope that it will be useful,
45039 # but WITHOUT ANY WARRANTY; without even the implied warranty of
45040 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45041 # GNU General Public License for more details.
45043 # You should have received a copy of the GNU General Public License
45044 # along with dllar; see the file COPYING. If not, write to the Free
45045 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
45048 # To successfuly run this program you will need:
45049 # - Current drive should have LFN support (HPFS, ext2, network, etc)
45050 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
45052 # (used to build the .dll)
45054 # (used to create .def file from .o files)
45056 # (used to create .a file from .def file)
45057 # - GNU text utilites (cat, sort, uniq)
45058 # used to process emxexp output
45059 # - GNU file utilities (mv, rm)
45061 # - lxlite (optional, see flag below)
45062 # (used for general .dll cleanup)
45069 # basnam, variant of basename, which does _not_ remove the path, _iff_
45070 # second argument (suffix to remove) is given
45074 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
45077 echo ${D}1 | sed 's/'${D}2'${D}//'
45080 echo "error in basnam ${D}*"
45086 # Cleanup temporary files and output
45089 for i in ${D}inputFiles ; do
45092 rm -rf \`basnam ${D}i !\`
45099 # Kill result in case of failure as there is just to many stupid make/nmake
45100 # things out there which doesn't do this.
45101 if [ ${D}# -eq 0 ]; then
45102 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
45106 # Print usage and exit script with rc=1.
45108 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
45109 echo ' [-name-mangler-script script.sh]'
45110 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
45111 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
45112 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
45113 echo ' [*.o] [*.a]'
45114 echo '*> "output_file" should have no extension.'
45115 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
45116 echo ' The import library name is derived from this and is set to "name".a,'
45117 echo ' unless overridden by -import'
45118 echo '*> "importlib_name" should have no extension.'
45119 echo ' If it has the .o, or .a extension, it is automatically removed.'
45120 echo ' This name is used as the import library name and may be longer and'
45121 echo ' more descriptive than the DLL name which has to follow the old '
45122 echo ' 8.3 convention of FAT.'
45123 echo '*> "script.sh may be given to override the output_file name by a'
45124 echo ' different name. It is mainly useful if the regular make process'
45125 echo ' of some package does not take into account OS/2 restriction of'
45126 echo ' DLL name lengths. It takes the importlib name as input and is'
45127 echo ' supposed to procude a shorter name as output. The script should'
45128 echo ' expect to get importlib_name without extension and should produce'
45129 echo ' a (max.) 8 letter name without extension.'
45130 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
45131 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
45132 echo ' These flags will be put at the start of GCC command line.'
45133 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
45134 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
45135 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
45136 echo ' If the last character of a symbol is "*", all symbols beginning'
45137 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
45138 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
45139 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
45140 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
45141 echo ' C runtime DLLs.'
45142 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
45143 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
45144 echo ' unchanged to GCC at the end of command line.'
45145 echo '*> If you create a DLL from a library and you do not specify -o,'
45146 echo ' the basename for DLL and import library will be set to library name,'
45147 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
45148 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
45149 echo ' library will be renamed into gcc_s.a.'
45152 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
45153 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
45158 # Execute a command.
45159 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
45160 # @Uses Whatever CleanUp() uses.
45166 if [ ${D}rcCmd -ne 0 ]; then
45167 echo "command failed, exit code="${D}rcCmd
45182 CFLAGS="-s -Zcrtdll"
45184 EXPORT_BY_ORDINALS=0
45189 case ${D}curDirS in
45193 curDirS=${D}{curDirS}"/"
45196 # Parse commandline
45199 while [ ${D}1 ]; do
45202 EXPORT_BY_ORDINALS=1;
45212 -name-mangler-script)
45233 exclude_symbols=${D}{exclude_symbols}${D}1" "
45237 library_flags=${D}{library_flags}${D}1" "
45256 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
45259 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
45260 if [ ${D}omfLinking -eq 1 ]; then
45261 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
45263 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
45268 if [ ${D}libsToLink -ne 0 ]; then
45269 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
45271 for file in ${D}1 ; do
45272 if [ -f ${D}file ]; then
45273 inputFiles="${D}{inputFiles} ${D}file"
45277 if [ ${D}found -eq 0 ]; then
45278 echo "ERROR: No file(s) found: "${D}1
45285 done # iterate cmdline words
45288 if [ -z "${D}inputFiles" ]; then
45289 echo "dllar: no input files"
45293 # Now extract all .o files from .a files
45295 for file in ${D}inputFiles ; do
45306 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
45311 dirname=\`basnam ${D}file ${D}suffix\`"_%"
45313 if [ ${D}? -ne 0 ]; then
45314 echo "Failed to create subdirectory ./${D}dirname"
45318 # Append '!' to indicate archive
45319 newInputFiles="${D}newInputFiles ${D}{dirname}!"
45320 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
45323 for subfile in ${D}dirname/*.o* ; do
45324 if [ -f ${D}subfile ]; then
45326 if [ -s ${D}subfile ]; then
45327 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
45328 newInputFiles="${D}newInputFiles ${D}subfile"
45332 if [ ${D}found -eq 0 ]; then
45333 echo "WARNING: there are no files in archive \\'${D}file\\'"
45337 newInputFiles="${D}{newInputFiles} ${D}file"
45341 inputFiles="${D}newInputFiles"
45343 # Output filename(s).
45345 if [ -z ${D}outFile ]; then
45347 set outFile ${D}inputFiles; outFile=${D}2
45350 # If it is an archive, remove the '!' and the '_%' suffixes
45351 case ${D}outFile in
45353 outFile=\`basnam ${D}outFile _%!\`
45358 case ${D}outFile in
45360 outFile=\`basnam ${D}outFile .dll\`
45363 outFile=\`basnam ${D}outFile .DLL\`
45366 outFile=\`basnam ${D}outFile .o\`
45369 outFile=\`basnam ${D}outFile .obj\`
45372 outFile=\`basnam ${D}outFile .a\`
45375 outFile=\`basnam ${D}outFile .lib\`
45380 case ${D}outimpFile in
45382 outimpFile=\`basnam ${D}outimpFile .a\`
45385 outimpFile=\`basnam ${D}outimpFile .lib\`
45390 if [ -z ${D}outimpFile ]; then
45391 outimpFile=${D}outFile
45393 defFile="${D}{outFile}.def"
45394 arcFile="${D}{outimpFile}.a"
45395 arcFile2="${D}{outimpFile}.lib"
45397 #create ${D}dllFile as something matching 8.3 restrictions,
45398 if [ -z ${D}renameScript ] ; then
45399 dllFile="${D}outFile"
45401 dllFile=\`${D}renameScript ${D}outimpFile\`
45404 if [ ${D}do_backup -ne 0 ] ; then
45405 if [ -f ${D}arcFile ] ; then
45406 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
45408 if [ -f ${D}arcFile2 ] ; then
45409 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
45413 # Extract public symbols from all the object files.
45414 tmpdefFile=${D}{defFile}_%
45415 rm -f ${D}tmpdefFile
45416 for file in ${D}inputFiles ; do
45421 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
45426 # Create the def file.
45428 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
45429 dllFile="${D}{dllFile}.dll"
45430 if [ ! -z ${D}description ]; then
45431 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
45433 echo "EXPORTS" >> ${D}defFile
45435 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
45436 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
45438 # Checks if the export is ok or not.
45439 for word in ${D}exclude_symbols; do
45440 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
45441 mv ${D}{tmpdefFile}% ${D}tmpdefFile
45445 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45446 sed "=" < ${D}tmpdefFile | \\
45450 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
45452 ' > ${D}{tmpdefFile}%
45453 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
45455 rm -f ${D}{tmpdefFile}%
45457 cat ${D}tmpdefFile >> ${D}defFile
45458 rm -f ${D}tmpdefFile
45460 # Do linking, create implib, and apply lxlite.
45462 for file in ${D}inputFiles ; do
45467 gccCmdl="${D}gccCmdl ${D}file"
45471 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45472 touch "${D}{outFile}.dll"
45474 doCommand "emximp -o ${D}arcFile ${D}defFile"
45475 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45477 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45480 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45482 doCommand "emxomf -s -l ${D}arcFile"
45492 powerpc
-apple-macos* | \
45493 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
45502 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45503 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45504 { (exit 1); exit 1; }; }
45507 if test "x$PIC_FLAG" != "x" ; then
45508 PIC_FLAG
="$PIC_FLAG -DPIC"
45511 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45512 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
45514 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45515 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
45534 case "${BAKEFILE_HOST}" in
45535 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
45536 SONAME_FLAG
="-Wl,-soname,"
45570 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45571 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45574 if test "x$GCC" = "xyes"; then
45576 case "${BAKEFILE_HOST}" in
45578 DEPSFLAG
="-no-cpp-precomp -MMD"
45584 echo "$as_me:$LINENO: result: gcc" >&5
45585 echo "${ECHO_T}gcc" >&6
45586 elif test "x$MWCC" = "xyes"; then
45589 echo "$as_me:$LINENO: result: mwcc" >&5
45590 echo "${ECHO_T}mwcc" >&6
45591 elif test "x$SUNCC" = "xyes"; then
45594 echo "$as_me:$LINENO: result: Sun cc" >&5
45595 echo "${ECHO_T}Sun cc" >&6
45596 elif test "x$SGICC" = "xyes"; then
45599 echo "$as_me:$LINENO: result: SGI cc" >&5
45600 echo "${ECHO_T}SGI cc" >&6
45601 elif test "x$HPCC" = "xyes"; then
45604 echo "$as_me:$LINENO: result: HP cc" >&5
45605 echo "${ECHO_T}HP cc" >&6
45606 elif test "x$COMPAQCC" = "xyes"; then
45609 echo "$as_me:$LINENO: result: Compaq cc" >&5
45610 echo "${ECHO_T}Compaq cc" >&6
45613 echo "$as_me:$LINENO: result: none" >&5
45614 echo "${ECHO_T}none" >&6
45617 if test $DEPS_TRACKING = 1 ; then
45623 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45624 # script. It is used to track C/C++ files dependencies in portable way.
45626 # Permission is given to use this file in any way.
45628 DEPSMODE=${DEPSMODE}
45630 DEPSFLAG="${DEPSFLAG}"
45632 mkdir -p ${D}DEPSDIR
45634 if test ${D}DEPSMODE = gcc ; then
45635 ${D}* ${D}{DEPSFLAG}
45637 if test ${D}{status} != 0 ; then
45640 # move created file to the location we want it in:
45641 while test ${D}# -gt 0; do
45655 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45656 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45657 if test -f ${D}depfile ; then
45658 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45661 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45662 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45663 if test ! -f ${D}depfile ; then
45664 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45665 depfile="${D}objfile.d"
45667 if test -f ${D}depfile ; then
45668 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45673 elif test ${D}DEPSMODE = mwcc ; then
45674 ${D}* || exit ${D}?
45675 # Run mwcc again with -MM and redirect into the dep file we want
45676 # NOTE: We can't use shift here because we need ${D}* to be valid
45678 for arg in ${D}* ; do
45679 if test "${D}prevarg" = "-o"; then
45692 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45694 elif test ${D}DEPSMODE = unixcc; then
45695 ${D}* || exit ${D}?
45696 # Run compiler again with deps flag and redirect into the dep file.
45697 # It doesn't work if the '-o FILE' option is used, but without it the
45698 # dependency file will contain the wrong name for the object. So it is
45699 # removed from the command line, and the dep file is fixed with sed.
45701 while test ${D}# -gt 0; do
45708 eval arg${D}#=\\${D}1
45709 cmd="${D}cmd \\${D}arg${D}#"
45714 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45731 case ${BAKEFILE_HOST} in
45732 *-*-cygwin* | *-*-mingw32* )
45733 if test "$build" != "$host" ; then
45734 RESCOMP
=$host_alias-windres
45736 # Extract the first word of "windres", so it can be a program name with args.
45737 set dummy windres
; ac_word
=$2
45738 echo "$as_me:$LINENO: checking for $ac_word" >&5
45739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45740 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45741 echo $ECHO_N "(cached) $ECHO_C" >&6
45743 if test -n "$RESCOMP"; then
45744 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45747 for as_dir
in $PATH
45750 test -z "$as_dir" && as_dir
=.
45751 for ac_exec_ext
in '' $ac_executable_extensions; do
45752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45753 ac_cv_prog_RESCOMP
="windres"
45754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45760 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
45763 RESCOMP
=$ac_cv_prog_RESCOMP
45764 if test -n "$RESCOMP"; then
45765 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45766 echo "${ECHO_T}$RESCOMP" >&6
45768 echo "$as_me:$LINENO: result: no" >&5
45769 echo "${ECHO_T}no" >&6
45775 *-*-darwin* | powerpc
-apple-macos* )
45776 # Extract the first word of "Rez", so it can be a program name with args.
45777 set dummy Rez
; ac_word
=$2
45778 echo "$as_me:$LINENO: checking for $ac_word" >&5
45779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45780 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45781 echo $ECHO_N "(cached) $ECHO_C" >&6
45783 if test -n "$RESCOMP"; then
45784 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45787 for as_dir
in $PATH
45790 test -z "$as_dir" && as_dir
=.
45791 for ac_exec_ext
in '' $ac_executable_extensions; do
45792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45793 ac_cv_prog_RESCOMP
="Rez"
45794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45800 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
45803 RESCOMP
=$ac_cv_prog_RESCOMP
45804 if test -n "$RESCOMP"; then
45805 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45806 echo "${ECHO_T}$RESCOMP" >&6
45808 echo "$as_me:$LINENO: result: no" >&5
45809 echo "${ECHO_T}no" >&6
45812 # Extract the first word of "SetFile", so it can be a program name with args.
45813 set dummy SetFile
; ac_word
=$2
45814 echo "$as_me:$LINENO: checking for $ac_word" >&5
45815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45816 if test "${ac_cv_prog_SETFILE+set}" = set; then
45817 echo $ECHO_N "(cached) $ECHO_C" >&6
45819 if test -n "$SETFILE"; then
45820 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
45822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45823 for as_dir
in $PATH
45826 test -z "$as_dir" && as_dir
=.
45827 for ac_exec_ext
in '' $ac_executable_extensions; do
45828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45829 ac_cv_prog_SETFILE
="SetFile"
45830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45836 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
45839 SETFILE
=$ac_cv_prog_SETFILE
45840 if test -n "$SETFILE"; then
45841 echo "$as_me:$LINENO: result: $SETFILE" >&5
45842 echo "${ECHO_T}$SETFILE" >&6
45844 echo "$as_me:$LINENO: result: no" >&5
45845 echo "${ECHO_T}no" >&6
45855 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
45858 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
45862 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45863 if test "${enable_precomp_headers+set}" = set; then
45864 enableval
="$enable_precomp_headers"
45865 bk_use_pch
="$enableval"
45870 case ${BAKEFILE_HOST} in
45876 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45877 if test "x$GCC" = "xyes"; then
45878 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45879 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45880 cat >conftest.
$ac_ext <<_ACEOF
45883 cat confdefs.h
>>conftest.
$ac_ext
45884 cat >>conftest.
$ac_ext <<_ACEOF
45885 /* end confdefs.h. */
45891 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45892 #error "no pch support"
45895 #error "no pch support"
45897 #if (__GNUC__ == 3) && \
45898 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45899 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45900 #error "no pch support"
45907 rm -f conftest.
$ac_objext
45908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45909 (eval $ac_compile) 2>conftest.er1
45911 grep -v '^ *+' conftest.er1
>conftest.err
45913 cat conftest.err
>&5
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); } &&
45916 { ac_try
='test -z "$ac_c_werror_flag"
45917 || test ! -s conftest.err'
45918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45919 (eval $ac_try) 2>&5
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); }; } &&
45923 { ac_try
='test -s conftest.$ac_objext'
45924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45925 (eval $ac_try) 2>&5
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); }; }; then
45930 echo "$as_me:$LINENO: result: yes" >&5
45931 echo "${ECHO_T}yes" >&6
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.
$ac_ext >&5
45939 echo "$as_me:$LINENO: result: no" >&5
45940 echo "${ECHO_T}no" >&6
45943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45944 if test $GCC_PCH = 1 ; then
45947 cat <<EOF >bk-make-pch
45950 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45951 # script. It is used to generated precompiled headers.
45953 # Permission is given to use this file in any way.
45962 while test ${D}{#} -gt 0; do
45965 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45966 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45967 headerfile="${D}{incdir}/${D}{header}"
45971 compiler="${D}{compiler} ${D}{1}"
45975 if test "x${D}{headerfile}" = "x" ; then
45976 echo "error: can't find header ${D}{header} in include paths" >2
45978 if test -f ${D}{outfile} ; then
45979 rm -f ${D}{outfile}
45981 mkdir -p \`dirname ${D}{outfile}\`
45983 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45985 # can do this because gcc is >= 3.4:
45986 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45991 chmod +x bk
-make-pch
45998 COND_BUILD_DEBUG
="#"
45999 if test "x$BUILD" = "xdebug" ; then
46000 COND_BUILD_DEBUG
=""
46003 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
46004 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
46005 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
46008 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
46009 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
46010 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
46013 COND_BUILD_DEBUG_UNICODE_0
="#"
46014 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
46015 COND_BUILD_DEBUG_UNICODE_0
=""
46018 COND_BUILD_DEBUG_UNICODE_1
="#"
46019 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
46020 COND_BUILD_DEBUG_UNICODE_1
=""
46023 COND_BUILD_RELEASE
="#"
46024 if test "x$BUILD" = "xrelease" ; then
46025 COND_BUILD_RELEASE
=""
46028 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
46029 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
46030 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
46033 COND_BUILD_RELEASE_UNICODE_0
="#"
46034 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
46035 COND_BUILD_RELEASE_UNICODE_0
=""
46038 COND_BUILD_RELEASE_UNICODE_1
="#"
46039 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
46040 COND_BUILD_RELEASE_UNICODE_1
=""
46043 COND_DEBUG_FLAG_1
="#"
46044 if test "x$DEBUG_FLAG" = "x1" ; then
46045 COND_DEBUG_FLAG_1
=""
46048 COND_DEBUG_INFO_0
="#"
46049 if test "x$DEBUG_INFO" = "x0" ; then
46050 COND_DEBUG_INFO_0
=""
46053 COND_DEBUG_INFO_1
="#"
46054 if test "x$DEBUG_INFO" = "x1" ; then
46055 COND_DEBUG_INFO_1
=""
46058 COND_DEPS_TRACKING_0
="#"
46059 if test "x$DEPS_TRACKING" = "x0" ; then
46060 COND_DEPS_TRACKING_0
=""
46063 COND_DEPS_TRACKING_1
="#"
46064 if test "x$DEPS_TRACKING" = "x1" ; then
46065 COND_DEPS_TRACKING_1
=""
46069 if test "x$GCC_PCH" = "x1" ; then
46073 COND_MONOLITHIC_0
="#"
46074 if test "x$MONOLITHIC" = "x0" ; then
46075 COND_MONOLITHIC_0
=""
46078 COND_MONOLITHIC_0_SHARED_0
="#"
46079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
46080 COND_MONOLITHIC_0_SHARED_0
=""
46083 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
46084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
46085 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
46088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
46089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
46090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
46093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
46094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
46095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
46098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
46099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
46100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
46103 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
46104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
46105 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
46108 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
46109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
46110 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
46113 COND_MONOLITHIC_0_SHARED_1
="#"
46114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
46115 COND_MONOLITHIC_0_SHARED_1
=""
46118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
46119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
46120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
46123 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
46124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
46125 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
46128 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
46129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
46130 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
46133 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
46134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
46135 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
46138 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
46139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
46140 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
46143 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
46144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
46145 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
46148 COND_MONOLITHIC_0_USE_ODBC_1
="#"
46149 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
46150 COND_MONOLITHIC_0_USE_ODBC_1
=""
46153 COND_MONOLITHIC_1
="#"
46154 if test "x$MONOLITHIC" = "x1" ; then
46155 COND_MONOLITHIC_1
=""
46158 COND_MONOLITHIC_1_SHARED_0
="#"
46159 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
46160 COND_MONOLITHIC_1_SHARED_0
=""
46163 COND_MONOLITHIC_1_SHARED_1
="#"
46164 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
46165 COND_MONOLITHIC_1_SHARED_1
=""
46168 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
46169 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
46170 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
46173 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
46174 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
46175 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
46178 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
46179 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
46180 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
46183 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
46184 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
46185 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
46188 COND_PLATFORM_MACOSX_1
="#"
46189 if test "x$PLATFORM_MACOSX" = "x1" ; then
46190 COND_PLATFORM_MACOSX_1
=""
46193 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
46194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
46195 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
46198 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
46199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
46200 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
46203 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
46204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
46205 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
46208 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
46209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
46210 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
46213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
46214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46215 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
46218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
46219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46220 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
46223 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
46224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
46225 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
46228 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
46229 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
46230 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
46233 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
46234 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
46235 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
46238 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
46239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46240 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
46243 COND_PLATFORM_MACOS_1
="#"
46244 if test "x$PLATFORM_MACOS" = "x1" ; then
46245 COND_PLATFORM_MACOS_1
=""
46248 COND_PLATFORM_MAC_1
="#"
46249 if test "x$PLATFORM_MAC" = "x1" ; then
46250 COND_PLATFORM_MAC_1
=""
46253 COND_PLATFORM_MSDOS_1
="#"
46254 if test "x$PLATFORM_MSDOS" = "x1" ; then
46255 COND_PLATFORM_MSDOS_1
=""
46258 COND_PLATFORM_OS2_1
="#"
46259 if test "x$PLATFORM_OS2" = "x1" ; then
46260 COND_PLATFORM_OS2_1
=""
46263 COND_PLATFORM_UNIX_0
="#"
46264 if test "x$PLATFORM_UNIX" = "x0" ; then
46265 COND_PLATFORM_UNIX_0
=""
46268 COND_PLATFORM_UNIX_1
="#"
46269 if test "x$PLATFORM_UNIX" = "x1" ; then
46270 COND_PLATFORM_UNIX_1
=""
46273 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
46274 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
46275 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
46278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
46279 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
46280 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
46283 COND_PLATFORM_WIN32_0
="#"
46284 if test "x$PLATFORM_WIN32" = "x0" ; then
46285 COND_PLATFORM_WIN32_0
=""
46288 COND_PLATFORM_WIN32_1
="#"
46289 if test "x$PLATFORM_WIN32" = "x1" ; then
46290 COND_PLATFORM_WIN32_1
=""
46294 if test "x$SHARED" = "x0" ; then
46298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
46299 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
46300 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
46303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
46304 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46305 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
46308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
46309 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
46310 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
46313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
46314 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
46315 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
46318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46319 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46324 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46325 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46330 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46333 COND_SHARED_0_USE_XRC_1
="#"
46334 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
46335 COND_SHARED_0_USE_XRC_1
=""
46338 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
46339 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
46340 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
46343 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
46344 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
46345 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
46348 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
46349 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
46350 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
46353 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
46354 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
46355 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
46359 if test "x$SHARED" = "x1" ; then
46363 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
46364 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
46365 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
46368 COND_SHARED_1_USE_XRC_1
="#"
46369 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
46370 COND_SHARED_1_USE_XRC_1
=""
46374 if test "x$TOOLKIT" = "x" ; then
46378 COND_TOOLKIT_COCOA
="#"
46379 if test "x$TOOLKIT" = "xCOCOA" ; then
46380 COND_TOOLKIT_COCOA
=""
46383 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
46384 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
46385 COND_TOOLKIT_COCOA_USE_GUI_1
=""
46388 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
46389 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46390 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
46393 COND_TOOLKIT_GTK
="#"
46394 if test "x$TOOLKIT" = "xGTK" ; then
46395 COND_TOOLKIT_GTK
=""
46398 COND_TOOLKIT_GTK_USE_GUI_1
="#"
46399 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
46400 COND_TOOLKIT_GTK_USE_GUI_1
=""
46403 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
46404 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46405 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
46408 COND_TOOLKIT_MAC
="#"
46409 if test "x$TOOLKIT" = "xMAC" ; then
46410 COND_TOOLKIT_MAC
=""
46413 COND_TOOLKIT_MAC_USE_GUI_1
="#"
46414 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46415 COND_TOOLKIT_MAC_USE_GUI_1
=""
46418 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
46419 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46420 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
46423 COND_TOOLKIT_MGL
="#"
46424 if test "x$TOOLKIT" = "xMGL" ; then
46425 COND_TOOLKIT_MGL
=""
46428 COND_TOOLKIT_MGL_USE_GUI_1
="#"
46429 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
46430 COND_TOOLKIT_MGL_USE_GUI_1
=""
46433 COND_TOOLKIT_MOTIF
="#"
46434 if test "x$TOOLKIT" = "xMOTIF" ; then
46435 COND_TOOLKIT_MOTIF
=""
46438 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
46439 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
46440 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
46443 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
46444 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46445 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
46448 COND_TOOLKIT_MSW
="#"
46449 if test "x$TOOLKIT" = "xMSW" ; then
46450 COND_TOOLKIT_MSW
=""
46453 COND_TOOLKIT_MSW_USE_GUI_1
="#"
46454 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
46455 COND_TOOLKIT_MSW_USE_GUI_1
=""
46458 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
46459 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46460 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
46463 COND_TOOLKIT_MSW_WXUNIV_0
="#"
46464 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46465 COND_TOOLKIT_MSW_WXUNIV_0
=""
46468 COND_TOOLKIT_PM
="#"
46469 if test "x$TOOLKIT" = "xPM" ; then
46473 COND_TOOLKIT_PM_USE_GUI_1
="#"
46474 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
46475 COND_TOOLKIT_PM_USE_GUI_1
=""
46478 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
46479 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46480 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
46483 COND_TOOLKIT_WINCE
="#"
46484 if test "x$TOOLKIT" = "xWINCE" ; then
46485 COND_TOOLKIT_WINCE
=""
46488 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
46489 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46490 COND_TOOLKIT_WINCE_USE_GUI_1
=""
46493 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
46494 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46495 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
46498 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
46499 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46500 COND_TOOLKIT_WINCE_WXUNIV_0
=""
46503 COND_TOOLKIT_X11
="#"
46504 if test "x$TOOLKIT" = "xX11" ; then
46505 COND_TOOLKIT_X11
=""
46508 COND_TOOLKIT_X11_USE_GUI_1
="#"
46509 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46510 COND_TOOLKIT_X11_USE_GUI_1
=""
46514 if test "x$UNICODE" = "x1" ; then
46518 COND_USE_EXCEPTIONS_0
="#"
46519 if test "x$USE_EXCEPTIONS" = "x0" ; then
46520 COND_USE_EXCEPTIONS_0
=""
46523 COND_USE_EXCEPTIONS_1
="#"
46524 if test "x$USE_EXCEPTIONS" = "x1" ; then
46525 COND_USE_EXCEPTIONS_1
=""
46529 if test "x$USE_GUI" = "x0" ; then
46534 if test "x$USE_GUI" = "x1" ; then
46538 COND_USE_GUI_1_WXUNIV_0
="#"
46539 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46540 COND_USE_GUI_1_WXUNIV_0
=""
46543 COND_USE_GUI_1_WXUNIV_1
="#"
46544 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46545 COND_USE_GUI_1_WXUNIV_1
=""
46548 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46549 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46550 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46553 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46554 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46555 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46558 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46559 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46560 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46563 COND_USE_ODBC_1
="#"
46564 if test "x$USE_ODBC" = "x1" ; then
46568 COND_USE_OPENGL_1
="#"
46569 if test "x$USE_OPENGL" = "x1" ; then
46570 COND_USE_OPENGL_1
=""
46573 COND_USE_PLUGINS_0
="#"
46574 if test "x$USE_PLUGINS" = "x0" ; then
46575 COND_USE_PLUGINS_0
=""
46578 COND_USE_RTTI_0
="#"
46579 if test "x$USE_RTTI" = "x0" ; then
46583 COND_USE_RTTI_1
="#"
46584 if test "x$USE_RTTI" = "x1" ; then
46588 COND_USE_SOSYMLINKS_1
="#"
46589 if test "x$USE_SOSYMLINKS" = "x1" ; then
46590 COND_USE_SOSYMLINKS_1
=""
46593 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
46594 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46595 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
46598 COND_USE_SOVERLINUX_1
="#"
46599 if test "x$USE_SOVERLINUX" = "x1" ; then
46600 COND_USE_SOVERLINUX_1
=""
46603 COND_USE_SOVERSION_0
="#"
46604 if test "x$USE_SOVERSION" = "x0" ; then
46605 COND_USE_SOVERSION_0
=""
46608 COND_USE_SOVERSOLARIS_1
="#"
46609 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46610 COND_USE_SOVERSOLARIS_1
=""
46613 COND_USE_THREADS_0
="#"
46614 if test "x$USE_THREADS" = "x0" ; then
46615 COND_USE_THREADS_0
=""
46618 COND_USE_THREADS_1
="#"
46619 if test "x$USE_THREADS" = "x1" ; then
46620 COND_USE_THREADS_1
=""
46624 if test "x$USE_XRC" = "x1" ; then
46628 COND_WINDOWS_IMPLIB_1
="#"
46629 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46630 COND_WINDOWS_IMPLIB_1
=""
46633 COND_WITH_PLUGIN_SDL_1
="#"
46634 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46635 COND_WITH_PLUGIN_SDL_1
=""
46639 if test "x$WXUNIV" = "x0" ; then
46644 if test "x$WXUNIV" = "x1" ; then
46648 COND_WXUSE_EXPAT_BUILTIN
="#"
46649 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46650 COND_WXUSE_EXPAT_BUILTIN
=""
46653 COND_WXUSE_LIBJPEG_BUILTIN
="#"
46654 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46655 COND_WXUSE_LIBJPEG_BUILTIN
=""
46658 COND_WXUSE_LIBPNG_BUILTIN
="#"
46659 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46660 COND_WXUSE_LIBPNG_BUILTIN
=""
46663 COND_WXUSE_LIBTIFF_BUILTIN
="#"
46664 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46665 COND_WXUSE_LIBTIFF_BUILTIN
=""
46668 COND_WXUSE_ODBC_BUILTIN
="#"
46669 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46670 COND_WXUSE_ODBC_BUILTIN
=""
46673 COND_WXUSE_REGEX_BUILTIN
="#"
46674 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46675 COND_WXUSE_REGEX_BUILTIN
=""
46678 COND_WXUSE_ZLIB_BUILTIN
="#"
46679 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46680 COND_WXUSE_ZLIB_BUILTIN
=""
46685 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46686 { { 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
46687 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;}
46688 { (exit 1); exit 1; }; }
46691 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46692 { { 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
46693 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;}
46694 { (exit 1); exit 1; }; }
46698 if test "$wxUSE_SHARED" = "yes"; then
46700 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
46701 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
46704 *-pc-os2_emx | *-pc-os2-emx )
46705 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46706 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46707 cp -p ${srcdir}/src
/os
2/dllnames.sh .
46708 cp -p ${srcdir}/src
/os
2/dllar.sh .
46713 EXE_LINKER
="$CXX -o"
46716 if test "$wxUSE_OMF" = "yes"; then
46718 *-pc-os2_emx | *-pc-os2-emx )
46719 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
46720 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46721 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46726 if test $GCC_PCH = 1 ; then
46727 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
46730 CPPFLAGS
="$CPPFLAGS $TOOLCHAIN_DEFS"
46732 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46796 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46798 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46799 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46800 echo $ECHO_N "(cached) $ECHO_C" >&6
46802 cat >conftest.
make <<\_ACEOF
46804 @
echo 'ac_maketemp="$(MAKE)"'
46806 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46807 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46808 if test -n "$ac_maketemp"; then
46809 eval ac_cv_prog_make_
${ac_make}_set
=yes
46811 eval ac_cv_prog_make_
${ac_make}_set
=no
46813 rm -f conftest.
make
46815 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46816 echo "$as_me:$LINENO: result: yes" >&5
46817 echo "${ECHO_T}yes" >&6
46820 echo "$as_me:$LINENO: result: no" >&5
46821 echo "${ECHO_T}no" >&6
46822 SET_MAKE
="MAKE=${MAKE-make}"
46827 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46830 if test "$USE_WIN32" = 1; then
46831 ac_config_commands
="$ac_config_commands
46837 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46840 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46843 ac_config_files
="$ac_config_files version-script Makefile"
46846 ac_config_commands
="$ac_config_commands wx-config"
46850 if test "$wxWITH_SUBDIRS" != "no"; then
46851 if test "$wxUSE_GUI" = "yes"; then
46852 SUBDIRS
="samples demos utils contrib"
46853 else SUBDIRS
="samples utils"
46858 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46859 if test "${with_cppunit_prefix+set}" = set; then
46860 withval
="$with_cppunit_prefix"
46861 cppunit_config_prefix
="$withval"
46863 cppunit_config_prefix
=""
46866 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46867 if test "${with_cppunit_exec_prefix+set}" = set; then
46868 withval
="$with_cppunit_exec_prefix"
46869 cppunit_config_exec_prefix
="$withval"
46871 cppunit_config_exec_prefix
=""
46874 if test x
$cppunit_config_exec_prefix != x
; then
46875 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46876 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46877 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
46880 if test x
$cppunit_config_prefix != x
; then
46881 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
46882 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46883 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
46887 # Extract the first word of "cppunit-config", so it can be a program name with args.
46888 set dummy cppunit
-config; ac_word
=$2
46889 echo "$as_me:$LINENO: checking for $ac_word" >&5
46890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46891 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46892 echo $ECHO_N "(cached) $ECHO_C" >&6
46894 case $CPPUNIT_CONFIG in
46896 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46900 for as_dir
in $PATH
46903 test -z "$as_dir" && as_dir
=.
46904 for ac_exec_ext
in '' $ac_executable_extensions; do
46905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46906 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46913 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
46917 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
46919 if test -n "$CPPUNIT_CONFIG"; then
46920 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46921 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46923 echo "$as_me:$LINENO: result: no" >&5
46924 echo "${ECHO_T}no" >&6
46927 cppunit_version_min
=1.8.0
46929 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46930 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46932 if test "$CPPUNIT_CONFIG" = "no" ; then
46935 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
46936 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
46937 cppunit_version
=`$CPPUNIT_CONFIG --version`
46939 cppunit_major_version
=`echo $cppunit_version | \
46940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46941 cppunit_minor_version
=`echo $cppunit_version | \
46942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46943 cppunit_micro_version
=`echo $cppunit_version | \
46944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46946 cppunit_major_min
=`echo $cppunit_version_min | \
46947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46948 cppunit_minor_min
=`echo $cppunit_version_min | \
46949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46950 cppunit_micro_min
=`echo $cppunit_version_min | \
46951 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46953 cppunit_version_proper
=`expr \
46954 $cppunit_major_version \> $cppunit_major_min \| \
46955 $cppunit_major_version \= $cppunit_major_min \& \
46956 $cppunit_minor_version \> $cppunit_minor_min \| \
46957 $cppunit_major_version \= $cppunit_major_min \& \
46958 $cppunit_minor_version \= $cppunit_minor_min \& \
46959 $cppunit_micro_version \>= $cppunit_micro_min `
46961 if test "$cppunit_version_proper" = "1" ; then
46962 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46963 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46965 echo "$as_me:$LINENO: result: no" >&5
46966 echo "${ECHO_T}no" >&6
46971 if test "x$no_cppunit" = x
; then
46972 SUBDIRS
="$SUBDIRS tests"
46983 for subdir
in `echo $SUBDIRS`; do
46984 if test -d ${srcdir}/${subdir} ; then
46985 if test "$wxUSE_GUI" = "yes"; then
46986 if test ${subdir} = "samples"; then
46987 makefiles
="samples/Makefile.in $makefiles"
46988 for sample
in `echo $SAMPLES_SUBDIRS`; do
46989 if test -d $srcdir/samples
/$sample; then
46990 makefiles
="samples/$sample/Makefile.in $makefiles"
46994 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
46995 eval "disabled=\$$disabled_var"
46996 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
46997 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46999 else if test ${subdir} = "samples"; then
47000 makefiles
="samples/Makefile.in samples/console/Makefile.in"
47001 elif test ${subdir} = "utils"; then
47003 for util
in HelpGen tex2rtf
; do
47004 if test -d $srcdir/utils
/$util ; then
47005 makefiles
="utils/$util/Makefile.in \
47006 utils/$util/src/Makefile.in \
47010 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
47014 for mkin
in $makefiles ; do
47015 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
47016 ac_config_files
="$ac_config_files $mk"
47022 cat >confcache
<<\_ACEOF
47023 # This file is a shell script that caches the results of configure
47024 # tests run on this system so they can be shared between configure
47025 # scripts and configure runs, see configure's option --config-cache.
47026 # It is not useful on other systems. If it contains results you don't
47027 # want to keep, you may remove or edit it.
47029 # config.status only pays attention to the cache file if you give it
47030 # the --recheck option to rerun configure.
47032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
47033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
47034 # following values.
47038 # The following way of writing the cache mishandles newlines in values,
47039 # but we know of no workaround that is simple, portable, and efficient.
47040 # So, don't put newlines in cache variables' values.
47041 # Ultrix sh set writes to stderr and can't be redirected directly,
47042 # and sets the high bit in the cache file unless we assign to the vars.
47045 case `(ac_space=' '; set | grep ac_space) 2>&1` in
47047 # `set' does not quote correctly, so add quotes (double-quote
47048 # substitution turns \\\\ into \\, and sed turns \\ into \).
47051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
47054 # `set' quotes correctly as required by POSIX, so do not add quotes.
47056 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
47063 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
47065 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
47067 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
47068 if test -w $cache_file; then
47069 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
47070 cat confcache
>$cache_file
47072 echo "not updating unwritable cache $cache_file"
47077 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
47078 # Let make expand exec_prefix.
47079 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
47081 # VPATH may cause trouble with some makes, so we remove $(srcdir),
47082 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
47083 # trailing colons and then remove the whole line if VPATH becomes empty
47084 # (actually we leave an empty line to preserve line numbers).
47085 if test "x$srcdir" = x.
; then
47086 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
47087 s/:*\$(srcdir):*/:/;
47088 s/:*\${srcdir}:*/:/;
47090 s/^\([^=]*=[ ]*\):*/\1/;
47096 DEFS
=-DHAVE_CONFIG_H
47100 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
47101 # 1. Remove the extension, and $U if already installed.
47102 ac_i
=`echo "$ac_i" |
47103 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
47105 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
47106 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
47108 LIBOBJS
=$ac_libobjs
47110 LTLIBOBJS
=$ac_ltlibobjs
47114 : ${CONFIG_STATUS=./config.status}
47115 ac_clean_files_save
=$ac_clean_files
47116 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
47117 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
47118 echo "$as_me: creating $CONFIG_STATUS" >&6;}
47119 cat >$CONFIG_STATUS <<_ACEOF
47121 # Generated by $as_me.
47122 # Run this file to recreate the current configuration.
47123 # Compiler output produced by configure, useful for debugging
47124 # configure, is in config.log if it exists.
47127 ac_cs_recheck=false
47129 SHELL=\${CONFIG_SHELL-$SHELL}
47132 cat >>$CONFIG_STATUS <<\_ACEOF
47133 ## --------------------- ##
47134 ## M4sh Initialization. ##
47135 ## --------------------- ##
47137 # Be Bourne compatible
47138 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
47141 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
47142 # is contrary to our usage. Disable this feature.
47143 alias -g '${1+"$@"}'='"$@"'
47144 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
47147 DUALCASE
=1; export DUALCASE
# for MKS sh
47149 # Support unset when possible.
47150 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
47157 # Work around bugs in pre-3.0 UWIN ksh.
47158 $as_unset ENV MAIL MAILPATH
47165 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
47166 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47167 LC_TELEPHONE LC_TIME
47169 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47170 eval $as_var=C
; export $as_var
47176 # Required to use basename.
47177 if expr a
: '\(a\)' >/dev
/null
2>&1; then
47183 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
47184 as_basename
=basename
47190 # Name of the executable.
47191 as_me
=`$as_basename "$0" ||
47192 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
47193 X"$0" : 'X\(//\)$' \| \
47194 X"$0" : 'X\(/\)$' \| \
47195 . : '\(.\)' 2>/dev/null ||
47197 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
47198 /^X\/\(\/\/\)$/{ s//\1/; q; }
47199 /^X\/\(\/\).*/{ s//\1/; q; }
47203 # PATH needs CR, and LINENO needs CR and PATH.
47204 # Avoid depending upon Character Ranges.
47205 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
47206 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
47207 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
47208 as_cr_digits
='0123456789'
47209 as_cr_alnum
=$as_cr_Letters$as_cr_digits
47211 # The user is always right.
47212 if test "${PATH_SEPARATOR+set}" != set; then
47213 echo "#! /bin/sh" >conf$$.sh
47214 echo "exit 0" >>conf$$.sh
47216 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
47225 as_lineno_1
=$LINENO
47226 as_lineno_2
=$LINENO
47227 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
47228 test "x$as_lineno_1" != "x$as_lineno_2" &&
47229 test "x$as_lineno_3" = "x$as_lineno_2" || {
47230 # Find who we are. Look in the path if we contain no path at all
47233 *[\\/]* ) as_myself
=$0 ;;
47234 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47235 for as_dir
in $PATH
47238 test -z "$as_dir" && as_dir
=.
47239 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
47244 # We did not find ourselves, most probably we were run as `sh COMMAND'
47245 # in which case we are not to be found in the path.
47246 if test "x$as_myself" = x
; then
47249 if test ! -f "$as_myself"; then
47250 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
47251 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
47252 { (exit 1); exit 1; }; }
47254 case $CONFIG_SHELL in
47256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47257 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
47260 test -z "$as_dir" && as_dir
=.
47261 for as_base
in sh bash ksh sh5
; do
47264 if ("$as_dir/$as_base" -c '
47265 as_lineno_1=$LINENO
47266 as_lineno_2=$LINENO
47267 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
47268 test "x$as_lineno_1" != "x$as_lineno_2" &&
47269 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
47270 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
47271 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
47272 CONFIG_SHELL
=$as_dir/$as_base
47273 export CONFIG_SHELL
47274 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
47282 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
47283 # uniformly replaced by the line number. The first 'sed' inserts a
47284 # line-number line before each line; the second 'sed' does the real
47285 # work. The second script uses 'N' to pair each line-number line
47286 # with the numbered line, and appends trailing '-' during
47287 # substitution so that $LINENO is not a special case at line end.
47288 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
47289 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
47290 sed '=' <$as_myself |
47295 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
47298 s,^['$as_cr_digits']*\n,,
47299 ' >$as_me.lineno
&&
47300 chmod +x
$as_me.lineno
||
47301 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
47302 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
47303 { (exit 1); exit 1; }; }
47305 # Don't try to exec as it changes $[0], causing all sort of problems
47306 # (the dirname of $[0] is not the place where we might find the
47307 # original and so on. Autoconf is especially sensible to this).
47309 # Exit status is that of the last command.
47314 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
47315 *c
*,-n*) ECHO_N
= ECHO_C
='
47317 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
47318 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
47321 if expr a
: '\(a\)' >/dev
/null
2>&1; then
47327 rm -f conf$$ conf$$.exe conf$$.
file
47329 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
47330 # We could just check for DJGPP; but this test a) works b) is more generic
47331 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47332 if test -f conf$$.exe
; then
47333 # Don't use ln at all; we don't have any links
47338 elif ln conf$$.
file conf$$
2>/dev
/null
; then
47343 rm -f conf$$ conf$$.exe conf$$.
file
47345 if mkdir -p .
2>/dev
/null
; then
47348 test -d .
/-p && rmdir .
/-p
47352 as_executable_p
="test -f"
47354 # Sed expression to map a string onto a valid CPP name.
47355 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47357 # Sed expression to map a string onto a valid variable name.
47358 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47362 # We need space, tab and new line, in precisely that order.
47372 # Open the log real soon, to keep \$[0] and so on meaningful, and to
47373 # report actual input values of CONFIG_FILES etc. instead of their
47374 # values after options handling. Logging --version etc. is OK.
47378 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47379 ## Running $as_me. ##
47384 This file was extended by wxWidgets $as_me 2.7.0, which was
47385 generated by GNU Autoconf 2.59. Invocation command line was
47387 CONFIG_FILES = $CONFIG_FILES
47388 CONFIG_HEADERS = $CONFIG_HEADERS
47389 CONFIG_LINKS = $CONFIG_LINKS
47390 CONFIG_COMMANDS = $CONFIG_COMMANDS
47394 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
47398 # Files that config.status was made for.
47399 if test -n "$ac_config_files"; then
47400 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
47403 if test -n "$ac_config_headers"; then
47404 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
47407 if test -n "$ac_config_links"; then
47408 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
47411 if test -n "$ac_config_commands"; then
47412 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
47415 cat >>$CONFIG_STATUS <<\_ACEOF
47418 \`$as_me' instantiates files from templates according to the
47419 current configuration.
47421 Usage: $0 [OPTIONS] [FILE]...
47423 -h, --help print this help, then exit
47424 -V, --version print version number, then exit
47425 -q, --quiet do not print progress messages
47426 -d, --debug don't remove temporary files
47427 --recheck update $as_me by reconfiguring in the same conditions
47428 --file=FILE[:TEMPLATE]
47429 instantiate the configuration file FILE
47430 --header=FILE[:TEMPLATE]
47431 instantiate the configuration header FILE
47433 Configuration files:
47436 Configuration headers:
47439 Configuration commands:
47442 Report bugs to <bug-autoconf@gnu.org>."
47445 cat >>$CONFIG_STATUS <<_ACEOF
47447 wxWidgets config.status 2.7.0
47448 configured by $0, generated by GNU Autoconf 2.59,
47449 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
47451 Copyright (C) 2003 Free Software Foundation, Inc.
47452 This config.status script is free software; the Free Software Foundation
47453 gives unlimited permission to copy, distribute and modify it."
47458 cat >>$CONFIG_STATUS <<\_ACEOF
47459 # If no file are specified by the user, then we need to provide default
47460 # value. By we need to know if files were specified by the user.
47466 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
47467 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
47475 *) # This is not an option, so the user has probably given explicit
47478 ac_need_defaults
=false
;;
47482 # Handling of the options.
47484 cat >>$CONFIG_STATUS <<\_ACEOF
47485 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47487 --version | --vers* | -V )
47488 echo "$ac_cs_version"; exit 0 ;;
47490 # Conflict between --help and --header
47491 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47492 Try \`$0 --help' for more information." >&5
47493 echo "$as_me: error: ambiguous option: $1
47494 Try \`$0 --help' for more information." >&2;}
47495 { (exit 1); exit 1; }; };;
47496 --help | --hel | -h )
47497 echo "$ac_cs_usage"; exit 0 ;;
47498 --debug | --d* | -d )
47500 --file | --fil | --fi | --f )
47502 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
47503 ac_need_defaults
=false
;;
47504 --header | --heade | --head | --hea )
47506 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
47507 ac_need_defaults
=false
;;
47508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47509 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47512 # This is an error.
47513 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47514 Try \`$0 --help' for more information." >&5
47515 echo "$as_me: error: unrecognized option: $1
47516 Try \`$0 --help' for more information." >&2;}
47517 { (exit 1); exit 1; }; } ;;
47519 *) ac_config_targets
="$ac_config_targets $1" ;;
47525 ac_configure_extra_args
=
47527 if $ac_cs_silent; then
47529 ac_configure_extra_args
="$ac_configure_extra_args --silent"
47533 cat >>$CONFIG_STATUS <<_ACEOF
47534 if \$ac_cs_recheck; then
47535 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47536 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47541 cat >>$CONFIG_STATUS <<_ACEOF
47543 # INIT-COMMANDS section.
47548 infile="$srcdir/include/wx/msw/genrcdefs.h"
47549 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
47552 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47553 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47562 cat >>$CONFIG_STATUS <<\_ACEOF
47563 for ac_config_target
in $ac_config_targets
47565 case "$ac_config_target" in
47566 # Handling of arguments.
47567 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47568 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47569 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
47570 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
47571 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
47572 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
47573 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
47574 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47575 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47576 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47577 { (exit 1); exit 1; }; };;
47581 # If the user did not use the arguments to specify the items to instantiate,
47582 # then the envvar interface is used. Set only those that are not.
47583 # We use the long form for the default assignment because of an extremely
47584 # bizarre bug on SunOS 4.1.3.
47585 if $ac_need_defaults; then
47586 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
47587 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
47588 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
47591 # Have a temporary directory for convenience. Make it in the build tree
47592 # simply because there is no reason to put it here, and in addition,
47593 # creating and moving files from /tmp can sometimes cause problems.
47594 # Create a temporary directory, and hook for its removal unless debugging.
47597 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47598 trap '{ (exit 1); exit 1; }' 1 2 13 15
47601 # Create a (secure) tmp directory for tmp files.
47604 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47605 test -n "$tmp" && test -d "$tmp"
47608 tmp
=.
/confstat$$
-$RANDOM
47609 (umask 077 && mkdir $tmp)
47612 echo "$me: cannot create a temporary directory in ." >&2
47613 { (exit 1); exit 1; }
47618 cat >>$CONFIG_STATUS <<_ACEOF
47621 # CONFIG_FILES section.
47624 # No need to generate the scripts if there are no CONFIG_FILES.
47625 # This happens for instance when ./config.status config.h
47626 if test -n "\$CONFIG_FILES"; then
47627 # Protect against being on the right side of a sed subst in config.status.
47628 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47629 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47630 s,@SHELL@,$SHELL,;t t
47631 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47632 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47633 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47634 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47635 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47636 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47637 s,@exec_prefix@,$exec_prefix,;t t
47638 s,@prefix@,$prefix,;t t
47639 s,@program_transform_name@,$program_transform_name,;t t
47640 s,@bindir@,$bindir,;t t
47641 s,@sbindir@,$sbindir,;t t
47642 s,@libexecdir@,$libexecdir,;t t
47643 s,@datadir@,$datadir,;t t
47644 s,@sysconfdir@,$sysconfdir,;t t
47645 s,@sharedstatedir@,$sharedstatedir,;t t
47646 s,@localstatedir@,$localstatedir,;t t
47647 s,@libdir@,$libdir,;t t
47648 s,@includedir@,$includedir,;t t
47649 s,@oldincludedir@,$oldincludedir,;t t
47650 s,@infodir@,$infodir,;t t
47651 s,@mandir@,$mandir,;t t
47652 s,@build_alias@,$build_alias,;t t
47653 s,@host_alias@,$host_alias,;t t
47654 s,@target_alias@,$target_alias,;t t
47655 s,@DEFS@,$DEFS,;t t
47656 s,@ECHO_C@,$ECHO_C,;t t
47657 s,@ECHO_N@,$ECHO_N,;t t
47658 s,@ECHO_T@,$ECHO_T,;t t
47659 s,@LIBS@,$LIBS,;t t
47660 s,@build@,$build,;t t
47661 s,@build_cpu@,$build_cpu,;t t
47662 s,@build_vendor@,$build_vendor,;t t
47663 s,@build_os@,$build_os,;t t
47664 s,@host@,$host,;t t
47665 s,@host_cpu@,$host_cpu,;t t
47666 s,@host_vendor@,$host_vendor,;t t
47667 s,@host_os@,$host_os,;t t
47668 s,@target@,$target,;t t
47669 s,@target_cpu@,$target_cpu,;t t
47670 s,@target_vendor@,$target_vendor,;t t
47671 s,@target_os@,$target_os,;t t
47673 s,@CFLAGS@,$CFLAGS,;t t
47674 s,@LDFLAGS@,$LDFLAGS,;t t
47675 s,@CPPFLAGS@,$CPPFLAGS,;t t
47676 s,@ac_ct_CC@,$ac_ct_CC,;t t
47677 s,@EXEEXT@,$EXEEXT,;t t
47678 s,@OBJEXT@,$OBJEXT,;t t
47680 s,@EGREP@,$EGREP,;t t
47682 s,@CXXFLAGS@,$CXXFLAGS,;t t
47683 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47684 s,@RANLIB@,$RANLIB,;t t
47685 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47687 s,@ac_ct_AR@,$ac_ct_AR,;t t
47688 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47689 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47690 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47691 s,@STRIP@,$STRIP,;t t
47692 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47693 s,@RESCOMP@,$RESCOMP,;t t
47694 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47695 s,@DLLTOOL@,$DLLTOOL,;t t
47696 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47697 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47698 s,@LN_S@,$LN_S,;t t
47699 s,@LNDIR@,$LNDIR,;t t
47700 s,@CXXCPP@,$CXXCPP,;t t
47701 s,@subdirs@,$subdirs,;t t
47702 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47703 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47704 s,@GTK_LIBS@,$GTK_LIBS,;t t
47705 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47706 s,@X_CFLAGS@,$X_CFLAGS,;t t
47707 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47708 s,@X_LIBS@,$X_LIBS,;t t
47709 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47710 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47711 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47712 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47713 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47714 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47715 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47716 s,@DEREZ@,$DEREZ,;t t
47717 s,@SETFILE@,$SETFILE,;t t
47718 s,@LIBICONV@,$LIBICONV,;t t
47719 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47720 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47721 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47722 s,@SDL_LIBS@,$SDL_LIBS,;t t
47723 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47724 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47725 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47726 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47727 s,@GST_INSPECT@,$GST_INSPECT,;t t
47728 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47729 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47730 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47731 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47732 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47733 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47734 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47735 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47736 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47737 s,@VENDOR@,$VENDOR,;t t
47738 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47739 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47740 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47741 s,@WXUNIV@,$WXUNIV,;t t
47742 s,@MONOLITHIC@,$MONOLITHIC,;t t
47743 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47744 s,@EXTRALIBS@,$EXTRALIBS,;t t
47745 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47746 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47747 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47748 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47749 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47750 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47751 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47752 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47753 s,@UNICODE@,$UNICODE,;t t
47754 s,@BUILD@,$BUILD,;t t
47755 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47756 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47757 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47758 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47759 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47760 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47761 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47762 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47763 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47764 s,@SET_MAKE@,$SET_MAKE,;t t
47765 s,@MAKE_SET@,$MAKE_SET,;t t
47767 s,@ac_ct_NM@,$ac_ct_NM,;t t
47768 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47769 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47770 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47771 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47772 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47773 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47774 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47775 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47776 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47777 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47778 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47779 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47780 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47781 s,@LIBPREFIX@,$LIBPREFIX,;t t
47782 s,@LIBEXT@,$LIBEXT,;t t
47783 s,@DLLPREFIX@,$DLLPREFIX,;t t
47784 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47785 s,@dlldir@,$dlldir,;t t
47786 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47787 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47788 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47789 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47790 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47791 s,@PIC_FLAG@,$PIC_FLAG,;t t
47792 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47793 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47794 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47795 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47796 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47797 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47798 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47799 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47800 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47801 s,@GCC_PCH@,$GCC_PCH,;t t
47802 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47803 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47804 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47805 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47806 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47807 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47808 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47809 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47810 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47811 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47812 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47813 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47814 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47815 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47816 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47817 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47818 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47819 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47820 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
47821 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
47822 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
47823 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47824 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47825 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47826 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47827 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
47828 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
47829 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
47830 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47831 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47832 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47833 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47834 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47835 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47836 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47837 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47838 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47839 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47840 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47841 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47842 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47843 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47844 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47845 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47846 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
47847 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47848 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47849 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47850 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47851 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47852 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47853 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47854 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47855 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47856 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47857 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47858 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47859 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47860 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47861 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47862 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47863 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47864 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47865 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47866 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47867 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47868 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47869 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47870 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47871 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47872 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47873 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47874 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47875 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47876 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47877 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47878 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47879 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47880 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47881 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47882 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47883 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47884 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47885 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47886 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47887 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47888 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47889 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47890 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47891 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47892 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47893 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47894 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47895 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47896 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47897 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47898 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47899 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47900 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47901 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47902 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47903 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47904 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47905 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47906 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47907 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47908 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47909 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47910 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47911 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47912 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47913 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47914 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47915 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47916 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47917 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47918 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47919 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47920 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47921 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47922 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47923 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47924 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47925 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47926 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47927 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47928 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47929 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47930 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47931 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47932 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47933 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47934 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47935 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47936 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47937 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47938 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47939 s,@SHARED@,$SHARED,;t t
47940 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47941 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47942 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47943 s,@USE_GUI@,$USE_GUI,;t t
47944 s,@AFMINSTALL@,$AFMINSTALL,;t t
47945 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47946 s,@TOOLKIT@,$TOOLKIT,;t t
47947 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47948 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47949 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47950 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47951 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47952 s,@cross_compiling@,$cross_compiling,;t t
47953 s,@WIDGET_SET@,$WIDGET_SET,;t t
47954 s,@WX_RELEASE@,$WX_RELEASE,;t t
47955 s,@WX_VERSION@,$WX_VERSION,;t t
47956 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47957 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47958 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47959 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47960 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47961 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47962 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47963 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47964 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47965 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47966 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47967 s,@EXE_LINKER@,$EXE_LINKER,;t t
47968 s,@GUIDIST@,$GUIDIST,;t t
47969 s,@DISTDIR@,$DISTDIR,;t t
47970 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47971 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47972 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47973 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47974 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47975 s,@RESFLAGS@,$RESFLAGS,;t t
47976 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47977 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47978 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47979 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47980 s,@MACRESCOMP@,$MACRESCOMP,;t t
47981 s,@MACSETFILE@,$MACSETFILE,;t t
47982 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47984 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47985 s,@LIBOBJS@,$LIBOBJS,;t t
47986 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47991 cat >>$CONFIG_STATUS <<\_ACEOF
47992 # Split the substitutions into bite-sized pieces for seds with
47993 # small command number limits, like on Digital OSF/1 and HP-UX.
47994 ac_max_sed_lines
=48
47995 ac_sed_frag
=1 # Number of current file.
47996 ac_beg
=1 # First line for current file.
47997 ac_end
=$ac_max_sed_lines # Line after last line for current file.
48000 while $ac_more_lines; do
48001 if test $ac_beg -gt 1; then
48002 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
48004 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
48006 if test ! -s $tmp/subs.frag
; then
48007 ac_more_lines
=false
48009 # The purpose of the label and of the branching condition is to
48010 # speed up the sed processing (if there are no `@' at all, there
48011 # is no need to browse any of the substitutions).
48012 # These are the two extra sed commands mentioned above.
48014 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
48015 if test -z "$ac_sed_cmds"; then
48016 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
48018 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
48020 ac_sed_frag
=`expr $ac_sed_frag + 1`
48022 ac_end
=`expr $ac_end + $ac_max_sed_lines`
48025 if test -z "$ac_sed_cmds"; then
48028 fi # test -n "$CONFIG_FILES"
48031 cat >>$CONFIG_STATUS <<\_ACEOF
48032 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
48033 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
48035 - | *:- | *:-:* ) # input from stdin
48037 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48038 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
48039 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48040 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
48041 * ) ac_file_in
=$ac_file.
in ;;
48044 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
48045 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
48046 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48047 X"$ac_file" : 'X\(//\)[^/]' \| \
48048 X"$ac_file" : 'X\(//\)$' \| \
48049 X"$ac_file" : 'X\(/\)' \| \
48050 . : '\(.\)' 2>/dev/null ||
48052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48054 /^X\(\/\/\)$/{ s//\1/; q; }
48055 /^X\(\/\).*/{ s//\1/; q; }
48057 { if $as_mkdir_p; then
48062 while test ! -d "$as_dir"; do
48063 as_dirs
="$as_dir $as_dirs"
48064 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48066 X"$as_dir" : 'X\(//\)[^/]' \| \
48067 X"$as_dir" : 'X\(//\)$' \| \
48068 X"$as_dir" : 'X\(/\)' \| \
48069 . : '\(.\)' 2>/dev/null ||
48071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48073 /^X\(\/\/\)$/{ s//\1/; q; }
48074 /^X\(\/\).*/{ s//\1/; q; }
48077 test ! -n "$as_dirs" || mkdir $as_dirs
48078 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48079 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48080 { (exit 1); exit 1; }; }; }
48084 if test "$ac_dir" != .
; then
48085 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48086 # A "../" for each directory in $ac_dir_suffix.
48087 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48089 ac_dir_suffix
= ac_top_builddir
=
48093 .
) # No --srcdir option. We are building in place.
48095 if test -z "$ac_top_builddir"; then
48098 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48100 [\\/]* | ?
:[\\/]* ) # Absolute path.
48101 ac_srcdir
=$srcdir$ac_dir_suffix;
48102 ac_top_srcdir
=$srcdir ;;
48103 *) # Relative path.
48104 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48105 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48108 # Do not use `cd foo && pwd` to compute absolute paths, because
48109 # the directories may not exist.
48111 .
) ac_abs_builddir
="$ac_dir";;
48114 .
) ac_abs_builddir
=`pwd`;;
48115 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48116 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48119 case $ac_abs_builddir in
48120 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48122 case ${ac_top_builddir}.
in
48123 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48124 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48125 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48128 case $ac_abs_builddir in
48129 .
) ac_abs_srcdir
=$ac_srcdir;;
48132 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48133 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48134 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48137 case $ac_abs_builddir in
48138 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48140 case $ac_top_srcdir in
48141 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48142 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48143 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48149 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
48150 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
48153 if test x
"$ac_file" != x
-; then
48154 { echo "$as_me:$LINENO: creating $ac_file" >&5
48155 echo "$as_me: creating $ac_file" >&6;}
48158 # Let's still pretend it is `configure' which instantiates (i.e., don't
48159 # use $as_me), people would be surprised to read:
48160 # /* config.h. Generated by config.status. */
48161 if test x
"$ac_file" = x
-; then
48164 configure_input
="$ac_file. "
48166 configure_input
=$configure_input"Generated from `echo $ac_file_in |
48167 sed 's,.*/,,'` by configure."
48169 # First look for the input files in the build tree, otherwise in the
48171 ac_file_inputs
=`IFS=:
48172 for f in $ac_file_in; do
48174 -) echo $tmp/stdin ;;
48176 # Absolute (can't be DOS-style, as IFS=:)
48177 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48178 echo "$as_me: error: cannot find input file: $f" >&2;}
48179 { (exit 1); exit 1; }; }
48182 if test -f "$f"; then
48185 elif test -f "$srcdir/$f"; then
48190 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48191 echo "$as_me: error: cannot find input file: $f" >&2;}
48192 { (exit 1); exit 1; }; }
48195 done` || { (exit 1); exit 1; }
48197 cat >>$CONFIG_STATUS <<_ACEOF
48201 cat >>$CONFIG_STATUS <<\_ACEOF
48203 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
48204 s
,@configure_input@
,$configure_input,;t t
48205 s
,@srcdir@
,$ac_srcdir,;t t
48206 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
48207 s
,@top_srcdir@
,$ac_top_srcdir,;t t
48208 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
48209 s
,@builddir@
,$ac_builddir,;t t
48210 s
,@abs_builddir@
,$ac_abs_builddir,;t t
48211 s
,@top_builddir@
,$ac_top_builddir,;t t
48212 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
48213 s
,@INSTALL@
,$ac_INSTALL,;t t
48214 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
48216 if test x"$ac_file" != x-; then
48217 mv $tmp/out $ac_file
48223 # Run the commands associated with the file.
48225 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
48226 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
48230 cat >>$CONFIG_STATUS <<\_ACEOF
48233 # CONFIG_HEADER section.
48236 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
48237 # NAME is the cpp macro being defined and VALUE is the value it is being given.
48239 # ac_d sets the value in "#define NAME VALUE" lines.
48240 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
48241 ac_dB
='[ ].*$,\1#\2'
48244 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
48245 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
48246 ac_uB
='$,\1#\2define\3'
48250 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
48251 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
48253 - | *:- | *:-:* ) # input from stdin
48255 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48256 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
48257 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48258 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
48259 * ) ac_file_in
=$ac_file.
in ;;
48262 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
48263 echo "$as_me: creating $ac_file" >&6;}
48265 # First look for the input files in the build tree, otherwise in the
48267 ac_file_inputs
=`IFS=:
48268 for f in $ac_file_in; do
48270 -) echo $tmp/stdin ;;
48272 # Absolute (can't be DOS-style, as IFS=:)
48273 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48274 echo "$as_me: error: cannot find input file: $f" >&2;}
48275 { (exit 1); exit 1; }; }
48276 # Do quote $f, to prevent DOS paths from being IFS'd.
48279 if test -f "$f"; then
48282 elif test -f "$srcdir/$f"; then
48287 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48288 echo "$as_me: error: cannot find input file: $f" >&2;}
48289 { (exit 1); exit 1; }; }
48292 done` || { (exit 1); exit 1; }
48293 # Remove the trailing spaces.
48294 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
48298 # Transform confdefs.h into two sed scripts, `conftest.defines' and
48299 # `conftest.undefs', that substitutes the proper values into
48300 # config.h.in to produce config.h. The first handles `#define'
48301 # templates, and the second `#undef' templates.
48302 # And first: Protect against being on the right side of a sed subst in
48303 # config.status. Protect against being in an unquoted here document
48304 # in config.status.
48305 rm -f conftest.defines conftest.undefs
48306 # Using a here document instead of a string reduces the quoting nightmare.
48307 # Putting comments in sed scripts is not portable.
48309 # `end' is used to avoid that the second main sed command (meant for
48310 # 0-ary CPP macros) applies to n-ary macro definitions.
48311 # See the Autoconf documentation for `clear'.
48312 cat >confdef2sed.
sed <<\_ACEOF
48317 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
48319 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
48322 # If some macros were called several times there might be several times
48323 # the same #defines, which is useless. Nevertheless, we may not want to
48324 # sort them, since we want the *last* AC-DEFINE to be honored.
48325 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
48326 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
48327 rm -f confdef2sed.sed
48329 # This sed command replaces #undef with comments. This is necessary, for
48330 # example, in the case of _POSIX_SOURCE, which is predefined and required
48331 # on some systems where configure will not decide to define it.
48332 cat >>conftest.undefs <<\_ACEOF
48333 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
48336 # Break up conftest.defines because some shells have a limit on the size
48337 # of here documents, and old seds have small limits too (100 cmds).
48338 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
48339 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
48340 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
48341 echo ' :' >>$CONFIG_STATUS
48342 rm -f conftest.tail
48343 while grep . conftest.defines >/dev/null
48345 # Write a limited-size here document to $tmp/defines.sed.
48346 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
48347 # Speed up: don't consider the non `#define' lines.
48348 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
48349 # Work around the forget-to-reset-the-flag bug.
48350 echo 't clr' >>$CONFIG_STATUS
48351 echo ': clr' >>$CONFIG_STATUS
48352 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
48354 sed -f $tmp/defines.sed $tmp/in >$tmp/out
48356 mv $tmp/out $tmp/in
48358 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
48359 rm -f conftest.defines
48360 mv conftest.
tail conftest.defines
48362 rm -f conftest.defines
48363 echo ' fi # grep' >>$CONFIG_STATUS
48364 echo >>$CONFIG_STATUS
48366 # Break up conftest.undefs because some shells have a limit on the size
48367 # of here documents, and old seds have small limits too (100 cmds).
48368 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
48369 rm -f conftest.
tail
48370 while grep . conftest.undefs
>/dev
/null
48372 # Write a limited-size here document to $tmp/undefs.sed.
48373 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
48374 # Speed up: don't consider the non
`#undef'
48375 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
48376 # Work around the forget-to-reset-the-flag bug.
48377 echo 't clr' >>$CONFIG_STATUS
48378 echo ': clr' >>$CONFIG_STATUS
48379 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
48381 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
48383 mv $tmp/out $tmp/in
48385 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
48386 rm -f conftest.undefs
48387 mv conftest.tail conftest.undefs
48389 rm -f conftest.undefs
48391 cat >>$CONFIG_STATUS <<\_ACEOF
48392 # Let's still pretend it is `configure
' which instantiates (i.e., don't
48393 # use $as_me), people would be surprised to read:
48394 # /* config.h. Generated by config.status. */
48395 if test x
"$ac_file" = x
-; then
48396 echo "/* Generated by configure. */" >$tmp/config.h
48398 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
48400 cat $tmp/in >>$tmp/config.h
48402 if test x
"$ac_file" != x
-; then
48403 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
48404 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
48405 echo "$as_me: $ac_file is unchanged" >&6;}
48407 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
48408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48409 X"$ac_file" : 'X\(//\)[^/]' \| \
48410 X"$ac_file" : 'X\(//\)$' \| \
48411 X"$ac_file" : 'X\(/\)' \| \
48412 . : '\(.\)' 2>/dev/null ||
48414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48416 /^X\(\/\/\)$/{ s//\1/; q; }
48417 /^X\(\/\).*/{ s//\1/; q; }
48419 { if $as_mkdir_p; then
48424 while test ! -d "$as_dir"; do
48425 as_dirs
="$as_dir $as_dirs"
48426 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48428 X"$as_dir" : 'X\(//\)[^/]' \| \
48429 X"$as_dir" : 'X\(//\)$' \| \
48430 X"$as_dir" : 'X\(/\)' \| \
48431 . : '\(.\)' 2>/dev/null ||
48433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48435 /^X\(\/\/\)$/{ s//\1/; q; }
48436 /^X\(\/\).*/{ s//\1/; q; }
48439 test ! -n "$as_dirs" || mkdir $as_dirs
48440 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48441 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48442 { (exit 1); exit 1; }; }; }
48445 mv $tmp/config.h
$ac_file
48449 rm -f $tmp/config.h
48453 cat >>$CONFIG_STATUS <<\_ACEOF
48456 # CONFIG_COMMANDS section.
48458 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
48459 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
48460 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48461 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
48462 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48463 X"$ac_dest" : 'X\(//\)[^/]' \| \
48464 X"$ac_dest" : 'X\(//\)$' \| \
48465 X"$ac_dest" : 'X\(/\)' \| \
48466 . : '\(.\)' 2>/dev/null ||
48468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48469 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48470 /^X\(\/\/\)$/{ s//\1/; q; }
48471 /^X\(\/\).*/{ s//\1/; q; }
48473 { if $as_mkdir_p; then
48478 while test ! -d "$as_dir"; do
48479 as_dirs
="$as_dir $as_dirs"
48480 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48481 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48482 X"$as_dir" : 'X\(//\)[^/]' \| \
48483 X"$as_dir" : 'X\(//\)$' \| \
48484 X"$as_dir" : 'X\(/\)' \| \
48485 . : '\(.\)' 2>/dev/null ||
48487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48489 /^X\(\/\/\)$/{ s//\1/; q; }
48490 /^X\(\/\).*/{ s//\1/; q; }
48493 test ! -n "$as_dirs" || mkdir $as_dirs
48494 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48495 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48496 { (exit 1); exit 1; }; }; }
48500 if test "$ac_dir" != .
; then
48501 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48502 # A "../" for each directory in $ac_dir_suffix.
48503 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48505 ac_dir_suffix
= ac_top_builddir
=
48509 .
) # No --srcdir option. We are building in place.
48511 if test -z "$ac_top_builddir"; then
48514 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48516 [\\/]* | ?
:[\\/]* ) # Absolute path.
48517 ac_srcdir
=$srcdir$ac_dir_suffix;
48518 ac_top_srcdir
=$srcdir ;;
48519 *) # Relative path.
48520 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48521 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48524 # Do not use `cd foo && pwd` to compute absolute paths, because
48525 # the directories may not exist.
48527 .
) ac_abs_builddir
="$ac_dir";;
48530 .
) ac_abs_builddir
=`pwd`;;
48531 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48532 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48535 case $ac_abs_builddir in
48536 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48538 case ${ac_top_builddir}.
in
48539 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48540 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48541 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48544 case $ac_abs_builddir in
48545 .
) ac_abs_srcdir
=$ac_srcdir;;
48548 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48549 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48550 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48553 case $ac_abs_builddir in
48554 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48556 case $ac_top_srcdir in
48557 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48558 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48559 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48564 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48565 echo "$as_me: executing $ac_dest commands" >&6;}
48568 mkdir -p $outdir &&
48569 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
48571 wx
-config ) rm -f wx
-config
48572 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
48578 cat >>$CONFIG_STATUS <<\_ACEOF
48580 { (exit 0); exit 0; }
48582 chmod +x
$CONFIG_STATUS
48583 ac_clean_files
=$ac_clean_files_save
48586 # configure is writing to config.log, and then calls config.status.
48587 # config.status does its own redirection, appending to config.log.
48588 # Unfortunately, on DOS this fails, as config.log is still kept open
48589 # by configure, so config.status won't be able to write to it; its
48590 # output is simply discarded. So we exec the FD to /dev/null,
48591 # effectively closing config.log, so it can be properly (re)opened and
48592 # appended to by config.status. When coming back to configure, we
48593 # need to make the FD available again.
48594 if test "$no_create" != yes; then
48596 ac_config_status_args
=
48597 test "$silent" = yes &&
48598 ac_config_status_args
="$ac_config_status_args --quiet"
48600 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
48602 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48603 # would make configure fail if this is the last instruction.
48604 $ac_cs_success || { (exit 1); exit 1; }
48608 # CONFIG_SUBDIRS section.
48610 if test "$no_recursion" != yes; then
48612 # Remove --cache-file and --srcdir arguments so they do not pile up.
48613 ac_sub_configure_args
=
48615 for ac_arg
in $ac_configure_args; do
48616 if test -n "$ac_prev"; then
48621 -cache-file | --cache-file | --cache-fil | --cache-fi \
48622 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48623 ac_prev
=cache_file
;;
48624 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48625 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48628 --config-cache | -C)
48630 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48632 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48634 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48636 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48638 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
48642 # Always prepend --prefix to ensure using the same prefix
48643 # in subdir configurations.
48644 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
48647 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
48649 # Do not complain, so a configure script can configure whichever
48650 # parts of a large source tree are present.
48651 test -d $srcdir/$ac_dir || continue
48653 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48654 echo "$as_me: configuring in $ac_dir" >&6;}
48655 { if $as_mkdir_p; then
48660 while test ! -d "$as_dir"; do
48661 as_dirs
="$as_dir $as_dirs"
48662 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48664 X"$as_dir" : 'X\(//\)[^/]' \| \
48665 X"$as_dir" : 'X\(//\)$' \| \
48666 X"$as_dir" : 'X\(/\)' \| \
48667 . : '\(.\)' 2>/dev/null ||
48669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48671 /^X\(\/\/\)$/{ s//\1/; q; }
48672 /^X\(\/\).*/{ s//\1/; q; }
48675 test ! -n "$as_dirs" || mkdir $as_dirs
48676 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48678 { (exit 1); exit 1; }; }; }
48682 if test "$ac_dir" != .
; then
48683 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48684 # A "../" for each directory in $ac_dir_suffix.
48685 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48687 ac_dir_suffix
= ac_top_builddir
=
48691 .
) # No --srcdir option. We are building in place.
48693 if test -z "$ac_top_builddir"; then
48696 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48698 [\\/]* | ?
:[\\/]* ) # Absolute path.
48699 ac_srcdir
=$srcdir$ac_dir_suffix;
48700 ac_top_srcdir
=$srcdir ;;
48701 *) # Relative path.
48702 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48703 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48706 # Do not use `cd foo && pwd` to compute absolute paths, because
48707 # the directories may not exist.
48709 .
) ac_abs_builddir
="$ac_dir";;
48712 .
) ac_abs_builddir
=`pwd`;;
48713 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48714 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48717 case $ac_abs_builddir in
48718 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48720 case ${ac_top_builddir}.
in
48721 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48722 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48723 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48726 case $ac_abs_builddir in
48727 .
) ac_abs_srcdir
=$ac_srcdir;;
48730 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48731 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48732 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48735 case $ac_abs_builddir in
48736 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48738 case $ac_top_srcdir in
48739 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48740 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48741 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48748 # Check for guested configure; otherwise get Cygnus style configure.
48749 if test -f $ac_srcdir/configure.gnu
; then
48750 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
48751 elif test -f $ac_srcdir/configure
; then
48752 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
48753 elif test -f $ac_srcdir/configure.
in; then
48754 ac_sub_configure
=$ac_configure
48756 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48757 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48761 # The recursion is here.
48762 if test -n "$ac_sub_configure"; then
48763 # Make the cache file name correct relative to the subdirectory.
48764 case $cache_file in
48765 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
48766 *) # Relative path.
48767 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
48770 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48771 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48772 # The eval makes quoting arguments work.
48773 eval $ac_sub_configure $ac_sub_configure_args \
48774 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48775 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48776 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48777 { (exit 1); exit 1; }; }
48786 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48788 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48789 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48791 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48792 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48793 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48795 echo " What level of wxWidgets compatibility should be enabled?"
48796 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
48797 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
48799 echo " Which libraries should wxWidgets use?"
48800 echo " jpeg ${wxUSE_LIBJPEG-none}"
48801 echo " png ${wxUSE_LIBPNG-none}"
48802 echo " regex ${wxUSE_REGEX}"
48803 echo " tiff ${wxUSE_LIBTIFF-none}"
48804 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48805 echo " xpm ${wxUSE_LIBXPM-none}"
48807 echo " zlib ${wxUSE_ZLIB}"
48808 echo " odbc ${wxUSE_ODBC}"
48809 echo " expat ${wxUSE_EXPAT}"
48810 echo " libmspack ${wxUSE_LIBMSPACK}"
48811 echo " sdl ${wxUSE_LIBSDL}"
48812 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"