2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S 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 REZ 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 USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESCOMP 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 POSTLINK_COMMAND MACSETFILE WXCONFIG_POSTLINK_COMMAND 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" || test ! -s conftest.err'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; } &&
11438 { ac_try
='test -s conftest.$ac_objext'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; }; then
11444 ac_compiler_gnu
=yes
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.
$ac_ext >&5
11451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11452 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11455 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11456 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11457 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11458 ac_test_CFLAGS
=${CFLAGS+set}
11459 ac_save_CFLAGS
=$CFLAGS
11460 CFLAGS
="$CFLAGS -g"
11461 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11462 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11463 if test "${ac_cv_prog_cc_g+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 cat >conftest.
$ac_ext <<_ACEOF
11469 cat confdefs.h
>>conftest.
$ac_ext
11470 cat >>conftest.
$ac_ext <<_ACEOF
11471 /* end confdefs.h. */
11481 rm -f conftest.
$ac_objext
11482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11483 (eval $ac_compile) 2>conftest.er1
11485 grep -v '^ *+' conftest.er1
>conftest.err
11487 cat conftest.err
>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); } &&
11490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; } &&
11496 { ac_try
='test -s conftest.$ac_objext'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; }; then
11502 ac_cv_prog_cc_g
=yes
11504 echo "$as_me: failed program was:" >&5
11505 sed 's/^/| /' conftest.
$ac_ext >&5
11509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11511 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11512 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11513 if test "$ac_test_CFLAGS" = set; then
11514 CFLAGS
=$ac_save_CFLAGS
11515 elif test $ac_cv_prog_cc_g = yes; then
11516 if test "$GCC" = yes; then
11522 if test "$GCC" = yes; then
11528 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11529 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11530 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 ac_cv_prog_cc_stdc
=no
11535 cat >conftest.
$ac_ext <<_ACEOF
11538 cat confdefs.h
>>conftest.
$ac_ext
11539 cat >>conftest.
$ac_ext <<_ACEOF
11540 /* end confdefs.h. */
11541 #include <stdarg.h>
11543 #include <sys/types.h>
11544 #include <sys/stat.h>
11545 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11546 struct buf { int x; };
11547 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11548 static char *e (p, i)
11554 static char *f (char * (*g) (char **, int), char **p, ...)
11559 s = g (p, va_arg (v,int));
11564 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11565 function prototypes and stuff, but not '\xHH' hex character constants.
11566 These don't provoke an error unfortunately, instead are silently treated
11567 as 'x'. The following induces an error, until -std1 is added to get
11568 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11569 array size at least. It's necessary to write '\x00'==0 to get something
11570 that's true only with -std1. */
11571 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11573 int test (int i, double x);
11574 struct s1 {int (*f) (int a);};
11575 struct s2 {int (*f) (double a);};
11576 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11587 # Don't try gcc -ansi; that turns off useful extensions and
11588 # breaks some systems' header files.
11589 # AIX -qlanglvl=ansi
11590 # Ultrix and OSF/1 -std1
11591 # HP-UX 10.20 and later -Ae
11592 # HP-UX older versions -Aa -D_HPUX_SOURCE
11593 # SVR4 -Xc -D__EXTENSIONS__
11594 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11596 CC
="$ac_save_CC $ac_arg"
11597 rm -f conftest.
$ac_objext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11599 (eval $ac_compile) 2>conftest.er1
11601 grep -v '^ *+' conftest.er1
>conftest.err
11603 cat conftest.err
>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; } &&
11612 { ac_try
='test -s conftest.$ac_objext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 ac_cv_prog_cc_stdc
=$ac_arg
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.
$ac_ext >&5
11625 rm -f conftest.err conftest.
$ac_objext
11627 rm -f conftest.
$ac_ext conftest.
$ac_objext
11632 case "x$ac_cv_prog_cc_stdc" in
11634 echo "$as_me:$LINENO: result: none needed" >&5
11635 echo "${ECHO_T}none needed" >&6 ;;
11637 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11638 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11639 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11642 # Some people use a C++ compiler to compile C. Since we use `exit',
11643 # in C++ we need to declare it. In case someone uses the same compiler
11644 # for both compiling C and C++ we need to have the C++ compiler decide
11645 # the declaration of exit, since it's the most demanding environment.
11646 cat >conftest.
$ac_ext <<_ACEOF
11647 #ifndef __cplusplus
11651 rm -f conftest.
$ac_objext
11652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>conftest.er1
11655 grep -v '^ *+' conftest.er1
>conftest.err
11657 cat conftest.err
>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; } &&
11666 { ac_try
='test -s conftest.$ac_objext'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; }; then
11672 for ac_declaration
in \
11674 'extern "C" void std::exit (int) throw (); using std::exit;' \
11675 'extern "C" void std::exit (int); using std::exit;' \
11676 'extern "C" void exit (int) throw ();' \
11677 'extern "C" void exit (int);' \
11680 cat >conftest.
$ac_ext <<_ACEOF
11683 cat confdefs.h
>>conftest.
$ac_ext
11684 cat >>conftest.
$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11687 #include <stdlib.h>
11696 rm -f conftest.
$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11700 grep -v '^ *+' conftest.er1
>conftest.err
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try
='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11725 cat >conftest.
$ac_ext <<_ACEOF
11728 cat confdefs.h
>>conftest.
$ac_ext
11729 cat >>conftest.
$ac_ext <<_ACEOF
11730 /* end confdefs.h. */
11740 rm -f conftest.
$ac_objext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11742 (eval $ac_compile) 2>conftest.er1
11744 grep -v '^ *+' conftest.er1
>conftest.err
11746 cat conftest.err
>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; } &&
11755 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
11763 echo "$as_me: failed program was:" >&5
11764 sed 's/^/| /' conftest.
$ac_ext >&5
11767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11770 if test -n "$ac_declaration"; then
11771 echo '#ifdef __cplusplus' >>confdefs.h
11772 echo $ac_declaration >>confdefs.h
11773 echo '#endif' >>confdefs.h
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.
$ac_ext >&5
11781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11783 ac_cpp
='$CPP $CPPFLAGS'
11784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11791 ac_cpp
='$CPP $CPPFLAGS'
11792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11796 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11797 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11798 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 cat >conftest.
$ac_ext <<_ACEOF
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11812 #ifndef __INTEL_COMPILER
11820 rm -f conftest.
$ac_objext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11822 (eval $ac_compile) 2>conftest.er1
11824 grep -v '^ *+' conftest.er1
>conftest.err
11826 cat conftest.err
>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; } &&
11835 { ac_try
='test -s conftest.$ac_objext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.
$ac_ext >&5
11846 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11853 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11854 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11856 ac_cpp
='$CPP $CPPFLAGS'
11857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11861 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11868 if test "x$GCC" != "xyes"; then
11869 if test "xCC" = "xC"; then
11870 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11871 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11872 if test "${bakefile_cv_c_exto+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 cat >conftest.
$ac_ext <<_ACEOF
11878 cat confdefs.h
>>conftest.
$ac_ext
11879 cat >>conftest.
$ac_ext <<_ACEOF
11880 /* end confdefs.h. */
11890 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11892 (eval $ac_compile) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; then
11896 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11898 conftest.
$ac_ext.o
)
11899 bakefile_cv_c_exto
="-ext o"
11906 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11907 See \`config.log' for more details." >&5
11908 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11909 See \`config.log' for more details." >&2;}
11910 { (exit 1); exit 1; }; }
11914 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11917 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11918 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11919 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11920 if test "c" = "c"; then
11921 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
11923 if test "c" = "cxx"; then
11924 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
11928 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11929 unset ac_cv_prog_cc_g
11930 ac_test_CFLAGS
=${CFLAGS+set}
11931 ac_save_CFLAGS
=$CFLAGS
11932 CFLAGS
="$CFLAGS -g"
11933 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11934 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11935 if test "${ac_cv_prog_cc_g+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 cat >conftest.
$ac_ext <<_ACEOF
11941 cat confdefs.h
>>conftest.
$ac_ext
11942 cat >>conftest.
$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11953 rm -f conftest.
$ac_objext
11954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11955 (eval $ac_compile) 2>conftest.er1
11957 grep -v '^ *+' conftest.er1
>conftest.err
11959 cat conftest.err
>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } &&
11962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; } &&
11968 { ac_try
='test -s conftest.$ac_objext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 ac_cv_prog_cc_g
=yes
11976 echo "$as_me: failed program was:" >&5
11977 sed 's/^/| /' conftest.
$ac_ext >&5
11981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11983 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11984 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11985 if test "$ac_test_CFLAGS" = set; then
11986 CFLAGS
=$ac_save_CFLAGS
11987 elif test $ac_cv_prog_cc_g = yes; then
11988 if test "$GCC" = yes; then
11994 if test "$GCC" = yes; then
12006 ac_cpp
='$CPP $CPPFLAGS'
12007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12011 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12012 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12013 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 cat >conftest.
$ac_ext <<_ACEOF
12019 cat confdefs.h
>>conftest.
$ac_ext
12020 cat >>conftest.
$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12034 rm -f conftest.
$ac_objext
12035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12036 (eval $ac_compile) 2>conftest.er1
12038 grep -v '^ *+' conftest.er1
>conftest.err
12040 cat conftest.err
>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } &&
12043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045 (eval $ac_try) 2>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); }; } &&
12049 { ac_try
='test -s conftest.$ac_objext'
12050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12051 (eval $ac_try) 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); }; }; then
12055 bakefile_compiler_xlc
=yes
12057 echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.
$ac_ext >&5
12060 bakefile_compiler_xlc
=no
12062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12063 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12066 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12067 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12069 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12071 ac_cpp
='$CPP $CPPFLAGS'
12072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12081 ac_cpp
='$CPP $CPPFLAGS'
12082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12086 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12087 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12088 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12089 echo $ECHO_N "(cached) $ECHO_C" >&6
12091 cat >conftest.
$ac_ext <<_ACEOF
12094 cat confdefs.h
>>conftest.
$ac_ext
12095 cat >>conftest.
$ac_ext <<_ACEOF
12096 /* end confdefs.h. */
12109 rm -f conftest.
$ac_objext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12111 (eval $ac_compile) 2>conftest.er1
12113 grep -v '^ *+' conftest.er1
>conftest.err
12115 cat conftest.err
>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; } &&
12124 { ac_try
='test -s conftest.$ac_objext'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; }; then
12130 bakefile_compiler_mwerks
=yes
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.
$ac_ext >&5
12135 bakefile_compiler_mwerks
=no
12137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12138 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12141 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12142 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12144 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12146 ac_cpp
='$CPP $CPPFLAGS'
12147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12153 ac_cpp
='$CPP $CPPFLAGS'
12154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12158 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12159 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12160 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 cat >conftest.
$ac_ext <<_ACEOF
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12181 rm -f conftest.
$ac_objext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try
='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 bakefile_compiler_xlc
=yes
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 bakefile_compiler_xlc
=no
12209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12210 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12213 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12214 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12216 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12218 ac_cpp
='$CPP $CPPFLAGS'
12219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12230 ac_cpp
='$CPP $CPPFLAGS'
12231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12235 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12236 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12237 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 cat >conftest.
$ac_ext <<_ACEOF
12243 cat confdefs.h
>>conftest.
$ac_ext
12244 cat >>conftest.
$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12251 #ifndef _SGI_COMPILER_VERSION
12259 rm -f conftest.
$ac_objext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12261 (eval $ac_compile) 2>conftest.er1
12263 grep -v '^ *+' conftest.er1
>conftest.err
12265 cat conftest.err
>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try
='test -s conftest.$ac_objext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.
$ac_ext >&5
12285 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12293 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12295 ac_cpp
='$CPP $CPPFLAGS'
12296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12300 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12313 ac_cpp
='$CPP $CPPFLAGS'
12314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12318 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12319 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12320 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 cat >conftest.
$ac_ext <<_ACEOF
12326 cat confdefs.h
>>conftest.
$ac_ext
12327 cat >>conftest.
$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12342 rm -f conftest.
$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12346 grep -v '^ *+' conftest.er1
>conftest.err
12348 cat conftest.err
>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; } &&
12357 { ac_try
='test -s conftest.$ac_objext'
12358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359 (eval $ac_try) 2>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; }; then
12363 bakefile_cv_c_compiler___HP_cc
=yes
12365 echo "$as_me: failed program was:" >&5
12366 sed 's/^/| /' conftest.
$ac_ext >&5
12368 bakefile_cv_c_compiler___HP_cc
=no
12371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12375 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12376 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12378 ac_cpp
='$CPP $CPPFLAGS'
12379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12383 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12396 ac_cpp
='$CPP $CPPFLAGS'
12397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12401 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12402 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12403 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12404 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12425 rm -f conftest.
$ac_objext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12427 (eval $ac_compile) 2>conftest.er1
12429 grep -v '^ *+' conftest.er1
>conftest.err
12431 cat conftest.err
>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); } &&
12434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; } &&
12440 { ac_try
='test -s conftest.$ac_objext'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; }; then
12446 bakefile_cv_c_compiler___DECC
=yes
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.
$ac_ext >&5
12451 bakefile_cv_c_compiler___DECC
=no
12454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12458 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12459 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12461 ac_cpp
='$CPP $CPPFLAGS'
12462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12466 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12479 ac_cpp
='$CPP $CPPFLAGS'
12480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12484 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12485 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12486 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 cat >conftest.
$ac_ext <<_ACEOF
12492 cat confdefs.h
>>conftest.
$ac_ext
12493 cat >>conftest.
$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12508 rm -f conftest.
$ac_objext
12509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>conftest.er1
12512 grep -v '^ *+' conftest.er1
>conftest.err
12514 cat conftest.err
>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } &&
12517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; } &&
12523 { ac_try
='test -s conftest.$ac_objext'
12524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525 (eval $ac_try) 2>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); }; }; then
12529 bakefile_cv_c_compiler___SUNPRO_C
=yes
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.
$ac_ext >&5
12534 bakefile_cv_c_compiler___SUNPRO_C
=no
12537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12541 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12542 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12544 ac_cpp
='$CPP $CPPFLAGS'
12545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12549 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12563 ac_cpp
='$CPP $CPPFLAGS'
12564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12567 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12568 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12569 # On Suns, sometimes $CPP names a directory.
12570 if test -n "$CPP" && test -d "$CPP"; then
12573 if test -z "$CPP"; then
12574 if test "${ac_cv_prog_CPP+set}" = set; then
12575 echo $ECHO_N "(cached) $ECHO_C" >&6
12577 # Double quotes because CPP needs to be expanded
12578 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12580 ac_preproc_ok
=false
12581 for ac_c_preproc_warn_flag
in '' yes
12583 # Use a header file that comes with gcc, so configuring glibc
12584 # with a fresh cross-compiler works.
12585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12586 # <limits.h> exists even on freestanding compilers.
12587 # On the NeXT, cc -E runs the code through the compiler's parser,
12588 # not just through cpp. "Syntax error" is here to catch this case.
12589 cat >conftest.
$ac_ext <<_ACEOF
12592 cat confdefs.h
>>conftest.
$ac_ext
12593 cat >>conftest.
$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12596 # include <limits.h>
12598 # include <assert.h>
12602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12603 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12605 grep -v '^ *+' conftest.er1
>conftest.err
12607 cat conftest.err
>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } >/dev
/null
; then
12610 if test -s conftest.err
; then
12611 ac_cpp_err
=$ac_c_preproc_warn_flag
12612 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12619 if test -z "$ac_cpp_err"; then
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.
$ac_ext >&5
12625 # Broken: fails on valid input.
12628 rm -f conftest.err conftest.
$ac_ext
12630 # OK, works on sane cases. Now check whether non-existent headers
12631 # can be detected and how.
12632 cat >conftest.
$ac_ext <<_ACEOF
12635 cat confdefs.h
>>conftest.
$ac_ext
12636 cat >>conftest.
$ac_ext <<_ACEOF
12637 /* end confdefs.h. */
12638 #include <ac_nonexistent.h>
12640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12643 grep -v '^ *+' conftest.er1
>conftest.err
12645 cat conftest.err
>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } >/dev
/null
; then
12648 if test -s conftest.err
; then
12649 ac_cpp_err
=$ac_c_preproc_warn_flag
12650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12657 if test -z "$ac_cpp_err"; then
12658 # Broken: success on invalid input.
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.
$ac_ext >&5
12664 # Passes both tests.
12668 rm -f conftest.err conftest.
$ac_ext
12671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12672 rm -f conftest.err conftest.
$ac_ext
12673 if $ac_preproc_ok; then
12678 ac_cv_prog_CPP
=$CPP
12681 CPP
=$ac_cv_prog_CPP
12683 ac_cv_prog_CPP
=$CPP
12685 echo "$as_me:$LINENO: result: $CPP" >&5
12686 echo "${ECHO_T}$CPP" >&6
12687 ac_preproc_ok
=false
12688 for ac_c_preproc_warn_flag
in '' yes
12690 # Use a header file that comes with gcc, so configuring glibc
12691 # with a fresh cross-compiler works.
12692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12693 # <limits.h> exists even on freestanding compilers.
12694 # On the NeXT, cc -E runs the code through the compiler's parser,
12695 # not just through cpp. "Syntax error" is here to catch this case.
12696 cat >conftest.
$ac_ext <<_ACEOF
12699 cat confdefs.h
>>conftest.
$ac_ext
12700 cat >>conftest.
$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12703 # include <limits.h>
12705 # include <assert.h>
12709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12712 grep -v '^ *+' conftest.er1
>conftest.err
12714 cat conftest.err
>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); } >/dev
/null
; then
12717 if test -s conftest.err
; then
12718 ac_cpp_err
=$ac_c_preproc_warn_flag
12719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12726 if test -z "$ac_cpp_err"; then
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12732 # Broken: fails on valid input.
12735 rm -f conftest.err conftest.
$ac_ext
12737 # OK, works on sane cases. Now check whether non-existent headers
12738 # can be detected and how.
12739 cat >conftest.
$ac_ext <<_ACEOF
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12745 #include <ac_nonexistent.h>
12747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } >/dev
/null
; then
12755 if test -s conftest.err
; then
12756 ac_cpp_err
=$ac_c_preproc_warn_flag
12757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12764 if test -z "$ac_cpp_err"; then
12765 # Broken: success on invalid input.
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.
$ac_ext >&5
12771 # Passes both tests.
12775 rm -f conftest.err conftest.
$ac_ext
12778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12779 rm -f conftest.err conftest.
$ac_ext
12780 if $ac_preproc_ok; then
12783 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12784 See \`config.log' for more details." >&5
12785 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12786 See \`config.log' for more details." >&2;}
12787 { (exit 1); exit 1; }; }
12791 ac_cpp
='$CPP $CPPFLAGS'
12792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12797 echo "$as_me:$LINENO: checking for egrep" >&5
12798 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12799 if test "${ac_cv_prog_egrep+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12803 then ac_cv_prog_egrep
='grep -E'
12804 else ac_cv_prog_egrep
='egrep'
12807 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12808 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12809 EGREP
=$ac_cv_prog_egrep
12812 if test $ac_cv_c_compiler_gnu = yes; then
12813 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12814 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12815 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12816 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 ac_pattern
="Autoconf.*'x'"
12819 cat >conftest.
$ac_ext <<_ACEOF
12822 cat confdefs.h
>>conftest.
$ac_ext
12823 cat >>conftest.
$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12829 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12830 ac_cv_prog_gcc_traditional
=yes
12832 ac_cv_prog_gcc_traditional
=no
12837 if test $ac_cv_prog_gcc_traditional = no
; then
12838 cat >conftest.
$ac_ext <<_ACEOF
12841 cat confdefs.h
>>conftest.
$ac_ext
12842 cat >>conftest.
$ac_ext <<_ACEOF
12843 /* end confdefs.h. */
12844 #include <termio.h>
12847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12848 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12849 ac_cv_prog_gcc_traditional
=yes
12855 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12856 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12857 if test $ac_cv_prog_gcc_traditional = yes; then
12858 CC
="$CC -traditional"
12866 ac_cpp
='$CXXCPP $CPPFLAGS'
12867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12872 CXXFLAGS
=${CXXFLAGS:=}
12877 ac_cpp
='$CXXCPP $CPPFLAGS'
12878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12881 if test -n "$ac_tool_prefix"; then
12882 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12885 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12886 echo "$as_me:$LINENO: checking for $ac_word" >&5
12887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12888 if test "${ac_cv_prog_CXX+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 if test -n "$CXX"; then
12892 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12895 for as_dir
in $PATH
12898 test -z "$as_dir" && as_dir
=.
12899 for ac_exec_ext
in '' $ac_executable_extensions; do
12900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12901 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12910 CXX
=$ac_cv_prog_CXX
12911 if test -n "$CXX"; then
12912 echo "$as_me:$LINENO: result: $CXX" >&5
12913 echo "${ECHO_T}$CXX" >&6
12915 echo "$as_me:$LINENO: result: no" >&5
12916 echo "${ECHO_T}no" >&6
12919 test -n "$CXX" && break
12922 if test -z "$CXX"; then
12924 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12926 # Extract the first word of "$ac_prog", so it can be a program name with args.
12927 set dummy
$ac_prog; ac_word
=$2
12928 echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12930 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 if test -n "$ac_ct_CXX"; then
12934 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12937 for as_dir
in $PATH
12940 test -z "$as_dir" && as_dir
=.
12941 for ac_exec_ext
in '' $ac_executable_extensions; do
12942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12943 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12952 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12953 if test -n "$ac_ct_CXX"; then
12954 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12955 echo "${ECHO_T}$ac_ct_CXX" >&6
12957 echo "$as_me:$LINENO: result: no" >&5
12958 echo "${ECHO_T}no" >&6
12961 test -n "$ac_ct_CXX" && break
12963 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12969 # Provide some information about the compiler.
12970 echo "$as_me:$LINENO:" \
12971 "checking for C++ compiler version" >&5
12972 ac_compiler
=`set X $ac_compile; echo $2`
12973 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12974 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }
12978 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12979 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }
12983 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12984 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }
12989 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12990 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12991 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 cat >conftest.
$ac_ext <<_ACEOF
12997 cat confdefs.h
>>conftest.
$ac_ext
12998 cat >>conftest.
$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13012 rm -f conftest.
$ac_objext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13014 (eval $ac_compile) 2>conftest.er1
13016 grep -v '^ *+' conftest.er1
>conftest.err
13018 cat conftest.err
>&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); } &&
13021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; } &&
13027 { ac_try
='test -s conftest.$ac_objext'
13028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 (eval $ac_try) 2>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); }; }; then
13033 ac_compiler_gnu
=yes
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.
$ac_ext >&5
13040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13041 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13044 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13045 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13046 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13047 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13048 ac_save_CXXFLAGS
=$CXXFLAGS
13050 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13051 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13052 if test "${ac_cv_prog_cxx_g+set}" = set; then
13053 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 cat >conftest.
$ac_ext <<_ACEOF
13058 cat confdefs.h
>>conftest.
$ac_ext
13059 cat >>conftest.
$ac_ext <<_ACEOF
13060 /* end confdefs.h. */
13070 rm -f conftest.
$ac_objext
13071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13072 (eval $ac_compile) 2>conftest.er1
13074 grep -v '^ *+' conftest.er1
>conftest.err
13076 cat conftest.err
>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } &&
13079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try
='test -s conftest.$ac_objext'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; }; then
13091 ac_cv_prog_cxx_g
=yes
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.
$ac_ext >&5
13096 ac_cv_prog_cxx_g
=no
13098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13100 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13101 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13102 if test "$ac_test_CXXFLAGS" = set; then
13103 CXXFLAGS
=$ac_save_CXXFLAGS
13104 elif test $ac_cv_prog_cxx_g = yes; then
13105 if test "$GXX" = yes; then
13106 CXXFLAGS
="$CXXFLAGS -g -O2"
13108 CXXFLAGS
="$CXXFLAGS -g"
13111 if test "$GXX" = yes; then
13117 for ac_declaration
in \
13119 'extern "C" void std::exit (int) throw (); using std::exit;' \
13120 'extern "C" void std::exit (int); using std::exit;' \
13121 'extern "C" void exit (int) throw ();' \
13122 'extern "C" void exit (int);' \
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13132 #include <stdlib.h>
13141 rm -f conftest.
$ac_objext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13143 (eval $ac_compile) 2>conftest.er1
13145 grep -v '^ *+' conftest.er1
>conftest.err
13147 cat conftest.err
>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try
='test -s conftest.$ac_objext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.
$ac_ext >&5
13169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13170 cat >conftest.
$ac_ext <<_ACEOF
13173 cat confdefs.h
>>conftest.
$ac_ext
13174 cat >>conftest.
$ac_ext <<_ACEOF
13175 /* end confdefs.h. */
13185 rm -f conftest.
$ac_objext
13186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13187 (eval $ac_compile) 2>conftest.er1
13189 grep -v '^ *+' conftest.er1
>conftest.err
13191 cat conftest.err
>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } &&
13194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; } &&
13200 { ac_try
='test -s conftest.$ac_objext'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; }; then
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.
$ac_ext >&5
13212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13215 if test -n "$ac_declaration"; then
13216 echo '#ifdef __cplusplus' >>confdefs.h
13217 echo $ac_declaration >>confdefs.h
13218 echo '#endif' >>confdefs.h
13222 ac_cpp
='$CXXCPP $CPPFLAGS'
13223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13230 ac_cpp
='$CXXCPP $CPPFLAGS'
13231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13235 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13236 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13237 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 cat >conftest.
$ac_ext <<_ACEOF
13243 cat confdefs.h
>>conftest.
$ac_ext
13244 cat >>conftest.
$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13251 #ifndef __INTEL_COMPILER
13259 rm -f conftest.
$ac_objext
13260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13261 (eval $ac_compile) 2>conftest.er1
13263 grep -v '^ *+' conftest.er1
>conftest.err
13265 cat conftest.err
>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } &&
13268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } &&
13274 { ac_try
='test -s conftest.$ac_objext'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; }; then
13280 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.
$ac_ext >&5
13285 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13292 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13293 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13295 ac_cpp
='$CXXCPP $CPPFLAGS'
13296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13300 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13307 if test "x$GCXX" != "xyes"; then
13308 if test "xCXX" = "xC"; then
13309 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13310 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13311 if test "${bakefile_cv_cxx_exto+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 cat >conftest.
$ac_ext <<_ACEOF
13317 cat confdefs.h
>>conftest.
$ac_ext
13318 cat >>conftest.
$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13329 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13331 (eval $ac_compile) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; then
13335 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13337 conftest.
$ac_ext.o
)
13338 bakefile_cv_cxx_exto
="-ext o"
13345 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13346 See \`config.log' for more details." >&5
13347 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13348 See \`config.log' for more details." >&2;}
13349 { (exit 1); exit 1; }; }
13353 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13356 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13357 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13358 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13359 if test "cxx" = "c"; then
13360 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13362 if test "cxx" = "cxx"; then
13363 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13367 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13368 unset ac_cv_prog_cc_g
13369 ac_test_CFLAGS
=${CFLAGS+set}
13370 ac_save_CFLAGS
=$CFLAGS
13371 CFLAGS
="$CFLAGS -g"
13372 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13373 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13374 if test "${ac_cv_prog_cc_g+set}" = set; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 cat >conftest.
$ac_ext <<_ACEOF
13380 cat confdefs.h
>>conftest.
$ac_ext
13381 cat >>conftest.
$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13392 rm -f conftest.
$ac_objext
13393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13394 (eval $ac_compile) 2>conftest.er1
13396 grep -v '^ *+' conftest.er1
>conftest.err
13398 cat conftest.err
>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } &&
13401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; } &&
13407 { ac_try
='test -s conftest.$ac_objext'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; }; then
13413 ac_cv_prog_cc_g
=yes
13415 echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.
$ac_ext >&5
13420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13422 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13423 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13424 if test "$ac_test_CFLAGS" = set; then
13425 CFLAGS
=$ac_save_CFLAGS
13426 elif test $ac_cv_prog_cc_g = yes; then
13427 if test "$GCC" = yes; then
13433 if test "$GCC" = yes; then
13445 ac_cpp
='$CXXCPP $CPPFLAGS'
13446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13450 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13451 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13452 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 cat >conftest.
$ac_ext <<_ACEOF
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13473 rm -f conftest.
$ac_objext
13474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13475 (eval $ac_compile) 2>conftest.er1
13477 grep -v '^ *+' conftest.er1
>conftest.err
13479 cat conftest.err
>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; } &&
13488 { ac_try
='test -s conftest.$ac_objext'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; }; then
13494 bakefile_compiler_xlc
=yes
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.
$ac_ext >&5
13499 bakefile_compiler_xlc
=no
13501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13502 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13505 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13506 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13508 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13510 ac_cpp
='$CXXCPP $CPPFLAGS'
13511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13520 ac_cpp
='$CXXCPP $CPPFLAGS'
13521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13525 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13526 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13527 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 cat >conftest.
$ac_ext <<_ACEOF
13533 cat confdefs.h
>>conftest.
$ac_ext
13534 cat >>conftest.
$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13548 rm -f conftest.
$ac_objext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13550 (eval $ac_compile) 2>conftest.er1
13552 grep -v '^ *+' conftest.er1
>conftest.err
13554 cat conftest.err
>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try
='test -s conftest.$ac_objext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 bakefile_compiler_mwerks
=yes
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13574 bakefile_compiler_mwerks
=no
13576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13577 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13580 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13581 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13583 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13585 ac_cpp
='$CXXCPP $CPPFLAGS'
13586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13592 ac_cpp
='$CXXCPP $CPPFLAGS'
13593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13597 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13598 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13599 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 cat >conftest.
$ac_ext <<_ACEOF
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13620 rm -f conftest.
$ac_objext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13622 (eval $ac_compile) 2>conftest.er1
13624 grep -v '^ *+' conftest.er1
>conftest.err
13626 cat conftest.err
>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; } &&
13635 { ac_try
='test -s conftest.$ac_objext'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; }; then
13641 bakefile_compiler_xlc
=yes
13643 echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.
$ac_ext >&5
13646 bakefile_compiler_xlc
=no
13648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13649 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13652 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13653 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13655 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13657 ac_cpp
='$CXXCPP $CPPFLAGS'
13658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13669 ac_cpp
='$CXXCPP $CPPFLAGS'
13670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13674 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13675 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13676 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 cat >conftest.
$ac_ext <<_ACEOF
13682 cat confdefs.h
>>conftest.
$ac_ext
13683 cat >>conftest.
$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13690 #ifndef _SGI_COMPILER_VERSION
13698 rm -f conftest.
$ac_objext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13700 (eval $ac_compile) 2>conftest.er1
13702 grep -v '^ *+' conftest.er1
>conftest.err
13704 cat conftest.err
>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } &&
13707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; } &&
13713 { ac_try
='test -s conftest.$ac_objext'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; }; then
13719 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13721 echo "$as_me: failed program was:" >&5
13722 sed 's/^/| /' conftest.
$ac_ext >&5
13724 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13731 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13732 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13734 ac_cpp
='$CXXCPP $CPPFLAGS'
13735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13739 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13752 ac_cpp
='$CXXCPP $CPPFLAGS'
13753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13757 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13758 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13759 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13760 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 cat >conftest.
$ac_ext <<_ACEOF
13765 cat confdefs.h
>>conftest.
$ac_ext
13766 cat >>conftest.
$ac_ext <<_ACEOF
13767 /* end confdefs.h. */
13781 rm -f conftest.
$ac_objext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13783 (eval $ac_compile) 2>conftest.er1
13785 grep -v '^ *+' conftest.er1
>conftest.err
13787 cat conftest.err
>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } &&
13790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792 (eval $ac_try) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); }; } &&
13796 { ac_try
='test -s conftest.$ac_objext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13802 bakefile_cv_cxx_compiler___HP_aCC
=yes
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.
$ac_ext >&5
13807 bakefile_cv_cxx_compiler___HP_aCC
=no
13810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13814 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13815 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13817 ac_cpp
='$CXXCPP $CPPFLAGS'
13818 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13819 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13822 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13835 ac_cpp
='$CXXCPP $CPPFLAGS'
13836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13840 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13841 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13842 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 cat >conftest.
$ac_ext <<_ACEOF
13848 cat confdefs.h
>>conftest.
$ac_ext
13849 cat >>conftest.
$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13864 rm -f conftest.
$ac_objext
13865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13866 (eval $ac_compile) 2>conftest.er1
13868 grep -v '^ *+' conftest.er1
>conftest.err
13870 cat conftest.err
>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); } &&
13873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; } &&
13879 { ac_try
='test -s conftest.$ac_objext'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; }; then
13885 bakefile_cv_cxx_compiler___DECCXX
=yes
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.
$ac_ext >&5
13890 bakefile_cv_cxx_compiler___DECCXX
=no
13893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13897 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13898 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13900 ac_cpp
='$CXXCPP $CPPFLAGS'
13901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13905 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13918 ac_cpp
='$CXXCPP $CPPFLAGS'
13919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13923 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13924 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13925 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 cat >conftest.
$ac_ext <<_ACEOF
13931 cat confdefs.h
>>conftest.
$ac_ext
13932 cat >>conftest.
$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13939 #ifndef __SUNPRO_CC
13947 rm -f conftest.
$ac_objext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13949 (eval $ac_compile) 2>conftest.er1
13951 grep -v '^ *+' conftest.er1
>conftest.err
13953 cat conftest.err
>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; } &&
13962 { ac_try
='test -s conftest.$ac_objext'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13973 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13980 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13981 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13983 ac_cpp
='$CXXCPP $CPPFLAGS'
13984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13988 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14002 ac_cpp
='$CPP $CPPFLAGS'
14003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14008 if test -n "$ac_tool_prefix"; then
14009 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14010 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14011 echo "$as_me:$LINENO: checking for $ac_word" >&5
14012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14013 if test "${ac_cv_prog_RANLIB+set}" = set; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14016 if test -n "$RANLIB"; then
14017 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14020 for as_dir
in $PATH
14023 test -z "$as_dir" && as_dir
=.
14024 for ac_exec_ext
in '' $ac_executable_extensions; do
14025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14026 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14035 RANLIB
=$ac_cv_prog_RANLIB
14036 if test -n "$RANLIB"; then
14037 echo "$as_me:$LINENO: result: $RANLIB" >&5
14038 echo "${ECHO_T}$RANLIB" >&6
14040 echo "$as_me:$LINENO: result: no" >&5
14041 echo "${ECHO_T}no" >&6
14045 if test -z "$ac_cv_prog_RANLIB"; then
14046 ac_ct_RANLIB
=$RANLIB
14047 # Extract the first word of "ranlib", so it can be a program name with args.
14048 set dummy ranlib
; ac_word
=$2
14049 echo "$as_me:$LINENO: checking for $ac_word" >&5
14050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14051 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 if test -n "$ac_ct_RANLIB"; then
14055 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14058 for as_dir
in $PATH
14061 test -z "$as_dir" && as_dir
=.
14062 for ac_exec_ext
in '' $ac_executable_extensions; do
14063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14064 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14071 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14074 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14075 if test -n "$ac_ct_RANLIB"; then
14076 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14077 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14079 echo "$as_me:$LINENO: result: no" >&5
14080 echo "${ECHO_T}no" >&6
14083 RANLIB
=$ac_ct_RANLIB
14085 RANLIB
="$ac_cv_prog_RANLIB"
14089 if test -n "$ac_tool_prefix"; then
14090 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14091 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14092 echo "$as_me:$LINENO: checking for $ac_word" >&5
14093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14094 if test "${ac_cv_prog_AR+set}" = set; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14097 if test -n "$AR"; then
14098 ac_cv_prog_AR
="$AR" # Let the user override the test.
14100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14101 for as_dir
in $PATH
14104 test -z "$as_dir" && as_dir
=.
14105 for ac_exec_ext
in '' $ac_executable_extensions; do
14106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14107 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14117 if test -n "$AR"; then
14118 echo "$as_me:$LINENO: result: $AR" >&5
14119 echo "${ECHO_T}$AR" >&6
14121 echo "$as_me:$LINENO: result: no" >&5
14122 echo "${ECHO_T}no" >&6
14126 if test -z "$ac_cv_prog_AR"; then
14128 # Extract the first word of "ar", so it can be a program name with args.
14129 set dummy
ar; ac_word
=$2
14130 echo "$as_me:$LINENO: checking for $ac_word" >&5
14131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14132 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 if test -n "$ac_ct_AR"; then
14136 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14139 for as_dir
in $PATH
14142 test -z "$as_dir" && as_dir
=.
14143 for ac_exec_ext
in '' $ac_executable_extensions; do
14144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14145 ac_cv_prog_ac_ct_AR
="ar"
14146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14154 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14155 if test -n "$ac_ct_AR"; then
14156 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14157 echo "${ECHO_T}$ac_ct_AR" >&6
14159 echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6
14165 AR
="$ac_cv_prog_AR"
14168 if test "x$AR" = "x" ; then
14169 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14170 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14171 { (exit 1); exit 1; }; }
14174 # Find a good install program. We prefer a C program (faster),
14175 # so one script is as good as another. But avoid the broken or
14176 # incompatible versions:
14177 # SysV /etc/install, /usr/sbin/install
14178 # SunOS /usr/etc/install
14179 # IRIX /sbin/install
14181 # AmigaOS /C/install, which installs bootblocks on floppy discs
14182 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14183 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14184 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14185 # OS/2's system install, which has a completely different semantic
14186 # ./install, which can be erroneously created by make from ./install.sh.
14187 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14188 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14189 if test -z "$INSTALL"; then
14190 if test "${ac_cv_path_install+set}" = set; then
14191 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14194 for as_dir
in $PATH
14197 test -z "$as_dir" && as_dir
=.
14198 # Account for people who put trailing slashes in PATH elements.
14200 .
/ | .
// | /cC
/* | \
14201 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14202 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14205 # OSF1 and SCO ODT 3.0 have their own names for install.
14206 # Don't use installbsd from OSF since it installs stuff as root
14208 for ac_prog
in ginstall scoinst
install; do
14209 for ac_exec_ext
in '' $ac_executable_extensions; do
14210 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14211 if test $ac_prog = install &&
14212 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14213 # AIX install. It has an incompatible calling convention.
14215 elif test $ac_prog = install &&
14216 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14217 # program-specific install script used by HP pwplus--don't use.
14220 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14232 if test "${ac_cv_path_install+set}" = set; then
14233 INSTALL
=$ac_cv_path_install
14235 # As a last resort, use the slow shell script. We don't cache a
14236 # path for INSTALL within a source directory, because that will
14237 # break other packages using the cache if that directory is
14238 # removed, or if the path is relative.
14239 INSTALL
=$ac_install_sh
14242 echo "$as_me:$LINENO: result: $INSTALL" >&5
14243 echo "${ECHO_T}$INSTALL" >&6
14245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14246 # It thinks the first close brace ends the variable substitution.
14247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14251 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14257 ?
:* ) # Drive letter, considered as absolute.
14260 INSTALL
=`pwd`/${INSTALL} ;;
14267 INSTALL_PROGRAM
="cp -fp"
14268 INSTALL_DATA
="cp -fp"
14274 if test -n "$ac_tool_prefix"; then
14275 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14276 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14277 echo "$as_me:$LINENO: checking for $ac_word" >&5
14278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14279 if test "${ac_cv_prog_STRIP+set}" = set; then
14280 echo $ECHO_N "(cached) $ECHO_C" >&6
14282 if test -n "$STRIP"; then
14283 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14286 for as_dir
in $PATH
14289 test -z "$as_dir" && as_dir
=.
14290 for ac_exec_ext
in '' $ac_executable_extensions; do
14291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14292 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14301 STRIP
=$ac_cv_prog_STRIP
14302 if test -n "$STRIP"; then
14303 echo "$as_me:$LINENO: result: $STRIP" >&5
14304 echo "${ECHO_T}$STRIP" >&6
14306 echo "$as_me:$LINENO: result: no" >&5
14307 echo "${ECHO_T}no" >&6
14311 if test -z "$ac_cv_prog_STRIP"; then
14313 # Extract the first word of "strip", so it can be a program name with args.
14314 set dummy strip
; ac_word
=$2
14315 echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 if test -n "$ac_ct_STRIP"; then
14321 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14324 for as_dir
in $PATH
14327 test -z "$as_dir" && as_dir
=.
14328 for ac_exec_ext
in '' $ac_executable_extensions; do
14329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14330 ac_cv_prog_ac_ct_STRIP
="strip"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14337 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14340 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14341 if test -n "$ac_ct_STRIP"; then
14342 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14343 echo "${ECHO_T}$ac_ct_STRIP" >&6
14345 echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6
14351 STRIP
="$ac_cv_prog_STRIP"
14355 if test "$wxUSE_WINE" = "yes"; then
14356 if test -n "$ac_tool_prefix"; then
14357 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14358 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14359 echo "$as_me:$LINENO: checking for $ac_word" >&5
14360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14361 if test "${ac_cv_prog_WINDRES+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 if test -n "$WINDRES"; then
14365 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14368 for as_dir
in $PATH
14371 test -z "$as_dir" && as_dir
=.
14372 for ac_exec_ext
in '' $ac_executable_extensions; do
14373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14374 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14383 WINDRES
=$ac_cv_prog_WINDRES
14384 if test -n "$WINDRES"; then
14385 echo "$as_me:$LINENO: result: $WINDRES" >&5
14386 echo "${ECHO_T}$WINDRES" >&6
14388 echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6
14393 if test -z "$ac_cv_prog_WINDRES"; then
14394 ac_ct_WINDRES
=$WINDRES
14395 # Extract the first word of "wrc", so it can be a program name with args.
14396 set dummy wrc
; ac_word
=$2
14397 echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14399 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 if test -n "$ac_ct_WINDRES"; then
14403 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14406 for as_dir
in $PATH
14409 test -z "$as_dir" && as_dir
=.
14410 for ac_exec_ext
in '' $ac_executable_extensions; do
14411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14412 ac_cv_prog_ac_ct_WINDRES
="wrc"
14413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14422 if test -n "$ac_ct_WINDRES"; then
14423 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14424 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14426 echo "$as_me:$LINENO: result: no" >&5
14427 echo "${ECHO_T}no" >&6
14430 WINDRES
=$ac_ct_WINDRES
14432 WINDRES
="$ac_cv_prog_WINDRES"
14437 *-*-cygwin* | *-*-mingw32* )
14438 if test -n "$ac_tool_prefix"; then
14439 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14440 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14441 echo "$as_me:$LINENO: checking for $ac_word" >&5
14442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14443 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 if test -n "$DLLTOOL"; then
14447 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14450 for as_dir
in $PATH
14453 test -z "$as_dir" && as_dir
=.
14454 for ac_exec_ext
in '' $ac_executable_extensions; do
14455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14456 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14465 DLLTOOL
=$ac_cv_prog_DLLTOOL
14466 if test -n "$DLLTOOL"; then
14467 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14468 echo "${ECHO_T}$DLLTOOL" >&6
14470 echo "$as_me:$LINENO: result: no" >&5
14471 echo "${ECHO_T}no" >&6
14475 if test -z "$ac_cv_prog_DLLTOOL"; then
14476 ac_ct_DLLTOOL
=$DLLTOOL
14477 # Extract the first word of "dlltool", so it can be a program name with args.
14478 set dummy dlltool
; ac_word
=$2
14479 echo "$as_me:$LINENO: checking for $ac_word" >&5
14480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14481 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 if test -n "$ac_ct_DLLTOOL"; then
14485 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14488 for as_dir
in $PATH
14491 test -z "$as_dir" && as_dir
=.
14492 for ac_exec_ext
in '' $ac_executable_extensions; do
14493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14494 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14503 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14504 if test -n "$ac_ct_DLLTOOL"; then
14505 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14506 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14508 echo "$as_me:$LINENO: result: no" >&5
14509 echo "${ECHO_T}no" >&6
14512 DLLTOOL
=$ac_ct_DLLTOOL
14514 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14521 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14522 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14523 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14528 egrep -s GNU
> /dev
/null
); then
14529 wx_cv_prog_makeisgnu
="yes"
14531 wx_cv_prog_makeisgnu
="no"
14535 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14536 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14538 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14546 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14547 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14548 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14549 if test "${wx_cv_prog_makevpath+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 cat - << EOF > confMake
14559 if test ! -d sub
; then
14562 echo dummy
> sub
/file
14563 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14565 rm -f sub
/file check final_file confMake
14567 if test "$RESULT" = 0; then
14568 wx_cv_prog_makevpath
="yes"
14570 wx_cv_prog_makevpath
="no"
14574 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14575 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14577 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14578 { { echo "$as_me:$LINENO: error:
14579 You need a make-utility that is able to use the variable
14581 If your version of make does not support VPATH correctly,
14582 please install GNU-make (possibly as gmake), and start
14583 configure with the following command:
14584 export MAKE=gmake; ./configure for sh-type shells
14585 setenv MAKE gmake; ./configure for csh-type shells
14586 Also please do remember to use gmake in this case every time
14587 you are trying to compile.
14589 echo "$as_me: error:
14590 You need a make-utility that is able to use the variable
14592 If your version of make does not support VPATH correctly,
14593 please install GNU-make (possibly as gmake), and start
14594 configure with the following command:
14595 export MAKE=gmake; ./configure for sh-type shells
14596 setenv MAKE gmake; ./configure for csh-type shells
14597 Also please do remember to use gmake in this case every time
14598 you are trying to compile.
14600 { (exit 1); exit 1; }; }
14602 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14603 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14605 if test "$LN_S" = "ln -s"; then
14606 echo "$as_me:$LINENO: result: yes" >&5
14607 echo "${ECHO_T}yes" >&6
14609 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14610 echo "${ECHO_T}no, using $LN_S" >&6
14614 for ac_prog
in lndir
14616 # Extract the first word of "$ac_prog", so it can be a program name with args.
14617 set dummy
$ac_prog; ac_word
=$2
14618 echo "$as_me:$LINENO: checking for $ac_word" >&5
14619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14620 if test "${ac_cv_prog_LNDIR+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 if test -n "$LNDIR"; then
14624 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14627 for as_dir
in $PATH
14630 test -z "$as_dir" && as_dir
=.
14631 for ac_exec_ext
in '' $ac_executable_extensions; do
14632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14633 ac_cv_prog_LNDIR
="$ac_prog"
14634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14642 LNDIR
=$ac_cv_prog_LNDIR
14643 if test -n "$LNDIR"; then
14644 echo "$as_me:$LINENO: result: $LNDIR" >&5
14645 echo "${ECHO_T}$LNDIR" >&6
14647 echo "$as_me:$LINENO: result: no" >&5
14648 echo "${ECHO_T}no" >&6
14651 test -n "$LNDIR" && break
14653 test -n "$LNDIR" || LNDIR
="cp -pR"
14658 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14659 CXXFLAGS
="$CXXFLAGS -qunique"
14663 powerpc
-*-darwin* )
14664 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14665 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14676 #ifndef __POWERPC__
14677 choke me for lack of PowerPC
14684 rm -f conftest.
$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14688 grep -v '^ *+' conftest.er1
>conftest.err
14690 cat conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try
='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 echo "$as_me:$LINENO: result: yes" >&5
14706 echo "${ECHO_T}yes" >&6
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.
$ac_ext >&5
14711 echo "$as_me:$LINENO: result: no" >&5
14712 echo "${ECHO_T}no" >&6
14713 cat >>confdefs.h
<<\_ACEOF
14714 #define __POWERPC__ 1
14719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14725 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14726 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14727 cat >conftest.
$ac_ext <<_ACEOF
14730 cat confdefs.h
>>conftest.
$ac_ext
14731 cat >>conftest.
$ac_ext <<_ACEOF
14732 /* end confdefs.h. */
14733 #include <CoreFoundation/CFBase.h>
14743 rm -f conftest.
$ac_objext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14745 (eval $ac_compile) 2>conftest.er1
14747 grep -v '^ *+' conftest.er1
>conftest.err
14749 cat conftest.err
>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; } &&
14758 { ac_try
='test -s conftest.$ac_objext'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; }; then
14764 echo "$as_me:$LINENO: result: yes" >&5
14765 echo "${ECHO_T}yes" >&6
14767 echo "$as_me: failed program was:" >&5
14768 sed 's/^/| /' conftest.
$ac_ext >&5
14770 echo "$as_me:$LINENO: result: no" >&5
14771 echo "${ECHO_T}no" >&6
14772 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14773 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14774 cat >conftest.
$ac_ext <<_ACEOF
14777 cat confdefs.h
>>conftest.
$ac_ext
14778 cat >>conftest.
$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 #define __CF_USE_FRAMEWORK_INCLUDES__
14781 #include <CoreFoundation/CFBase.h>
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" || test ! -s conftest.err'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; } &&
14806 { ac_try
='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14812 echo "$as_me:$LINENO: result: yes" >&5
14813 echo "${ECHO_T}yes" >&6
14814 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14820 See \`config.log' for more details." >&5
14821 echo "$as_me: error: no. CoreFoundation not available.
14822 See \`config.log' for more details." >&2;}
14823 { (exit 1); exit 1; }; }
14826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 *-pc-os2_emx | *-pc-os2-emx )
14836 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14837 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14838 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14839 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 ac_check_lib_save_LIBS
=$LIBS
14843 LIBS
="-lcExt $LIBS"
14844 cat >conftest.
$ac_ext <<_ACEOF
14847 cat confdefs.h
>>conftest.
$ac_ext
14848 cat >>conftest.
$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14851 /* Override any gcc2 internal prototype to avoid an error. */
14855 /* We use char because int might match the return type of a gcc2
14856 builtin and then its argument prototype would still apply. */
14866 rm -f conftest.
$ac_objext conftest
$ac_exeext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14868 (eval $ac_link) 2>conftest.er1
14870 grep -v '^ *+' conftest.er1
>conftest.err
14872 cat conftest.err
>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try
='test -s conftest$ac_exeext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_cv_lib_cExt_drand48
=yes
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.
$ac_ext >&5
14892 ac_cv_lib_cExt_drand48
=no
14894 rm -f conftest.err conftest.
$ac_objext \
14895 conftest
$ac_exeext conftest.
$ac_ext
14896 LIBS
=$ac_check_lib_save_LIBS
14898 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14899 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14900 if test $ac_cv_lib_cExt_drand48 = yes; then
14901 LIBS
="$LIBS -lcExt"
14905 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14907 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14908 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14909 if test "${wx_cv_gccversion+set}" = set; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 if test "$cross_compiling" = yes; then
14914 wx_cv_gccversion
="EMX2"
14917 cat >conftest.
$ac_ext <<_ACEOF
14920 cat confdefs.h
>>conftest.
$ac_ext
14921 cat >>conftest.
$ac_ext <<_ACEOF
14922 /* end confdefs.h. */
14928 FILE *f=fopen("conftestval", "w");
14933 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14935 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14945 rm -f conftest
$ac_exeext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14947 (eval $ac_link) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; }; then
14956 wx_cv_gccversion
=`cat conftestval`
14958 echo "$as_me: program exited with status $ac_status" >&5
14959 echo "$as_me: failed program was:" >&5
14960 sed 's/^/| /' conftest.
$ac_ext >&5
14962 ( exit $ac_status )
14963 wx_cv_gccversion
="EMX2"
14965 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14969 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14970 echo "${ECHO_T}$wx_cv_gccversion" >&6
14971 if test "$wx_cv_gccversion" = "EMX2"; then
14972 LIBS
="$LIBS -lstdcpp"
14973 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14975 if test "$wx_cv_gccversion" = "EMX3"; then
14976 LIBS
="$LIBS -lstdcxx -lgcc"
14977 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14979 LIBS
="$LIBS -lstdc++"
14982 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14983 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14984 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14994 ac_cpp
='$CXXCPP $CPPFLAGS'
14995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15000 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15001 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15002 if test "${ac_cv_string_strcasecmp+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 cat >conftest.
$ac_ext <<_ACEOF
15009 cat confdefs.h
>>conftest.
$ac_ext
15010 cat >>conftest.
$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15013 #include <string.h>
15019 strcasecmp("foo", "bar");
15025 rm -f conftest.
$ac_objext conftest
$ac_exeext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15027 (eval $ac_link) 2>conftest.er1
15029 grep -v '^ *+' conftest.er1
>conftest.err
15031 cat conftest.err
>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; } &&
15040 { ac_try
='test -s conftest$ac_exeext'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_cv_string_strcasecmp
=yes
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.
$ac_ext >&5
15051 ac_cv_string_strcasecmp
=no
15054 rm -f conftest.err conftest.
$ac_objext \
15055 conftest
$ac_exeext conftest.
$ac_ext
15058 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15059 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15061 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15062 cat >>confdefs.h
<<\_ACEOF
15063 #define HAVE_STRCASECMP_IN_STRING_H 1
15067 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15068 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15069 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15073 cat >conftest.
$ac_ext <<_ACEOF
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15080 #include <strings.h>
15086 strcasecmp("foo", "bar");
15092 rm -f conftest.
$ac_objext conftest
$ac_exeext
15093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15094 (eval $ac_link) 2>conftest.er1
15096 grep -v '^ *+' conftest.er1
>conftest.err
15098 cat conftest.err
>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); } &&
15101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; } &&
15107 { ac_try
='test -s conftest$ac_exeext'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; }; then
15113 ac_cv_strings_strcasecmp
=yes
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.
$ac_ext >&5
15118 ac_cv_strings_strcasecmp
=no
15121 rm -f conftest.err conftest.
$ac_objext \
15122 conftest
$ac_exeext conftest.
$ac_ext
15125 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15126 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15128 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15129 cat >>confdefs.h
<<\_ACEOF
15130 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15134 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15135 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15136 { (exit 1); exit 1; }; }
15141 ac_cpp
='$CPP $CPPFLAGS'
15142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15150 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15151 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15152 if test "${ac_cv_header_stdc+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 cat >conftest.
$ac_ext <<_ACEOF
15158 cat confdefs.h
>>conftest.
$ac_ext
15159 cat >>conftest.
$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161 #include <stdlib.h>
15162 #include <stdarg.h>
15163 #include <string.h>
15174 rm -f conftest.
$ac_objext
15175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15176 (eval $ac_compile) 2>conftest.er1
15178 grep -v '^ *+' conftest.er1
>conftest.err
15180 cat conftest.err
>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); } &&
15183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; } &&
15189 { ac_try
='test -s conftest.$ac_objext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_header_stdc
=yes
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.
$ac_ext >&5
15200 ac_cv_header_stdc
=no
15202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15204 if test $ac_cv_header_stdc = yes; then
15205 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15206 cat >conftest.
$ac_ext <<_ACEOF
15209 cat confdefs.h
>>conftest.
$ac_ext
15210 cat >>conftest.
$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212 #include <string.h>
15215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15216 $EGREP "memchr" >/dev
/null
2>&1; then
15219 ac_cv_header_stdc
=no
15225 if test $ac_cv_header_stdc = yes; then
15226 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15227 cat >conftest.
$ac_ext <<_ACEOF
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15233 #include <stdlib.h>
15236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15237 $EGREP "free" >/dev
/null
2>&1; then
15240 ac_cv_header_stdc
=no
15246 if test $ac_cv_header_stdc = yes; then
15247 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15248 if test "$cross_compiling" = yes; then
15251 cat >conftest.
$ac_ext <<_ACEOF
15254 cat confdefs.h
>>conftest.
$ac_ext
15255 cat >>conftest.
$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15258 #if ((' ' & 0x0FF) == 0x020)
15259 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15260 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15262 # define ISLOWER(c) \
15263 (('a' <= (c) && (c) <= 'i') \
15264 || ('j' <= (c) && (c) <= 'r') \
15265 || ('s' <= (c) && (c) <= 'z'))
15266 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15269 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15274 for (i = 0; i < 256; i++)
15275 if (XOR (islower (i), ISLOWER (i))
15276 || toupper (i) != TOUPPER (i))
15281 rm -f conftest
$ac_exeext
15282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15283 (eval $ac_link) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; }; then
15294 echo "$as_me: program exited with status $ac_status" >&5
15295 echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.
$ac_ext >&5
15298 ( exit $ac_status )
15299 ac_cv_header_stdc
=no
15301 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15305 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15306 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15307 if test $ac_cv_header_stdc = yes; then
15309 cat >>confdefs.h
<<\_ACEOF
15310 #define STDC_HEADERS 1
15315 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15325 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15326 inttypes.h stdint.h unistd.h
15328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15329 echo "$as_me:$LINENO: checking for $ac_header" >&5
15330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 cat >conftest.
$ac_ext <<_ACEOF
15337 cat confdefs.h
>>conftest.
$ac_ext
15338 cat >>conftest.
$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 $ac_includes_default
15342 #include <$ac_header>
15344 rm -f conftest.
$ac_objext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>conftest.er1
15348 grep -v '^ *+' conftest.er1
>conftest.err
15350 cat conftest.err
>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try
='test -s conftest.$ac_objext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 eval "$as_ac_Header=yes"
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 eval "$as_ac_Header=no"
15372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15377 cat >>confdefs.h
<<_ACEOF
15378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15387 for ac_header
in stdlib.h
15389 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15391 echo "$as_me:$LINENO: checking for $ac_header" >&5
15392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15399 # Is the header compilable?
15400 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15402 cat >conftest.
$ac_ext <<_ACEOF
15405 cat confdefs.h
>>conftest.
$ac_ext
15406 cat >>conftest.
$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408 $ac_includes_default
15409 #include <$ac_header>
15411 rm -f conftest.
$ac_objext
15412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15413 (eval $ac_compile) 2>conftest.er1
15415 grep -v '^ *+' conftest.er1
>conftest.err
15417 cat conftest.err
>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } &&
15420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; } &&
15426 { ac_try
='test -s conftest.$ac_objext'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; }; then
15432 ac_header_compiler
=yes
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.
$ac_ext >&5
15437 ac_header_compiler
=no
15439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15441 echo "${ECHO_T}$ac_header_compiler" >&6
15443 # Is the header present?
15444 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15446 cat >conftest.
$ac_ext <<_ACEOF
15449 cat confdefs.h
>>conftest.
$ac_ext
15450 cat >>conftest.
$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 #include <$ac_header>
15454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15457 grep -v '^ *+' conftest.er1
>conftest.err
15459 cat conftest.err
>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } >/dev
/null
; then
15462 if test -s conftest.err
; then
15463 ac_cpp_err
=$ac_c_preproc_warn_flag
15464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15471 if test -z "$ac_cpp_err"; then
15472 ac_header_preproc
=yes
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15477 ac_header_preproc
=no
15479 rm -f conftest.err conftest.
$ac_ext
15480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15481 echo "${ECHO_T}$ac_header_preproc" >&6
15483 # So? What about this header?
15484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15490 ac_header_preproc
=yes
15493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15507 ## ----------------------------------------- ##
15508 ## Report this to wx-dev@lists.wxwidgets.org ##
15509 ## ----------------------------------------- ##
15512 sed "s/^/$as_me: WARNING: /" >&2
15515 echo "$as_me:$LINENO: checking for $ac_header" >&5
15516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 eval "$as_ac_Header=\$ac_header_preproc"
15522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15527 cat >>confdefs.h
<<_ACEOF
15528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15536 for ac_header
in malloc.h
15538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15540 echo "$as_me:$LINENO: checking for $ac_header" >&5
15541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15548 # Is the header compilable?
15549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557 $ac_includes_default
15558 #include <$ac_header>
15560 rm -f conftest.
$ac_objext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15562 (eval $ac_compile) 2>conftest.er1
15564 grep -v '^ *+' conftest.er1
>conftest.err
15566 cat conftest.err
>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15571 (eval $ac_try) 2>&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); }; } &&
15575 { ac_try
='test -s conftest.$ac_objext'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; }; then
15581 ac_header_compiler
=yes
15583 echo "$as_me: failed program was:" >&5
15584 sed 's/^/| /' conftest.
$ac_ext >&5
15586 ac_header_compiler
=no
15588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15590 echo "${ECHO_T}$ac_header_compiler" >&6
15592 # Is the header present?
15593 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15595 cat >conftest.
$ac_ext <<_ACEOF
15598 cat confdefs.h
>>conftest.
$ac_ext
15599 cat >>conftest.
$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15601 #include <$ac_header>
15603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15604 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15606 grep -v '^ *+' conftest.er1
>conftest.err
15608 cat conftest.err
>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); } >/dev
/null
; then
15611 if test -s conftest.err
; then
15612 ac_cpp_err
=$ac_c_preproc_warn_flag
15613 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15620 if test -z "$ac_cpp_err"; then
15621 ac_header_preproc
=yes
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.
$ac_ext >&5
15626 ac_header_preproc
=no
15628 rm -f conftest.err conftest.
$ac_ext
15629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15630 echo "${ECHO_T}$ac_header_preproc" >&6
15632 # So? What about this header?
15633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15639 ac_header_preproc
=yes
15642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15656 ## ----------------------------------------- ##
15657 ## Report this to wx-dev@lists.wxwidgets.org ##
15658 ## ----------------------------------------- ##
15661 sed "s/^/$as_me: WARNING: /" >&2
15664 echo "$as_me:$LINENO: checking for $ac_header" >&5
15665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 eval "$as_ac_Header=\$ac_header_preproc"
15671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15676 cat >>confdefs.h
<<_ACEOF
15677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15685 for ac_header
in unistd.h
15687 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15689 echo "$as_me:$LINENO: checking for $ac_header" >&5
15690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15697 # Is the header compilable?
15698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15700 cat >conftest.
$ac_ext <<_ACEOF
15703 cat confdefs.h
>>conftest.
$ac_ext
15704 cat >>conftest.
$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15707 #include <$ac_header>
15709 rm -f conftest.
$ac_objext
15710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15711 (eval $ac_compile) 2>conftest.er1
15713 grep -v '^ *+' conftest.er1
>conftest.err
15715 cat conftest.err
>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } &&
15718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; } &&
15724 { ac_try
='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_header_compiler
=yes
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.
$ac_ext >&5
15735 ac_header_compiler
=no
15737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15739 echo "${ECHO_T}$ac_header_compiler" >&6
15741 # Is the header present?
15742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15744 cat >conftest.
$ac_ext <<_ACEOF
15747 cat confdefs.h
>>conftest.
$ac_ext
15748 cat >>conftest.
$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15750 #include <$ac_header>
15752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15755 grep -v '^ *+' conftest.er1
>conftest.err
15757 cat conftest.err
>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); } >/dev
/null
; then
15760 if test -s conftest.err
; then
15761 ac_cpp_err
=$ac_c_preproc_warn_flag
15762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15769 if test -z "$ac_cpp_err"; then
15770 ac_header_preproc
=yes
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.
$ac_ext >&5
15775 ac_header_preproc
=no
15777 rm -f conftest.err conftest.
$ac_ext
15778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15779 echo "${ECHO_T}$ac_header_preproc" >&6
15781 # So? What about this header?
15782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15788 ac_header_preproc
=yes
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15805 ## ----------------------------------------- ##
15806 ## Report this to wx-dev@lists.wxwidgets.org ##
15807 ## ----------------------------------------- ##
15810 sed "s/^/$as_me: WARNING: /" >&2
15813 echo "$as_me:$LINENO: checking for $ac_header" >&5
15814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 eval "$as_ac_Header=\$ac_header_preproc"
15820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15825 cat >>confdefs.h
<<_ACEOF
15826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15834 for ac_header
in wchar.h
15836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15838 echo "$as_me:$LINENO: checking for $ac_header" >&5
15839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15846 # Is the header compilable?
15847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15849 cat >conftest.
$ac_ext <<_ACEOF
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 $ac_includes_default
15856 #include <$ac_header>
15858 rm -f conftest.
$ac_objext
15859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15860 (eval $ac_compile) 2>conftest.er1
15862 grep -v '^ *+' conftest.er1
>conftest.err
15864 cat conftest.err
>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try
='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_header_compiler
=yes
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 ac_header_compiler
=no
15886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15888 echo "${ECHO_T}$ac_header_compiler" >&6
15890 # Is the header present?
15891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15893 cat >conftest.
$ac_ext <<_ACEOF
15896 cat confdefs.h
>>conftest.
$ac_ext
15897 cat >>conftest.
$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899 #include <$ac_header>
15901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15902 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15904 grep -v '^ *+' conftest.er1
>conftest.err
15906 cat conftest.err
>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } >/dev
/null
; then
15909 if test -s conftest.err
; then
15910 ac_cpp_err
=$ac_c_preproc_warn_flag
15911 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15918 if test -z "$ac_cpp_err"; then
15919 ac_header_preproc
=yes
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.
$ac_ext >&5
15924 ac_header_preproc
=no
15926 rm -f conftest.err conftest.
$ac_ext
15927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15928 echo "${ECHO_T}$ac_header_preproc" >&6
15930 # So? What about this header?
15931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15937 ac_header_preproc
=yes
15940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15954 ## ----------------------------------------- ##
15955 ## Report this to wx-dev@lists.wxwidgets.org ##
15956 ## ----------------------------------------- ##
15959 sed "s/^/$as_me: WARNING: /" >&2
15962 echo "$as_me:$LINENO: checking for $ac_header" >&5
15963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 eval "$as_ac_Header=\$ac_header_preproc"
15969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15974 cat >>confdefs.h
<<_ACEOF
15975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15983 if test "$ac_cv_header_wchar_h" != "yes"; then
15985 for ac_header
in wcstr.h
15987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15989 echo "$as_me:$LINENO: checking for $ac_header" >&5
15990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15992 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15997 # Is the header compilable?
15998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16000 cat >conftest.
$ac_ext <<_ACEOF
16003 cat confdefs.h
>>conftest.
$ac_ext
16004 cat >>conftest.
$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16007 #include <$ac_header>
16009 rm -f conftest.
$ac_objext
16010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16011 (eval $ac_compile) 2>conftest.er1
16013 grep -v '^ *+' conftest.er1
>conftest.err
16015 cat conftest.err
>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } &&
16018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; } &&
16024 { ac_try
='test -s conftest.$ac_objext'
16025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16026 (eval $ac_try) 2>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; }; then
16030 ac_header_compiler
=yes
16032 echo "$as_me: failed program was:" >&5
16033 sed 's/^/| /' conftest.
$ac_ext >&5
16035 ac_header_compiler
=no
16037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16039 echo "${ECHO_T}$ac_header_compiler" >&6
16041 # Is the header present?
16042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16044 cat >conftest.
$ac_ext <<_ACEOF
16047 cat confdefs.h
>>conftest.
$ac_ext
16048 cat >>conftest.
$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16050 #include <$ac_header>
16052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16055 grep -v '^ *+' conftest.er1
>conftest.err
16057 cat conftest.err
>&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); } >/dev
/null
; then
16060 if test -s conftest.err
; then
16061 ac_cpp_err
=$ac_c_preproc_warn_flag
16062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16069 if test -z "$ac_cpp_err"; then
16070 ac_header_preproc
=yes
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.
$ac_ext >&5
16075 ac_header_preproc
=no
16077 rm -f conftest.err conftest.
$ac_ext
16078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16079 echo "${ECHO_T}$ac_header_preproc" >&6
16081 # So? What about this header?
16082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16088 ac_header_preproc
=yes
16091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16105 ## ----------------------------------------- ##
16106 ## Report this to wx-dev@lists.wxwidgets.org ##
16107 ## ----------------------------------------- ##
16110 sed "s/^/$as_me: WARNING: /" >&2
16113 echo "$as_me:$LINENO: checking for $ac_header" >&5
16114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16116 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 eval "$as_ac_Header=\$ac_header_preproc"
16120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16125 cat >>confdefs.h
<<_ACEOF
16126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16136 for ac_header
in fnmatch.h
16138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16140 echo "$as_me:$LINENO: checking for $ac_header" >&5
16141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16148 # Is the header compilable?
16149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16151 cat >conftest.
$ac_ext <<_ACEOF
16154 cat confdefs.h
>>conftest.
$ac_ext
16155 cat >>conftest.
$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 $ac_includes_default
16158 #include <$ac_header>
16160 rm -f conftest.
$ac_objext
16161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16162 (eval $ac_compile) 2>conftest.er1
16164 grep -v '^ *+' conftest.er1
>conftest.err
16166 cat conftest.err
>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); } &&
16169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; } &&
16175 { ac_try
='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_header_compiler
=yes
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 ac_header_compiler
=no
16188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16190 echo "${ECHO_T}$ac_header_compiler" >&6
16192 # Is the header present?
16193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16195 cat >conftest.
$ac_ext <<_ACEOF
16198 cat confdefs.h
>>conftest.
$ac_ext
16199 cat >>conftest.
$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 #include <$ac_header>
16203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16206 grep -v '^ *+' conftest.er1
>conftest.err
16208 cat conftest.err
>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } >/dev
/null
; then
16211 if test -s conftest.err
; then
16212 ac_cpp_err
=$ac_c_preproc_warn_flag
16213 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16220 if test -z "$ac_cpp_err"; then
16221 ac_header_preproc
=yes
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.
$ac_ext >&5
16226 ac_header_preproc
=no
16228 rm -f conftest.err conftest.
$ac_ext
16229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16230 echo "${ECHO_T}$ac_header_preproc" >&6
16232 # So? What about this header?
16233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16239 ac_header_preproc
=yes
16242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16256 ## ----------------------------------------- ##
16257 ## Report this to wx-dev@lists.wxwidgets.org ##
16258 ## ----------------------------------------- ##
16261 sed "s/^/$as_me: WARNING: /" >&2
16264 echo "$as_me:$LINENO: checking for $ac_header" >&5
16265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 eval "$as_ac_Header=\$ac_header_preproc"
16271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16276 cat >>confdefs.h
<<_ACEOF
16277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16286 for ac_header
in langinfo.h
16288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16290 echo "$as_me:$LINENO: checking for $ac_header" >&5
16291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16298 # Is the header compilable?
16299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16301 cat >conftest.
$ac_ext <<_ACEOF
16304 cat confdefs.h
>>conftest.
$ac_ext
16305 cat >>conftest.
$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16307 $ac_includes_default
16308 #include <$ac_header>
16310 rm -f conftest.
$ac_objext
16311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16312 (eval $ac_compile) 2>conftest.er1
16314 grep -v '^ *+' conftest.er1
>conftest.err
16316 cat conftest.err
>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } &&
16319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; } &&
16325 { ac_try
='test -s conftest.$ac_objext'
16326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16327 (eval $ac_try) 2>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }; }; then
16331 ac_header_compiler
=yes
16333 echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.
$ac_ext >&5
16336 ac_header_compiler
=no
16338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16340 echo "${ECHO_T}$ac_header_compiler" >&6
16342 # Is the header present?
16343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16345 cat >conftest.
$ac_ext <<_ACEOF
16348 cat confdefs.h
>>conftest.
$ac_ext
16349 cat >>conftest.
$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16351 #include <$ac_header>
16353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16356 grep -v '^ *+' conftest.er1
>conftest.err
16358 cat conftest.err
>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } >/dev
/null
; then
16361 if test -s conftest.err
; then
16362 ac_cpp_err
=$ac_c_preproc_warn_flag
16363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16370 if test -z "$ac_cpp_err"; then
16371 ac_header_preproc
=yes
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 ac_header_preproc
=no
16378 rm -f conftest.err conftest.
$ac_ext
16379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16380 echo "${ECHO_T}$ac_header_preproc" >&6
16382 # So? What about this header?
16383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16389 ac_header_preproc
=yes
16392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16406 ## ----------------------------------------- ##
16407 ## Report this to wx-dev@lists.wxwidgets.org ##
16408 ## ----------------------------------------- ##
16411 sed "s/^/$as_me: WARNING: /" >&2
16414 echo "$as_me:$LINENO: checking for $ac_header" >&5
16415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16417 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 eval "$as_ac_Header=\$ac_header_preproc"
16421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16426 cat >>confdefs.h
<<_ACEOF
16427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16436 *-pc-os2_emx | *-pc-os2-emx )
16437 if test $ac_cv_header_langinfo_h = "yes" \
16438 -a \
( "$wx_cv_gccversion" = "EMX2" \
16439 -o "$wx_cv_gccversion" = "EMX3" \
16440 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16441 LIBS
="$LIBS -lintl"
16447 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16448 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16449 if test "${ac_cv_c_const+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 cat >conftest.
$ac_ext <<_ACEOF
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16462 /* FIXME: Include the comments suggested by Paul. */
16463 #ifndef __cplusplus
16464 /* Ultrix mips cc rejects this. */
16465 typedef int charset[2];
16467 /* SunOS 4.1.1 cc rejects this. */
16468 char const *const *ccp;
16470 /* NEC SVR4.0.2 mips cc rejects this. */
16471 struct point {int x, y;};
16472 static struct point const zero = {0,0};
16473 /* AIX XL C 1.02.0.0 rejects this.
16474 It does not let you subtract one const X* pointer from another in
16475 an arm of an if-expression whose if-part is not a constant
16477 const char *g = "string";
16478 ccp = &g + (g ? g-g : 0);
16479 /* HPUX 7.0 cc rejects these. */
16482 ccp = (char const *const *) p;
16483 { /* SCO 3.2v4 cc rejects this. */
16485 char const *s = 0 ? (char *) 0 : (char const *) 0;
16489 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16490 int x[] = {25, 17};
16491 const int *foo = &x[0];
16494 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16495 typedef const int *iptr;
16499 { /* AIX XL C 1.02.0.0 rejects this saying
16500 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16501 struct s { int j; const int *ap[3]; };
16502 struct s *b; b->j = 5;
16504 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16505 const int foo = 10;
16513 rm -f conftest.
$ac_objext
16514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16515 (eval $ac_compile) 2>conftest.er1
16517 grep -v '^ *+' conftest.er1
>conftest.err
16519 cat conftest.err
>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } &&
16522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; } &&
16528 { ac_try
='test -s conftest.$ac_objext'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16536 echo "$as_me: failed program was:" >&5
16537 sed 's/^/| /' conftest.
$ac_ext >&5
16541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16543 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16544 echo "${ECHO_T}$ac_cv_c_const" >&6
16545 if test $ac_cv_c_const = no
; then
16547 cat >>confdefs.h
<<\_ACEOF
16553 echo "$as_me:$LINENO: checking for inline" >&5
16554 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16555 if test "${ac_cv_c_inline+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 for ac_kw
in inline __inline__ __inline
; do
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 #ifndef __cplusplus
16568 static $ac_kw foo_t static_foo () {return 0; }
16569 $ac_kw foo_t foo () {return 0; }
16573 rm -f conftest.
$ac_objext
16574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16575 (eval $ac_compile) 2>conftest.er1
16577 grep -v '^ *+' conftest.er1
>conftest.err
16579 cat conftest.err
>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } &&
16582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; } &&
16588 { ac_try
='test -s conftest.$ac_objext'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; }; then
16594 ac_cv_c_inline
=$ac_kw; break
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.
$ac_ext >&5
16600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16604 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16605 echo "${ECHO_T}$ac_cv_c_inline" >&6
16608 case $ac_cv_c_inline in
16611 case $ac_cv_c_inline in
16613 *) ac_val
=$ac_cv_c_inline;;
16615 cat >>confdefs.h
<<_ACEOF
16616 #ifndef __cplusplus
16617 #define inline $ac_val
16624 echo "$as_me:$LINENO: checking for char" >&5
16625 echo $ECHO_N "checking for char... $ECHO_C" >&6
16626 if test "${ac_cv_type_char+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 cat >conftest.
$ac_ext <<_ACEOF
16632 cat confdefs.h
>>conftest.
$ac_ext
16633 cat >>conftest.
$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 $ac_includes_default
16647 rm -f conftest.
$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try
='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_cv_type_char
=yes
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.
$ac_ext >&5
16675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16677 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16678 echo "${ECHO_T}$ac_cv_type_char" >&6
16680 echo "$as_me:$LINENO: checking size of char" >&5
16681 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16682 if test "${ac_cv_sizeof_char+set}" = set; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16685 if test "$ac_cv_type_char" = yes; then
16686 # The cast to unsigned long works around a bug in the HP C Compiler
16687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16689 # This bug is HP SR number 8606223364.
16690 if test "$cross_compiling" = yes; then
16691 # Depending upon the size, compute the lo and hi bounds.
16692 cat >conftest.
$ac_ext <<_ACEOF
16695 cat confdefs.h
>>conftest.
$ac_ext
16696 cat >>conftest.
$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 $ac_includes_default
16702 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16709 rm -f conftest.
$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>conftest.er1
16713 grep -v '^ *+' conftest.er1
>conftest.err
16715 cat conftest.err
>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; } &&
16724 { ac_try
='test -s conftest.$ac_objext'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; }; then
16732 cat >conftest.
$ac_ext <<_ACEOF
16735 cat confdefs.h
>>conftest.
$ac_ext
16736 cat >>conftest.
$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738 $ac_includes_default
16742 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16749 rm -f conftest.
$ac_objext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try
='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16770 ac_hi
=$ac_mid; break
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.
$ac_ext >&5
16775 ac_lo
=`expr $ac_mid + 1`
16776 if test $ac_lo -le $ac_mid; then
16780 ac_mid
=`expr 2 '*' $ac_mid + 1`
16782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16798 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16805 rm -f conftest.
$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16809 grep -v '^ *+' conftest.er1
>conftest.err
16811 cat conftest.err
>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try
='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16828 cat >conftest.
$ac_ext <<_ACEOF
16831 cat confdefs.h
>>conftest.
$ac_ext
16832 cat >>conftest.
$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 $ac_includes_default
16838 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16845 rm -f conftest.
$ac_objext
16846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16847 (eval $ac_compile) 2>conftest.er1
16849 grep -v '^ *+' conftest.er1
>conftest.err
16851 cat conftest.err
>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); } &&
16854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; } &&
16860 { ac_try
='test -s conftest.$ac_objext'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; }; then
16866 ac_lo
=$ac_mid; break
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 ac_hi
=`expr '(' $ac_mid ')' - 1`
16872 if test $ac_mid -le $ac_hi; then
16876 ac_mid
=`expr 2 '*' $ac_mid`
16878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.
$ac_ext >&5
16886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16889 # Binary search between lo and hi bounds.
16890 while test "x$ac_lo" != "x$ac_hi"; do
16891 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16892 cat >conftest.
$ac_ext <<_ACEOF
16895 cat confdefs.h
>>conftest.
$ac_ext
16896 cat >>conftest.
$ac_ext <<_ACEOF
16897 /* end confdefs.h. */
16898 $ac_includes_default
16902 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16909 rm -f conftest.
$ac_objext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16911 (eval $ac_compile) 2>conftest.er1
16913 grep -v '^ *+' conftest.er1
>conftest.err
16915 cat conftest.err
>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try
='test -s conftest.$ac_objext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.
$ac_ext >&5
16935 ac_lo
=`expr '(' $ac_mid ')' + 1`
16937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16940 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16941 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16942 See \`config.log' for more details." >&5
16943 echo "$as_me: error: cannot compute sizeof (char), 77
16944 See \`config.log' for more details." >&2;}
16945 { (exit 1); exit 1; }; } ;;
16948 if test "$cross_compiling" = yes; then
16949 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16950 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16951 { (exit 1); exit 1; }; }
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 $ac_includes_default
16960 long longval () { return (long) (sizeof (char)); }
16961 unsigned long ulongval () { return (long) (sizeof (char)); }
16963 #include <stdlib.h>
16968 FILE *f = fopen ("conftest.val", "w");
16971 if (((long) (sizeof (char))) < 0)
16973 long i = longval ();
16974 if (i != ((long) (sizeof (char))))
16976 fprintf (f, "%ld\n", i);
16980 unsigned long i = ulongval ();
16981 if (i != ((long) (sizeof (char))))
16983 fprintf (f, "%lu\n", i);
16985 exit (ferror (f) || fclose (f) != 0);
16991 rm -f conftest
$ac_exeext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16993 (eval $ac_link) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16998 (eval $ac_try) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); }; }; then
17002 ac_cv_sizeof_char
=`cat conftest.val`
17004 echo "$as_me: program exited with status $ac_status" >&5
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 ( exit $ac_status )
17009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17010 See \`config.log' for more details." >&5
17011 echo "$as_me: error: cannot compute sizeof (char), 77
17012 See \`config.log' for more details." >&2;}
17013 { (exit 1); exit 1; }; }
17015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17020 ac_cv_sizeof_char
=0
17023 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17024 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17025 cat >>confdefs.h
<<_ACEOF
17026 #define SIZEOF_CHAR $ac_cv_sizeof_char
17030 echo "$as_me:$LINENO: checking for short" >&5
17031 echo $ECHO_N "checking for short... $ECHO_C" >&6
17032 if test "${ac_cv_type_short+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 cat >conftest.
$ac_ext <<_ACEOF
17038 cat confdefs.h
>>conftest.
$ac_ext
17039 cat >>conftest.
$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17041 $ac_includes_default
17047 if (sizeof (short))
17053 rm -f conftest.
$ac_objext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17055 (eval $ac_compile) 2>conftest.er1
17057 grep -v '^ *+' conftest.er1
>conftest.err
17059 cat conftest.err
>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; } &&
17068 { ac_try
='test -s conftest.$ac_objext'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; }; then
17074 ac_cv_type_short
=yes
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 ac_cv_type_short
=no
17081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17084 echo "${ECHO_T}$ac_cv_type_short" >&6
17086 echo "$as_me:$LINENO: checking size of short" >&5
17087 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17088 if test "${ac_cv_sizeof_short+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 if test "$ac_cv_type_short" = yes; then
17092 # The cast to unsigned long works around a bug in the HP C Compiler
17093 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17094 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17095 # This bug is HP SR number 8606223364.
17096 if test "$cross_compiling" = yes; then
17097 # Depending upon the size, compute the lo and hi bounds.
17098 cat >conftest.
$ac_ext <<_ACEOF
17101 cat confdefs.h
>>conftest.
$ac_ext
17102 cat >>conftest.
$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 $ac_includes_default
17108 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17115 rm -f conftest.
$ac_objext
17116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17117 (eval $ac_compile) 2>conftest.er1
17119 grep -v '^ *+' conftest.er1
>conftest.err
17121 cat conftest.err
>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } &&
17124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; } &&
17130 { ac_try
='test -s conftest.$ac_objext'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; }; then
17138 cat >conftest.
$ac_ext <<_ACEOF
17141 cat confdefs.h
>>conftest.
$ac_ext
17142 cat >>conftest.
$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 $ac_includes_default
17148 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17155 rm -f conftest.
$ac_objext
17156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17157 (eval $ac_compile) 2>conftest.er1
17159 grep -v '^ *+' conftest.er1
>conftest.err
17161 cat conftest.err
>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } &&
17164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; } &&
17170 { ac_try
='test -s conftest.$ac_objext'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17176 ac_hi
=$ac_mid; break
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.
$ac_ext >&5
17181 ac_lo
=`expr $ac_mid + 1`
17182 if test $ac_lo -le $ac_mid; then
17186 ac_mid
=`expr 2 '*' $ac_mid + 1`
17188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17191 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.
$ac_ext >&5
17194 cat >conftest.
$ac_ext <<_ACEOF
17197 cat confdefs.h
>>conftest.
$ac_ext
17198 cat >>conftest.
$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 $ac_includes_default
17204 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17211 rm -f conftest.
$ac_objext
17212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17213 (eval $ac_compile) 2>conftest.er1
17215 grep -v '^ *+' conftest.er1
>conftest.err
17217 cat conftest.err
>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } &&
17220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; } &&
17226 { ac_try
='test -s conftest.$ac_objext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17234 cat >conftest.
$ac_ext <<_ACEOF
17237 cat confdefs.h
>>conftest.
$ac_ext
17238 cat >>conftest.
$ac_ext <<_ACEOF
17239 /* end confdefs.h. */
17240 $ac_includes_default
17244 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17251 rm -f conftest.
$ac_objext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17253 (eval $ac_compile) 2>conftest.er1
17255 grep -v '^ *+' conftest.er1
>conftest.err
17257 cat conftest.err
>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } &&
17260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262 (eval $ac_try) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; } &&
17266 { ac_try
='test -s conftest.$ac_objext'
17267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17268 (eval $ac_try) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); }; }; then
17272 ac_lo
=$ac_mid; break
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.
$ac_ext >&5
17277 ac_hi
=`expr '(' $ac_mid ')' - 1`
17278 if test $ac_mid -le $ac_hi; then
17282 ac_mid
=`expr 2 '*' $ac_mid`
17284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.
$ac_ext >&5
17292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17295 # Binary search between lo and hi bounds.
17296 while test "x$ac_lo" != "x$ac_hi"; do
17297 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17298 cat >conftest.
$ac_ext <<_ACEOF
17301 cat confdefs.h
>>conftest.
$ac_ext
17302 cat >>conftest.
$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304 $ac_includes_default
17308 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17315 rm -f conftest.
$ac_objext
17316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317 (eval $ac_compile) 2>conftest.er1
17319 grep -v '^ *+' conftest.er1
>conftest.err
17321 cat conftest.err
>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } &&
17324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try
='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then
17338 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.
$ac_ext >&5
17341 ac_lo
=`expr '(' $ac_mid ')' + 1`
17343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17346 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17347 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17348 See \`config.log' for more details." >&5
17349 echo "$as_me: error: cannot compute sizeof (short), 77
17350 See \`config.log' for more details." >&2;}
17351 { (exit 1); exit 1; }; } ;;
17354 if test "$cross_compiling" = yes; then
17355 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17356 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17357 { (exit 1); exit 1; }; }
17359 cat >conftest.
$ac_ext <<_ACEOF
17362 cat confdefs.h
>>conftest.
$ac_ext
17363 cat >>conftest.
$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17365 $ac_includes_default
17366 long longval () { return (long) (sizeof (short)); }
17367 unsigned long ulongval () { return (long) (sizeof (short)); }
17369 #include <stdlib.h>
17374 FILE *f = fopen ("conftest.val", "w");
17377 if (((long) (sizeof (short))) < 0)
17379 long i = longval ();
17380 if (i != ((long) (sizeof (short))))
17382 fprintf (f, "%ld\n", i);
17386 unsigned long i = ulongval ();
17387 if (i != ((long) (sizeof (short))))
17389 fprintf (f, "%lu\n", i);
17391 exit (ferror (f) || fclose (f) != 0);
17397 rm -f conftest
$ac_exeext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17399 (eval $ac_link) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 ac_cv_sizeof_short
=`cat conftest.val`
17410 echo "$as_me: program exited with status $ac_status" >&5
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 ( exit $ac_status )
17415 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17416 See \`config.log' for more details." >&5
17417 echo "$as_me: error: cannot compute sizeof (short), 77
17418 See \`config.log' for more details." >&2;}
17419 { (exit 1); exit 1; }; }
17421 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17426 ac_cv_sizeof_short
=0
17429 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17430 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17431 cat >>confdefs.h
<<_ACEOF
17432 #define SIZEOF_SHORT $ac_cv_sizeof_short
17436 echo "$as_me:$LINENO: checking for void *" >&5
17437 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17438 if test "${ac_cv_type_void_p+set}" = set; then
17439 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 cat >conftest.
$ac_ext <<_ACEOF
17444 cat confdefs.h
>>conftest.
$ac_ext
17445 cat >>conftest.
$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 $ac_includes_default
17453 if (sizeof (void *))
17459 rm -f conftest.
$ac_objext
17460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17461 (eval $ac_compile) 2>conftest.er1
17463 grep -v '^ *+' conftest.er1
>conftest.err
17465 cat conftest.err
>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } &&
17468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17474 { ac_try
='test -s conftest.$ac_objext'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; }; then
17480 ac_cv_type_void_p
=yes
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.
$ac_ext >&5
17485 ac_cv_type_void_p
=no
17487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17489 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17490 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17492 echo "$as_me:$LINENO: checking size of void *" >&5
17493 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17494 if test "${ac_cv_sizeof_void_p+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 if test "$ac_cv_type_void_p" = yes; then
17498 # The cast to unsigned long works around a bug in the HP C Compiler
17499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17501 # This bug is HP SR number 8606223364.
17502 if test "$cross_compiling" = yes; then
17503 # Depending upon the size, compute the lo and hi bounds.
17504 cat >conftest.
$ac_ext <<_ACEOF
17507 cat confdefs.h
>>conftest.
$ac_ext
17508 cat >>conftest.
$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 $ac_includes_default
17514 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17521 rm -f conftest.
$ac_objext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17523 (eval $ac_compile) 2>conftest.er1
17525 grep -v '^ *+' conftest.er1
>conftest.err
17527 cat conftest.err
>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; } &&
17536 { ac_try
='test -s conftest.$ac_objext'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; }; then
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 $ac_includes_default
17554 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17561 rm -f conftest.
$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17565 grep -v '^ *+' conftest.er1
>conftest.err
17567 cat conftest.err
>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } &&
17576 { ac_try
='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 ac_hi
=$ac_mid; break
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.
$ac_ext >&5
17587 ac_lo
=`expr $ac_mid + 1`
17588 if test $ac_lo -le $ac_mid; then
17592 ac_mid
=`expr 2 '*' $ac_mid + 1`
17594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.
$ac_ext >&5
17600 cat >conftest.
$ac_ext <<_ACEOF
17603 cat confdefs.h
>>conftest.
$ac_ext
17604 cat >>conftest.
$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17606 $ac_includes_default
17610 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17617 rm -f conftest.
$ac_objext
17618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 (eval $ac_compile) 2>conftest.er1
17621 grep -v '^ *+' conftest.er1
>conftest.err
17623 cat conftest.err
>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); } &&
17626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; } &&
17632 { ac_try
='test -s conftest.$ac_objext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17640 cat >conftest.
$ac_ext <<_ACEOF
17643 cat confdefs.h
>>conftest.
$ac_ext
17644 cat >>conftest.
$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 $ac_includes_default
17650 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17657 rm -f conftest.
$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; } &&
17672 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17678 ac_lo
=$ac_mid; break
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 ac_hi
=`expr '(' $ac_mid ')' - 1`
17684 if test $ac_mid -le $ac_hi; then
17688 ac_mid
=`expr 2 '*' $ac_mid`
17690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17693 echo "$as_me: failed program was:" >&5
17694 sed 's/^/| /' conftest.
$ac_ext >&5
17698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17701 # Binary search between lo and hi bounds.
17702 while test "x$ac_lo" != "x$ac_hi"; do
17703 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17704 cat >conftest.
$ac_ext <<_ACEOF
17707 cat confdefs.h
>>conftest.
$ac_ext
17708 cat >>conftest.
$ac_ext <<_ACEOF
17709 /* end confdefs.h. */
17710 $ac_includes_default
17714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17721 rm -f conftest.
$ac_objext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>conftest.er1
17725 grep -v '^ *+' conftest.er1
>conftest.err
17727 cat conftest.err
>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } &&
17730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try
='test -s conftest.$ac_objext'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; }; then
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.
$ac_ext >&5
17747 ac_lo
=`expr '(' $ac_mid ')' + 1`
17749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17752 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17753 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17754 See \`config.log' for more details." >&5
17755 echo "$as_me: error: cannot compute sizeof (void *), 77
17756 See \`config.log' for more details." >&2;}
17757 { (exit 1); exit 1; }; } ;;
17760 if test "$cross_compiling" = yes; then
17761 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17762 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17763 { (exit 1); exit 1; }; }
17765 cat >conftest.
$ac_ext <<_ACEOF
17768 cat confdefs.h
>>conftest.
$ac_ext
17769 cat >>conftest.
$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 $ac_includes_default
17772 long longval () { return (long) (sizeof (void *)); }
17773 unsigned long ulongval () { return (long) (sizeof (void *)); }
17775 #include <stdlib.h>
17780 FILE *f = fopen ("conftest.val", "w");
17783 if (((long) (sizeof (void *))) < 0)
17785 long i = longval ();
17786 if (i != ((long) (sizeof (void *))))
17788 fprintf (f, "%ld\n", i);
17792 unsigned long i = ulongval ();
17793 if (i != ((long) (sizeof (void *))))
17795 fprintf (f, "%lu\n", i);
17797 exit (ferror (f) || fclose (f) != 0);
17803 rm -f conftest
$ac_exeext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17805 (eval $ac_link) 2>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 ac_cv_sizeof_void_p
=`cat conftest.val`
17816 echo "$as_me: program exited with status $ac_status" >&5
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.
$ac_ext >&5
17820 ( exit $ac_status )
17821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17822 See \`config.log' for more details." >&5
17823 echo "$as_me: error: cannot compute sizeof (void *), 77
17824 See \`config.log' for more details." >&2;}
17825 { (exit 1); exit 1; }; }
17827 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17832 ac_cv_sizeof_void_p
=0
17835 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17836 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17837 cat >>confdefs.h
<<_ACEOF
17838 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17842 echo "$as_me:$LINENO: checking for int" >&5
17843 echo $ECHO_N "checking for int... $ECHO_C" >&6
17844 if test "${ac_cv_type_int+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 cat >conftest.
$ac_ext <<_ACEOF
17850 cat confdefs.h
>>conftest.
$ac_ext
17851 cat >>conftest.
$ac_ext <<_ACEOF
17852 /* end confdefs.h. */
17853 $ac_includes_default
17865 rm -f conftest.
$ac_objext
17866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17867 (eval $ac_compile) 2>conftest.er1
17869 grep -v '^ *+' conftest.er1
>conftest.err
17871 cat conftest.err
>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } &&
17874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try
='test -s conftest.$ac_objext'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; }; then
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.
$ac_ext >&5
17893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17895 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17896 echo "${ECHO_T}$ac_cv_type_int" >&6
17898 echo "$as_me:$LINENO: checking size of int" >&5
17899 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17900 if test "${ac_cv_sizeof_int+set}" = set; then
17901 echo $ECHO_N "(cached) $ECHO_C" >&6
17903 if test "$ac_cv_type_int" = yes; then
17904 # The cast to unsigned long works around a bug in the HP C Compiler
17905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17907 # This bug is HP SR number 8606223364.
17908 if test "$cross_compiling" = yes; then
17909 # Depending upon the size, compute the lo and hi bounds.
17910 cat >conftest.
$ac_ext <<_ACEOF
17913 cat confdefs.h
>>conftest.
$ac_ext
17914 cat >>conftest.
$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17920 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17927 rm -f conftest.
$ac_objext
17928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17929 (eval $ac_compile) 2>conftest.er1
17931 grep -v '^ *+' conftest.er1
>conftest.err
17933 cat conftest.err
>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } &&
17936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; } &&
17942 { ac_try
='test -s conftest.$ac_objext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17950 cat >conftest.
$ac_ext <<_ACEOF
17953 cat confdefs.h
>>conftest.
$ac_ext
17954 cat >>conftest.
$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17960 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17967 rm -f conftest.
$ac_objext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17969 (eval $ac_compile) 2>conftest.er1
17971 grep -v '^ *+' conftest.er1
>conftest.err
17973 cat conftest.err
>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } &&
17976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; } &&
17982 { ac_try
='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17988 ac_hi
=$ac_mid; break
17990 echo "$as_me: failed program was:" >&5
17991 sed 's/^/| /' conftest.
$ac_ext >&5
17993 ac_lo
=`expr $ac_mid + 1`
17994 if test $ac_lo -le $ac_mid; then
17998 ac_mid
=`expr 2 '*' $ac_mid + 1`
18000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.
$ac_ext >&5
18006 cat >conftest.
$ac_ext <<_ACEOF
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 $ac_includes_default
18016 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18023 rm -f conftest.
$ac_objext
18024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18025 (eval $ac_compile) 2>conftest.er1
18027 grep -v '^ *+' conftest.er1
>conftest.err
18029 cat conftest.err
>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); } &&
18032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; } &&
18038 { ac_try
='test -s conftest.$ac_objext'
18039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040 (eval $ac_try) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; }; then
18046 cat >conftest.
$ac_ext <<_ACEOF
18049 cat confdefs.h
>>conftest.
$ac_ext
18050 cat >>conftest.
$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 $ac_includes_default
18056 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18063 rm -f conftest.
$ac_objext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18065 (eval $ac_compile) 2>conftest.er1
18067 grep -v '^ *+' conftest.er1
>conftest.err
18069 cat conftest.err
>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; } &&
18078 { ac_try
='test -s conftest.$ac_objext'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18084 ac_lo
=$ac_mid; break
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.
$ac_ext >&5
18089 ac_hi
=`expr '(' $ac_mid ')' - 1`
18090 if test $ac_mid -le $ac_hi; then
18094 ac_mid
=`expr 2 '*' $ac_mid`
18096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.
$ac_ext >&5
18104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18107 # Binary search between lo and hi bounds.
18108 while test "x$ac_lo" != "x$ac_hi"; do
18109 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18110 cat >conftest.
$ac_ext <<_ACEOF
18113 cat confdefs.h
>>conftest.
$ac_ext
18114 cat >>conftest.
$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 $ac_includes_default
18120 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18127 rm -f conftest.
$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>conftest.er1
18131 grep -v '^ *+' conftest.er1
>conftest.err
18133 cat conftest.err
>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; } &&
18142 { ac_try
='test -s conftest.$ac_objext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.
$ac_ext >&5
18153 ac_lo
=`expr '(' $ac_mid ')' + 1`
18155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18158 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18159 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18160 See \`config.log' for more details." >&5
18161 echo "$as_me: error: cannot compute sizeof (int), 77
18162 See \`config.log' for more details." >&2;}
18163 { (exit 1); exit 1; }; } ;;
18166 if test "$cross_compiling" = yes; then
18167 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18168 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18169 { (exit 1); exit 1; }; }
18171 cat >conftest.
$ac_ext <<_ACEOF
18174 cat confdefs.h
>>conftest.
$ac_ext
18175 cat >>conftest.
$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177 $ac_includes_default
18178 long longval () { return (long) (sizeof (int)); }
18179 unsigned long ulongval () { return (long) (sizeof (int)); }
18181 #include <stdlib.h>
18186 FILE *f = fopen ("conftest.val", "w");
18189 if (((long) (sizeof (int))) < 0)
18191 long i = longval ();
18192 if (i != ((long) (sizeof (int))))
18194 fprintf (f, "%ld\n", i);
18198 unsigned long i = ulongval ();
18199 if (i != ((long) (sizeof (int))))
18201 fprintf (f, "%lu\n", i);
18203 exit (ferror (f) || fclose (f) != 0);
18209 rm -f conftest
$ac_exeext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18211 (eval $ac_link) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_sizeof_int
=`cat conftest.val`
18222 echo "$as_me: program exited with status $ac_status" >&5
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.
$ac_ext >&5
18226 ( exit $ac_status )
18227 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18228 See \`config.log' for more details." >&5
18229 echo "$as_me: error: cannot compute sizeof (int), 77
18230 See \`config.log' for more details." >&2;}
18231 { (exit 1); exit 1; }; }
18233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18241 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18242 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18243 cat >>confdefs.h
<<_ACEOF
18244 #define SIZEOF_INT $ac_cv_sizeof_int
18248 echo "$as_me:$LINENO: checking for long" >&5
18249 echo $ECHO_N "checking for long... $ECHO_C" >&6
18250 if test "${ac_cv_type_long+set}" = set; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 cat >conftest.
$ac_ext <<_ACEOF
18256 cat confdefs.h
>>conftest.
$ac_ext
18257 cat >>conftest.
$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18259 $ac_includes_default
18271 rm -f conftest.
$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1
>conftest.err
18277 cat conftest.err
>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; } &&
18286 { ac_try
='test -s conftest.$ac_objext'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; }; then
18292 ac_cv_type_long
=yes
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.
$ac_ext >&5
18299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18301 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18302 echo "${ECHO_T}$ac_cv_type_long" >&6
18304 echo "$as_me:$LINENO: checking size of long" >&5
18305 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18306 if test "${ac_cv_sizeof_long+set}" = set; then
18307 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 if test "$ac_cv_type_long" = yes; then
18310 # The cast to unsigned long works around a bug in the HP C Compiler
18311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18313 # This bug is HP SR number 8606223364.
18314 if test "$cross_compiling" = yes; then
18315 # Depending upon the size, compute the lo and hi bounds.
18316 cat >conftest.
$ac_ext <<_ACEOF
18319 cat confdefs.h
>>conftest.
$ac_ext
18320 cat >>conftest.
$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 $ac_includes_default
18326 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18333 rm -f conftest.
$ac_objext
18334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18335 (eval $ac_compile) 2>conftest.er1
18337 grep -v '^ *+' conftest.er1
>conftest.err
18339 cat conftest.err
>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } &&
18342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; } &&
18348 { ac_try
='test -s conftest.$ac_objext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18356 cat >conftest.
$ac_ext <<_ACEOF
18359 cat confdefs.h
>>conftest.
$ac_ext
18360 cat >>conftest.
$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362 $ac_includes_default
18366 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18373 rm -f conftest.
$ac_objext
18374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18375 (eval $ac_compile) 2>conftest.er1
18377 grep -v '^ *+' conftest.er1
>conftest.err
18379 cat conftest.err
>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } &&
18382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try
='test -s conftest.$ac_objext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18394 ac_hi
=$ac_mid; break
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.
$ac_ext >&5
18399 ac_lo
=`expr $ac_mid + 1`
18400 if test $ac_lo -le $ac_mid; then
18404 ac_mid
=`expr 2 '*' $ac_mid + 1`
18406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.
$ac_ext >&5
18412 cat >conftest.
$ac_ext <<_ACEOF
18415 cat confdefs.h
>>conftest.
$ac_ext
18416 cat >>conftest.
$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 $ac_includes_default
18422 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18429 rm -f conftest.
$ac_objext
18430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18431 (eval $ac_compile) 2>conftest.er1
18433 grep -v '^ *+' conftest.er1
>conftest.err
18435 cat conftest.err
>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } &&
18438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; } &&
18444 { ac_try
='test -s conftest.$ac_objext'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18452 cat >conftest.
$ac_ext <<_ACEOF
18455 cat confdefs.h
>>conftest.
$ac_ext
18456 cat >>conftest.
$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 $ac_includes_default
18462 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18469 rm -f conftest.
$ac_objext
18470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18471 (eval $ac_compile) 2>conftest.er1
18473 grep -v '^ *+' conftest.er1
>conftest.err
18475 cat conftest.err
>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); } &&
18478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; } &&
18484 { ac_try
='test -s conftest.$ac_objext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 ac_lo
=$ac_mid; break
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 ac_hi
=`expr '(' $ac_mid ')' - 1`
18496 if test $ac_mid -le $ac_hi; then
18500 ac_mid
=`expr 2 '*' $ac_mid`
18502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18513 # Binary search between lo and hi bounds.
18514 while test "x$ac_lo" != "x$ac_hi"; do
18515 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18516 cat >conftest.
$ac_ext <<_ACEOF
18519 cat confdefs.h
>>conftest.
$ac_ext
18520 cat >>conftest.
$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 $ac_includes_default
18526 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18533 rm -f conftest.
$ac_objext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18535 (eval $ac_compile) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; } &&
18548 { ac_try
='test -s conftest.$ac_objext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.
$ac_ext >&5
18559 ac_lo
=`expr '(' $ac_mid ')' + 1`
18561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18564 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18565 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18566 See \`config.log' for more details." >&5
18567 echo "$as_me: error: cannot compute sizeof (long), 77
18568 See \`config.log' for more details." >&2;}
18569 { (exit 1); exit 1; }; } ;;
18572 if test "$cross_compiling" = yes; then
18573 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18574 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18575 { (exit 1); exit 1; }; }
18577 cat >conftest.
$ac_ext <<_ACEOF
18580 cat confdefs.h
>>conftest.
$ac_ext
18581 cat >>conftest.
$ac_ext <<_ACEOF
18582 /* end confdefs.h. */
18583 $ac_includes_default
18584 long longval () { return (long) (sizeof (long)); }
18585 unsigned long ulongval () { return (long) (sizeof (long)); }
18587 #include <stdlib.h>
18592 FILE *f = fopen ("conftest.val", "w");
18595 if (((long) (sizeof (long))) < 0)
18597 long i = longval ();
18598 if (i != ((long) (sizeof (long))))
18600 fprintf (f, "%ld\n", i);
18604 unsigned long i = ulongval ();
18605 if (i != ((long) (sizeof (long))))
18607 fprintf (f, "%lu\n", i);
18609 exit (ferror (f) || fclose (f) != 0);
18615 rm -f conftest
$ac_exeext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18617 (eval $ac_link) 2>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_cv_sizeof_long
=`cat conftest.val`
18628 echo "$as_me: program exited with status $ac_status" >&5
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.
$ac_ext >&5
18632 ( exit $ac_status )
18633 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18634 See \`config.log' for more details." >&5
18635 echo "$as_me: error: cannot compute sizeof (long), 77
18636 See \`config.log' for more details." >&2;}
18637 { (exit 1); exit 1; }; }
18639 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18644 ac_cv_sizeof_long
=0
18647 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18648 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18649 cat >>confdefs.h
<<_ACEOF
18650 #define SIZEOF_LONG $ac_cv_sizeof_long
18654 echo "$as_me:$LINENO: checking for size_t" >&5
18655 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18656 if test "${ac_cv_type_size_t+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 $ac_includes_default
18671 if (sizeof (size_t))
18677 rm -f conftest.
$ac_objext
18678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>conftest.er1
18681 grep -v '^ *+' conftest.er1
>conftest.err
18683 cat conftest.err
>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } &&
18686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; } &&
18692 { ac_try
='test -s conftest.$ac_objext'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; }; then
18698 ac_cv_type_size_t
=yes
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.
$ac_ext >&5
18703 ac_cv_type_size_t
=no
18705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18708 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18710 echo "$as_me:$LINENO: checking size of size_t" >&5
18711 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18712 if test "${ac_cv_sizeof_size_t+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 if test "$ac_cv_type_size_t" = yes; then
18716 # The cast to unsigned long works around a bug in the HP C Compiler
18717 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18718 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18719 # This bug is HP SR number 8606223364.
18720 if test "$cross_compiling" = yes; then
18721 # Depending upon the size, compute the lo and hi bounds.
18722 cat >conftest.
$ac_ext <<_ACEOF
18725 cat confdefs.h
>>conftest.
$ac_ext
18726 cat >>conftest.
$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 $ac_includes_default
18732 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18739 rm -f conftest.
$ac_objext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18741 (eval $ac_compile) 2>conftest.er1
18743 grep -v '^ *+' conftest.er1
>conftest.err
18745 cat conftest.err
>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } &&
18748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; } &&
18754 { ac_try
='test -s conftest.$ac_objext'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; }; then
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18772 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18779 rm -f conftest.
$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try
='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_hi
=$ac_mid; break
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.
$ac_ext >&5
18805 ac_lo
=`expr $ac_mid + 1`
18806 if test $ac_lo -le $ac_mid; then
18810 ac_mid
=`expr 2 '*' $ac_mid + 1`
18812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 cat >conftest.
$ac_ext <<_ACEOF
18821 cat confdefs.h
>>conftest.
$ac_ext
18822 cat >>conftest.
$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18828 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18835 rm -f conftest.
$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837 (eval $ac_compile) 2>conftest.er1
18839 grep -v '^ *+' conftest.er1
>conftest.err
18841 cat conftest.err
>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try
='test -s conftest.$ac_objext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18858 cat >conftest.
$ac_ext <<_ACEOF
18861 cat confdefs.h
>>conftest.
$ac_ext
18862 cat >>conftest.
$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 $ac_includes_default
18868 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18875 rm -f conftest.
$ac_objext
18876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18877 (eval $ac_compile) 2>conftest.er1
18879 grep -v '^ *+' conftest.er1
>conftest.err
18881 cat conftest.err
>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } &&
18884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; } &&
18890 { ac_try
='test -s conftest.$ac_objext'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18896 ac_lo
=$ac_mid; break
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 ac_hi
=`expr '(' $ac_mid ')' - 1`
18902 if test $ac_mid -le $ac_hi; then
18906 ac_mid
=`expr 2 '*' $ac_mid`
18908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.
$ac_ext >&5
18916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18919 # Binary search between lo and hi bounds.
18920 while test "x$ac_lo" != "x$ac_hi"; do
18921 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18922 cat >conftest.
$ac_ext <<_ACEOF
18925 cat confdefs.h
>>conftest.
$ac_ext
18926 cat >>conftest.
$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18928 $ac_includes_default
18932 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18939 rm -f conftest.
$ac_objext
18940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18941 (eval $ac_compile) 2>conftest.er1
18943 grep -v '^ *+' conftest.er1
>conftest.err
18945 cat conftest.err
>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); } &&
18948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; } &&
18954 { ac_try
='test -s conftest.$ac_objext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.
$ac_ext >&5
18965 ac_lo
=`expr '(' $ac_mid ')' + 1`
18967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18970 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18971 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18972 See \`config.log' for more details." >&5
18973 echo "$as_me: error: cannot compute sizeof (size_t), 77
18974 See \`config.log' for more details." >&2;}
18975 { (exit 1); exit 1; }; } ;;
18978 if test "$cross_compiling" = yes; then
18979 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18980 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18981 { (exit 1); exit 1; }; }
18983 cat >conftest.
$ac_ext <<_ACEOF
18986 cat confdefs.h
>>conftest.
$ac_ext
18987 cat >>conftest.
$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 $ac_includes_default
18990 long longval () { return (long) (sizeof (size_t)); }
18991 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18993 #include <stdlib.h>
18998 FILE *f = fopen ("conftest.val", "w");
19001 if (((long) (sizeof (size_t))) < 0)
19003 long i = longval ();
19004 if (i != ((long) (sizeof (size_t))))
19006 fprintf (f, "%ld\n", i);
19010 unsigned long i = ulongval ();
19011 if (i != ((long) (sizeof (size_t))))
19013 fprintf (f, "%lu\n", i);
19015 exit (ferror (f) || fclose (f) != 0);
19021 rm -f conftest
$ac_exeext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19023 (eval $ac_link) 2>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028 (eval $ac_try) 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }; }; then
19032 ac_cv_sizeof_size_t
=`cat conftest.val`
19034 echo "$as_me: program exited with status $ac_status" >&5
19035 echo "$as_me: failed program was:" >&5
19036 sed 's/^/| /' conftest.
$ac_ext >&5
19038 ( exit $ac_status )
19039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19040 See \`config.log' for more details." >&5
19041 echo "$as_me: error: cannot compute sizeof (size_t), 77
19042 See \`config.log' for more details." >&2;}
19043 { (exit 1); exit 1; }; }
19045 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19050 ac_cv_sizeof_size_t
=0
19053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19054 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19055 cat >>confdefs.h
<<_ACEOF
19056 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19063 echo "$as_me:$LINENO: checking for long long" >&5
19064 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19065 if test "${ac_cv_type_long_long+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 cat >conftest.
$ac_ext <<_ACEOF
19071 cat confdefs.h
>>conftest.
$ac_ext
19072 cat >>conftest.
$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 $ac_includes_default
19078 if ((long long *) 0)
19080 if (sizeof (long long))
19086 rm -f conftest.
$ac_objext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19088 (eval $ac_compile) 2>conftest.er1
19090 grep -v '^ *+' conftest.er1
>conftest.err
19092 cat conftest.err
>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try
='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_cv_type_long_long
=yes
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.
$ac_ext >&5
19112 ac_cv_type_long_long
=no
19114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19117 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19119 echo "$as_me:$LINENO: checking size of long long" >&5
19120 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19121 if test "${ac_cv_sizeof_long_long+set}" = set; then
19122 echo $ECHO_N "(cached) $ECHO_C" >&6
19124 if test "$ac_cv_type_long_long" = yes; then
19125 # The cast to unsigned long works around a bug in the HP C Compiler
19126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19128 # This bug is HP SR number 8606223364.
19129 if test "$cross_compiling" = yes; then
19130 # Depending upon the size, compute the lo and hi bounds.
19131 cat >conftest.
$ac_ext <<_ACEOF
19134 cat confdefs.h
>>conftest.
$ac_ext
19135 cat >>conftest.
$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19141 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19148 rm -f conftest.
$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19152 grep -v '^ *+' conftest.er1
>conftest.err
19154 cat conftest.err
>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; } &&
19163 { ac_try
='test -s conftest.$ac_objext'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; }; then
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try
='test -s conftest.$ac_objext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19209 ac_hi
=$ac_mid; break
19211 echo "$as_me: failed program was:" >&5
19212 sed 's/^/| /' conftest.
$ac_ext >&5
19214 ac_lo
=`expr $ac_mid + 1`
19215 if test $ac_lo -le $ac_mid; then
19219 ac_mid
=`expr 2 '*' $ac_mid + 1`
19221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.
$ac_ext >&5
19227 cat >conftest.
$ac_ext <<_ACEOF
19230 cat confdefs.h
>>conftest.
$ac_ext
19231 cat >>conftest.
$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233 $ac_includes_default
19237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19244 rm -f conftest.
$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246 (eval $ac_compile) 2>conftest.er1
19248 grep -v '^ *+' conftest.er1
>conftest.err
19250 cat conftest.err
>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; } &&
19259 { ac_try
='test -s conftest.$ac_objext'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19267 cat >conftest.
$ac_ext <<_ACEOF
19270 cat confdefs.h
>>conftest.
$ac_ext
19271 cat >>conftest.
$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 $ac_includes_default
19277 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19284 rm -f conftest.
$ac_objext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19286 (eval $ac_compile) 2>conftest.er1
19288 grep -v '^ *+' conftest.er1
>conftest.err
19290 cat conftest.err
>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; } &&
19299 { ac_try
='test -s conftest.$ac_objext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19305 ac_lo
=$ac_mid; break
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.
$ac_ext >&5
19310 ac_hi
=`expr '(' $ac_mid ')' - 1`
19311 if test $ac_mid -le $ac_hi; then
19315 ac_mid
=`expr 2 '*' $ac_mid`
19317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.
$ac_ext >&5
19325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19328 # Binary search between lo and hi bounds.
19329 while test "x$ac_lo" != "x$ac_hi"; do
19330 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19331 cat >conftest.
$ac_ext <<_ACEOF
19334 cat confdefs.h
>>conftest.
$ac_ext
19335 cat >>conftest.
$ac_ext <<_ACEOF
19336 /* end confdefs.h. */
19337 $ac_includes_default
19341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19348 rm -f conftest.
$ac_objext
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>conftest.er1
19352 grep -v '^ *+' conftest.er1
>conftest.err
19354 cat conftest.err
>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } &&
19357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try
='test -s conftest.$ac_objext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.
$ac_ext >&5
19374 ac_lo
=`expr '(' $ac_mid ')' + 1`
19376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19379 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19380 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19381 See \`config.log' for more details." >&5
19382 echo "$as_me: error: cannot compute sizeof (long long), 77
19383 See \`config.log' for more details." >&2;}
19384 { (exit 1); exit 1; }; } ;;
19387 if test "$cross_compiling" = yes; then
19388 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19389 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19390 { (exit 1); exit 1; }; }
19392 cat >conftest.
$ac_ext <<_ACEOF
19395 cat confdefs.h
>>conftest.
$ac_ext
19396 cat >>conftest.
$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 $ac_includes_default
19399 long longval () { return (long) (sizeof (long long)); }
19400 unsigned long ulongval () { return (long) (sizeof (long long)); }
19402 #include <stdlib.h>
19407 FILE *f = fopen ("conftest.val", "w");
19410 if (((long) (sizeof (long long))) < 0)
19412 long i = longval ();
19413 if (i != ((long) (sizeof (long long))))
19415 fprintf (f, "%ld\n", i);
19419 unsigned long i = ulongval ();
19420 if (i != ((long) (sizeof (long long))))
19422 fprintf (f, "%lu\n", i);
19424 exit (ferror (f) || fclose (f) != 0);
19430 rm -f conftest
$ac_exeext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432 (eval $ac_link) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
19441 ac_cv_sizeof_long_long
=`cat conftest.val`
19443 echo "$as_me: program exited with status $ac_status" >&5
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.
$ac_ext >&5
19447 ( exit $ac_status )
19448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19449 See \`config.log' for more details." >&5
19450 echo "$as_me: error: cannot compute sizeof (long long), 77
19451 See \`config.log' for more details." >&2;}
19452 { (exit 1); exit 1; }; }
19454 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19459 ac_cv_sizeof_long_long
=0
19462 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19463 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19464 cat >>confdefs.h
<<_ACEOF
19465 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19471 echo "$as_me:$LINENO: checking for long long" >&5
19472 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19473 if test "${ac_cv_type_long_long+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 cat >conftest.
$ac_ext <<_ACEOF
19479 cat confdefs.h
>>conftest.
$ac_ext
19480 cat >>conftest.
$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482 $ac_includes_default
19486 if ((long long *) 0)
19488 if (sizeof (long long))
19494 rm -f conftest.
$ac_objext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19496 (eval $ac_compile) 2>conftest.er1
19498 grep -v '^ *+' conftest.er1
>conftest.err
19500 cat conftest.err
>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; } &&
19509 { ac_try
='test -s conftest.$ac_objext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_cv_type_long_long
=yes
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.
$ac_ext >&5
19520 ac_cv_type_long_long
=no
19522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19524 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19525 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19527 echo "$as_me:$LINENO: checking size of long long" >&5
19528 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19529 if test "${ac_cv_sizeof_long_long+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 if test "$ac_cv_type_long_long" = yes; then
19533 # The cast to unsigned long works around a bug in the HP C Compiler
19534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19536 # This bug is HP SR number 8606223364.
19537 if test "$cross_compiling" = yes; then
19538 # Depending upon the size, compute the lo and hi bounds.
19539 cat >conftest.
$ac_ext <<_ACEOF
19542 cat confdefs.h
>>conftest.
$ac_ext
19543 cat >>conftest.
$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19549 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19556 rm -f conftest.
$ac_objext
19557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19558 (eval $ac_compile) 2>conftest.er1
19560 grep -v '^ *+' conftest.er1
>conftest.err
19562 cat conftest.err
>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } &&
19565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; } &&
19571 { ac_try
='test -s conftest.$ac_objext'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; }; then
19579 cat >conftest.
$ac_ext <<_ACEOF
19582 cat confdefs.h
>>conftest.
$ac_ext
19583 cat >>conftest.
$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 $ac_includes_default
19589 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19596 rm -f conftest.
$ac_objext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19598 (eval $ac_compile) 2>conftest.er1
19600 grep -v '^ *+' conftest.er1
>conftest.err
19602 cat conftest.err
>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try
='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 ac_hi
=$ac_mid; break
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.
$ac_ext >&5
19622 ac_lo
=`expr $ac_mid + 1`
19623 if test $ac_lo -le $ac_mid; then
19627 ac_mid
=`expr 2 '*' $ac_mid + 1`
19629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.
$ac_ext >&5
19635 cat >conftest.
$ac_ext <<_ACEOF
19638 cat confdefs.h
>>conftest.
$ac_ext
19639 cat >>conftest.
$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19652 rm -f conftest.
$ac_objext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19654 (eval $ac_compile) 2>conftest.er1
19656 grep -v '^ *+' conftest.er1
>conftest.err
19658 cat conftest.err
>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } &&
19661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try
='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19675 cat >conftest.
$ac_ext <<_ACEOF
19678 cat confdefs.h
>>conftest.
$ac_ext
19679 cat >>conftest.
$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19685 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19692 rm -f conftest.
$ac_objext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19694 (eval $ac_compile) 2>conftest.er1
19696 grep -v '^ *+' conftest.er1
>conftest.err
19698 cat conftest.err
>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; } &&
19707 { ac_try
='test -s conftest.$ac_objext'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_lo
=$ac_mid; break
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 ac_hi
=`expr '(' $ac_mid ')' - 1`
19719 if test $ac_mid -le $ac_hi; then
19723 ac_mid
=`expr 2 '*' $ac_mid`
19725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19736 # Binary search between lo and hi bounds.
19737 while test "x$ac_lo" != "x$ac_hi"; do
19738 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19739 cat >conftest.
$ac_ext <<_ACEOF
19742 cat confdefs.h
>>conftest.
$ac_ext
19743 cat >>conftest.
$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 $ac_includes_default
19749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19756 rm -f conftest.
$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19760 grep -v '^ *+' conftest.er1
>conftest.err
19762 cat conftest.err
>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try
='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.
$ac_ext >&5
19782 ac_lo
=`expr '(' $ac_mid ')' + 1`
19784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19787 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19788 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19789 See \`config.log' for more details." >&5
19790 echo "$as_me: error: cannot compute sizeof (long long), 77
19791 See \`config.log' for more details." >&2;}
19792 { (exit 1); exit 1; }; } ;;
19795 if test "$cross_compiling" = yes; then
19796 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19797 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19798 { (exit 1); exit 1; }; }
19800 cat >conftest.
$ac_ext <<_ACEOF
19803 cat confdefs.h
>>conftest.
$ac_ext
19804 cat >>conftest.
$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 $ac_includes_default
19807 long longval () { return (long) (sizeof (long long)); }
19808 unsigned long ulongval () { return (long) (sizeof (long long)); }
19810 #include <stdlib.h>
19815 FILE *f = fopen ("conftest.val", "w");
19818 if (((long) (sizeof (long long))) < 0)
19820 long i = longval ();
19821 if (i != ((long) (sizeof (long long))))
19823 fprintf (f, "%ld\n", i);
19827 unsigned long i = ulongval ();
19828 if (i != ((long) (sizeof (long long))))
19830 fprintf (f, "%lu\n", i);
19832 exit (ferror (f) || fclose (f) != 0);
19838 rm -f conftest
$ac_exeext
19839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19840 (eval $ac_link) 2>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_cv_sizeof_long_long
=`cat conftest.val`
19851 echo "$as_me: program exited with status $ac_status" >&5
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.
$ac_ext >&5
19855 ( exit $ac_status )
19856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19857 See \`config.log' for more details." >&5
19858 echo "$as_me: error: cannot compute sizeof (long long), 77
19859 See \`config.log' for more details." >&2;}
19860 { (exit 1); exit 1; }; }
19862 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19867 ac_cv_sizeof_long_long
=0
19870 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19871 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19872 cat >>confdefs.h
<<_ACEOF
19873 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19877 if test "$ac_cv_sizeof_long_long" != "0"; then
19878 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19882 echo "$as_me:$LINENO: checking for long long" >&5
19883 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19884 if test "${ac_cv_type_long_long+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 cat >conftest.
$ac_ext <<_ACEOF
19890 cat confdefs.h
>>conftest.
$ac_ext
19891 cat >>conftest.
$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19893 $ac_includes_default
19897 if ((long long *) 0)
19899 if (sizeof (long long))
19905 rm -f conftest.
$ac_objext
19906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19907 (eval $ac_compile) 2>conftest.er1
19909 grep -v '^ *+' conftest.er1
>conftest.err
19911 cat conftest.err
>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; } &&
19920 { ac_try
='test -s conftest.$ac_objext'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; }; then
19926 ac_cv_type_long_long
=yes
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 ac_cv_type_long_long
=no
19933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19936 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19938 echo "$as_me:$LINENO: checking size of long long" >&5
19939 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19940 if test "${ac_cv_sizeof_long_long+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 if test "$ac_cv_type_long_long" = yes; then
19944 # The cast to unsigned long works around a bug in the HP C Compiler
19945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19947 # This bug is HP SR number 8606223364.
19948 if test "$cross_compiling" = yes; then
19949 # Depending upon the size, compute the lo and hi bounds.
19950 cat >conftest.
$ac_ext <<_ACEOF
19953 cat confdefs.h
>>conftest.
$ac_ext
19954 cat >>conftest.
$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 $ac_includes_default
19960 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19967 rm -f conftest.
$ac_objext
19968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19969 (eval $ac_compile) 2>conftest.er1
19971 grep -v '^ *+' conftest.er1
>conftest.err
19973 cat conftest.err
>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try
='test -s conftest.$ac_objext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
20000 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20007 rm -f conftest.
$ac_objext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009 (eval $ac_compile) 2>conftest.er1
20011 grep -v '^ *+' conftest.er1
>conftest.err
20013 cat conftest.err
>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
20016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try
='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 ac_hi
=$ac_mid; break
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.
$ac_ext >&5
20033 ac_lo
=`expr $ac_mid + 1`
20034 if test $ac_lo -le $ac_mid; then
20038 ac_mid
=`expr 2 '*' $ac_mid + 1`
20040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20043 echo "$as_me: failed program was:" >&5
20044 sed 's/^/| /' conftest.
$ac_ext >&5
20046 cat >conftest.
$ac_ext <<_ACEOF
20049 cat confdefs.h
>>conftest.
$ac_ext
20050 cat >>conftest.
$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 $ac_includes_default
20056 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20063 rm -f conftest.
$ac_objext
20064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20065 (eval $ac_compile) 2>conftest.er1
20067 grep -v '^ *+' conftest.er1
>conftest.err
20069 cat conftest.err
>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } &&
20072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; } &&
20078 { ac_try
='test -s conftest.$ac_objext'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20096 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20103 rm -f conftest.
$ac_objext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20105 (eval $ac_compile) 2>conftest.er1
20107 grep -v '^ *+' conftest.er1
>conftest.err
20109 cat conftest.err
>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; } &&
20118 { ac_try
='test -s conftest.$ac_objext'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 ac_lo
=$ac_mid; break
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.
$ac_ext >&5
20129 ac_hi
=`expr '(' $ac_mid ')' - 1`
20130 if test $ac_mid -le $ac_hi; then
20134 ac_mid
=`expr 2 '*' $ac_mid`
20136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.
$ac_ext >&5
20144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20147 # Binary search between lo and hi bounds.
20148 while test "x$ac_lo" != "x$ac_hi"; do
20149 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20150 cat >conftest.
$ac_ext <<_ACEOF
20153 cat confdefs.h
>>conftest.
$ac_ext
20154 cat >>conftest.
$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 $ac_includes_default
20160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20167 rm -f conftest.
$ac_objext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20169 (eval $ac_compile) 2>conftest.er1
20171 grep -v '^ *+' conftest.er1
>conftest.err
20173 cat conftest.err
>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest.$ac_objext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 ac_lo
=`expr '(' $ac_mid ')' + 1`
20195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20198 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20199 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20200 See \`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (long long), 77
20202 See \`config.log' for more details." >&2;}
20203 { (exit 1); exit 1; }; } ;;
20206 if test "$cross_compiling" = yes; then
20207 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20208 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20209 { (exit 1); exit 1; }; }
20211 cat >conftest.
$ac_ext <<_ACEOF
20214 cat confdefs.h
>>conftest.
$ac_ext
20215 cat >>conftest.
$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 long longval () { return (long) (sizeof (long long)); }
20219 unsigned long ulongval () { return (long) (sizeof (long long)); }
20221 #include <stdlib.h>
20226 FILE *f = fopen ("conftest.val", "w");
20229 if (((long) (sizeof (long long))) < 0)
20231 long i = longval ();
20232 if (i != ((long) (sizeof (long long))))
20234 fprintf (f, "%ld\n", i);
20238 unsigned long i = ulongval ();
20239 if (i != ((long) (sizeof (long long))))
20241 fprintf (f, "%lu\n", i);
20243 exit (ferror (f) || fclose (f) != 0);
20249 rm -f conftest
$ac_exeext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20251 (eval $ac_link) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 ac_cv_sizeof_long_long
=`cat conftest.val`
20262 echo "$as_me: program exited with status $ac_status" >&5
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.
$ac_ext >&5
20266 ( exit $ac_status )
20267 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20268 See \`config.log' for more details." >&5
20269 echo "$as_me: error: cannot compute sizeof (long long), 77
20270 See \`config.log' for more details." >&2;}
20271 { (exit 1); exit 1; }; }
20273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20278 ac_cv_sizeof_long_long
=0
20281 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20282 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20283 cat >>confdefs.h
<<_ACEOF
20284 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20290 echo "$as_me:$LINENO: checking for wchar_t" >&5
20291 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20292 if test "${ac_cv_type_wchar_t+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 cat >conftest.
$ac_ext <<_ACEOF
20298 cat confdefs.h
>>conftest.
$ac_ext
20299 cat >>conftest.
$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20302 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20303 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20304 # error "fake wchar_t"
20306 #ifdef HAVE_WCHAR_H
20308 # include <stddef.h>
20310 # include <wchar.h>
20312 #ifdef HAVE_STDLIB_H
20313 # include <stdlib.h>
20324 if (sizeof (wchar_t))
20330 rm -f conftest.
$ac_objext
20331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20332 (eval $ac_compile) 2>conftest.er1
20334 grep -v '^ *+' conftest.er1
>conftest.err
20336 cat conftest.err
>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); } &&
20339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try
='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_cv_type_wchar_t
=yes
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.
$ac_ext >&5
20356 ac_cv_type_wchar_t
=no
20358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20360 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20361 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20363 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20364 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20365 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20368 if test "$ac_cv_type_wchar_t" = yes; then
20369 # The cast to unsigned long works around a bug in the HP C Compiler
20370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20372 # This bug is HP SR number 8606223364.
20373 if test "$cross_compiling" = yes; then
20374 # Depending upon the size, compute the lo and hi bounds.
20375 cat >conftest.
$ac_ext <<_ACEOF
20378 cat confdefs.h
>>conftest.
$ac_ext
20379 cat >>conftest.
$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20382 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20383 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20384 # error "fake wchar_t"
20386 #ifdef HAVE_WCHAR_H
20388 # include <stddef.h>
20390 # include <wchar.h>
20392 #ifdef HAVE_STDLIB_H
20393 # include <stdlib.h>
20402 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20409 rm -f conftest.
$ac_objext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20411 (eval $ac_compile) 2>conftest.er1
20413 grep -v '^ *+' conftest.er1
>conftest.err
20415 cat conftest.err
>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; } &&
20424 { ac_try
='test -s conftest.$ac_objext'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20432 cat >conftest.
$ac_ext <<_ACEOF
20435 cat confdefs.h
>>conftest.
$ac_ext
20436 cat >>conftest.
$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20439 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20440 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20441 # error "fake wchar_t"
20443 #ifdef HAVE_WCHAR_H
20445 # include <stddef.h>
20447 # include <wchar.h>
20449 #ifdef HAVE_STDLIB_H
20450 # include <stdlib.h>
20459 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20466 rm -f conftest.
$ac_objext
20467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20468 (eval $ac_compile) 2>conftest.er1
20470 grep -v '^ *+' conftest.er1
>conftest.err
20472 cat conftest.err
>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); } &&
20475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; } &&
20481 { ac_try
='test -s conftest.$ac_objext'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; }; then
20487 ac_hi
=$ac_mid; break
20489 echo "$as_me: failed program was:" >&5
20490 sed 's/^/| /' conftest.
$ac_ext >&5
20492 ac_lo
=`expr $ac_mid + 1`
20493 if test $ac_lo -le $ac_mid; then
20497 ac_mid
=`expr 2 '*' $ac_mid + 1`
20499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.
$ac_ext >&5
20505 cat >conftest.
$ac_ext <<_ACEOF
20508 cat confdefs.h
>>conftest.
$ac_ext
20509 cat >>conftest.
$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20512 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20513 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20514 # error "fake wchar_t"
20516 #ifdef HAVE_WCHAR_H
20518 # include <stddef.h>
20520 # include <wchar.h>
20522 #ifdef HAVE_STDLIB_H
20523 # include <stdlib.h>
20532 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20539 rm -f conftest.
$ac_objext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20541 (eval $ac_compile) 2>conftest.er1
20543 grep -v '^ *+' conftest.er1
>conftest.err
20545 cat conftest.err
>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } &&
20548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try
='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20562 cat >conftest.
$ac_ext <<_ACEOF
20565 cat confdefs.h
>>conftest.
$ac_ext
20566 cat >>conftest.
$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20569 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20570 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20571 # error "fake wchar_t"
20573 #ifdef HAVE_WCHAR_H
20575 # include <stddef.h>
20577 # include <wchar.h>
20579 #ifdef HAVE_STDLIB_H
20580 # include <stdlib.h>
20589 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20596 rm -f conftest.
$ac_objext
20597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20598 (eval $ac_compile) 2>conftest.er1
20600 grep -v '^ *+' conftest.er1
>conftest.err
20602 cat conftest.err
>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } &&
20605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 (eval $ac_try) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try
='test -s conftest.$ac_objext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20617 ac_lo
=$ac_mid; break
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.
$ac_ext >&5
20622 ac_hi
=`expr '(' $ac_mid ')' - 1`
20623 if test $ac_mid -le $ac_hi; then
20627 ac_mid
=`expr 2 '*' $ac_mid`
20629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.
$ac_ext >&5
20637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20640 # Binary search between lo and hi bounds.
20641 while test "x$ac_lo" != "x$ac_hi"; do
20642 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20643 cat >conftest.
$ac_ext <<_ACEOF
20646 cat confdefs.h
>>conftest.
$ac_ext
20647 cat >>conftest.
$ac_ext <<_ACEOF
20648 /* end confdefs.h. */
20650 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20651 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20652 # error "fake wchar_t"
20654 #ifdef HAVE_WCHAR_H
20656 # include <stddef.h>
20658 # include <wchar.h>
20660 #ifdef HAVE_STDLIB_H
20661 # include <stdlib.h>
20670 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20677 rm -f conftest.
$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1
>conftest.err
20683 cat conftest.err
>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try
='test -s conftest.$ac_objext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 ac_lo
=`expr '(' $ac_mid ')' + 1`
20705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20708 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20709 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20710 See \`config.log' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20712 See \`config.log' for more details." >&2;}
20713 { (exit 1); exit 1; }; } ;;
20716 if test "$cross_compiling" = yes; then
20717 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20718 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20719 { (exit 1); exit 1; }; }
20721 cat >conftest.
$ac_ext <<_ACEOF
20724 cat confdefs.h
>>conftest.
$ac_ext
20725 cat >>conftest.
$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20728 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20729 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20730 # error "fake wchar_t"
20732 #ifdef HAVE_WCHAR_H
20734 # include <stddef.h>
20736 # include <wchar.h>
20738 #ifdef HAVE_STDLIB_H
20739 # include <stdlib.h>
20745 long longval () { return (long) (sizeof (wchar_t)); }
20746 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20748 #include <stdlib.h>
20753 FILE *f = fopen ("conftest.val", "w");
20756 if (((long) (sizeof (wchar_t))) < 0)
20758 long i = longval ();
20759 if (i != ((long) (sizeof (wchar_t))))
20761 fprintf (f, "%ld\n", i);
20765 unsigned long i = ulongval ();
20766 if (i != ((long) (sizeof (wchar_t))))
20768 fprintf (f, "%lu\n", i);
20770 exit (ferror (f) || fclose (f) != 0);
20776 rm -f conftest
$ac_exeext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20778 (eval $ac_link) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20783 (eval $ac_try) 2>&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); }; }; then
20787 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20789 echo "$as_me: program exited with status $ac_status" >&5
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.
$ac_ext >&5
20793 ( exit $ac_status )
20794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20795 See \`config.log' for more details." >&5
20796 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20797 See \`config.log' for more details." >&2;}
20798 { (exit 1); exit 1; }; }
20800 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20805 ac_cv_sizeof_wchar_t
=0
20808 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20809 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20810 cat >>confdefs.h
<<_ACEOF
20811 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20815 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20821 echo "$as_me:$LINENO: checking for va_copy" >&5
20822 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20823 if test "${wx_cv_func_va_copy+set}" = set; then
20824 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 cat >conftest.
$ac_ext <<_ACEOF
20829 #include <stdarg.h>
20830 void foo(char *f, ...)
20844 rm -f conftest.
$ac_objext conftest
$ac_exeext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20846 (eval $ac_link) 2>conftest.er1
20848 grep -v '^ *+' conftest.er1
>conftest.err
20850 cat conftest.err
>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; } &&
20859 { ac_try
='test -s conftest$ac_exeext'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; }; then
20865 wx_cv_func_va_copy
=yes
20867 echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.
$ac_ext >&5
20870 wx_cv_func_va_copy
=no
20873 rm -f conftest.err conftest.
$ac_objext \
20874 conftest
$ac_exeext conftest.
$ac_ext
20878 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20879 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20881 if test $wx_cv_func_va_copy = "yes"; then
20882 cat >>confdefs.h
<<\_ACEOF
20883 #define HAVE_VA_COPY 1
20887 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20888 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20889 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20890 echo $ECHO_N "(cached) $ECHO_C" >&6
20893 if test "$cross_compiling" = yes; then
20894 wx_cv_type_va_list_lvalue
=yes
20897 cat >conftest.
$ac_ext <<_ACEOF
20899 #include <stdarg.h>
20900 int foo(char *f, ...)
20905 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20913 return foo("hi", 17);
20916 rm -f conftest
$ac_exeext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20918 (eval $ac_link) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 wx_cv_type_va_list_lvalue
=yes
20929 echo "$as_me: program exited with status $ac_status" >&5
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.
$ac_ext >&5
20933 ( exit $ac_status )
20934 wx_cv_type_va_list_lvalue
=no
20936 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20941 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20942 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20944 if test $wx_cv_type_va_list_lvalue != "yes"; then
20945 cat >>confdefs.h
<<\_ACEOF
20946 #define VA_LIST_IS_ARRAY 1
20952 # Check whether --enable-largefile or --disable-largefile was given.
20953 if test "${enable_largefile+set}" = set; then
20954 enableval
="$enable_largefile"
20957 if test "$enable_largefile" != no
; then
20960 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20961 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20962 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20966 cat >conftest.
$ac_ext <<_ACEOF
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 #define _FILE_OFFSET_BITS 64
20973 #include <sys/types.h>
20978 unsigned int field: sizeof(off_t) == 8;
20985 rm -f conftest.
$ac_objext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20987 (eval $ac_compile) 2>conftest.er1
20989 grep -v '^ *+' conftest.er1
>conftest.err
20991 cat conftest.err
>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } &&
20994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; } &&
21000 { ac_try
='test -s conftest.$ac_objext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 ac_cv_sys_file_offset_bits
=64
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.
$ac_ext >&5
21011 ac_cv_sys_file_offset_bits
=no
21013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21017 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21018 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21020 if test "$ac_cv_sys_file_offset_bits" != no
; then
21022 cat >>confdefs.h
<<_ACEOF
21023 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21028 if test "x$wx_largefile" != "xyes"; then
21030 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21031 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21032 if test "${ac_cv_sys_large_files+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 cat >conftest.
$ac_ext <<_ACEOF
21039 cat confdefs.h
>>conftest.
$ac_ext
21040 cat >>conftest.
$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 #define _LARGE_FILES 1
21043 #include <sys/types.h>
21048 unsigned int field: sizeof(off_t) == 8;
21055 rm -f conftest.
$ac_objext
21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21057 (eval $ac_compile) 2>conftest.er1
21059 grep -v '^ *+' conftest.er1
>conftest.err
21061 cat conftest.err
>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
21070 { ac_try
='test -s conftest.$ac_objext'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; }; then
21076 ac_cv_sys_large_files
=1
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21081 ac_cv_sys_large_files
=no
21083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21087 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21088 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21090 if test "$ac_cv_sys_large_files" != no
; then
21092 cat >>confdefs.h
<<_ACEOF
21093 #define _LARGE_FILES $ac_cv_sys_large_files
21100 echo "$as_me:$LINENO: checking if large file support is available" >&5
21101 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21102 if test "x$wx_largefile" = "xyes"; then
21103 cat >>confdefs.h
<<\_ACEOF
21104 #define HAVE_LARGEFILE_SUPPORT 1
21108 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21109 echo "${ECHO_T}$wx_largefile" >&6
21113 if test "x$wx_largefile" = "xyes"; then
21114 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21115 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21117 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21118 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21119 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21120 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21127 ac_cpp
='$CXXCPP $CPPFLAGS'
21128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21132 cat >conftest.
$ac_ext <<_ACEOF
21135 cat confdefs.h
>>conftest.
$ac_ext
21136 cat >>conftest.
$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21143 #ifndef __STDC_EXT__
21151 rm -f conftest.
$ac_objext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21153 (eval $ac_compile) 2>conftest.er1
21155 grep -v '^ *+' conftest.er1
>conftest.err
21157 cat conftest.err
>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } &&
21160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162 (eval $ac_try) 2>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; } &&
21166 { ac_try
='test -s conftest.$ac_objext'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; }; then
21172 wx_cv_STDC_EXT_required
=no
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.
$ac_ext >&5
21177 wx_cv_STDC_EXT_required
=yes
21180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21182 ac_cpp
='$CPP $CPPFLAGS'
21183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21190 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21191 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21192 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21193 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21197 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21199 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21200 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21201 if test "${ac_cv_sys_largefile_source+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 ac_cv_sys_largefile_source
=no
21206 cat >conftest.
$ac_ext <<_ACEOF
21209 cat confdefs.h
>>conftest.
$ac_ext
21210 cat >>conftest.
$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21221 rm -f conftest.
$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21225 grep -v '^ *+' conftest.er1
>conftest.err
21227 cat conftest.err
>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try
='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.
$ac_ext >&5
21248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21249 cat >conftest.
$ac_ext <<_ACEOF
21252 cat confdefs.h
>>conftest.
$ac_ext
21253 cat >>conftest.
$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21255 #define _LARGEFILE_SOURCE 1
21265 rm -f conftest.
$ac_objext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21267 (eval $ac_compile) 2>conftest.er1
21269 grep -v '^ *+' conftest.er1
>conftest.err
21271 cat conftest.err
>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } &&
21274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; } &&
21280 { ac_try
='test -s conftest.$ac_objext'
21281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21282 (eval $ac_try) 2>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; }; then
21286 ac_cv_sys_largefile_source
=1; break
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.
$ac_ext >&5
21292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21296 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21297 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21298 if test "$ac_cv_sys_largefile_source" != no
; then
21300 cat >>confdefs.h
<<_ACEOF
21301 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21307 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21308 # in glibc 2.1.3, but that breaks too many other things.
21309 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21310 echo "$as_me:$LINENO: checking for fseeko" >&5
21311 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21312 if test "${ac_cv_func_fseeko+set}" = set; then
21313 echo $ECHO_N "(cached) $ECHO_C" >&6
21315 cat >conftest.
$ac_ext <<_ACEOF
21318 cat confdefs.h
>>conftest.
$ac_ext
21319 cat >>conftest.
$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21325 return fseeko && fseeko (stdin, 0, 0);
21330 rm -f conftest.
$ac_objext conftest
$ac_exeext
21331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21332 (eval $ac_link) 2>conftest.er1
21334 grep -v '^ *+' conftest.er1
>conftest.err
21336 cat conftest.err
>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try
='test -s conftest$ac_exeext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21351 ac_cv_func_fseeko
=yes
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.
$ac_ext >&5
21356 ac_cv_func_fseeko
=no
21358 rm -f conftest.err conftest.
$ac_objext \
21359 conftest
$ac_exeext conftest.
$ac_ext
21361 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21362 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21363 if test $ac_cv_func_fseeko = yes; then
21365 cat >>confdefs.h
<<\_ACEOF
21366 #define HAVE_FSEEKO 1
21371 if test "$ac_cv_sys_largefile_source" != no
; then
21372 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21376 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21377 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21378 if test "${ac_cv_c_bigendian+set}" = set; then
21379 echo $ECHO_N "(cached) $ECHO_C" >&6
21381 ac_cv_c_bigendian
=unknown
21382 # See if sys/param.h defines the BYTE_ORDER macro.
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 #include <sys/types.h>
21390 #include <sys/param.h>
21395 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21396 bogus endian macros
21402 rm -f conftest.
$ac_objext
21403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21404 (eval $ac_compile) 2>conftest.er1
21406 grep -v '^ *+' conftest.er1
>conftest.err
21408 cat conftest.err
>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } &&
21411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; } &&
21417 { ac_try
='test -s conftest.$ac_objext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 # It does; now see whether it defined to BIG_ENDIAN or not.
21424 cat >conftest.
$ac_ext <<_ACEOF
21427 cat confdefs.h
>>conftest.
$ac_ext
21428 cat >>conftest.
$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 #include <sys/types.h>
21431 #include <sys/param.h>
21436 #if BYTE_ORDER != BIG_ENDIAN
21443 rm -f conftest.
$ac_objext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21445 (eval $ac_compile) 2>conftest.er1
21447 grep -v '^ *+' conftest.er1
>conftest.err
21449 cat conftest.err
>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } &&
21452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; } &&
21458 { ac_try
='test -s conftest.$ac_objext'
21459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21460 (eval $ac_try) 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); }; }; then
21464 ac_cv_c_bigendian
=yes
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.
$ac_ext >&5
21469 ac_cv_c_bigendian
=no
21471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21473 echo "$as_me: failed program was:" >&5
21474 sed 's/^/| /' conftest.
$ac_ext >&5
21477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21478 if test $ac_cv_c_bigendian = unknown
; then
21479 if test "$cross_compiling" = yes; then
21480 ac_cv_c_bigendian
=unknown
21482 cat >conftest.
$ac_ext <<_ACEOF
21485 cat confdefs.h
>>conftest.
$ac_ext
21486 cat >>conftest.
$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21489 /* Are we little or big endian? From Harbison&Steele. */
21493 char c[sizeof (long)];
21496 exit (u.c[sizeof (long) - 1] == 1);
21499 rm -f conftest
$ac_exeext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501 (eval $ac_link) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21506 (eval $ac_try) 2>&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); }; }; then
21510 ac_cv_c_bigendian
=no
21512 echo "$as_me: program exited with status $ac_status" >&5
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.
$ac_ext >&5
21516 ( exit $ac_status )
21517 ac_cv_c_bigendian
=yes
21519 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21523 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21524 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21525 if test $ac_cv_c_bigendian = unknown
; then
21526 { 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
21527 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;}
21529 if test $ac_cv_c_bigendian = yes; then
21530 cat >>confdefs.h
<<\_ACEOF
21531 #define WORDS_BIGENDIAN 1
21538 ac_cpp
='$CXXCPP $CPPFLAGS'
21539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21542 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21543 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21544 if test -z "$CXXCPP"; then
21545 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 # Double quotes because CXXCPP needs to be expanded
21549 for CXXCPP
in "$CXX -E" "/lib/cpp"
21551 ac_preproc_ok
=false
21552 for ac_cxx_preproc_warn_flag
in '' yes
21554 # Use a header file that comes with gcc, so configuring glibc
21555 # with a fresh cross-compiler works.
21556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21557 # <limits.h> exists even on freestanding compilers.
21558 # On the NeXT, cc -E runs the code through the compiler's parser,
21559 # not just through cpp. "Syntax error" is here to catch this case.
21560 cat >conftest.
$ac_ext <<_ACEOF
21563 cat confdefs.h
>>conftest.
$ac_ext
21564 cat >>conftest.
$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21567 # include <limits.h>
21569 # include <assert.h>
21573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21576 grep -v '^ *+' conftest.er1
>conftest.err
21578 cat conftest.err
>&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } >/dev
/null
; then
21581 if test -s conftest.err
; then
21582 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21583 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21590 if test -z "$ac_cpp_err"; then
21593 echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.
$ac_ext >&5
21596 # Broken: fails on valid input.
21599 rm -f conftest.err conftest.
$ac_ext
21601 # OK, works on sane cases. Now check whether non-existent headers
21602 # can be detected and how.
21603 cat >conftest.
$ac_ext <<_ACEOF
21606 cat confdefs.h
>>conftest.
$ac_ext
21607 cat >>conftest.
$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 #include <ac_nonexistent.h>
21611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21614 grep -v '^ *+' conftest.er1
>conftest.err
21616 cat conftest.err
>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); } >/dev
/null
; then
21619 if test -s conftest.err
; then
21620 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21621 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21628 if test -z "$ac_cpp_err"; then
21629 # Broken: success on invalid input.
21632 echo "$as_me: failed program was:" >&5
21633 sed 's/^/| /' conftest.
$ac_ext >&5
21635 # Passes both tests.
21639 rm -f conftest.err conftest.
$ac_ext
21642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21643 rm -f conftest.err conftest.
$ac_ext
21644 if $ac_preproc_ok; then
21649 ac_cv_prog_CXXCPP
=$CXXCPP
21652 CXXCPP
=$ac_cv_prog_CXXCPP
21654 ac_cv_prog_CXXCPP
=$CXXCPP
21656 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21657 echo "${ECHO_T}$CXXCPP" >&6
21658 ac_preproc_ok
=false
21659 for ac_cxx_preproc_warn_flag
in '' yes
21661 # Use a header file that comes with gcc, so configuring glibc
21662 # with a fresh cross-compiler works.
21663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21664 # <limits.h> exists even on freestanding compilers.
21665 # On the NeXT, cc -E runs the code through the compiler's parser,
21666 # not just through cpp. "Syntax error" is here to catch this case.
21667 cat >conftest.
$ac_ext <<_ACEOF
21670 cat confdefs.h
>>conftest.
$ac_ext
21671 cat >>conftest.
$ac_ext <<_ACEOF
21672 /* end confdefs.h. */
21674 # include <limits.h>
21676 # include <assert.h>
21680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21683 grep -v '^ *+' conftest.er1
>conftest.err
21685 cat conftest.err
>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } >/dev
/null
; then
21688 if test -s conftest.err
; then
21689 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21690 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21697 if test -z "$ac_cpp_err"; then
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.
$ac_ext >&5
21703 # Broken: fails on valid input.
21706 rm -f conftest.err conftest.
$ac_ext
21708 # OK, works on sane cases. Now check whether non-existent headers
21709 # can be detected and how.
21710 cat >conftest.
$ac_ext <<_ACEOF
21713 cat confdefs.h
>>conftest.
$ac_ext
21714 cat >>conftest.
$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 #include <ac_nonexistent.h>
21718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21719 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21721 grep -v '^ *+' conftest.er1
>conftest.err
21723 cat conftest.err
>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } >/dev
/null
; then
21726 if test -s conftest.err
; then
21727 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21728 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21735 if test -z "$ac_cpp_err"; then
21736 # Broken: success on invalid input.
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.
$ac_ext >&5
21742 # Passes both tests.
21746 rm -f conftest.err conftest.
$ac_ext
21749 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21750 rm -f conftest.err conftest.
$ac_ext
21751 if $ac_preproc_ok; then
21754 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21755 See \`config.log' for more details." >&5
21756 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21757 See \`config.log' for more details." >&2;}
21758 { (exit 1); exit 1; }; }
21762 ac_cpp
='$CXXCPP $CPPFLAGS'
21763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21772 ac_cpp
='$CXXCPP $CPPFLAGS'
21773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21779 for ac_header
in iostream
21781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21783 echo "$as_me:$LINENO: checking for $ac_header" >&5
21784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21786 echo $ECHO_N "(cached) $ECHO_C" >&6
21788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21791 # Is the header compilable?
21792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21794 cat >conftest.
$ac_ext <<_ACEOF
21797 cat confdefs.h
>>conftest.
$ac_ext
21798 cat >>conftest.
$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 $ac_includes_default
21801 #include <$ac_header>
21803 rm -f conftest.
$ac_objext
21804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21805 (eval $ac_compile) 2>conftest.er1
21807 grep -v '^ *+' conftest.er1
>conftest.err
21809 cat conftest.err
>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } &&
21812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21814 (eval $ac_try) 2>&5
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); }; } &&
21818 { ac_try
='test -s conftest.$ac_objext'
21819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820 (eval $ac_try) 2>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); }; }; then
21824 ac_header_compiler
=yes
21826 echo "$as_me: failed program was:" >&5
21827 sed 's/^/| /' conftest.
$ac_ext >&5
21829 ac_header_compiler
=no
21831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21833 echo "${ECHO_T}$ac_header_compiler" >&6
21835 # Is the header present?
21836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21838 cat >conftest.
$ac_ext <<_ACEOF
21841 cat confdefs.h
>>conftest.
$ac_ext
21842 cat >>conftest.
$ac_ext <<_ACEOF
21843 /* end confdefs.h. */
21844 #include <$ac_header>
21846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21849 grep -v '^ *+' conftest.er1
>conftest.err
21851 cat conftest.err
>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } >/dev
/null
; then
21854 if test -s conftest.err
; then
21855 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21856 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21863 if test -z "$ac_cpp_err"; then
21864 ac_header_preproc
=yes
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.
$ac_ext >&5
21869 ac_header_preproc
=no
21871 rm -f conftest.err conftest.
$ac_ext
21872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21873 echo "${ECHO_T}$ac_header_preproc" >&6
21875 # So? What about this header?
21876 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21882 ac_header_preproc
=yes
21885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21899 ## ----------------------------------------- ##
21900 ## Report this to wx-dev@lists.wxwidgets.org ##
21901 ## ----------------------------------------- ##
21904 sed "s/^/$as_me: WARNING: /" >&2
21907 echo "$as_me:$LINENO: checking for $ac_header" >&5
21908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21910 echo $ECHO_N "(cached) $ECHO_C" >&6
21912 eval "$as_ac_Header=\$ac_header_preproc"
21914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21919 cat >>confdefs.h
<<_ACEOF
21920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21928 if test "$ac_cv_header_iostream" = "yes" ; then
21931 cat >>confdefs.h
<<\_ACEOF
21932 #define wxUSE_IOSTREAMH 1
21938 ac_cpp
='$CPP $CPPFLAGS'
21939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21946 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21947 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21948 if test "${wx_cv_cpp_bool+set}" = set; then
21949 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 ac_cpp
='$CXXCPP $CPPFLAGS'
21956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21981 rm -f conftest.
$ac_objext
21982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21983 (eval $ac_compile) 2>conftest.er1
21985 grep -v '^ *+' conftest.er1
>conftest.err
21987 cat conftest.err
>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; } &&
21996 { ac_try
='test -s conftest.$ac_objext'
21997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998 (eval $ac_try) 2>&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); }; }; then
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.
$ac_ext >&5
22014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22017 ac_cpp
='$CPP $CPPFLAGS'
22018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22024 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22025 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22027 if test "$wx_cv_cpp_bool" = "yes"; then
22028 cat >>confdefs.h
<<\_ACEOF
22029 #define HAVE_BOOL 1
22036 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22037 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22038 if test "${wx_cv_explicit+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22045 ac_cpp
='$CXXCPP $CPPFLAGS'
22046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22058 class Foo { public: explicit Foo(int) {} };
22070 rm -f conftest.
$ac_objext
22071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22072 (eval $ac_compile) 2>conftest.er1
22074 grep -v '^ *+' conftest.er1
>conftest.err
22076 cat conftest.err
>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } &&
22079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22081 (eval $ac_try) 2>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); }; } &&
22085 { ac_try
='test -s conftest.$ac_objext'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22092 cat >conftest.
$ac_ext <<_ACEOF
22095 cat confdefs.h
>>conftest.
$ac_ext
22096 cat >>conftest.
$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22099 class Foo { public: explicit Foo(int) {} };
22100 static void TakeFoo(const Foo& foo) { }
22113 rm -f conftest.
$ac_objext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22115 (eval $ac_compile) 2>conftest.er1
22117 grep -v '^ *+' conftest.er1
>conftest.err
22119 cat conftest.err
>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; } &&
22128 { ac_try
='test -s conftest.$ac_objext'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; }; then
22136 echo "$as_me: failed program was:" >&5
22137 sed 's/^/| /' conftest.
$ac_ext >&5
22142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.
$ac_ext >&5
22151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22154 ac_cpp
='$CPP $CPPFLAGS'
22155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22161 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22162 echo "${ECHO_T}$wx_cv_explicit" >&6
22164 if test "$wx_cv_explicit" = "yes"; then
22165 cat >>confdefs.h
<<\_ACEOF
22166 #define HAVE_EXPLICIT 1
22172 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22173 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22174 if test "${ac_cv_cxx_const_cast+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22180 ac_cpp
='$CXXCPP $CPPFLAGS'
22181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22185 cat >conftest.
$ac_ext <<_ACEOF
22188 cat confdefs.h
>>conftest.
$ac_ext
22189 cat >>conftest.
$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22195 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22200 rm -f conftest.
$ac_objext
22201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22202 (eval $ac_compile) 2>conftest.er1
22204 grep -v '^ *+' conftest.er1
>conftest.err
22206 cat conftest.err
>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); } &&
22209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211 (eval $ac_try) 2>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); }; } &&
22215 { ac_try
='test -s conftest.$ac_objext'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; }; then
22221 ac_cv_cxx_const_cast
=yes
22223 echo "$as_me: failed program was:" >&5
22224 sed 's/^/| /' conftest.
$ac_ext >&5
22226 ac_cv_cxx_const_cast
=no
22228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22230 ac_cpp
='$CPP $CPPFLAGS'
22231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22237 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22238 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22239 if test "$ac_cv_cxx_const_cast" = yes; then
22241 cat >>confdefs.h
<<\_ACEOF
22242 #define HAVE_CONST_CAST
22247 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22248 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22249 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22250 echo $ECHO_N "(cached) $ECHO_C" >&6
22255 ac_cpp
='$CXXCPP $CPPFLAGS'
22256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22260 cat >conftest.
$ac_ext <<_ACEOF
22263 cat confdefs.h
>>conftest.
$ac_ext
22264 cat >>conftest.
$ac_ext <<_ACEOF
22265 /* end confdefs.h. */
22266 #include <typeinfo>
22267 class Base { public : Base () {} virtual void f () = 0;};
22268 class Derived : public Base { public : Derived () {} virtual void f () {} };
22269 class Unrelated { public : Unrelated () {} };
22270 int g (Unrelated&) { return 0; }
22275 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22280 rm -f conftest.
$ac_objext
22281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22282 (eval $ac_compile) 2>conftest.er1
22284 grep -v '^ *+' conftest.er1
>conftest.err
22286 cat conftest.err
>&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); } &&
22289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try
='test -s conftest.$ac_objext'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 ac_cv_cxx_reinterpret_cast
=yes
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.
$ac_ext >&5
22306 ac_cv_cxx_reinterpret_cast
=no
22308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22310 ac_cpp
='$CPP $CPPFLAGS'
22311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22317 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22318 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22319 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22321 cat >>confdefs.h
<<\_ACEOF
22322 #define HAVE_REINTERPRET_CAST
22327 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22328 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22329 if test "${ac_cv_cxx_static_cast+set}" = set; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22335 ac_cpp
='$CXXCPP $CPPFLAGS'
22336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22340 cat >conftest.
$ac_ext <<_ACEOF
22343 cat confdefs.h
>>conftest.
$ac_ext
22344 cat >>conftest.
$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 #include <typeinfo>
22347 class Base { public : Base () {} virtual void f () = 0; };
22348 class Derived : public Base { public : Derived () {} virtual void f () {} };
22349 int g (Derived&) { return 0; }
22354 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22359 rm -f conftest.
$ac_objext
22360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22361 (eval $ac_compile) 2>conftest.er1
22363 grep -v '^ *+' conftest.er1
>conftest.err
22365 cat conftest.err
>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } &&
22368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22370 (eval $ac_try) 2>&5
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); }; } &&
22374 { ac_try
='test -s conftest.$ac_objext'
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; }; then
22380 ac_cv_cxx_static_cast
=yes
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.
$ac_ext >&5
22385 ac_cv_cxx_static_cast
=no
22387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22389 ac_cpp
='$CPP $CPPFLAGS'
22390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22396 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22397 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22398 if test "$ac_cv_cxx_static_cast" = yes; then
22400 cat >>confdefs.h
<<\_ACEOF
22401 #define HAVE_STATIC_CAST
22407 if test "x$SUNCXX" = xyes
; then
22408 CXXFLAGS
="$CXXFLAGS -features=tmplife"
22411 if test "x$SUNCC" = xyes
; then
22412 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22415 if test "x$SGICC" = "xyes"; then
22416 CFLAGS
="$CFLAGS -woff 3970"
22418 if test "x$SGICXX" = "xyes"; then
22419 CXXFLAGS
="$CXXFLAGS -woff 3970"
22422 if test "x$HPCC" = "xyes"; then
22423 CFLAGS
="$CFLAGS +W 2011,2450"
22425 if test "x$HPCXX" = "xyes"; then
22426 CXXFLAGS
="$CXXFLAGS +W 2340"
22429 if test "x$COMPAQCXX" = "xyes"; then
22430 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22433 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22435 ac_cpp
='$CXXCPP $CPPFLAGS'
22436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22441 if test "$wxUSE_UNICODE" = "yes"; then
22442 std_string
="std::wstring"
22443 char_type
="wchar_t"
22445 std_string
="std::string"
22449 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22450 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22451 cat >conftest.
$ac_ext <<_ACEOF
22454 cat confdefs.h
>>conftest.
$ac_ext
22455 cat >>conftest.
$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22466 rm -f conftest.
$ac_objext
22467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22468 (eval $ac_compile) 2>conftest.er1
22470 grep -v '^ *+' conftest.er1
>conftest.err
22472 cat conftest.err
>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; } &&
22481 { ac_try
='test -s conftest.$ac_objext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 echo "$as_me:$LINENO: result: yes" >&5
22488 echo "${ECHO_T}yes" >&6
22489 cat >>confdefs.h
<<\_ACEOF
22490 #define HAVE_STD_WSTRING 1
22494 echo "$as_me: failed program was:" >&5
22495 sed 's/^/| /' conftest.
$ac_ext >&5
22497 echo "$as_me:$LINENO: result: no" >&5
22498 echo "${ECHO_T}no" >&6
22499 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22500 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22501 cat >conftest.
$ac_ext <<_ACEOF
22504 cat confdefs.h
>>conftest.
$ac_ext
22505 cat >>conftest.
$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22508 #ifdef HAVE_WCHAR_H
22510 # include <stddef.h>
22512 # include <wchar.h>
22514 #ifdef HAVE_STDLIB_H
22515 # include <stdlib.h>
22523 std::basic_string<$char_type> foo;
22524 const $char_type* dummy = foo.c_str();
22529 rm -f conftest.
$ac_objext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22531 (eval $ac_compile) 2>conftest.er1
22533 grep -v '^ *+' conftest.er1
>conftest.err
22535 cat conftest.err
>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } &&
22538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; } &&
22544 { ac_try
='test -s conftest.$ac_objext'
22545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22546 (eval $ac_try) 2>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); }; }; then
22550 echo "$as_me:$LINENO: result: yes" >&5
22551 echo "${ECHO_T}yes" >&6
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.
$ac_ext >&5
22556 echo "$as_me:$LINENO: result: no" >&5
22557 echo "${ECHO_T}no" >&6
22558 if test "$wxUSE_STL" = "yes"; then
22559 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22560 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22561 { (exit 1); exit 1; }; }
22562 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22563 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22564 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22565 { (exit 1); exit 1; }; }
22567 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22568 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22569 wxUSE_STD_STRING
=no
22574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22580 ac_cpp
='$CPP $CPPFLAGS'
22581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22587 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22589 ac_cpp
='$CXXCPP $CPPFLAGS'
22590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22595 echo "$as_me:$LINENO: checking for std::istream" >&5
22596 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22597 if test "${ac_cv_type_std__istream+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #include <iostream>
22611 if ((std::istream *) 0)
22613 if (sizeof (std::istream))
22619 rm -f conftest.
$ac_objext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22621 (eval $ac_compile) 2>conftest.er1
22623 grep -v '^ *+' conftest.er1
>conftest.err
22625 cat conftest.err
>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try
='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_cv_type_std__istream
=yes
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.
$ac_ext >&5
22645 ac_cv_type_std__istream
=no
22647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22649 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22650 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22651 if test $ac_cv_type_std__istream = yes; then
22653 cat >>confdefs.h
<<_ACEOF
22654 #define HAVE_STD__ISTREAM 1
22659 wxUSE_STD_IOSTREAM
=no
22661 echo "$as_me:$LINENO: checking for std::ostream" >&5
22662 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22663 if test "${ac_cv_type_std__ostream+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 cat >conftest.
$ac_ext <<_ACEOF
22669 cat confdefs.h
>>conftest.
$ac_ext
22670 cat >>conftest.
$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 #include <iostream>
22677 if ((std::ostream *) 0)
22679 if (sizeof (std::ostream))
22685 rm -f conftest.
$ac_objext
22686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22687 (eval $ac_compile) 2>conftest.er1
22689 grep -v '^ *+' conftest.er1
>conftest.err
22691 cat conftest.err
>&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } &&
22694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try
='test -s conftest.$ac_objext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_type_std__ostream
=yes
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.
$ac_ext >&5
22711 ac_cv_type_std__ostream
=no
22713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22715 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22716 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22717 if test $ac_cv_type_std__ostream = yes; then
22719 cat >>confdefs.h
<<_ACEOF
22720 #define HAVE_STD__OSTREAM 1
22725 wxUSE_STD_IOSTREAM
=no
22729 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22730 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22731 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22732 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22733 { (exit 1); exit 1; }; }
22735 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22736 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22741 ac_cpp
='$CPP $CPPFLAGS'
22742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22748 if test "$wxUSE_STL" = "yes"; then
22750 ac_cpp
='$CXXCPP $CPPFLAGS'
22751 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22756 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22757 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22758 cat >conftest.
$ac_ext <<_ACEOF
22761 cat confdefs.h
>>conftest.
$ac_ext
22762 cat >>conftest.
$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22765 #include <functional>
22766 #include <algorithm>
22772 std::vector<int> moo;
22773 std::list<int> foo;
22774 std::vector<int>::iterator it =
22775 std::find_if(moo.begin(), moo.end(),
22776 std::bind2nd(std::less<int>(), 3));
22781 rm -f conftest.
$ac_objext
22782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22783 (eval $ac_compile) 2>conftest.er1
22785 grep -v '^ *+' conftest.er1
>conftest.err
22787 cat conftest.err
>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } &&
22790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; } &&
22796 { ac_try
='test -s conftest.$ac_objext'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22802 echo "$as_me:$LINENO: result: yes" >&5
22803 echo "${ECHO_T}yes" >&6
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.
$ac_ext >&5
22808 echo "$as_me:$LINENO: result: no" >&5
22809 echo "${ECHO_T}no" >&6
22810 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22811 echo "$as_me: error: Basic STL functionality missing" >&2;}
22812 { (exit 1); exit 1; }; }
22814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22816 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22817 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22818 cat >conftest.
$ac_ext <<_ACEOF
22821 cat confdefs.h
>>conftest.
$ac_ext
22822 cat >>conftest.
$ac_ext <<_ACEOF
22823 /* end confdefs.h. */
22828 std::string foo, bar;
22830 foo.compare(1, 1, bar);
22831 foo.compare(1, 1, bar, 1, 1);
22833 foo.compare(1, 1, "");
22834 foo.compare(1, 1, "", 2);
22839 rm -f conftest.
$ac_objext
22840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22841 (eval $ac_compile) 2>conftest.er1
22843 grep -v '^ *+' conftest.er1
>conftest.err
22845 cat conftest.err
>&5
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); } &&
22848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22850 (eval $ac_try) 2>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); }; } &&
22854 { ac_try
='test -s conftest.$ac_objext'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 echo "$as_me:$LINENO: result: yes" >&5
22861 echo "${ECHO_T}yes" >&6
22862 cat >>confdefs.h
<<\_ACEOF
22863 #define HAVE_STD_STRING_COMPARE 1
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.
$ac_ext >&5
22870 echo "$as_me:$LINENO: result: no" >&5
22871 echo "${ECHO_T}no" >&6
22873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22875 if test "${ac_cv_header_hash_map+set}" = set; then
22876 echo "$as_me:$LINENO: checking for hash_map" >&5
22877 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22878 if test "${ac_cv_header_hash_map+set}" = set; then
22879 echo $ECHO_N "(cached) $ECHO_C" >&6
22881 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22882 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22884 # Is the header compilable?
22885 echo "$as_me:$LINENO: checking hash_map usability" >&5
22886 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22887 cat >conftest.
$ac_ext <<_ACEOF
22890 cat confdefs.h
>>conftest.
$ac_ext
22891 cat >>conftest.
$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 #include <hash_map>
22896 rm -f conftest.
$ac_objext
22897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22898 (eval $ac_compile) 2>conftest.er1
22900 grep -v '^ *+' conftest.er1
>conftest.err
22902 cat conftest.err
>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } &&
22905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; } &&
22911 { ac_try
='test -s conftest.$ac_objext'
22912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22913 (eval $ac_try) 2>&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_header_compiler
=yes
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.
$ac_ext >&5
22922 ac_header_compiler
=no
22924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22926 echo "${ECHO_T}$ac_header_compiler" >&6
22928 # Is the header present?
22929 echo "$as_me:$LINENO: checking hash_map presence" >&5
22930 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22931 cat >conftest.
$ac_ext <<_ACEOF
22934 cat confdefs.h
>>conftest.
$ac_ext
22935 cat >>conftest.
$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22937 #include <hash_map>
22939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22940 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22942 grep -v '^ *+' conftest.er1
>conftest.err
22944 cat conftest.err
>&5
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); } >/dev
/null
; then
22947 if test -s conftest.err
; then
22948 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22949 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22956 if test -z "$ac_cpp_err"; then
22957 ac_header_preproc
=yes
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.
$ac_ext >&5
22962 ac_header_preproc
=no
22964 rm -f conftest.err conftest.
$ac_ext
22965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22966 echo "${ECHO_T}$ac_header_preproc" >&6
22968 # So? What about this header?
22969 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22971 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22972 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22973 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22974 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22975 ac_header_preproc
=yes
22978 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22979 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22980 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22981 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22982 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22983 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22984 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22985 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22986 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22987 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22988 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22989 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22992 ## ----------------------------------------- ##
22993 ## Report this to wx-dev@lists.wxwidgets.org ##
22994 ## ----------------------------------------- ##
22997 sed "s/^/$as_me: WARNING: /" >&2
23000 echo "$as_me:$LINENO: checking for hash_map" >&5
23001 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23002 if test "${ac_cv_header_hash_map+set}" = set; then
23003 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 ac_cv_header_hash_map
=$ac_header_preproc
23007 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23008 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23011 if test $ac_cv_header_hash_map = yes; then
23012 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23013 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23014 cat >conftest.
$ac_ext <<_ACEOF
23017 cat confdefs.h
>>conftest.
$ac_ext
23018 cat >>conftest.
$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23020 #include <hash_map>
23021 #include <hash_set>
23025 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23026 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23031 rm -f conftest.
$ac_objext
23032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23033 (eval $ac_compile) 2>conftest.er1
23035 grep -v '^ *+' conftest.er1
>conftest.err
23037 cat conftest.err
>&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } &&
23040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; } &&
23046 { ac_try
='test -s conftest.$ac_objext'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; }; then
23052 echo "$as_me:$LINENO: result: yes" >&5
23053 echo "${ECHO_T}yes" >&6
23054 cat >>confdefs.h
<<\_ACEOF
23055 #define HAVE_HASH_MAP 1
23058 cat >>confdefs.h
<<\_ACEOF
23059 #define HAVE_STD_HASH_MAP 1
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.
$ac_ext >&5
23066 echo "$as_me:$LINENO: result: no" >&5
23067 echo "${ECHO_T}no" >&6
23069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23075 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23076 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23077 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23078 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23082 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23084 # Is the header compilable?
23085 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23086 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23087 cat >conftest.
$ac_ext <<_ACEOF
23090 cat confdefs.h
>>conftest.
$ac_ext
23091 cat >>conftest.
$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23093 $ac_includes_default
23094 #include <ext/hash_map>
23096 rm -f conftest.
$ac_objext
23097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23098 (eval $ac_compile) 2>conftest.er1
23100 grep -v '^ *+' conftest.er1
>conftest.err
23102 cat conftest.err
>&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } &&
23105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23107 (eval $ac_try) 2>&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); }; } &&
23111 { ac_try
='test -s conftest.$ac_objext'
23112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23113 (eval $ac_try) 2>&5
23115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23116 (exit $ac_status); }; }; then
23117 ac_header_compiler
=yes
23119 echo "$as_me: failed program was:" >&5
23120 sed 's/^/| /' conftest.
$ac_ext >&5
23122 ac_header_compiler
=no
23124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23126 echo "${ECHO_T}$ac_header_compiler" >&6
23128 # Is the header present?
23129 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23130 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23131 cat >conftest.
$ac_ext <<_ACEOF
23134 cat confdefs.h
>>conftest.
$ac_ext
23135 cat >>conftest.
$ac_ext <<_ACEOF
23136 /* end confdefs.h. */
23137 #include <ext/hash_map>
23139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23142 grep -v '^ *+' conftest.er1
>conftest.err
23144 cat conftest.err
>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } >/dev
/null
; then
23147 if test -s conftest.err
; then
23148 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23149 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23156 if test -z "$ac_cpp_err"; then
23157 ac_header_preproc
=yes
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.
$ac_ext >&5
23162 ac_header_preproc
=no
23164 rm -f conftest.err conftest.
$ac_ext
23165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23166 echo "${ECHO_T}$ac_header_preproc" >&6
23168 # So? What about this header?
23169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23171 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23172 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23173 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23174 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23175 ac_header_preproc
=yes
23178 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23179 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23180 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23181 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23182 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23183 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23184 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23185 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23186 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23187 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23188 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23189 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23192 ## ----------------------------------------- ##
23193 ## Report this to wx-dev@lists.wxwidgets.org ##
23194 ## ----------------------------------------- ##
23197 sed "s/^/$as_me: WARNING: /" >&2
23200 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23201 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23202 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 ac_cv_header_ext_hash_map
=$ac_header_preproc
23207 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23208 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23211 if test $ac_cv_header_ext_hash_map = yes; then
23212 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23213 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23214 cat >conftest.
$ac_ext <<_ACEOF
23217 cat confdefs.h
>>conftest.
$ac_ext
23218 cat >>conftest.
$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 #include <ext/hash_map>
23221 #include <ext/hash_set>
23225 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23226 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23231 rm -f conftest.
$ac_objext
23232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23233 (eval $ac_compile) 2>conftest.er1
23235 grep -v '^ *+' conftest.er1
>conftest.err
23237 cat conftest.err
>&5
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); } &&
23240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; } &&
23246 { ac_try
='test -s conftest.$ac_objext'
23247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248 (eval $ac_try) 2>&5
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; }; then
23252 echo "$as_me:$LINENO: result: yes" >&5
23253 echo "${ECHO_T}yes" >&6
23254 cat >>confdefs.h
<<\_ACEOF
23255 #define HAVE_EXT_HASH_MAP 1
23258 cat >>confdefs.h
<<\_ACEOF
23259 #define HAVE_GNU_CXX_HASH_MAP 1
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.
$ac_ext >&5
23266 echo "$as_me:$LINENO: result: no" >&5
23267 echo "${ECHO_T}no" >&6
23269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23276 ac_cpp
='$CPP $CPPFLAGS'
23277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23285 /usr/local/include \
23287 /usr/Motif-2.1/include \
23288 /usr/Motif-1.2/include \
23289 /usr/include/Motif1.2 \
23292 /usr/openwin/include \
23296 /usr/X11R6/include \
23297 /usr/X11R6.4/include \
23298 /usr/X11R5/include \
23299 /usr/X11R4/include \
23301 /usr/include/X11R6 \
23302 /usr/include/X11R5 \
23303 /usr/include/X11R4 \
23305 /usr/local/X11R6/include \
23306 /usr/local/X11R5/include \
23307 /usr/local/X11R4/include \
23309 /usr/local/include/X11R6 \
23310 /usr/local/include/X11R5 \
23311 /usr/local/include/X11R4 \
23315 /usr/local/X11/include \
23316 /usr/local/include/X11 \
23318 /usr/XFree86/include/X11 \
23321 /usr/openwin/share/include"
23323 echo "$as_me:$LINENO: checking for libraries directory" >&5
23324 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23328 if test "${wx_cv_std_libpath+set}" = set; then
23329 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23333 for e
in a so sl dylib dll.a
; do
23335 if test -f $libc; then
23338 cat >conftest.
$ac_ext <<_ACEOF
23339 int main() { return 0; }
23341 rm -f conftest.
$ac_objext conftest
$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>conftest.er1
23345 grep -v '^ *+' conftest.er1
>conftest.err
23347 cat conftest.err
>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try
='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.
$ac_ext >&5
23368 rm -f conftest.err conftest.
$ac_objext \
23369 conftest
$ac_exeext conftest.
$ac_ext
23371 if test "x$wx_cv_std_libpath" != "x"; then
23377 if test "x$wx_cv_std_libpath" = "x"; then
23378 wx_cv_std_libpath
="lib"
23387 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23388 wx_cv_std_libpath
="lib/64"
23390 wx_cv_std_libpath
="lib"
23395 if test "$ac_cv_sizeof_void_p" = 8 -a \
23396 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23397 wx_cv_std_libpath
="lib64"
23399 wx_cv_std_libpath
="lib"
23404 wx_cv_std_libpath
="lib";
23408 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23409 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23411 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23413 if test "$build" != "$host" -a "$GCC" = yes; then
23414 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23415 cross_root
=`dirname $cross_root`
23416 cross_root
=`dirname $cross_root`
23418 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23419 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23420 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23422 if test -z "$PKG_CONFIG_PATH"; then
23423 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23424 export PKG_CONFIG_PATH
23427 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23430 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23432 if test -f "$ac_dir/X11/Intrinsic.h"; then
23433 ac_find_includes
=$ac_dir
23438 x_includes
=$ac_find_includes
23440 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23443 for ac_dir
in $SEARCH_LIB;
23445 for ac_extension
in a so sl dylib dll.a
; do
23446 if test -f "$ac_dir/libXt.$ac_extension"; then
23447 ac_find_libraries
=$ac_dir
23453 x_libraries
=$ac_find_libraries
23459 cat >confcache
<<\_ACEOF
23460 # This file is a shell script that caches the results of configure
23461 # tests run on this system so they can be shared between configure
23462 # scripts and configure runs, see configure's option --config-cache.
23463 # It is not useful on other systems. If it contains results you don't
23464 # want to keep, you may remove or edit it.
23466 # config.status only pays attention to the cache file if you give it
23467 # the --recheck option to rerun configure.
23469 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23470 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23471 # following values.
23475 # The following way of writing the cache mishandles newlines in values,
23476 # but we know of no workaround that is simple, portable, and efficient.
23477 # So, don't put newlines in cache variables' values.
23478 # Ultrix sh set writes to stderr and can't be redirected directly,
23479 # and sets the high bit in the cache file unless we assign to the vars.
23482 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23484 # `set' does not quote correctly, so add quotes (double-quote
23485 # substitution turns \\\\ into \\, and sed turns \\ into \).
23488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23491 # `set' quotes correctly as required by POSIX, so do not add quotes.
23493 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23502 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23504 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23505 if test -w $cache_file; then
23506 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23507 cat confcache
>$cache_file
23509 echo "not updating unwritable cache $cache_file"
23514 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23515 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23516 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23517 if test "${wx_cv_lib_glibc21+set}" = set; then
23518 echo $ECHO_N "(cached) $ECHO_C" >&6
23521 cat >conftest.
$ac_ext <<_ACEOF
23524 cat confdefs.h
>>conftest.
$ac_ext
23525 cat >>conftest.
$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527 #include <features.h>
23532 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23540 rm -f conftest.
$ac_objext
23541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23542 (eval $ac_compile) 2>conftest.er1
23544 grep -v '^ *+' conftest.er1
>conftest.err
23546 cat conftest.err
>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } &&
23549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; } &&
23555 { ac_try
='test -s conftest.$ac_objext'
23556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23557 (eval $ac_try) 2>&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; }; then
23562 wx_cv_lib_glibc21
=yes
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.
$ac_ext >&5
23569 wx_cv_lib_glibc21
=no
23573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23576 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23577 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23578 if test "$wx_cv_lib_glibc21" = "yes"; then
23579 cat >>confdefs.h
<<\_ACEOF
23580 #define wxHAVE_GLIBC2 1
23586 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23587 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23588 cat >>confdefs.h
<<\_ACEOF
23589 #define _GNU_SOURCE 1
23597 if test "$wxUSE_REGEX" != "no"; then
23598 cat >>confdefs.h
<<\_ACEOF
23599 #define wxUSE_REGEX 1
23603 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23604 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23605 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23606 wxUSE_REGEX
=builtin
23609 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23610 if test "${ac_cv_header_regex_h+set}" = set; then
23611 echo "$as_me:$LINENO: checking for regex.h" >&5
23612 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23613 if test "${ac_cv_header_regex_h+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23616 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23617 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23619 # Is the header compilable?
23620 echo "$as_me:$LINENO: checking regex.h usability" >&5
23621 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23622 cat >conftest.
$ac_ext <<_ACEOF
23625 cat confdefs.h
>>conftest.
$ac_ext
23626 cat >>conftest.
$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23628 $ac_includes_default
23631 rm -f conftest.
$ac_objext
23632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23633 (eval $ac_compile) 2>conftest.er1
23635 grep -v '^ *+' conftest.er1
>conftest.err
23637 cat conftest.err
>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; } &&
23646 { ac_try
='test -s conftest.$ac_objext'
23647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648 (eval $ac_try) 2>&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; }; then
23652 ac_header_compiler
=yes
23654 echo "$as_me: failed program was:" >&5
23655 sed 's/^/| /' conftest.
$ac_ext >&5
23657 ac_header_compiler
=no
23659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23661 echo "${ECHO_T}$ac_header_compiler" >&6
23663 # Is the header present?
23664 echo "$as_me:$LINENO: checking regex.h presence" >&5
23665 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23666 cat >conftest.
$ac_ext <<_ACEOF
23669 cat confdefs.h
>>conftest.
$ac_ext
23670 cat >>conftest.
$ac_ext <<_ACEOF
23671 /* end confdefs.h. */
23674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23677 grep -v '^ *+' conftest.er1
>conftest.err
23679 cat conftest.err
>&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); } >/dev
/null
; then
23682 if test -s conftest.err
; then
23683 ac_cpp_err
=$ac_c_preproc_warn_flag
23684 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23691 if test -z "$ac_cpp_err"; then
23692 ac_header_preproc
=yes
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.
$ac_ext >&5
23697 ac_header_preproc
=no
23699 rm -f conftest.err conftest.
$ac_ext
23700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23701 echo "${ECHO_T}$ac_header_preproc" >&6
23703 # So? What about this header?
23704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23706 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23707 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23708 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23709 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23710 ac_header_preproc
=yes
23713 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23714 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23715 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23716 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23717 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23718 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23719 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23720 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23721 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23722 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23723 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23724 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23727 ## ----------------------------------------- ##
23728 ## Report this to wx-dev@lists.wxwidgets.org ##
23729 ## ----------------------------------------- ##
23732 sed "s/^/$as_me: WARNING: /" >&2
23735 echo "$as_me:$LINENO: checking for regex.h" >&5
23736 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23737 if test "${ac_cv_header_regex_h+set}" = set; then
23738 echo $ECHO_N "(cached) $ECHO_C" >&6
23740 ac_cv_header_regex_h
=$ac_header_preproc
23742 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23743 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23746 if test $ac_cv_header_regex_h = yes; then
23749 for ac_func
in regcomp re_search
23751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23752 echo "$as_me:$LINENO: checking for $ac_func" >&5
23753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23754 if eval "test \"\${$as_ac_var+set}\" = set"; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 cat >conftest.
$ac_ext <<_ACEOF
23760 cat confdefs.h
>>conftest.
$ac_ext
23761 cat >>conftest.
$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23765 #define $ac_func innocuous_$ac_func
23767 /* System header to define __stub macros and hopefully few prototypes,
23768 which can conflict with char $ac_func (); below.
23769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23770 <limits.h> exists even on freestanding compilers. */
23773 # include <limits.h>
23775 # include <assert.h>
23780 /* Override any gcc2 internal prototype to avoid an error. */
23785 /* We use char because int might match the return type of a gcc2
23786 builtin and then its argument prototype would still apply. */
23788 /* The GNU C library defines this for functions which it implements
23789 to always fail with ENOSYS. Some functions are actually named
23790 something starting with __ and the normal name is an alias. */
23791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23794 char (*f) () = $ac_func;
23803 return f != $ac_func;
23808 rm -f conftest.
$ac_objext conftest
$ac_exeext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23810 (eval $ac_link) 2>conftest.er1
23812 grep -v '^ *+' conftest.er1
>conftest.err
23814 cat conftest.err
>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); } &&
23817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819 (eval $ac_try) 2>&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); }; } &&
23823 { ac_try
='test -s conftest$ac_exeext'
23824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23825 (eval $ac_try) 2>&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); }; }; then
23829 eval "$as_ac_var=yes"
23831 echo "$as_me: failed program was:" >&5
23832 sed 's/^/| /' conftest.
$ac_ext >&5
23834 eval "$as_ac_var=no"
23836 rm -f conftest.err conftest.
$ac_objext \
23837 conftest
$ac_exeext conftest.
$ac_ext
23839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23841 if test `eval echo '${'$as_ac_var'}'` = yes; then
23842 cat >>confdefs.h
<<_ACEOF
23843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23853 if test "x$ac_cv_func_regcomp" != "xyes"; then
23854 if test "$wxUSE_REGEX" = "sys" ; then
23855 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23856 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23857 { (exit 1); exit 1; }; }
23859 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23860 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23861 wxUSE_REGEX
=builtin
23865 cat >>confdefs.h
<<\_ACEOF
23866 #define WX_NO_REGEX_ADVANCED 1
23875 if test "$wxUSE_ZLIB" != "no" ; then
23876 cat >>confdefs.h
<<\_ACEOF
23877 #define wxUSE_ZLIB 1
23881 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23882 if test "$USE_DARWIN" = 1; then
23883 system_zlib_h_ok
="yes"
23885 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23886 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23887 if test "${ac_cv_header_zlib_h+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23890 if test "$cross_compiling" = yes; then
23891 unset ac_cv_header_zlib_h
23894 cat >conftest.
$ac_ext <<_ACEOF
23897 cat confdefs.h
>>conftest.
$ac_ext
23898 cat >>conftest.
$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23906 FILE *f=fopen("conftestval", "w");
23909 ZLIB_VERSION[0] == '1' &&
23910 (ZLIB_VERSION[2] > '1' ||
23911 (ZLIB_VERSION[2] == '1' &&
23912 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23917 rm -f conftest
$ac_exeext
23918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23919 (eval $ac_link) 2>&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23924 (eval $ac_try) 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); }; }; then
23928 ac_cv_header_zlib_h
=`cat conftestval`
23930 echo "$as_me: program exited with status $ac_status" >&5
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.
$ac_ext >&5
23934 ( exit $ac_status )
23935 ac_cv_header_zlib_h
=no
23937 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23941 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23942 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23943 if test "${ac_cv_header_zlib_h+set}" = set; then
23944 echo "$as_me:$LINENO: checking for zlib.h" >&5
23945 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23946 if test "${ac_cv_header_zlib_h+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23949 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23950 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23952 # Is the header compilable?
23953 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23954 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23955 cat >conftest.
$ac_ext <<_ACEOF
23958 cat confdefs.h
>>conftest.
$ac_ext
23959 cat >>conftest.
$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 $ac_includes_default
23964 rm -f conftest.
$ac_objext
23965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23966 (eval $ac_compile) 2>conftest.er1
23968 grep -v '^ *+' conftest.er1
>conftest.err
23970 cat conftest.err
>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } &&
23973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; } &&
23979 { ac_try
='test -s conftest.$ac_objext'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 ac_header_compiler
=yes
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.
$ac_ext >&5
23990 ac_header_compiler
=no
23992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23994 echo "${ECHO_T}$ac_header_compiler" >&6
23996 # Is the header present?
23997 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23998 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23999 cat >conftest.
$ac_ext <<_ACEOF
24002 cat confdefs.h
>>conftest.
$ac_ext
24003 cat >>conftest.
$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24010 grep -v '^ *+' conftest.er1
>conftest.err
24012 cat conftest.err
>&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } >/dev
/null
; then
24015 if test -s conftest.err
; then
24016 ac_cpp_err
=$ac_c_preproc_warn_flag
24017 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24024 if test -z "$ac_cpp_err"; then
24025 ac_header_preproc
=yes
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.
$ac_ext >&5
24030 ac_header_preproc
=no
24032 rm -f conftest.err conftest.
$ac_ext
24033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24034 echo "${ECHO_T}$ac_header_preproc" >&6
24036 # So? What about this header?
24037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24039 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24040 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24041 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24042 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24043 ac_header_preproc
=yes
24046 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24047 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24048 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24049 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24050 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24051 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24052 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24053 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24054 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24055 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24056 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24057 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24060 ## ----------------------------------------- ##
24061 ## Report this to wx-dev@lists.wxwidgets.org ##
24062 ## ----------------------------------------- ##
24065 sed "s/^/$as_me: WARNING: /" >&2
24068 echo "$as_me:$LINENO: checking for zlib.h" >&5
24069 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24070 if test "${ac_cv_header_zlib_h+set}" = set; then
24071 echo $ECHO_N "(cached) $ECHO_C" >&6
24073 ac_cv_header_zlib_h
=$ac_header_preproc
24075 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24076 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24082 system_zlib_h_ok
=$ac_cv_header_zlib_h
24085 if test "$system_zlib_h_ok" = "yes"; then
24086 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24087 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24088 if test "${ac_cv_lib_z_deflate+set}" = set; then
24089 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 ac_check_lib_save_LIBS
=$LIBS
24093 cat >conftest.
$ac_ext <<_ACEOF
24096 cat confdefs.h
>>conftest.
$ac_ext
24097 cat >>conftest.
$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24100 /* Override any gcc2 internal prototype to avoid an error. */
24104 /* We use char because int might match the return type of a gcc2
24105 builtin and then its argument prototype would still apply. */
24115 rm -f conftest.
$ac_objext conftest
$ac_exeext
24116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24117 (eval $ac_link) 2>conftest.er1
24119 grep -v '^ *+' conftest.er1
>conftest.err
24121 cat conftest.err
>&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); } &&
24124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; } &&
24130 { ac_try
='test -s conftest$ac_exeext'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; }; then
24136 ac_cv_lib_z_deflate
=yes
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.
$ac_ext >&5
24141 ac_cv_lib_z_deflate
=no
24143 rm -f conftest.err conftest.
$ac_objext \
24144 conftest
$ac_exeext conftest.
$ac_ext
24145 LIBS
=$ac_check_lib_save_LIBS
24147 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24148 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24149 if test $ac_cv_lib_z_deflate = yes; then
24155 if test "x$ZLIB_LINK" = "x" ; then
24156 if test "$wxUSE_ZLIB" = "sys" ; then
24157 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24158 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24159 { (exit 1); exit 1; }; }
24161 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24162 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24173 if test "$wxUSE_LIBPNG" != "no" ; then
24174 cat >>confdefs.h
<<\_ACEOF
24175 #define wxUSE_LIBPNG 1
24179 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24180 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24181 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24185 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24186 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24187 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24188 wxUSE_LIBPNG
=builtin
24191 if test "$wxUSE_MGL" != 1 ; then
24192 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24193 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24194 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24195 if test "${ac_cv_header_png_h+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 if test "$cross_compiling" = yes; then
24199 unset ac_cv_header_png_h
24202 cat >conftest.
$ac_ext <<_ACEOF
24205 cat confdefs.h
>>conftest.
$ac_ext
24206 cat >>conftest.
$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24214 FILE *f=fopen("conftestval", "w");
24217 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24222 rm -f conftest
$ac_exeext
24223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24224 (eval $ac_link) 2>&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; }; then
24233 ac_cv_header_png_h
=`cat conftestval`
24235 echo "$as_me: program exited with status $ac_status" >&5
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.
$ac_ext >&5
24239 ( exit $ac_status )
24240 ac_cv_header_png_h
=no
24242 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24246 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24247 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24248 if test "${ac_cv_header_png_h+set}" = set; then
24249 echo "$as_me:$LINENO: checking for png.h" >&5
24250 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24251 if test "${ac_cv_header_png_h+set}" = set; then
24252 echo $ECHO_N "(cached) $ECHO_C" >&6
24254 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24255 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24257 # Is the header compilable?
24258 echo "$as_me:$LINENO: checking png.h usability" >&5
24259 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24260 cat >conftest.
$ac_ext <<_ACEOF
24263 cat confdefs.h
>>conftest.
$ac_ext
24264 cat >>conftest.
$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24266 $ac_includes_default
24269 rm -f conftest.
$ac_objext
24270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24271 (eval $ac_compile) 2>conftest.er1
24273 grep -v '^ *+' conftest.er1
>conftest.err
24275 cat conftest.err
>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } &&
24278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280 (eval $ac_try) 2>&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); }; } &&
24284 { ac_try
='test -s conftest.$ac_objext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 ac_header_compiler
=yes
24292 echo "$as_me: failed program was:" >&5
24293 sed 's/^/| /' conftest.
$ac_ext >&5
24295 ac_header_compiler
=no
24297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24299 echo "${ECHO_T}$ac_header_compiler" >&6
24301 # Is the header present?
24302 echo "$as_me:$LINENO: checking png.h presence" >&5
24303 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24304 cat >conftest.
$ac_ext <<_ACEOF
24307 cat confdefs.h
>>conftest.
$ac_ext
24308 cat >>conftest.
$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24315 grep -v '^ *+' conftest.er1
>conftest.err
24317 cat conftest.err
>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } >/dev
/null
; then
24320 if test -s conftest.err
; then
24321 ac_cpp_err
=$ac_c_preproc_warn_flag
24322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24329 if test -z "$ac_cpp_err"; then
24330 ac_header_preproc
=yes
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.
$ac_ext >&5
24335 ac_header_preproc
=no
24337 rm -f conftest.err conftest.
$ac_ext
24338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24339 echo "${ECHO_T}$ac_header_preproc" >&6
24341 # So? What about this header?
24342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24344 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24345 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24346 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24347 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24348 ac_header_preproc
=yes
24351 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24352 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24353 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24354 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24355 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24356 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24357 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24358 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24359 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24360 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24361 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24362 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24365 ## ----------------------------------------- ##
24366 ## Report this to wx-dev@lists.wxwidgets.org ##
24367 ## ----------------------------------------- ##
24370 sed "s/^/$as_me: WARNING: /" >&2
24373 echo "$as_me:$LINENO: checking for png.h" >&5
24374 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24375 if test "${ac_cv_header_png_h+set}" = set; then
24376 echo $ECHO_N "(cached) $ECHO_C" >&6
24378 ac_cv_header_png_h
=$ac_header_preproc
24380 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24381 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24387 if test "$ac_cv_header_png_h" = "yes"; then
24388 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24389 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24390 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 ac_check_lib_save_LIBS
=$LIBS
24394 LIBS
="-lpng -lz -lm $LIBS"
24395 cat >conftest.
$ac_ext <<_ACEOF
24398 cat confdefs.h
>>conftest.
$ac_ext
24399 cat >>conftest.
$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24402 /* Override any gcc2 internal prototype to avoid an error. */
24406 /* We use char because int might match the return type of a gcc2
24407 builtin and then its argument prototype would still apply. */
24408 char png_check_sig ();
24417 rm -f conftest.
$ac_objext conftest
$ac_exeext
24418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24419 (eval $ac_link) 2>conftest.er1
24421 grep -v '^ *+' conftest.er1
>conftest.err
24423 cat conftest.err
>&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } &&
24426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24428 (eval $ac_try) 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; } &&
24432 { ac_try
='test -s conftest$ac_exeext'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; }; then
24438 ac_cv_lib_png_png_check_sig
=yes
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.
$ac_ext >&5
24443 ac_cv_lib_png_png_check_sig
=no
24445 rm -f conftest.err conftest.
$ac_objext \
24446 conftest
$ac_exeext conftest.
$ac_ext
24447 LIBS
=$ac_check_lib_save_LIBS
24449 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24450 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24451 if test $ac_cv_lib_png_png_check_sig = yes; then
24452 PNG_LINK
=" -lpng -lz"
24457 if test "x$PNG_LINK" = "x" ; then
24458 if test "$wxUSE_LIBPNG" = "sys" ; then
24459 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24460 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24461 { (exit 1); exit 1; }; }
24463 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24464 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24465 wxUSE_LIBPNG
=builtin
24473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24478 if test "$wxUSE_LIBJPEG" != "no" ; then
24479 cat >>confdefs.h
<<\_ACEOF
24480 #define wxUSE_LIBJPEG 1
24484 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24485 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24486 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24490 if test "$wxUSE_MGL" != 1 ; then
24491 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24492 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24493 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24494 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24495 echo $ECHO_N "(cached) $ECHO_C" >&6
24497 cat >conftest.
$ac_ext <<_ACEOF
24500 cat confdefs.h
>>conftest.
$ac_ext
24501 cat >>conftest.
$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24504 #undef HAVE_STDLIB_H
24506 #include <jpeglib.h>
24517 rm -f conftest.
$ac_objext
24518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24519 (eval $ac_compile) 2>conftest.er1
24521 grep -v '^ *+' conftest.er1
>conftest.err
24523 cat conftest.err
>&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } &&
24526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24528 (eval $ac_try) 2>&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); }; } &&
24532 { ac_try
='test -s conftest.$ac_objext'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; }; then
24538 ac_cv_header_jpeglib_h
=yes
24540 echo "$as_me: failed program was:" >&5
24541 sed 's/^/| /' conftest.
$ac_ext >&5
24543 ac_cv_header_jpeglib_h
=no
24546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24550 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24551 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24553 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24554 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24555 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24556 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24559 ac_check_lib_save_LIBS
=$LIBS
24560 LIBS
="-ljpeg $LIBS"
24561 cat >conftest.
$ac_ext <<_ACEOF
24564 cat confdefs.h
>>conftest.
$ac_ext
24565 cat >>conftest.
$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24568 /* Override any gcc2 internal prototype to avoid an error. */
24572 /* We use char because int might match the return type of a gcc2
24573 builtin and then its argument prototype would still apply. */
24574 char jpeg_read_header ();
24578 jpeg_read_header ();
24583 rm -f conftest.
$ac_objext conftest
$ac_exeext
24584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24585 (eval $ac_link) 2>conftest.er1
24587 grep -v '^ *+' conftest.er1
>conftest.err
24589 cat conftest.err
>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } &&
24592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24594 (eval $ac_try) 2>&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); }; } &&
24598 { ac_try
='test -s conftest$ac_exeext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24604 ac_cv_lib_jpeg_jpeg_read_header
=yes
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.
$ac_ext >&5
24609 ac_cv_lib_jpeg_jpeg_read_header
=no
24611 rm -f conftest.err conftest.
$ac_objext \
24612 conftest
$ac_exeext conftest.
$ac_ext
24613 LIBS
=$ac_check_lib_save_LIBS
24615 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24616 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24617 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24618 JPEG_LINK
=" -ljpeg"
24623 if test "x$JPEG_LINK" = "x" ; then
24624 if test "$wxUSE_LIBJPEG" = "sys" ; then
24625 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24626 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24627 { (exit 1); exit 1; }; }
24629 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24630 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24631 wxUSE_LIBJPEG
=builtin
24642 TIFF_PREREQ_LINKS
=-lm
24643 if test "$wxUSE_LIBTIFF" != "no" ; then
24644 cat >>confdefs.h
<<\_ACEOF
24645 #define wxUSE_LIBTIFF 1
24649 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24650 if test "$wxUSE_LIBJPEG" = "sys"; then
24651 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24653 if test "$wxUSE_ZLIB" = "sys"; then
24654 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24656 if test "${ac_cv_header_tiffio_h+set}" = set; then
24657 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24658 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24659 if test "${ac_cv_header_tiffio_h+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24663 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24665 # Is the header compilable?
24666 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24667 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24668 cat >conftest.
$ac_ext <<_ACEOF
24671 cat confdefs.h
>>conftest.
$ac_ext
24672 cat >>conftest.
$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674 $ac_includes_default
24675 #include <tiffio.h>
24677 rm -f conftest.
$ac_objext
24678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24679 (eval $ac_compile) 2>conftest.er1
24681 grep -v '^ *+' conftest.er1
>conftest.err
24683 cat conftest.err
>&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); } &&
24686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; } &&
24692 { ac_try
='test -s conftest.$ac_objext'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; }; then
24698 ac_header_compiler
=yes
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.
$ac_ext >&5
24703 ac_header_compiler
=no
24705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24707 echo "${ECHO_T}$ac_header_compiler" >&6
24709 # Is the header present?
24710 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24711 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24712 cat >conftest.
$ac_ext <<_ACEOF
24715 cat confdefs.h
>>conftest.
$ac_ext
24716 cat >>conftest.
$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24718 #include <tiffio.h>
24720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24723 grep -v '^ *+' conftest.er1
>conftest.err
24725 cat conftest.err
>&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } >/dev
/null
; then
24728 if test -s conftest.err
; then
24729 ac_cpp_err
=$ac_c_preproc_warn_flag
24730 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24737 if test -z "$ac_cpp_err"; then
24738 ac_header_preproc
=yes
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.
$ac_ext >&5
24743 ac_header_preproc
=no
24745 rm -f conftest.err conftest.
$ac_ext
24746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24747 echo "${ECHO_T}$ac_header_preproc" >&6
24749 # So? What about this header?
24750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24752 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24753 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24754 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24755 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24756 ac_header_preproc
=yes
24759 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24760 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24761 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24762 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24763 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24764 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24765 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24766 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24767 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24768 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24769 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24770 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24773 ## ----------------------------------------- ##
24774 ## Report this to wx-dev@lists.wxwidgets.org ##
24775 ## ----------------------------------------- ##
24778 sed "s/^/$as_me: WARNING: /" >&2
24781 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24782 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24783 if test "${ac_cv_header_tiffio_h+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 ac_cv_header_tiffio_h
=$ac_header_preproc
24788 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24789 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24792 if test $ac_cv_header_tiffio_h = yes; then
24794 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24795 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24796 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24797 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 ac_check_lib_save_LIBS
=$LIBS
24800 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24801 cat >conftest.
$ac_ext <<_ACEOF
24804 cat confdefs.h
>>conftest.
$ac_ext
24805 cat >>conftest.
$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24808 /* Override any gcc2 internal prototype to avoid an error. */
24812 /* We use char because int might match the return type of a gcc2
24813 builtin and then its argument prototype would still apply. */
24823 rm -f conftest.
$ac_objext conftest
$ac_exeext
24824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24825 (eval $ac_link) 2>conftest.er1
24827 grep -v '^ *+' conftest.er1
>conftest.err
24829 cat conftest.err
>&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } &&
24832 { ac_try
='test -z "$ac_c_werror_flag" || 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_tiff_TIFFError
=yes
24846 echo "$as_me: failed program was:" >&5
24847 sed 's/^/| /' conftest.
$ac_ext >&5
24849 ac_cv_lib_tiff_TIFFError
=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_tiff_TIFFError" >&5
24856 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24857 if test $ac_cv_lib_tiff_TIFFError = yes; then
24858 TIFF_LINK
=" -ltiff"
24867 if test "x$TIFF_LINK" = "x" ; then
24868 if test "$wxUSE_LIBTIFF" = "sys" ; then
24869 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24870 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24871 { (exit 1); exit 1; }; }
24873 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24874 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24875 wxUSE_LIBTIFF
=builtin
24884 if test "$wxUSE_WCHAR_T" != "yes"; then
24885 if test "$wxUSE_EXPAT" != "no"; then
24886 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24887 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24890 if test "$wxUSE_XML" != "no"; then
24891 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24892 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24897 if test "$wxUSE_EXPAT" != "no"; then
24899 cat >>confdefs.h
<<\_ACEOF
24900 #define wxUSE_EXPAT 1
24903 cat >>confdefs.h
<<\_ACEOF
24904 #define wxUSE_XML 1
24908 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24909 if test "${ac_cv_header_expat_h+set}" = set; then
24910 echo "$as_me:$LINENO: checking for expat.h" >&5
24911 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24912 if test "${ac_cv_header_expat_h+set}" = set; then
24913 echo $ECHO_N "(cached) $ECHO_C" >&6
24915 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24916 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24918 # Is the header compilable?
24919 echo "$as_me:$LINENO: checking expat.h usability" >&5
24920 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24921 cat >conftest.
$ac_ext <<_ACEOF
24924 cat confdefs.h
>>conftest.
$ac_ext
24925 cat >>conftest.
$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24930 rm -f conftest.
$ac_objext
24931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24932 (eval $ac_compile) 2>conftest.er1
24934 grep -v '^ *+' conftest.er1
>conftest.err
24936 cat conftest.err
>&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } &&
24939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24941 (eval $ac_try) 2>&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); }; } &&
24945 { ac_try
='test -s conftest.$ac_objext'
24946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947 (eval $ac_try) 2>&5
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); }; }; then
24951 ac_header_compiler
=yes
24953 echo "$as_me: failed program was:" >&5
24954 sed 's/^/| /' conftest.
$ac_ext >&5
24956 ac_header_compiler
=no
24958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24960 echo "${ECHO_T}$ac_header_compiler" >&6
24962 # Is the header present?
24963 echo "$as_me:$LINENO: checking expat.h presence" >&5
24964 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24965 cat >conftest.
$ac_ext <<_ACEOF
24968 cat confdefs.h
>>conftest.
$ac_ext
24969 cat >>conftest.
$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24976 grep -v '^ *+' conftest.er1
>conftest.err
24978 cat conftest.err
>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } >/dev
/null
; then
24981 if test -s conftest.err
; then
24982 ac_cpp_err
=$ac_c_preproc_warn_flag
24983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24990 if test -z "$ac_cpp_err"; then
24991 ac_header_preproc
=yes
24993 echo "$as_me: failed program was:" >&5
24994 sed 's/^/| /' conftest.
$ac_ext >&5
24996 ac_header_preproc
=no
24998 rm -f conftest.err conftest.
$ac_ext
24999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25000 echo "${ECHO_T}$ac_header_preproc" >&6
25002 # So? What about this header?
25003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25005 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25006 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25007 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25008 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25009 ac_header_preproc
=yes
25012 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25013 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25014 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25015 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25016 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25017 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25018 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25019 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25020 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25021 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25022 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25023 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25026 ## ----------------------------------------- ##
25027 ## Report this to wx-dev@lists.wxwidgets.org ##
25028 ## ----------------------------------------- ##
25031 sed "s/^/$as_me: WARNING: /" >&2
25034 echo "$as_me:$LINENO: checking for expat.h" >&5
25035 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25036 if test "${ac_cv_header_expat_h+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 ac_cv_header_expat_h
=$ac_header_preproc
25041 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25042 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25045 if test $ac_cv_header_expat_h = yes; then
25050 if test "x$found_expat_h" = "x1"; then
25051 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25052 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25053 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 ac_cpp
='$CXXCPP $CPPFLAGS'
25061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25065 cat >conftest.
$ac_ext <<_ACEOF
25068 cat confdefs.h
>>conftest.
$ac_ext
25069 cat >>conftest.
$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25080 rm -f conftest.
$ac_objext
25081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25082 (eval $ac_compile) 2>conftest.er1
25084 grep -v '^ *+' conftest.er1
>conftest.err
25086 cat conftest.err
>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } &&
25089 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try
='test -s conftest.$ac_objext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 wx_cv_expat_is_not_broken
=yes
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.
$ac_ext >&5
25106 wx_cv_expat_is_not_broken
=no
25109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25111 ac_cpp
='$CPP $CPPFLAGS'
25112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25119 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25120 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25121 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25122 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25123 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25124 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25125 echo $ECHO_N "(cached) $ECHO_C" >&6
25127 ac_check_lib_save_LIBS
=$LIBS
25128 LIBS
="-lexpat $LIBS"
25129 cat >conftest.
$ac_ext <<_ACEOF
25132 cat confdefs.h
>>conftest.
$ac_ext
25133 cat >>conftest.
$ac_ext <<_ACEOF
25134 /* end confdefs.h. */
25136 /* Override any gcc2 internal prototype to avoid an error. */
25140 /* We use char because int might match the return type of a gcc2
25141 builtin and then its argument prototype would still apply. */
25142 char XML_ParserCreate ();
25146 XML_ParserCreate ();
25151 rm -f conftest.
$ac_objext conftest
$ac_exeext
25152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25153 (eval $ac_link) 2>conftest.er1
25155 grep -v '^ *+' conftest.er1
>conftest.err
25157 cat conftest.err
>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25162 (eval $ac_try) 2>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); }; } &&
25166 { ac_try
='test -s conftest$ac_exeext'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; }; then
25172 ac_cv_lib_expat_XML_ParserCreate
=yes
25174 echo "$as_me: failed program was:" >&5
25175 sed 's/^/| /' conftest.
$ac_ext >&5
25177 ac_cv_lib_expat_XML_ParserCreate
=no
25179 rm -f conftest.err conftest.
$ac_objext \
25180 conftest
$ac_exeext conftest.
$ac_ext
25181 LIBS
=$ac_check_lib_save_LIBS
25183 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25184 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25185 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25186 EXPAT_LINK
=" -lexpat"
25191 if test "x$EXPAT_LINK" = "x" ; then
25192 if test "$wxUSE_EXPAT" = "sys" ; then
25193 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25194 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25195 { (exit 1); exit 1; }; }
25197 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25198 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25199 wxUSE_EXPAT
=builtin
25205 if test "$wxUSE_EXPAT" = "builtin" ; then
25208 subdirs
="$subdirs src/expat"
25215 if test "$wxUSE_LIBMSPACK" != "no"; then
25216 if test "${ac_cv_header_mspack_h+set}" = set; then
25217 echo "$as_me:$LINENO: checking for mspack.h" >&5
25218 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25219 if test "${ac_cv_header_mspack_h+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25223 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25225 # Is the header compilable?
25226 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25227 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25228 cat >conftest.
$ac_ext <<_ACEOF
25231 cat confdefs.h
>>conftest.
$ac_ext
25232 cat >>conftest.
$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 $ac_includes_default
25235 #include <mspack.h>
25237 rm -f conftest.
$ac_objext
25238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25239 (eval $ac_compile) 2>conftest.er1
25241 grep -v '^ *+' conftest.er1
>conftest.err
25243 cat conftest.err
>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } &&
25246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25248 (eval $ac_try) 2>&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); }; } &&
25252 { ac_try
='test -s conftest.$ac_objext'
25253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25254 (eval $ac_try) 2>&5
25256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25257 (exit $ac_status); }; }; then
25258 ac_header_compiler
=yes
25260 echo "$as_me: failed program was:" >&5
25261 sed 's/^/| /' conftest.
$ac_ext >&5
25263 ac_header_compiler
=no
25265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25267 echo "${ECHO_T}$ac_header_compiler" >&6
25269 # Is the header present?
25270 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25271 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25272 cat >conftest.
$ac_ext <<_ACEOF
25275 cat confdefs.h
>>conftest.
$ac_ext
25276 cat >>conftest.
$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278 #include <mspack.h>
25280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25283 grep -v '^ *+' conftest.er1
>conftest.err
25285 cat conftest.err
>&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); } >/dev
/null
; then
25288 if test -s conftest.err
; then
25289 ac_cpp_err
=$ac_c_preproc_warn_flag
25290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25297 if test -z "$ac_cpp_err"; then
25298 ac_header_preproc
=yes
25300 echo "$as_me: failed program was:" >&5
25301 sed 's/^/| /' conftest.
$ac_ext >&5
25303 ac_header_preproc
=no
25305 rm -f conftest.err conftest.
$ac_ext
25306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25307 echo "${ECHO_T}$ac_header_preproc" >&6
25309 # So? What about this header?
25310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25312 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25313 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25314 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25315 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25316 ac_header_preproc
=yes
25319 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25320 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25321 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25322 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25323 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25324 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25325 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25326 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25327 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25328 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25329 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25330 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25333 ## ----------------------------------------- ##
25334 ## Report this to wx-dev@lists.wxwidgets.org ##
25335 ## ----------------------------------------- ##
25338 sed "s/^/$as_me: WARNING: /" >&2
25341 echo "$as_me:$LINENO: checking for mspack.h" >&5
25342 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25343 if test "${ac_cv_header_mspack_h+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 ac_cv_header_mspack_h
=$ac_header_preproc
25348 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25349 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25352 if test $ac_cv_header_mspack_h = yes; then
25357 if test "x$found_mspack_h" = "x1"; then
25358 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25359 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25360 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25361 echo $ECHO_N "(cached) $ECHO_C" >&6
25363 ac_check_lib_save_LIBS
=$LIBS
25364 LIBS
="-lmspack $LIBS"
25365 cat >conftest.
$ac_ext <<_ACEOF
25368 cat confdefs.h
>>conftest.
$ac_ext
25369 cat >>conftest.
$ac_ext <<_ACEOF
25370 /* end confdefs.h. */
25372 /* Override any gcc2 internal prototype to avoid an error. */
25376 /* We use char because int might match the return type of a gcc2
25377 builtin and then its argument prototype would still apply. */
25378 char mspack_create_chm_decompressor ();
25382 mspack_create_chm_decompressor ();
25387 rm -f conftest.
$ac_objext conftest
$ac_exeext
25388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25389 (eval $ac_link) 2>conftest.er1
25391 grep -v '^ *+' conftest.er1
>conftest.err
25393 cat conftest.err
>&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); } &&
25396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; } &&
25402 { ac_try
='test -s conftest$ac_exeext'
25403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25404 (eval $ac_try) 2>&5
25406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407 (exit $ac_status); }; }; then
25408 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25410 echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.
$ac_ext >&5
25413 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25415 rm -f conftest.err conftest.
$ac_objext \
25416 conftest
$ac_exeext conftest.
$ac_ext
25417 LIBS
=$ac_check_lib_save_LIBS
25419 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25420 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25421 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25422 MSPACK_LINK
=" -lmspack"
25426 if test "x$MSPACK_LINK" = "x" ; then
25431 if test "$wxUSE_LIBMSPACK" != "no"; then
25432 cat >>confdefs.h
<<\_ACEOF
25433 #define wxUSE_LIBMSPACK 1
25447 if test "$USE_WIN32" = 1 ; then
25449 for ac_header
in w32api.h
25451 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25453 echo "$as_me:$LINENO: checking for $ac_header" >&5
25454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25461 # Is the header compilable?
25462 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25464 cat >conftest.
$ac_ext <<_ACEOF
25467 cat confdefs.h
>>conftest.
$ac_ext
25468 cat >>conftest.
$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 $ac_includes_default
25471 #include <$ac_header>
25473 rm -f conftest.
$ac_objext
25474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25475 (eval $ac_compile) 2>conftest.er1
25477 grep -v '^ *+' conftest.er1
>conftest.err
25479 cat conftest.err
>&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } &&
25482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484 (eval $ac_try) 2>&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); }; } &&
25488 { ac_try
='test -s conftest.$ac_objext'
25489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25490 (eval $ac_try) 2>&5
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); }; }; then
25494 ac_header_compiler
=yes
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.
$ac_ext >&5
25499 ac_header_compiler
=no
25501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25503 echo "${ECHO_T}$ac_header_compiler" >&6
25505 # Is the header present?
25506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25508 cat >conftest.
$ac_ext <<_ACEOF
25511 cat confdefs.h
>>conftest.
$ac_ext
25512 cat >>conftest.
$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514 #include <$ac_header>
25516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25519 grep -v '^ *+' conftest.er1
>conftest.err
25521 cat conftest.err
>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } >/dev
/null
; then
25524 if test -s conftest.err
; then
25525 ac_cpp_err
=$ac_c_preproc_warn_flag
25526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25533 if test -z "$ac_cpp_err"; then
25534 ac_header_preproc
=yes
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.
$ac_ext >&5
25539 ac_header_preproc
=no
25541 rm -f conftest.err conftest.
$ac_ext
25542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25543 echo "${ECHO_T}$ac_header_preproc" >&6
25545 # So? What about this header?
25546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25552 ac_header_preproc
=yes
25555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25569 ## ----------------------------------------- ##
25570 ## Report this to wx-dev@lists.wxwidgets.org ##
25571 ## ----------------------------------------- ##
25574 sed "s/^/$as_me: WARNING: /" >&2
25577 echo "$as_me:$LINENO: checking for $ac_header" >&5
25578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 eval "$as_ac_Header=\$ac_header_preproc"
25584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25589 cat >>confdefs.h
<<_ACEOF
25590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25597 if test "${ac_cv_header_windows_h+set}" = set; then
25598 echo "$as_me:$LINENO: checking for windows.h" >&5
25599 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25600 if test "${ac_cv_header_windows_h+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25606 # Is the header compilable?
25607 echo "$as_me:$LINENO: checking windows.h usability" >&5
25608 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25609 cat >conftest.
$ac_ext <<_ACEOF
25612 cat confdefs.h
>>conftest.
$ac_ext
25613 cat >>conftest.
$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615 $ac_includes_default
25616 #include <windows.h>
25618 rm -f conftest.
$ac_objext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25620 (eval $ac_compile) 2>conftest.er1
25622 grep -v '^ *+' conftest.er1
>conftest.err
25624 cat conftest.err
>&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } &&
25627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629 (eval $ac_try) 2>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); }; } &&
25633 { ac_try
='test -s conftest.$ac_objext'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; }; then
25639 ac_header_compiler
=yes
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.
$ac_ext >&5
25644 ac_header_compiler
=no
25646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25648 echo "${ECHO_T}$ac_header_compiler" >&6
25650 # Is the header present?
25651 echo "$as_me:$LINENO: checking windows.h presence" >&5
25652 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25653 cat >conftest.
$ac_ext <<_ACEOF
25656 cat confdefs.h
>>conftest.
$ac_ext
25657 cat >>conftest.
$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25659 #include <windows.h>
25661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25664 grep -v '^ *+' conftest.er1
>conftest.err
25666 cat conftest.err
>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } >/dev
/null
; then
25669 if test -s conftest.err
; then
25670 ac_cpp_err
=$ac_c_preproc_warn_flag
25671 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25678 if test -z "$ac_cpp_err"; then
25679 ac_header_preproc
=yes
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.
$ac_ext >&5
25684 ac_header_preproc
=no
25686 rm -f conftest.err conftest.
$ac_ext
25687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25688 echo "${ECHO_T}$ac_header_preproc" >&6
25690 # So? What about this header?
25691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25693 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25694 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25695 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25696 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25697 ac_header_preproc
=yes
25700 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25701 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25702 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25703 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25704 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25705 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25706 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25707 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25708 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25709 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25711 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25714 ## ----------------------------------------- ##
25715 ## Report this to wx-dev@lists.wxwidgets.org ##
25716 ## ----------------------------------------- ##
25719 sed "s/^/$as_me: WARNING: /" >&2
25722 echo "$as_me:$LINENO: checking for windows.h" >&5
25723 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25724 if test "${ac_cv_header_windows_h+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 ac_cv_header_windows_h
=$ac_header_preproc
25729 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25730 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25733 if test $ac_cv_header_windows_h = yes; then
25737 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25738 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25739 { (exit 1); exit 1; }; }
25745 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25747 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25748 LIBS
="$LIBS -loleacc"
25753 LIBS
="$LIBS -lkernel32 -luser32"
25756 if test "$wxUSE_ODBC" = "sys" ; then
25759 if test "$wxUSE_ODBC" = "yes" ; then
25760 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25761 cat >>confdefs.h
<<\_ACEOF
25762 #define wxUSE_ODBC 1
25767 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25768 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25770 WXCONFIG_RESFLAGS
="--include-dir \$includedir --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25772 WIN32INSTALL
=win32install
25775 if test "$wxUSE_GUI" = "yes"; then
25785 if test "$wxUSE_COCOA" = 1 ; then
25786 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25787 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25788 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25789 wxUSE_PRINTING_ARCHITECTURE
=no
25791 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25792 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25793 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25794 wxUSE_DRAG_AND_DROP
=no
25796 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25797 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25798 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25803 if test "$wxUSE_MSW" = 1 ; then
25809 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25813 if test "$wxUSE_GTK" = 1; then
25814 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25815 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25817 gtk_version_cached
=1
25818 if test "${wx_cv_lib_gtk+set}" = set; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25822 gtk_version_cached
=0
25823 echo "$as_me:$LINENO: result: " >&5
25824 echo "${ECHO_T}" >&6
25827 if test "$wxUSE_THREADS" = "yes"; then
25828 GTK_MODULES
=gthread
25832 if test "x$wxGTK_VERSION" != "x1"
25836 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25841 # Check whether --enable-gtktest or --disable-gtktest was given.
25842 if test "${enable_gtktest+set}" = set; then
25843 enableval
="$enable_gtktest"
25849 pkg_config_args
=gtk
+-2.0
25850 for module
in .
$GTK_MODULES
25854 pkg_config_args
="$pkg_config_args gthread-2.0"
25861 # Extract the first word of "pkg-config", so it can be a program name with args.
25862 set dummy pkg
-config; ac_word
=$2
25863 echo "$as_me:$LINENO: checking for $ac_word" >&5
25864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25865 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25866 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 case $PKG_CONFIG in
25870 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25874 for as_dir
in $PATH
25877 test -z "$as_dir" && as_dir
=.
25878 for ac_exec_ext
in '' $ac_executable_extensions; do
25879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25880 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25887 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25891 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25893 if test -n "$PKG_CONFIG"; then
25894 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25895 echo "${ECHO_T}$PKG_CONFIG" >&6
25897 echo "$as_me:$LINENO: result: no" >&5
25898 echo "${ECHO_T}no" >&6
25902 if test x
$PKG_CONFIG != xno
; then
25903 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25906 echo "*** pkg-config too old; version 0.7 or better required."
25914 min_gtk_version
=2.0.0
25915 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25916 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25918 if test x
$PKG_CONFIG != xno
; then
25919 ## don't try to run the test against uninstalled libtool libs
25920 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25921 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25925 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25932 if test x
"$no_gtk" = x
; then
25933 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25934 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25935 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25937 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25939 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25941 if test "x$enable_gtktest" = "xyes" ; then
25942 ac_save_CFLAGS
="$CFLAGS"
25943 ac_save_LIBS
="$LIBS"
25944 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25945 LIBS
="$GTK_LIBS $LIBS"
25947 if test "$cross_compiling" = yes; then
25948 echo $ac_n "cross compiling; assumed OK... $ac_c"
25950 cat >conftest.
$ac_ext <<_ACEOF
25953 cat confdefs.h
>>conftest.
$ac_ext
25954 cat >>conftest.
$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25957 #include <gtk/gtk.h>
25959 #include <stdlib.h>
25964 int major, minor, micro;
25967 system ("touch conf.gtktest");
25969 /* HP/UX 9 (%@#!) writes to sscanf strings */
25970 tmp_version = g_strdup("$min_gtk_version");
25971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25972 printf("%s, bad version string\n", "$min_gtk_version");
25976 if ((gtk_major_version != $gtk_config_major_version) ||
25977 (gtk_minor_version != $gtk_config_minor_version) ||
25978 (gtk_micro_version != $gtk_config_micro_version))
25980 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25981 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25982 gtk_major_version, gtk_minor_version, gtk_micro_version);
25983 printf ("*** was found! If pkg-config was correct, then it is best\n");
25984 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25985 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25986 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25987 printf("*** required on your system.\n");
25988 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25989 printf("*** to point to the correct configuration files\n");
25991 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25992 (gtk_minor_version != GTK_MINOR_VERSION) ||
25993 (gtk_micro_version != GTK_MICRO_VERSION))
25995 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25996 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25997 printf("*** library (version %d.%d.%d)\n",
25998 gtk_major_version, gtk_minor_version, gtk_micro_version);
26002 if ((gtk_major_version > major) ||
26003 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26004 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26010 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26011 gtk_major_version, gtk_minor_version, gtk_micro_version);
26012 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26013 major, minor, micro);
26014 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26016 printf("*** If you have already installed a sufficiently new version, this error\n");
26017 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26018 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26019 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26020 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26021 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26022 printf("*** so that the correct libraries are found at run-time))\n");
26029 rm -f conftest
$ac_exeext
26030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26031 (eval $ac_link) 2>&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; }; then
26042 echo "$as_me: program exited with status $ac_status" >&5
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.
$ac_ext >&5
26046 ( exit $ac_status )
26049 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26051 CFLAGS
="$ac_save_CFLAGS"
26052 LIBS
="$ac_save_LIBS"
26055 if test "x$no_gtk" = x
; then
26056 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26057 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26060 echo "$as_me:$LINENO: result: no" >&5
26061 echo "${ECHO_T}no" >&6
26062 if test "$PKG_CONFIG" = "no" ; then
26063 echo "*** A new enough version of pkg-config was not found."
26064 echo "*** See http://pkgconfig.sourceforge.net"
26066 if test -f conf.gtktest
; then
26069 echo "*** Could not run GTK+ test program, checking why..."
26070 ac_save_CFLAGS
="$CFLAGS"
26071 ac_save_LIBS
="$LIBS"
26072 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26073 LIBS
="$LIBS $GTK_LIBS"
26074 cat >conftest.
$ac_ext <<_ACEOF
26077 cat confdefs.h
>>conftest.
$ac_ext
26078 cat >>conftest.
$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26081 #include <gtk/gtk.h>
26087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26092 rm -f conftest.
$ac_objext conftest
$ac_exeext
26093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26094 (eval $ac_link) 2>conftest.er1
26096 grep -v '^ *+' conftest.er1
>conftest.err
26098 cat conftest.err
>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } &&
26101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103 (eval $ac_try) 2>&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); }; } &&
26107 { ac_try
='test -s conftest$ac_exeext'
26108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109 (eval $ac_try) 2>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; }; then
26113 echo "*** The test program compiled, but did not run. This usually means"
26114 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26115 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26118 echo "*** is required on your system"
26120 echo "*** If you have an old version installed, it is best to remove it, although"
26121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.
$ac_ext >&5
26126 echo "*** The test program failed to compile or link. See the file config.log for the"
26127 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26129 rm -f conftest.err conftest.
$ac_objext \
26130 conftest
$ac_exeext conftest.
$ac_ext
26131 CFLAGS
="$ac_save_CFLAGS"
26132 LIBS
="$ac_save_LIBS"
26146 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26147 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26148 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26150 if test "$wxUSE_SHARED" != "yes"; then
26151 GTK_LIBS
="$GTK_LIBS -lX11"
26156 if test -z "$wx_cv_lib_gtk"; then
26157 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26159 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26160 if test "${with_gtk_prefix+set}" = set; then
26161 withval
="$with_gtk_prefix"
26162 gtk_config_prefix
="$withval"
26164 gtk_config_prefix
=""
26167 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26168 if test "${with_gtk_exec_prefix+set}" = set; then
26169 withval
="$with_gtk_exec_prefix"
26170 gtk_config_exec_prefix
="$withval"
26172 gtk_config_exec_prefix
=""
26174 # Check whether --enable-gtktest or --disable-gtktest was given.
26175 if test "${enable_gtktest+set}" = set; then
26176 enableval
="$enable_gtktest"
26182 for module
in .
$GTK_MODULES
26186 gtk_config_args
="$gtk_config_args gthread"
26191 if test x
$gtk_config_exec_prefix != x
; then
26192 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26193 if test x
${GTK_CONFIG+set} != xset
; then
26194 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26197 if test x
$gtk_config_prefix != x
; then
26198 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26199 if test x
${GTK_CONFIG+set} != xset
; then
26200 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26204 # Extract the first word of "gtk-config", so it can be a program name with args.
26205 set dummy gtk
-config; ac_word
=$2
26206 echo "$as_me:$LINENO: checking for $ac_word" >&5
26207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26208 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26211 case $GTK_CONFIG in
26213 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26217 for as_dir
in $PATH
26220 test -z "$as_dir" && as_dir
=.
26221 for ac_exec_ext
in '' $ac_executable_extensions; do
26222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26223 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26230 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26234 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26236 if test -n "$GTK_CONFIG"; then
26237 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26238 echo "${ECHO_T}$GTK_CONFIG" >&6
26240 echo "$as_me:$LINENO: result: no" >&5
26241 echo "${ECHO_T}no" >&6
26244 min_gtk_version
=1.2.7
26245 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26246 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26248 if test "$GTK_CONFIG" = "no" ; then
26251 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26252 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26253 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26255 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26257 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26259 if test "x$enable_gtktest" = "xyes" ; then
26260 ac_save_CFLAGS
="$CFLAGS"
26261 ac_save_LIBS
="$LIBS"
26262 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26263 LIBS
="$GTK_LIBS $LIBS"
26265 if test "$cross_compiling" = yes; then
26266 echo $ac_n "cross compiling; assumed OK... $ac_c"
26268 cat >conftest.
$ac_ext <<_ACEOF
26271 cat confdefs.h
>>conftest.
$ac_ext
26272 cat >>conftest.
$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26275 #include <gtk/gtk.h>
26277 #include <stdlib.h>
26282 int major, minor, micro;
26285 system ("touch conf.gtktest");
26287 /* HP/UX 9 (%@#!) writes to sscanf strings */
26288 tmp_version = g_strdup("$min_gtk_version");
26289 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26290 printf("%s, bad version string\n", "$min_gtk_version");
26294 if ((gtk_major_version != $gtk_config_major_version) ||
26295 (gtk_minor_version != $gtk_config_minor_version) ||
26296 (gtk_micro_version != $gtk_config_micro_version))
26298 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26299 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26300 gtk_major_version, gtk_minor_version, gtk_micro_version);
26301 printf ("*** was found! If gtk-config was correct, then it is best\n");
26302 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26303 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26304 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26305 printf("*** required on your system.\n");
26306 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26307 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26308 printf("*** before re-running configure\n");
26310 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26311 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26312 (gtk_minor_version != GTK_MINOR_VERSION) ||
26313 (gtk_micro_version != GTK_MICRO_VERSION))
26315 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26316 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26317 printf("*** library (version %d.%d.%d)\n",
26318 gtk_major_version, gtk_minor_version, gtk_micro_version);
26320 #endif /* defined (GTK_MAJOR_VERSION) ... */
26323 if ((gtk_major_version > major) ||
26324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26331 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26332 gtk_major_version, gtk_minor_version, gtk_micro_version);
26333 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26334 major, minor, micro);
26335 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26337 printf("*** If you have already installed a sufficiently new version, this error\n");
26338 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26339 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26340 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26341 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26342 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26343 printf("*** so that the correct libraries are found at run-time))\n");
26350 rm -f conftest
$ac_exeext
26351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26352 (eval $ac_link) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; }; then
26363 echo "$as_me: program exited with status $ac_status" >&5
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.
$ac_ext >&5
26367 ( exit $ac_status )
26370 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26372 CFLAGS
="$ac_save_CFLAGS"
26373 LIBS
="$ac_save_LIBS"
26376 if test "x$no_gtk" = x
; then
26377 echo "$as_me:$LINENO: result: yes" >&5
26378 echo "${ECHO_T}yes" >&6
26379 wx_cv_lib_gtk
=1.2.7
26381 echo "$as_me:$LINENO: result: no" >&5
26382 echo "${ECHO_T}no" >&6
26383 if test "$GTK_CONFIG" = "no" ; then
26384 echo "*** The gtk-config script installed by GTK could not be found"
26385 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26386 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26387 echo "*** full path to gtk-config."
26389 if test -f conf.gtktest
; then
26392 echo "*** Could not run GTK test program, checking why..."
26393 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26394 LIBS
="$LIBS $GTK_LIBS"
26395 cat >conftest.
$ac_ext <<_ACEOF
26398 cat confdefs.h
>>conftest.
$ac_ext
26399 cat >>conftest.
$ac_ext <<_ACEOF
26400 /* end confdefs.h. */
26402 #include <gtk/gtk.h>
26408 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26413 rm -f conftest.
$ac_objext conftest
$ac_exeext
26414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26415 (eval $ac_link) 2>conftest.er1
26417 grep -v '^ *+' conftest.er1
>conftest.err
26419 cat conftest.err
>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } &&
26422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; } &&
26428 { ac_try
='test -s conftest$ac_exeext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 echo "*** The test program compiled, but did not run. This usually means"
26435 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26436 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26437 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26438 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26439 echo "*** is required on your system"
26441 echo "*** If you have an old version installed, it is best to remove it, although"
26442 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26444 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26445 echo "*** came with the system with the command"
26447 echo "*** rpm --erase --nodeps gtk gtk-devel"
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.
$ac_ext >&5
26452 echo "*** The test program failed to compile or link. See the file config.log for the"
26453 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26454 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26455 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26457 rm -f conftest.err conftest.
$ac_objext \
26458 conftest
$ac_exeext conftest.
$ac_ext
26459 CFLAGS
="$ac_save_CFLAGS"
26460 LIBS
="$ac_save_LIBS"
26472 if test -z "$wx_cv_lib_gtk"; then
26474 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26475 if test "${with_gtk_prefix+set}" = set; then
26476 withval
="$with_gtk_prefix"
26477 gtk_config_prefix
="$withval"
26479 gtk_config_prefix
=""
26482 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26483 if test "${with_gtk_exec_prefix+set}" = set; then
26484 withval
="$with_gtk_exec_prefix"
26485 gtk_config_exec_prefix
="$withval"
26487 gtk_config_exec_prefix
=""
26489 # Check whether --enable-gtktest or --disable-gtktest was given.
26490 if test "${enable_gtktest+set}" = set; then
26491 enableval
="$enable_gtktest"
26497 for module
in .
$GTK_MODULES
26501 gtk_config_args
="$gtk_config_args gthread"
26506 if test x
$gtk_config_exec_prefix != x
; then
26507 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26508 if test x
${GTK_CONFIG+set} != xset
; then
26509 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26512 if test x
$gtk_config_prefix != x
; then
26513 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26514 if test x
${GTK_CONFIG+set} != xset
; then
26515 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26519 # Extract the first word of "gtk-config", so it can be a program name with args.
26520 set dummy gtk
-config; ac_word
=$2
26521 echo "$as_me:$LINENO: checking for $ac_word" >&5
26522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26523 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 case $GTK_CONFIG in
26528 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26532 for as_dir
in $PATH
26535 test -z "$as_dir" && as_dir
=.
26536 for ac_exec_ext
in '' $ac_executable_extensions; do
26537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26538 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26545 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26549 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26551 if test -n "$GTK_CONFIG"; then
26552 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26553 echo "${ECHO_T}$GTK_CONFIG" >&6
26555 echo "$as_me:$LINENO: result: no" >&5
26556 echo "${ECHO_T}no" >&6
26559 min_gtk_version
=1.2.3
26560 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26561 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26563 if test "$GTK_CONFIG" = "no" ; then
26566 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26567 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26568 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26570 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26572 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26574 if test "x$enable_gtktest" = "xyes" ; then
26575 ac_save_CFLAGS
="$CFLAGS"
26576 ac_save_LIBS
="$LIBS"
26577 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26578 LIBS
="$GTK_LIBS $LIBS"
26580 if test "$cross_compiling" = yes; then
26581 echo $ac_n "cross compiling; assumed OK... $ac_c"
26583 cat >conftest.
$ac_ext <<_ACEOF
26586 cat confdefs.h
>>conftest.
$ac_ext
26587 cat >>conftest.
$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26590 #include <gtk/gtk.h>
26592 #include <stdlib.h>
26597 int major, minor, micro;
26600 system ("touch conf.gtktest");
26602 /* HP/UX 9 (%@#!) writes to sscanf strings */
26603 tmp_version = g_strdup("$min_gtk_version");
26604 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26605 printf("%s, bad version string\n", "$min_gtk_version");
26609 if ((gtk_major_version != $gtk_config_major_version) ||
26610 (gtk_minor_version != $gtk_config_minor_version) ||
26611 (gtk_micro_version != $gtk_config_micro_version))
26613 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26614 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26615 gtk_major_version, gtk_minor_version, gtk_micro_version);
26616 printf ("*** was found! If gtk-config was correct, then it is best\n");
26617 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26618 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26619 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26620 printf("*** required on your system.\n");
26621 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26622 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26623 printf("*** before re-running configure\n");
26625 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26626 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26627 (gtk_minor_version != GTK_MINOR_VERSION) ||
26628 (gtk_micro_version != GTK_MICRO_VERSION))
26630 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26631 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26632 printf("*** library (version %d.%d.%d)\n",
26633 gtk_major_version, gtk_minor_version, gtk_micro_version);
26635 #endif /* defined (GTK_MAJOR_VERSION) ... */
26638 if ((gtk_major_version > major) ||
26639 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26640 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26646 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26647 gtk_major_version, gtk_minor_version, gtk_micro_version);
26648 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26649 major, minor, micro);
26650 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26652 printf("*** If you have already installed a sufficiently new version, this error\n");
26653 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26654 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26655 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26656 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26657 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26658 printf("*** so that the correct libraries are found at run-time))\n");
26665 rm -f conftest
$ac_exeext
26666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26667 (eval $ac_link) 2>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 (eval $ac_try) 2>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); }; }; then
26678 echo "$as_me: program exited with status $ac_status" >&5
26679 echo "$as_me: failed program was:" >&5
26680 sed 's/^/| /' conftest.
$ac_ext >&5
26682 ( exit $ac_status )
26685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26687 CFLAGS
="$ac_save_CFLAGS"
26688 LIBS
="$ac_save_LIBS"
26691 if test "x$no_gtk" = x
; then
26692 echo "$as_me:$LINENO: result: yes" >&5
26693 echo "${ECHO_T}yes" >&6
26694 wx_cv_lib_gtk
=1.2.3
26696 echo "$as_me:$LINENO: result: no" >&5
26697 echo "${ECHO_T}no" >&6
26698 if test "$GTK_CONFIG" = "no" ; then
26699 echo "*** The gtk-config script installed by GTK could not be found"
26700 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26701 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26702 echo "*** full path to gtk-config."
26704 if test -f conf.gtktest
; then
26707 echo "*** Could not run GTK test program, checking why..."
26708 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26709 LIBS
="$LIBS $GTK_LIBS"
26710 cat >conftest.
$ac_ext <<_ACEOF
26713 cat confdefs.h
>>conftest.
$ac_ext
26714 cat >>conftest.
$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26717 #include <gtk/gtk.h>
26723 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26728 rm -f conftest.
$ac_objext conftest
$ac_exeext
26729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26730 (eval $ac_link) 2>conftest.er1
26732 grep -v '^ *+' conftest.er1
>conftest.err
26734 cat conftest.err
>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } &&
26737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; } &&
26743 { ac_try
='test -s conftest$ac_exeext'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; }; then
26749 echo "*** The test program compiled, but did not run. This usually means"
26750 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26751 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26752 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26753 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26754 echo "*** is required on your system"
26756 echo "*** If you have an old version installed, it is best to remove it, although"
26757 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26759 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26760 echo "*** came with the system with the command"
26762 echo "*** rpm --erase --nodeps gtk gtk-devel"
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.
$ac_ext >&5
26767 echo "*** The test program failed to compile or link. See the file config.log for the"
26768 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26769 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26770 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26772 rm -f conftest.err conftest.
$ac_objext \
26773 conftest
$ac_exeext conftest.
$ac_ext
26774 CFLAGS
="$ac_save_CFLAGS"
26775 LIBS
="$ac_save_LIBS"
26790 if test -z "$wx_cv_lib_gtk"; then
26793 wx_cv_cflags_gtk
=$GTK_CFLAGS
26794 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26801 if test "$gtk_version_cached" = 1; then
26802 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26803 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26806 case "$wx_cv_lib_gtk" in
26815 *) { { echo "$as_me:$LINENO: error:
26816 The development files for GTK+ were not found. For GTK+ 2, please
26817 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26818 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26819 and that the version is 1.2.3 or above. Also check that the
26820 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26821 --libs' are in the LD_LIBRARY_PATH or equivalent.
26823 echo "$as_me: error:
26824 The development files for GTK+ were not found. For GTK+ 2, please
26825 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26826 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26827 and that the version is 1.2.3 or above. Also check that the
26828 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26829 --libs' are in the LD_LIBRARY_PATH or equivalent.
26831 { (exit 1); exit 1; }; }
26835 if test "$WXGTK20" = 1; then
26836 save_CFLAGS
="$CFLAGS"
26838 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26839 LIBS
="$LIBS $wx_cv_libs_gtk"
26841 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26842 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26843 cat >conftest.
$ac_ext <<_ACEOF
26846 cat confdefs.h
>>conftest.
$ac_ext
26847 cat >>conftest.
$ac_ext <<_ACEOF
26848 /* end confdefs.h. */
26850 #include <gtk/gtk.h>
26856 void *f = gtk_icon_size_lookup;
26862 rm -f conftest.
$ac_objext
26863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26864 (eval $ac_compile) 2>conftest.er1
26866 grep -v '^ *+' conftest.er1
>conftest.err
26868 cat conftest.err
>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); } &&
26871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26873 (eval $ac_try) 2>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; } &&
26877 { ac_try
='test -s conftest.$ac_objext'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; }; then
26884 echo "$as_me:$LINENO: result: no" >&5
26885 echo "${ECHO_T}no" >&6
26888 echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.
$ac_ext >&5
26892 cat >>confdefs.h
<<\_ACEOF
26893 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26896 echo "$as_me:$LINENO: result: yes" >&5
26897 echo "${ECHO_T}yes" >&6
26900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26902 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26903 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26904 cat >conftest.
$ac_ext <<_ACEOF
26907 cat confdefs.h
>>conftest.
$ac_ext
26908 cat >>conftest.
$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26911 #include <gtk/gtk.h>
26917 #if !GTK_CHECK_VERSION(2,4,0)
26925 rm -f conftest.
$ac_objext
26926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26927 (eval $ac_compile) 2>conftest.er1
26929 grep -v '^ *+' conftest.er1
>conftest.err
26931 cat conftest.err
>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; } &&
26940 { ac_try
='test -s conftest.$ac_objext'
26941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26942 (eval $ac_try) 2>&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); }; }; then
26947 cat >>confdefs.h
<<\_ACEOF
26948 #define __WXGTK24__ 1
26951 echo "$as_me:$LINENO: result: yes" >&5
26952 echo "${ECHO_T}yes" >&6
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.
$ac_ext >&5
26959 echo "$as_me:$LINENO: result: no" >&5
26960 echo "${ECHO_T}no" >&6
26963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26965 CFLAGS
="$save_CFLAGS"
26968 if test "$wxUSE_UNICODE" = "yes"; then
26969 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26970 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26975 if test "$USE_DARWIN" != 1; then
26977 for ac_func
in poll
26979 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26980 echo "$as_me:$LINENO: checking for $ac_func" >&5
26981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26982 if eval "test \"\${$as_ac_var+set}\" = set"; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26985 cat >conftest.
$ac_ext <<_ACEOF
26988 cat confdefs.h
>>conftest.
$ac_ext
26989 cat >>conftest.
$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26993 #define $ac_func innocuous_$ac_func
26995 /* System header to define __stub macros and hopefully few prototypes,
26996 which can conflict with char $ac_func (); below.
26997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26998 <limits.h> exists even on freestanding compilers. */
27001 # include <limits.h>
27003 # include <assert.h>
27008 /* Override any gcc2 internal prototype to avoid an error. */
27013 /* We use char because int might match the return type of a gcc2
27014 builtin and then its argument prototype would still apply. */
27016 /* The GNU C library defines this for functions which it implements
27017 to always fail with ENOSYS. Some functions are actually named
27018 something starting with __ and the normal name is an alias. */
27019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27022 char (*f) () = $ac_func;
27031 return f != $ac_func;
27036 rm -f conftest.
$ac_objext conftest
$ac_exeext
27037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27038 (eval $ac_link) 2>conftest.er1
27040 grep -v '^ *+' conftest.er1
>conftest.err
27042 cat conftest.err
>&5
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); } &&
27045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27047 (eval $ac_try) 2>&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); }; } &&
27051 { ac_try
='test -s conftest$ac_exeext'
27052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27053 (eval $ac_try) 2>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); }; }; then
27057 eval "$as_ac_var=yes"
27059 echo "$as_me: failed program was:" >&5
27060 sed 's/^/| /' conftest.
$ac_ext >&5
27062 eval "$as_ac_var=no"
27064 rm -f conftest.err conftest.
$ac_objext \
27065 conftest
$ac_exeext conftest.
$ac_ext
27067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27069 if test `eval echo '${'$as_ac_var'}'` = yes; then
27070 cat >>confdefs.h
<<_ACEOF
27071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27079 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27080 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27082 AFMINSTALL
=afminstall
27086 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27087 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27088 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27091 ac_check_lib_save_LIBS
=$LIBS
27093 cat >conftest.
$ac_ext <<_ACEOF
27096 cat confdefs.h
>>conftest.
$ac_ext
27097 cat >>conftest.
$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27100 /* Override any gcc2 internal prototype to avoid an error. */
27104 /* We use char because int might match the return type of a gcc2
27105 builtin and then its argument prototype would still apply. */
27106 char gdk_im_open ();
27115 rm -f conftest.
$ac_objext conftest
$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; } &&
27130 { ac_try
='test -s conftest$ac_exeext'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; }; then
27136 ac_cv_lib_gdk_gdk_im_open
=yes
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.
$ac_ext >&5
27141 ac_cv_lib_gdk_gdk_im_open
=no
27143 rm -f conftest.err conftest.
$ac_objext \
27144 conftest
$ac_exeext conftest.
$ac_ext
27145 LIBS
=$ac_check_lib_save_LIBS
27147 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27148 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27149 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27150 cat >>confdefs.h
<<\_ACEOF
27158 if test "$wxUSE_GPE" = "yes"; then
27159 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27160 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27163 for ac_dir
in $SEARCH_LIB;
27165 for ac_extension
in a so sl dylib dll.a
; do
27166 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27167 ac_find_libraries
=$ac_dir
27173 if test "$ac_find_libraries" != "" ; then
27175 if test "$ac_find_libraries" = "default location"; then
27178 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27180 if test $result = 0; then
27183 ac_path_to_link
=" -L$ac_find_libraries"
27187 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27189 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27190 echo "${ECHO_T}found in $ac_find_libraries" >&6
27192 echo "$as_me:$LINENO: result: not found" >&5
27193 echo "${ECHO_T}not found" >&6
27199 if test "$wxUSE_MGL" = 1; then
27200 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27201 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27202 if test "x$MGL_ROOT" = x
; then
27203 echo "$as_me:$LINENO: result: not found" >&5
27204 echo "${ECHO_T}not found" >&6
27205 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27206 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27207 { (exit 1); exit 1; }; }
27209 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27210 echo "${ECHO_T}$MGL_ROOT" >&6
27213 echo "$as_me:$LINENO: checking for libmgl location" >&5
27214 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27217 if test "x$wxUSE_SHARED" = xyes
; then
27218 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27220 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27224 mgl_os_candidates
="dos32/dj2"
27227 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27228 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27229 { (exit 1); exit 1; }; }
27235 for mgl_os_i
in $mgl_os_candidates ; do
27236 if test "x$mgl_os" = x
; then
27237 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27238 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27239 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27244 if test "x$mgl_lib_type" = x
; then
27245 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27246 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27247 mgl_lib_type
=release
27254 if test "x$mgl_os" = x
; then
27255 echo "$as_me:$LINENO: result: not found" >&5
27256 echo "${ECHO_T}not found" >&6
27257 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27258 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27259 { (exit 1); exit 1; }; }
27261 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27262 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27264 wxUSE_UNIVERSAL
="yes"
27266 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27267 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27269 AFMINSTALL
=afminstall
27274 if test "$wxUSE_MICROWIN" = 1; then
27275 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27276 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27277 if test "x$MICROWINDOWS" = x
; then
27278 echo "$as_me:$LINENO: result: not found" >&5
27279 echo "${ECHO_T}not found" >&6
27280 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27281 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27282 { (exit 1); exit 1; }; }
27284 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27285 echo "${ECHO_T}$MICROWINDOWS" >&6
27288 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27289 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27290 echo "${ECHO_T}MicroWindows' libraries found." >&6
27292 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27293 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27294 { (exit 1); exit 1; }; }
27297 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27298 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27300 wxUSE_UNIVERSAL
="yes"
27302 AFMINSTALL
=afminstall
27304 GUIDIST
=MICROWIN_DIST
27306 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27309 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27311 if test "x$ac_path_x_has_been_run" != xyes
; then
27312 echo "$as_me:$LINENO: checking for X" >&5
27313 echo $ECHO_N "checking for X... $ECHO_C" >&6
27315 ac_path_x_has_been_run
=yes
27317 # Check whether --with-x or --without-x was given.
27318 if test "${with_x+set}" = set; then
27322 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27323 if test "x$with_x" = xno
; then
27324 # The user explicitly disabled X.
27327 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27328 # Both variables are already set.
27331 if test "${ac_cv_have_x+set}" = set; then
27332 echo $ECHO_N "(cached) $ECHO_C" >&6
27334 # One or both of the vars are not set, and there is no cached value.
27335 ac_x_includes
=no ac_x_libraries
=no
27336 rm -fr conftest.dir
27337 if mkdir conftest.dir
; then
27339 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27340 cat >Imakefile
<<'_ACEOF'
27342 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27344 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27346 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27347 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27348 for ac_extension
in a so sl
; do
27349 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27350 test -f $ac_im_libdir/libX11.
$ac_extension; then
27351 ac_im_usrlibdir
=$ac_im_libdir; break
27354 # Screen out bogus values from the imake configuration. They are
27355 # bogus both because they are the default anyway, and because
27356 # using them would break gcc on systems where it needs fixed includes.
27357 case $ac_im_incroot in
27359 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27361 case $ac_im_usrlibdir in
27362 /usr
/lib
| /lib
) ;;
27363 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27367 rm -fr conftest.dir
27370 # Standard set of common directories for X headers.
27371 # Check X11 before X11Rn because it is often a symlink to the current release.
27383 /usr/local/X11/include
27384 /usr/local/X11R6/include
27385 /usr/local/X11R5/include
27386 /usr/local/X11R4/include
27388 /usr/local/include/X11
27389 /usr/local/include/X11R6
27390 /usr/local/include/X11R5
27391 /usr/local/include/X11R4
27395 /usr/XFree86/include/X11
27399 /usr/unsupported/include
27400 /usr/athena/include
27401 /usr/local/x11r5/include
27402 /usr/lpp/Xamples/include
27404 /usr/openwin/include
27405 /usr/openwin/share/include'
27407 if test "$ac_x_includes" = no
; then
27408 # Guess where to find include files, by looking for a specified header file.
27409 # First, try using that file with no special directory specified.
27410 cat >conftest.
$ac_ext <<_ACEOF
27413 cat confdefs.h
>>conftest.
$ac_ext
27414 cat >>conftest.
$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416 #include <X11/Intrinsic.h>
27418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27421 grep -v '^ *+' conftest.er1
>conftest.err
27423 cat conftest.err
>&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } >/dev
/null
; then
27426 if test -s conftest.err
; then
27427 ac_cpp_err
=$ac_c_preproc_warn_flag
27428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27435 if test -z "$ac_cpp_err"; then
27436 # We can compile using X headers with no special include directory.
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.
$ac_ext >&5
27442 for ac_dir
in $ac_x_header_dirs; do
27443 if test -r "$ac_dir/X11/Intrinsic.h"; then
27444 ac_x_includes
=$ac_dir
27449 rm -f conftest.err conftest.
$ac_ext
27450 fi # $ac_x_includes = no
27452 if test "$ac_x_libraries" = no
; then
27453 # Check for the libraries.
27454 # See if we find them without any special options.
27455 # Don't add to $LIBS permanently.
27458 cat >conftest.
$ac_ext <<_ACEOF
27461 cat confdefs.h
>>conftest.
$ac_ext
27462 cat >>conftest.
$ac_ext <<_ACEOF
27463 /* end confdefs.h. */
27464 #include <X11/Intrinsic.h>
27473 rm -f conftest.
$ac_objext conftest
$ac_exeext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27475 (eval $ac_link) 2>conftest.er1
27477 grep -v '^ *+' conftest.er1
>conftest.err
27479 cat conftest.err
>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; } &&
27488 { ac_try
='test -s conftest$ac_exeext'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; }; then
27495 # We can link X programs with no special library path.
27498 echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.
$ac_ext >&5
27502 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27504 # Don't even attempt the hair of trying to link an X program!
27505 for ac_extension
in a so sl
; do
27506 if test -r $ac_dir/libXt.
$ac_extension; then
27507 ac_x_libraries
=$ac_dir
27513 rm -f conftest.err conftest.
$ac_objext \
27514 conftest
$ac_exeext conftest.
$ac_ext
27515 fi # $ac_x_libraries = no
27517 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27518 # Didn't find X anywhere. Cache the known absence of X.
27519 ac_cv_have_x
="have_x=no"
27521 # Record where we found X for the cache.
27522 ac_cv_have_x
="have_x=yes \
27523 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27528 eval "$ac_cv_have_x"
27531 if test "$have_x" != yes; then
27532 echo "$as_me:$LINENO: result: $have_x" >&5
27533 echo "${ECHO_T}$have_x" >&6
27536 # If each of the values was on the command line, it overrides each guess.
27537 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27538 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27539 # Update the cache value to reflect the command line values.
27540 ac_cv_have_x
="have_x=yes \
27541 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27542 # It might be that x_includes is empty (headers are found in the
27543 # standard search path. Then output the corresponding message
27544 ac_out_x_includes
=$x_includes
27545 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
27546 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27547 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27551 if test "$no_x" = yes; then
27552 # Not all programs may use this symbol, but it does not hurt to define it.
27554 cat >>confdefs.h
<<\_ACEOF
27555 #define X_DISPLAY_MISSING 1
27558 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27560 if test -n "$x_includes"; then
27561 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27564 # It would also be nice to do this for all -L options, not just this one.
27565 if test -n "$x_libraries"; then
27566 X_LIBS
="$X_LIBS -L$x_libraries"
27567 # For Solaris; some versions of Sun CC require a space after -R and
27568 # others require no space. Words are not sufficient . . . .
27569 case `(uname -sr) 2>/dev/null` in
27571 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27572 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27573 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27574 cat >conftest.
$ac_ext <<_ACEOF
27577 cat confdefs.h
>>conftest.
$ac_ext
27578 cat >>conftest.
$ac_ext <<_ACEOF
27579 /* end confdefs.h. */
27589 rm -f conftest.
$ac_objext conftest
$ac_exeext
27590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27591 (eval $ac_link) 2>conftest.er1
27593 grep -v '^ *+' conftest.er1
>conftest.err
27595 cat conftest.err
>&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); } &&
27598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 (eval $ac_try) 2>&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); }; } &&
27604 { ac_try
='test -s conftest$ac_exeext'
27605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27606 (eval $ac_try) 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); }; }; then
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.
$ac_ext >&5
27617 rm -f conftest.err conftest.
$ac_objext \
27618 conftest
$ac_exeext conftest.
$ac_ext
27619 if test $ac_R_nospace = yes; then
27620 echo "$as_me:$LINENO: result: no" >&5
27621 echo "${ECHO_T}no" >&6
27622 X_LIBS
="$X_LIBS -R$x_libraries"
27624 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27625 cat >conftest.
$ac_ext <<_ACEOF
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27640 rm -f conftest.
$ac_objext conftest
$ac_exeext
27641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27642 (eval $ac_link) 2>conftest.er1
27644 grep -v '^ *+' conftest.er1
>conftest.err
27646 cat conftest.err
>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); } &&
27649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; } &&
27655 { ac_try
='test -s conftest$ac_exeext'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.
$ac_ext >&5
27668 rm -f conftest.err conftest.
$ac_objext \
27669 conftest
$ac_exeext conftest.
$ac_ext
27670 if test $ac_R_space = yes; then
27671 echo "$as_me:$LINENO: result: yes" >&5
27672 echo "${ECHO_T}yes" >&6
27673 X_LIBS
="$X_LIBS -R $x_libraries"
27675 echo "$as_me:$LINENO: result: neither works" >&5
27676 echo "${ECHO_T}neither works" >&6
27679 LIBS
=$ac_xsave_LIBS
27683 # Check for system-dependent libraries X programs must link with.
27684 # Do this before checking for the system-independent R6 libraries
27685 # (-lICE), since we may need -lsocket or whatever for X linking.
27687 if test "$ISC" = yes; then
27688 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27690 # Martyn Johnson says this is needed for Ultrix, if the X
27691 # libraries were built with DECnet support. And Karl Berry says
27692 # the Alpha needs dnet_stub (dnet does not exist).
27693 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27694 cat >conftest.
$ac_ext <<_ACEOF
27697 cat confdefs.h
>>conftest.
$ac_ext
27698 cat >>conftest.
$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27701 /* Override any gcc2 internal prototype to avoid an error. */
27705 /* We use char because int might match the return type of a gcc2
27706 builtin and then its argument prototype would still apply. */
27707 char XOpenDisplay ();
27716 rm -f conftest.
$ac_objext conftest
$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27720 grep -v '^ *+' conftest.er1
>conftest.err
27722 cat conftest.err
>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try
='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.
$ac_ext >&5
27742 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27743 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27744 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 ac_check_lib_save_LIBS
=$LIBS
27748 LIBS
="-ldnet $LIBS"
27749 cat >conftest.
$ac_ext <<_ACEOF
27752 cat confdefs.h
>>conftest.
$ac_ext
27753 cat >>conftest.
$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27756 /* Override any gcc2 internal prototype to avoid an error. */
27760 /* We use char because int might match the return type of a gcc2
27761 builtin and then its argument prototype would still apply. */
27771 rm -f conftest.
$ac_objext conftest
$ac_exeext
27772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27773 (eval $ac_link) 2>conftest.er1
27775 grep -v '^ *+' conftest.er1
>conftest.err
27777 cat conftest.err
>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } &&
27780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27782 (eval $ac_try) 2>&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); }; } &&
27786 { ac_try
='test -s conftest$ac_exeext'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; }; then
27792 ac_cv_lib_dnet_dnet_ntoa
=yes
27794 echo "$as_me: failed program was:" >&5
27795 sed 's/^/| /' conftest.
$ac_ext >&5
27797 ac_cv_lib_dnet_dnet_ntoa
=no
27799 rm -f conftest.err conftest.
$ac_objext \
27800 conftest
$ac_exeext conftest.
$ac_ext
27801 LIBS
=$ac_check_lib_save_LIBS
27803 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27804 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27805 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27809 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27810 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27811 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27812 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27815 ac_check_lib_save_LIBS
=$LIBS
27816 LIBS
="-ldnet_stub $LIBS"
27817 cat >conftest.
$ac_ext <<_ACEOF
27820 cat confdefs.h
>>conftest.
$ac_ext
27821 cat >>conftest.
$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27824 /* Override any gcc2 internal prototype to avoid an error. */
27828 /* We use char because int might match the return type of a gcc2
27829 builtin and then its argument prototype would still apply. */
27839 rm -f conftest.
$ac_objext conftest
$ac_exeext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27841 (eval $ac_link) 2>conftest.er1
27843 grep -v '^ *+' conftest.er1
>conftest.err
27845 cat conftest.err
>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850 (eval $ac_try) 2>&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); }; } &&
27854 { ac_try
='test -s conftest$ac_exeext'
27855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856 (eval $ac_try) 2>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); }; }; then
27860 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.
$ac_ext >&5
27865 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27867 rm -f conftest.err conftest.
$ac_objext \
27868 conftest
$ac_exeext conftest.
$ac_ext
27869 LIBS
=$ac_check_lib_save_LIBS
27871 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27872 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27873 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27874 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27879 rm -f conftest.err conftest.
$ac_objext \
27880 conftest
$ac_exeext conftest.
$ac_ext
27881 LIBS
="$ac_xsave_LIBS"
27883 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27884 # to get the SysV transport functions.
27885 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27887 # The nsl library prevents programs from opening the X display
27888 # on Irix 5.2, according to T.E. Dickey.
27889 # The functions gethostbyname, getservbyname, and inet_addr are
27890 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27891 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27892 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27893 if test "${ac_cv_func_gethostbyname+set}" = set; then
27894 echo $ECHO_N "(cached) $ECHO_C" >&6
27896 cat >conftest.
$ac_ext <<_ACEOF
27899 cat confdefs.h
>>conftest.
$ac_ext
27900 cat >>conftest.
$ac_ext <<_ACEOF
27901 /* end confdefs.h. */
27902 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27904 #define gethostbyname innocuous_gethostbyname
27906 /* System header to define __stub macros and hopefully few prototypes,
27907 which can conflict with char gethostbyname (); below.
27908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27909 <limits.h> exists even on freestanding compilers. */
27912 # include <limits.h>
27914 # include <assert.h>
27917 #undef gethostbyname
27919 /* Override any gcc2 internal prototype to avoid an error. */
27924 /* We use char because int might match the return type of a gcc2
27925 builtin and then its argument prototype would still apply. */
27926 char gethostbyname ();
27927 /* The GNU C library defines this for functions which it implements
27928 to always fail with ENOSYS. Some functions are actually named
27929 something starting with __ and the normal name is an alias. */
27930 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27933 char (*f) () = gethostbyname;
27942 return f != gethostbyname;
27947 rm -f conftest.
$ac_objext conftest
$ac_exeext
27948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27949 (eval $ac_link) 2>conftest.er1
27951 grep -v '^ *+' conftest.er1
>conftest.err
27953 cat conftest.err
>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); } &&
27956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; } &&
27962 { ac_try
='test -s conftest$ac_exeext'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; }; then
27968 ac_cv_func_gethostbyname
=yes
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.
$ac_ext >&5
27973 ac_cv_func_gethostbyname
=no
27975 rm -f conftest.err conftest.
$ac_objext \
27976 conftest
$ac_exeext conftest.
$ac_ext
27978 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27979 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27981 if test $ac_cv_func_gethostbyname = no
; then
27982 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27983 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27984 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27985 echo $ECHO_N "(cached) $ECHO_C" >&6
27987 ac_check_lib_save_LIBS
=$LIBS
27989 cat >conftest.
$ac_ext <<_ACEOF
27992 cat confdefs.h
>>conftest.
$ac_ext
27993 cat >>conftest.
$ac_ext <<_ACEOF
27994 /* end confdefs.h. */
27996 /* Override any gcc2 internal prototype to avoid an error. */
28000 /* We use char because int might match the return type of a gcc2
28001 builtin and then its argument prototype would still apply. */
28002 char gethostbyname ();
28011 rm -f conftest.
$ac_objext conftest
$ac_exeext
28012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28013 (eval $ac_link) 2>conftest.er1
28015 grep -v '^ *+' conftest.er1
>conftest.err
28017 cat conftest.err
>&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } &&
28020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; } &&
28026 { ac_try
='test -s conftest$ac_exeext'
28027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28028 (eval $ac_try) 2>&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); }; }; then
28032 ac_cv_lib_nsl_gethostbyname
=yes
28034 echo "$as_me: failed program was:" >&5
28035 sed 's/^/| /' conftest.
$ac_ext >&5
28037 ac_cv_lib_nsl_gethostbyname
=no
28039 rm -f conftest.err conftest.
$ac_objext \
28040 conftest
$ac_exeext conftest.
$ac_ext
28041 LIBS
=$ac_check_lib_save_LIBS
28043 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28044 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28045 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28046 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28049 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28050 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28051 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28052 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28053 echo $ECHO_N "(cached) $ECHO_C" >&6
28055 ac_check_lib_save_LIBS
=$LIBS
28057 cat >conftest.
$ac_ext <<_ACEOF
28060 cat confdefs.h
>>conftest.
$ac_ext
28061 cat >>conftest.
$ac_ext <<_ACEOF
28062 /* end confdefs.h. */
28064 /* Override any gcc2 internal prototype to avoid an error. */
28068 /* We use char because int might match the return type of a gcc2
28069 builtin and then its argument prototype would still apply. */
28070 char gethostbyname ();
28079 rm -f conftest.
$ac_objext conftest
$ac_exeext
28080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28081 (eval $ac_link) 2>conftest.er1
28083 grep -v '^ *+' conftest.er1
>conftest.err
28085 cat conftest.err
>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); } &&
28088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28090 (eval $ac_try) 2>&5
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; } &&
28094 { ac_try
='test -s conftest$ac_exeext'
28095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28096 (eval $ac_try) 2>&5
28098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28099 (exit $ac_status); }; }; then
28100 ac_cv_lib_bsd_gethostbyname
=yes
28102 echo "$as_me: failed program was:" >&5
28103 sed 's/^/| /' conftest.
$ac_ext >&5
28105 ac_cv_lib_bsd_gethostbyname
=no
28107 rm -f conftest.err conftest.
$ac_objext \
28108 conftest
$ac_exeext conftest.
$ac_ext
28109 LIBS
=$ac_check_lib_save_LIBS
28111 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28112 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28113 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28114 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28120 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28121 # socket/setsockopt and other routines are undefined under SCO ODT
28122 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28123 # on later versions), says Simon Leinen: it contains gethostby*
28124 # variants that don't use the name server (or something). -lsocket
28125 # must be given before -lnsl if both are needed. We assume that
28126 # if connect needs -lnsl, so does gethostbyname.
28127 echo "$as_me:$LINENO: checking for connect" >&5
28128 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28129 if test "${ac_cv_func_connect+set}" = set; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 cat >conftest.
$ac_ext <<_ACEOF
28135 cat confdefs.h
>>conftest.
$ac_ext
28136 cat >>conftest.
$ac_ext <<_ACEOF
28137 /* end confdefs.h. */
28138 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28140 #define connect innocuous_connect
28142 /* System header to define __stub macros and hopefully few prototypes,
28143 which can conflict with char connect (); below.
28144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28145 <limits.h> exists even on freestanding compilers. */
28148 # include <limits.h>
28150 # include <assert.h>
28155 /* Override any gcc2 internal prototype to avoid an error. */
28160 /* We use char because int might match the return type of a gcc2
28161 builtin and then its argument prototype would still apply. */
28163 /* The GNU C library defines this for functions which it implements
28164 to always fail with ENOSYS. Some functions are actually named
28165 something starting with __ and the normal name is an alias. */
28166 #if defined (__stub_connect) || defined (__stub___connect)
28169 char (*f) () = connect;
28178 return f != connect;
28183 rm -f conftest.
$ac_objext conftest
$ac_exeext
28184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28185 (eval $ac_link) 2>conftest.er1
28187 grep -v '^ *+' conftest.er1
>conftest.err
28189 cat conftest.err
>&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); } &&
28192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194 (eval $ac_try) 2>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; } &&
28198 { ac_try
='test -s conftest$ac_exeext'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; }; then
28204 ac_cv_func_connect
=yes
28206 echo "$as_me: failed program was:" >&5
28207 sed 's/^/| /' conftest.
$ac_ext >&5
28209 ac_cv_func_connect
=no
28211 rm -f conftest.err conftest.
$ac_objext \
28212 conftest
$ac_exeext conftest.
$ac_ext
28214 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28215 echo "${ECHO_T}$ac_cv_func_connect" >&6
28217 if test $ac_cv_func_connect = no
; then
28218 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28219 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28220 if test "${ac_cv_lib_socket_connect+set}" = set; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 ac_check_lib_save_LIBS
=$LIBS
28224 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28225 cat >conftest.
$ac_ext <<_ACEOF
28228 cat confdefs.h
>>conftest.
$ac_ext
28229 cat >>conftest.
$ac_ext <<_ACEOF
28230 /* end confdefs.h. */
28232 /* Override any gcc2 internal prototype to avoid an error. */
28236 /* We use char because int might match the return type of a gcc2
28237 builtin and then its argument prototype would still apply. */
28247 rm -f conftest.
$ac_objext conftest
$ac_exeext
28248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28249 (eval $ac_link) 2>conftest.er1
28251 grep -v '^ *+' conftest.er1
>conftest.err
28253 cat conftest.err
>&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } &&
28256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28258 (eval $ac_try) 2>&5
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); }; } &&
28262 { ac_try
='test -s conftest$ac_exeext'
28263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28264 (eval $ac_try) 2>&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); }; }; then
28268 ac_cv_lib_socket_connect
=yes
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.
$ac_ext >&5
28273 ac_cv_lib_socket_connect
=no
28275 rm -f conftest.err conftest.
$ac_objext \
28276 conftest
$ac_exeext conftest.
$ac_ext
28277 LIBS
=$ac_check_lib_save_LIBS
28279 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28280 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28281 if test $ac_cv_lib_socket_connect = yes; then
28282 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28287 # Guillermo Gomez says -lposix is necessary on A/UX.
28288 echo "$as_me:$LINENO: checking for remove" >&5
28289 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28290 if test "${ac_cv_func_remove+set}" = set; then
28291 echo $ECHO_N "(cached) $ECHO_C" >&6
28293 cat >conftest.
$ac_ext <<_ACEOF
28296 cat confdefs.h
>>conftest.
$ac_ext
28297 cat >>conftest.
$ac_ext <<_ACEOF
28298 /* end confdefs.h. */
28299 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28301 #define remove innocuous_remove
28303 /* System header to define __stub macros and hopefully few prototypes,
28304 which can conflict with char remove (); below.
28305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28306 <limits.h> exists even on freestanding compilers. */
28309 # include <limits.h>
28311 # include <assert.h>
28316 /* Override any gcc2 internal prototype to avoid an error. */
28321 /* We use char because int might match the return type of a gcc2
28322 builtin and then its argument prototype would still apply. */
28324 /* The GNU C library defines this for functions which it implements
28325 to always fail with ENOSYS. Some functions are actually named
28326 something starting with __ and the normal name is an alias. */
28327 #if defined (__stub_remove) || defined (__stub___remove)
28330 char (*f) () = remove;
28339 return f != remove;
28344 rm -f conftest.
$ac_objext conftest
$ac_exeext
28345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28346 (eval $ac_link) 2>conftest.er1
28348 grep -v '^ *+' conftest.er1
>conftest.err
28350 cat conftest.err
>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); } &&
28353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; } &&
28359 { ac_try
='test -s conftest$ac_exeext'
28360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28361 (eval $ac_try) 2>&5
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); }; }; then
28365 ac_cv_func_remove
=yes
28367 echo "$as_me: failed program was:" >&5
28368 sed 's/^/| /' conftest.
$ac_ext >&5
28370 ac_cv_func_remove
=no
28372 rm -f conftest.err conftest.
$ac_objext \
28373 conftest
$ac_exeext conftest.
$ac_ext
28375 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28376 echo "${ECHO_T}$ac_cv_func_remove" >&6
28378 if test $ac_cv_func_remove = no
; then
28379 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28380 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28381 if test "${ac_cv_lib_posix_remove+set}" = set; then
28382 echo $ECHO_N "(cached) $ECHO_C" >&6
28384 ac_check_lib_save_LIBS
=$LIBS
28385 LIBS
="-lposix $LIBS"
28386 cat >conftest.
$ac_ext <<_ACEOF
28389 cat confdefs.h
>>conftest.
$ac_ext
28390 cat >>conftest.
$ac_ext <<_ACEOF
28391 /* end confdefs.h. */
28393 /* Override any gcc2 internal prototype to avoid an error. */
28397 /* We use char because int might match the return type of a gcc2
28398 builtin and then its argument prototype would still apply. */
28408 rm -f conftest.
$ac_objext conftest
$ac_exeext
28409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28410 (eval $ac_link) 2>conftest.er1
28412 grep -v '^ *+' conftest.er1
>conftest.err
28414 cat conftest.err
>&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); } &&
28417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try
='test -s conftest$ac_exeext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_cv_lib_posix_remove
=yes
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.
$ac_ext >&5
28434 ac_cv_lib_posix_remove
=no
28436 rm -f conftest.err conftest.
$ac_objext \
28437 conftest
$ac_exeext conftest.
$ac_ext
28438 LIBS
=$ac_check_lib_save_LIBS
28440 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28441 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28442 if test $ac_cv_lib_posix_remove = yes; then
28443 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28448 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28449 echo "$as_me:$LINENO: checking for shmat" >&5
28450 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28451 if test "${ac_cv_func_shmat+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 cat >conftest.
$ac_ext <<_ACEOF
28457 cat confdefs.h
>>conftest.
$ac_ext
28458 cat >>conftest.
$ac_ext <<_ACEOF
28459 /* end confdefs.h. */
28460 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28462 #define shmat innocuous_shmat
28464 /* System header to define __stub macros and hopefully few prototypes,
28465 which can conflict with char shmat (); below.
28466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28467 <limits.h> exists even on freestanding compilers. */
28470 # include <limits.h>
28472 # include <assert.h>
28477 /* Override any gcc2 internal prototype to avoid an error. */
28482 /* We use char because int might match the return type of a gcc2
28483 builtin and then its argument prototype would still apply. */
28485 /* The GNU C library defines this for functions which it implements
28486 to always fail with ENOSYS. Some functions are actually named
28487 something starting with __ and the normal name is an alias. */
28488 #if defined (__stub_shmat) || defined (__stub___shmat)
28491 char (*f) () = shmat;
28505 rm -f conftest.
$ac_objext conftest
$ac_exeext
28506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28507 (eval $ac_link) 2>conftest.er1
28509 grep -v '^ *+' conftest.er1
>conftest.err
28511 cat conftest.err
>&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } &&
28514 { ac_try
='test -z "$ac_c_werror_flag" || 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_func_shmat
=yes
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.
$ac_ext >&5
28531 ac_cv_func_shmat
=no
28533 rm -f conftest.err conftest.
$ac_objext \
28534 conftest
$ac_exeext conftest.
$ac_ext
28536 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28537 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28539 if test $ac_cv_func_shmat = no
; then
28540 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28541 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28542 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28543 echo $ECHO_N "(cached) $ECHO_C" >&6
28545 ac_check_lib_save_LIBS
=$LIBS
28547 cat >conftest.
$ac_ext <<_ACEOF
28550 cat confdefs.h
>>conftest.
$ac_ext
28551 cat >>conftest.
$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28554 /* Override any gcc2 internal prototype to avoid an error. */
28558 /* We use char because int might match the return type of a gcc2
28559 builtin and then its argument prototype would still apply. */
28569 rm -f conftest.
$ac_objext conftest
$ac_exeext
28570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28571 (eval $ac_link) 2>conftest.er1
28573 grep -v '^ *+' conftest.er1
>conftest.err
28575 cat conftest.err
>&5
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); } &&
28578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28580 (eval $ac_try) 2>&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); }; } &&
28584 { ac_try
='test -s conftest$ac_exeext'
28585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586 (eval $ac_try) 2>&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; }; then
28590 ac_cv_lib_ipc_shmat
=yes
28592 echo "$as_me: failed program was:" >&5
28593 sed 's/^/| /' conftest.
$ac_ext >&5
28595 ac_cv_lib_ipc_shmat
=no
28597 rm -f conftest.err conftest.
$ac_objext \
28598 conftest
$ac_exeext conftest.
$ac_ext
28599 LIBS
=$ac_check_lib_save_LIBS
28601 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28602 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28603 if test $ac_cv_lib_ipc_shmat = yes; then
28604 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28610 # Check for libraries that X11R6 Xt/Xaw programs need.
28611 ac_save_LDFLAGS
=$LDFLAGS
28612 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28613 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28614 # check for ICE first), but we must link in the order -lSM -lICE or
28615 # we get undefined symbols. So assume we have SM if we have ICE.
28616 # These have to be linked with before -lX11, unlike the other
28617 # libraries we check for below, so use a different variable.
28618 # John Interrante, Karl Berry
28619 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28620 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28621 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28622 echo $ECHO_N "(cached) $ECHO_C" >&6
28624 ac_check_lib_save_LIBS
=$LIBS
28625 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28626 cat >conftest.
$ac_ext <<_ACEOF
28629 cat confdefs.h
>>conftest.
$ac_ext
28630 cat >>conftest.
$ac_ext <<_ACEOF
28631 /* end confdefs.h. */
28633 /* Override any gcc2 internal prototype to avoid an error. */
28637 /* We use char because int might match the return type of a gcc2
28638 builtin and then its argument prototype would still apply. */
28639 char IceConnectionNumber ();
28643 IceConnectionNumber ();
28648 rm -f conftest.
$ac_objext conftest
$ac_exeext
28649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28650 (eval $ac_link) 2>conftest.er1
28652 grep -v '^ *+' conftest.er1
>conftest.err
28654 cat conftest.err
>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } &&
28657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; } &&
28663 { ac_try
='test -s conftest$ac_exeext'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; }; then
28669 ac_cv_lib_ICE_IceConnectionNumber
=yes
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.
$ac_ext >&5
28674 ac_cv_lib_ICE_IceConnectionNumber
=no
28676 rm -f conftest.err conftest.
$ac_objext \
28677 conftest
$ac_exeext conftest.
$ac_ext
28678 LIBS
=$ac_check_lib_save_LIBS
28680 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28681 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28682 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28683 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28686 LDFLAGS
=$ac_save_LDFLAGS
28691 if test "$no_x" = "yes"; then
28692 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28693 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28694 { (exit 1); exit 1; }; }
28697 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28698 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28699 AFMINSTALL
=afminstall
28700 COMPILED_X_PROGRAM
=0
28704 if test "$wxUSE_X11" = 1; then
28705 if test "$wxUSE_NANOX" = "yes"; then
28706 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28707 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28708 if test "x$MICROWIN" = x
; then
28709 echo "$as_me:$LINENO: result: not found" >&5
28710 echo "${ECHO_T}not found" >&6
28711 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28712 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28713 { (exit 1); exit 1; }; }
28715 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28716 echo "${ECHO_T}$MICROWIN" >&6
28717 cat >>confdefs.h
<<\_ACEOF
28718 #define wxUSE_NANOX 1
28724 if test "$wxUSE_UNICODE" = "yes"; then
28728 if test -z "$PKG_CONFIG"; then
28729 # Extract the first word of "pkg-config", so it can be a program name with args.
28730 set dummy pkg
-config; ac_word
=$2
28731 echo "$as_me:$LINENO: checking for $ac_word" >&5
28732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28733 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28736 case $PKG_CONFIG in
28738 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28742 for as_dir
in $PATH
28745 test -z "$as_dir" && as_dir
=.
28746 for ac_exec_ext
in '' $ac_executable_extensions; do
28747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28748 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28755 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28759 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28761 if test -n "$PKG_CONFIG"; then
28762 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28763 echo "${ECHO_T}$PKG_CONFIG" >&6
28765 echo "$as_me:$LINENO: result: no" >&5
28766 echo "${ECHO_T}no" >&6
28771 if test "$PKG_CONFIG" = "no" ; then
28772 echo "*** The pkg-config script could not be found. Make sure it is"
28773 echo "*** in your path, or set the PKG_CONFIG environment variable"
28774 echo "*** to the full path to pkg-config."
28775 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28777 PKG_CONFIG_MIN_VERSION
=0.9.0
28778 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28779 echo "$as_me:$LINENO: checking for pangox" >&5
28780 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28782 if $PKG_CONFIG --exists "pangox" ; then
28783 echo "$as_me:$LINENO: result: yes" >&5
28784 echo "${ECHO_T}yes" >&6
28787 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28788 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28789 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28790 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28791 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28793 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28794 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28795 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28796 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28797 echo "${ECHO_T}$PANGOX_LIBS" >&6
28801 ## If we have a custom action on failure, don't print errors, but
28802 ## do set a variable so people can do so.
28803 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28810 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28811 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28815 if test $succeeded = yes; then
28817 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28818 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28822 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28823 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28824 { (exit 1); exit 1; }; }
28832 if test -z "$PKG_CONFIG"; then
28833 # Extract the first word of "pkg-config", so it can be a program name with args.
28834 set dummy pkg
-config; ac_word
=$2
28835 echo "$as_me:$LINENO: checking for $ac_word" >&5
28836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28837 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28840 case $PKG_CONFIG in
28842 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28846 for as_dir
in $PATH
28849 test -z "$as_dir" && as_dir
=.
28850 for ac_exec_ext
in '' $ac_executable_extensions; do
28851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28852 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28859 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28863 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28865 if test -n "$PKG_CONFIG"; then
28866 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28867 echo "${ECHO_T}$PKG_CONFIG" >&6
28869 echo "$as_me:$LINENO: result: no" >&5
28870 echo "${ECHO_T}no" >&6
28875 if test "$PKG_CONFIG" = "no" ; then
28876 echo "*** The pkg-config script could not be found. Make sure it is"
28877 echo "*** in your path, or set the PKG_CONFIG environment variable"
28878 echo "*** to the full path to pkg-config."
28879 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28881 PKG_CONFIG_MIN_VERSION
=0.9.0
28882 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28883 echo "$as_me:$LINENO: checking for pangoft2" >&5
28884 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28886 if $PKG_CONFIG --exists "pangoft2" ; then
28887 echo "$as_me:$LINENO: result: yes" >&5
28888 echo "${ECHO_T}yes" >&6
28891 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28892 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28893 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28894 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28895 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28897 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28898 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28899 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28900 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28901 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28905 ## If we have a custom action on failure, don't print errors, but
28906 ## do set a variable so people can do so.
28907 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28914 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28915 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28919 if test $succeeded = yes; then
28921 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28922 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28926 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28927 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28928 wxUSE_PRINTING_ARCHITECTURE
="no"
28936 if test -z "$PKG_CONFIG"; then
28937 # Extract the first word of "pkg-config", so it can be a program name with args.
28938 set dummy pkg
-config; ac_word
=$2
28939 echo "$as_me:$LINENO: checking for $ac_word" >&5
28940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28941 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28944 case $PKG_CONFIG in
28946 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28950 for as_dir
in $PATH
28953 test -z "$as_dir" && as_dir
=.
28954 for ac_exec_ext
in '' $ac_executable_extensions; do
28955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28956 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28963 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28967 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28969 if test -n "$PKG_CONFIG"; then
28970 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28971 echo "${ECHO_T}$PKG_CONFIG" >&6
28973 echo "$as_me:$LINENO: result: no" >&5
28974 echo "${ECHO_T}no" >&6
28979 if test "$PKG_CONFIG" = "no" ; then
28980 echo "*** The pkg-config script could not be found. Make sure it is"
28981 echo "*** in your path, or set the PKG_CONFIG environment variable"
28982 echo "*** to the full path to pkg-config."
28983 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28985 PKG_CONFIG_MIN_VERSION
=0.9.0
28986 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28987 echo "$as_me:$LINENO: checking for pangoxft" >&5
28988 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28990 if $PKG_CONFIG --exists "pangoxft" ; then
28991 echo "$as_me:$LINENO: result: yes" >&5
28992 echo "${ECHO_T}yes" >&6
28995 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28996 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28997 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28998 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28999 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29001 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29002 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29003 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29004 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29005 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29009 ## If we have a custom action on failure, don't print errors, but
29010 ## do set a variable so people can do so.
29011 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29018 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29019 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29023 if test $succeeded = yes; then
29025 cat >>confdefs.h
<<\_ACEOF
29026 #define HAVE_PANGO_XFT 1
29029 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
29030 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29034 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29035 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29040 save_CFLAGS
="$CFLAGS"
29042 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
29043 LIBS
="$LIBS $PANGOX_LIBS"
29045 for ac_func
in pango_font_family_is_monospace
29047 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29048 echo "$as_me:$LINENO: checking for $ac_func" >&5
29049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29050 if eval "test \"\${$as_ac_var+set}\" = set"; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 cat >conftest.
$ac_ext <<_ACEOF
29056 cat confdefs.h
>>conftest.
$ac_ext
29057 cat >>conftest.
$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29061 #define $ac_func innocuous_$ac_func
29063 /* System header to define __stub macros and hopefully few prototypes,
29064 which can conflict with char $ac_func (); below.
29065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29066 <limits.h> exists even on freestanding compilers. */
29069 # include <limits.h>
29071 # include <assert.h>
29076 /* Override any gcc2 internal prototype to avoid an error. */
29081 /* We use char because int might match the return type of a gcc2
29082 builtin and then its argument prototype would still apply. */
29084 /* The GNU C library defines this for functions which it implements
29085 to always fail with ENOSYS. Some functions are actually named
29086 something starting with __ and the normal name is an alias. */
29087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29090 char (*f) () = $ac_func;
29099 return f != $ac_func;
29104 rm -f conftest.
$ac_objext conftest
$ac_exeext
29105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29106 (eval $ac_link) 2>conftest.er1
29108 grep -v '^ *+' conftest.er1
>conftest.err
29110 cat conftest.err
>&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); } &&
29113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29115 (eval $ac_try) 2>&5
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); }; } &&
29119 { ac_try
='test -s conftest$ac_exeext'
29120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29121 (eval $ac_try) 2>&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); }; }; then
29125 eval "$as_ac_var=yes"
29127 echo "$as_me: failed program was:" >&5
29128 sed 's/^/| /' conftest.
$ac_ext >&5
29130 eval "$as_ac_var=no"
29132 rm -f conftest.err conftest.
$ac_objext \
29133 conftest
$ac_exeext conftest.
$ac_ext
29135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29137 if test `eval echo '${'$as_ac_var'}'` = yes; then
29138 cat >>confdefs.h
<<_ACEOF
29139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29145 CFLAGS
="$save_CFLAGS"
29149 wxUSE_UNIVERSAL
="yes"
29151 if test "$wxUSE_NANOX" = "yes"; then
29152 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29153 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"
29154 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29156 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29163 if test "$wxUSE_MOTIF" = 1; then
29164 if test "$wxUSE_UNICODE" = "yes"; then
29165 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29166 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29167 { (exit 1); exit 1; }; }
29170 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29171 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29174 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29176 if test -f "$ac_dir/Xm/Xm.h"; then
29177 ac_find_includes
=$ac_dir
29182 if test "$ac_find_includes" != "" ; then
29183 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29184 echo "${ECHO_T}found in $ac_find_includes" >&6
29186 if test "x$ac_find_includes" = "x/usr/include"; then
29187 ac_path_to_include
=""
29189 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29191 if test $result = 0; then
29192 ac_path_to_include
=""
29194 ac_path_to_include
=" -I$ac_find_includes"
29198 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29200 save_CFLAGS
=$CFLAGS
29201 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29203 cat >conftest.
$ac_ext <<_ACEOF
29206 cat confdefs.h
>>conftest.
$ac_ext
29207 cat >>conftest.
$ac_ext <<_ACEOF
29208 /* end confdefs.h. */
29217 version = xmUseVersion;
29223 rm -f conftest.
$ac_objext
29224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29225 (eval $ac_compile) 2>conftest.er1
29227 grep -v '^ *+' conftest.er1
>conftest.err
29229 cat conftest.err
>&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } &&
29232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29234 (eval $ac_try) 2>&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; } &&
29238 { ac_try
='test -s conftest.$ac_objext'
29239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29240 (eval $ac_try) 2>&5
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); }; }; then
29245 echo "$as_me:$LINENO: result: found in default search path" >&5
29246 echo "${ECHO_T}found in default search path" >&6
29247 COMPILED_X_PROGRAM
=1
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.
$ac_ext >&5
29254 echo "$as_me:$LINENO: result: no" >&5
29255 echo "${ECHO_T}no" >&6
29256 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29257 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29258 { (exit 1); exit 1; }; }
29262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29264 CFLAGS
=$save_CFLAGS
29268 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29269 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29272 for ac_dir
in $SEARCH_LIB;
29274 for ac_extension
in a so sl dylib dll.a
; do
29275 if test -f "$ac_dir/libXm.$ac_extension"; then
29276 ac_find_libraries
=$ac_dir
29283 if test "x$ac_find_libraries" != "x" ; then
29284 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29285 echo "${ECHO_T}found in $ac_find_libraries" >&6
29288 if test "$ac_find_libraries" = "default location"; then
29291 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29293 if test $result = 0; then
29296 ac_path_to_link
=" -L$ac_find_libraries"
29300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29302 save_CFLAGS
=$CFLAGS
29303 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29305 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29307 cat >conftest.
$ac_ext <<_ACEOF
29310 cat confdefs.h
>>conftest.
$ac_ext
29311 cat >>conftest.
$ac_ext <<_ACEOF
29312 /* end confdefs.h. */
29321 version = xmUseVersion;
29327 rm -f conftest.
$ac_objext conftest
$ac_exeext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29329 (eval $ac_link) 2>conftest.er1
29331 grep -v '^ *+' conftest.er1
>conftest.err
29333 cat conftest.err
>&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29338 (eval $ac_try) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); }; } &&
29342 { ac_try
='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29349 echo "$as_me:$LINENO: result: found in default search path" >&5
29350 echo "${ECHO_T}found in default search path" >&6
29351 COMPILED_X_PROGRAM
=1
29354 echo "$as_me: failed program was:" >&5
29355 sed 's/^/| /' conftest.
$ac_ext >&5
29358 echo "$as_me:$LINENO: result: no" >&5
29359 echo "${ECHO_T}no" >&6
29360 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29361 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29362 { (exit 1); exit 1; }; }
29366 rm -f conftest.err conftest.
$ac_objext \
29367 conftest
$ac_exeext conftest.
$ac_ext
29369 CFLAGS
=$save_CFLAGS
29373 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29374 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29378 for libp
in "" " -lXp"; do
29379 if test "$libs_found" = "0"; then
29380 for libsm_ice
in "" " -lSM -lICE"; do
29381 if test "$libs_found" = "0"; then
29383 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29384 save_CFLAGS
=$CFLAGS
29385 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29387 cat >conftest.
$ac_ext <<_ACEOF
29390 cat confdefs.h
>>conftest.
$ac_ext
29391 cat >>conftest.
$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29395 #include <Xm/List.h>
29401 XmString string = NULL;
29404 XmListAddItem(w, string, position);
29410 rm -f conftest.
$ac_objext conftest
$ac_exeext
29411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29412 (eval $ac_link) 2>conftest.er1
29414 grep -v '^ *+' conftest.er1
>conftest.err
29416 cat conftest.err
>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421 (eval $ac_try) 2>&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); }; } &&
29425 { ac_try
='test -s conftest$ac_exeext'
29426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29427 (eval $ac_try) 2>&5
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); }; }; then
29433 libsm_ice_link
="$libsm_ice"
29434 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29435 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.
$ac_ext >&5
29445 rm -f conftest.err conftest.
$ac_objext \
29446 conftest
$ac_exeext conftest.
$ac_ext
29449 CFLAGS
=$save_CFLAGS
29455 if test "$libs_found" = "0"; then
29456 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29457 echo "${ECHO_T}can't find the right libraries" >&6
29458 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29459 echo "$as_me: error: can't link a simple motif program" >&2;}
29460 { (exit 1); exit 1; }; }
29463 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29464 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29465 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 ac_check_lib_save_LIBS
=$LIBS
29470 cat >conftest.
$ac_ext <<_ACEOF
29473 cat confdefs.h
>>conftest.
$ac_ext
29474 cat >>conftest.
$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29477 /* Override any gcc2 internal prototype to avoid an error. */
29481 /* We use char because int might match the return type of a gcc2
29482 builtin and then its argument prototype would still apply. */
29483 char SgCreateList ();
29492 rm -f conftest.
$ac_objext conftest
$ac_exeext
29493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29494 (eval $ac_link) 2>conftest.er1
29496 grep -v '^ *+' conftest.er1
>conftest.err
29498 cat conftest.err
>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); } &&
29501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; } &&
29507 { ac_try
='test -s conftest$ac_exeext'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; }; then
29513 ac_cv_lib_Sgm_SgCreateList
=yes
29515 echo "$as_me: failed program was:" >&5
29516 sed 's/^/| /' conftest.
$ac_ext >&5
29518 ac_cv_lib_Sgm_SgCreateList
=no
29520 rm -f conftest.err conftest.
$ac_objext \
29521 conftest
$ac_exeext conftest.
$ac_ext
29522 LIBS
=$ac_check_lib_save_LIBS
29524 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29525 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29526 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29527 libsgm_link
=" -lSgm"
29531 save_CFLAGS
=$CFLAGS
29532 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29534 echo "$as_me:$LINENO: checking for Motif 2" >&5
29535 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29536 if test "${wx_cv_lib_motif2+set}" = set; then
29537 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 cat >conftest.
$ac_ext <<_ACEOF
29542 cat confdefs.h
>>conftest.
$ac_ext
29543 cat >>conftest.
$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29552 #if XmVersion < 2000
29560 rm -f conftest.
$ac_objext
29561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29562 (eval $ac_compile) 2>conftest.er1
29564 grep -v '^ *+' conftest.er1
>conftest.err
29566 cat conftest.err
>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); } &&
29569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29571 (eval $ac_try) 2>&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); }; } &&
29575 { ac_try
='test -s conftest.$ac_objext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 wx_cv_lib_motif2
="yes"
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.
$ac_ext >&5
29586 wx_cv_lib_motif2
="no"
29588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29590 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29591 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29592 if test "$wx_cv_lib_motif2" = "yes"; then
29593 cat >>confdefs.h
<<\_ACEOF
29594 #define __WXMOTIF20__ 1
29598 cat >>confdefs.h
<<\_ACEOF
29599 #define __WXMOTIF20__ 0
29604 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29605 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29606 if test "${wx_cv_lib_lesstif+set}" = set; then
29607 echo $ECHO_N "(cached) $ECHO_C" >&6
29609 cat >conftest.
$ac_ext <<_ACEOF
29612 cat confdefs.h
>>conftest.
$ac_ext
29613 cat >>conftest.
$ac_ext <<_ACEOF
29614 /* end confdefs.h. */
29622 #if !defined(LesstifVersion) || LesstifVersion <= 0
29630 rm -f conftest.
$ac_objext
29631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29632 (eval $ac_compile) 2>conftest.er1
29634 grep -v '^ *+' conftest.er1
>conftest.err
29636 cat conftest.err
>&5
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); } &&
29639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29641 (eval $ac_try) 2>&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); }; } &&
29645 { ac_try
='test -s conftest.$ac_objext'
29646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29647 (eval $ac_try) 2>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); }; }; then
29651 wx_cv_lib_lesstif
="yes"
29653 echo "$as_me: failed program was:" >&5
29654 sed 's/^/| /' conftest.
$ac_ext >&5
29656 wx_cv_lib_lesstif
="no"
29658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29661 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29662 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29663 if test "$wx_cv_lib_lesstif" = "yes"; then
29664 cat >>confdefs.h
<<\_ACEOF
29665 #define __WXLESSTIF__ 1
29669 cat >>confdefs.h
<<\_ACEOF
29670 #define __WXLESSTIF__ 0
29675 CFLAGS
=$save_CFLAGS
29677 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29682 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29683 if test "$wxUSE_LIBXPM" = "sys"; then
29684 echo "$as_me:$LINENO: checking for Xpm library" >&5
29685 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29688 for ac_dir
in $SEARCH_LIB;
29690 for ac_extension
in a so sl dylib dll.a
; do
29691 if test -f "$ac_dir/libXpm.$ac_extension"; then
29692 ac_find_libraries
=$ac_dir
29698 if test "$ac_find_libraries" != "" ; then
29700 if test "$ac_find_libraries" = "default location"; then
29703 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29705 if test $result = 0; then
29708 ac_path_to_link
=" -L$ac_find_libraries"
29712 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29713 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29714 echo "${ECHO_T}found in $ac_find_libraries" >&6
29716 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29717 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29718 if test "${wx_cv_x11_xpm_h+set}" = set; then
29719 echo $ECHO_N "(cached) $ECHO_C" >&6
29722 save_CFLAGS
=$CFLAGS
29723 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29725 cat >conftest.
$ac_ext <<_ACEOF
29728 cat confdefs.h
>>conftest.
$ac_ext
29729 cat >>conftest.
$ac_ext <<_ACEOF
29730 /* end confdefs.h. */
29732 #include <X11/xpm.h>
29739 version = XpmLibraryVersion();
29745 rm -f conftest.
$ac_objext
29746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29747 (eval $ac_compile) 2>conftest.er1
29749 grep -v '^ *+' conftest.er1
>conftest.err
29751 cat conftest.err
>&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); } &&
29754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; } &&
29760 { ac_try
='test -s conftest.$ac_objext'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; }; then
29766 wx_cv_x11_xpm_h
=yes
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.
$ac_ext >&5
29774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29776 CFLAGS
=$save_CFLAGS
29780 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29781 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29783 if test $wx_cv_x11_xpm_h = "yes"; then
29784 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29785 cat >>confdefs.h
<<\_ACEOF
29786 #define wxHAVE_LIB_XPM 1
29790 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29791 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29797 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29798 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29799 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29800 echo $ECHO_N "(cached) $ECHO_C" >&6
29802 ac_check_lib_save_LIBS
=$LIBS
29803 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29804 cat >conftest.
$ac_ext <<_ACEOF
29807 cat confdefs.h
>>conftest.
$ac_ext
29808 cat >>conftest.
$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29811 /* Override any gcc2 internal prototype to avoid an error. */
29815 /* We use char because int might match the return type of a gcc2
29816 builtin and then its argument prototype would still apply. */
29817 char XShapeQueryExtension ();
29821 XShapeQueryExtension ();
29826 rm -f conftest.
$ac_objext conftest
$ac_exeext
29827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29828 (eval $ac_link) 2>conftest.er1
29830 grep -v '^ *+' conftest.er1
>conftest.err
29832 cat conftest.err
>&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); } &&
29835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; } &&
29841 { ac_try
='test -s conftest$ac_exeext'
29842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843 (eval $ac_try) 2>&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); }; }; then
29847 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.
$ac_ext >&5
29852 ac_cv_lib_Xext_XShapeQueryExtension
=no
29854 rm -f conftest.err conftest.
$ac_objext \
29855 conftest
$ac_exeext conftest.
$ac_ext
29856 LIBS
=$ac_check_lib_save_LIBS
29858 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29859 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29860 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29862 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29868 if test "$wxHAVE_XEXT_LIB" = 1; then
29869 save_CFLAGS
="$CFLAGS"
29870 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29872 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29873 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29874 cat >conftest.
$ac_ext <<_ACEOF
29877 cat confdefs.h
>>conftest.
$ac_ext
29878 cat >>conftest.
$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29881 #include <X11/Xlib.h>
29882 #include <X11/extensions/shape.h>
29888 int dummy1, dummy2;
29889 XShapeQueryExtension((Display*)NULL,
29890 (int*)NULL, (int*)NULL);
29896 rm -f conftest.
$ac_objext
29897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29898 (eval $ac_compile) 2>conftest.er1
29900 grep -v '^ *+' conftest.er1
>conftest.err
29902 cat conftest.err
>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); } &&
29905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; } &&
29911 { ac_try
='test -s conftest.$ac_objext'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; }; then
29918 cat >>confdefs.h
<<\_ACEOF
29919 #define HAVE_XSHAPE 1
29922 echo "$as_me:$LINENO: result: found" >&5
29923 echo "${ECHO_T}found" >&6
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.
$ac_ext >&5
29930 echo "$as_me:$LINENO: result: not found" >&5
29931 echo "${ECHO_T}not found" >&6
29934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29935 CFLAGS
="$save_CFLAGS"
29940 if test "$wxUSE_MAC" = 1; then
29941 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29942 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29943 if test "$GCC" = yes; then
29944 echo "$as_me:$LINENO: result: gcc" >&5
29945 echo "${ECHO_T}gcc" >&6
29946 CPPFLAGS_PASCAL
="-fpascal-strings"
29947 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29948 echo "$as_me:$LINENO: result: xlc" >&5
29949 echo "${ECHO_T}xlc" >&6
29950 CPPFLAGS_PASCAL
="-qmacpstr"
29952 echo "$as_me:$LINENO: result: none" >&5
29953 echo "${ECHO_T}none" >&6
29956 if test "x$wxUSE_UNIX" = "xyes"; then
29957 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29959 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29964 WXBASEPORT
="_carbon"
29967 if test "$wxUSE_COCOA" = 1; then
29972 if test "$wxUSE_PM" = 1; then
29975 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29976 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29977 if test "${wx_cv_spbcdata+set}" = set; then
29978 echo $ECHO_N "(cached) $ECHO_C" >&6
29981 cat >conftest.
$ac_ext <<_ACEOF
29984 cat confdefs.h
>>conftest.
$ac_ext
29985 cat >>conftest.
$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
30001 rm -f conftest.
$ac_objext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30003 (eval $ac_compile) 2>conftest.er1
30005 grep -v '^ *+' conftest.er1
>conftest.err
30007 cat conftest.err
>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; } &&
30016 { ac_try
='test -s conftest.$ac_objext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30024 echo "$as_me: failed program was:" >&5
30025 sed 's/^/| /' conftest.
$ac_ext >&5
30030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30034 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30035 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30037 if test $wx_cv_spbcdata = "yes"; then
30038 cat >>confdefs.h
<<\_ACEOF
30039 #define HAVE_SPBCDATA 1
30045 if test "$TOOLKIT" = "PM" ; then
30048 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30051 if test "$wxUSE_UNIVERSAL" = "yes"; then
30052 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30056 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30057 DISTDIR
="wx\$(TOOLKIT)"
30063 if test "$USE_WIN32" = 1 ; then
30067 GUIDIST
="BASE_DIST"
30072 if test "$wxUSE_GUI" = "yes"; then
30073 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30075 for ac_header
in X
11/Xlib.h
30077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30079 echo "$as_me:$LINENO: checking for $ac_header" >&5
30080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30087 # Is the header compilable?
30088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30090 cat >conftest.
$ac_ext <<_ACEOF
30093 cat confdefs.h
>>conftest.
$ac_ext
30094 cat >>conftest.
$ac_ext <<_ACEOF
30095 /* end confdefs.h. */
30096 $ac_includes_default
30097 #include <$ac_header>
30099 rm -f conftest.
$ac_objext
30100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30101 (eval $ac_compile) 2>conftest.er1
30103 grep -v '^ *+' conftest.er1
>conftest.err
30105 cat conftest.err
>&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); } &&
30108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; } &&
30114 { ac_try
='test -s conftest.$ac_objext'
30115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30116 (eval $ac_try) 2>&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); }; }; then
30120 ac_header_compiler
=yes
30122 echo "$as_me: failed program was:" >&5
30123 sed 's/^/| /' conftest.
$ac_ext >&5
30125 ac_header_compiler
=no
30127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30129 echo "${ECHO_T}$ac_header_compiler" >&6
30131 # Is the header present?
30132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30134 cat >conftest.
$ac_ext <<_ACEOF
30137 cat confdefs.h
>>conftest.
$ac_ext
30138 cat >>conftest.
$ac_ext <<_ACEOF
30139 /* end confdefs.h. */
30140 #include <$ac_header>
30142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30145 grep -v '^ *+' conftest.er1
>conftest.err
30147 cat conftest.err
>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } >/dev
/null
; then
30150 if test -s conftest.err
; then
30151 ac_cpp_err
=$ac_c_preproc_warn_flag
30152 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30159 if test -z "$ac_cpp_err"; then
30160 ac_header_preproc
=yes
30162 echo "$as_me: failed program was:" >&5
30163 sed 's/^/| /' conftest.
$ac_ext >&5
30165 ac_header_preproc
=no
30167 rm -f conftest.err conftest.
$ac_ext
30168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30169 echo "${ECHO_T}$ac_header_preproc" >&6
30171 # So? What about this header?
30172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30178 ac_header_preproc
=yes
30181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30195 ## ----------------------------------------- ##
30196 ## Report this to wx-dev@lists.wxwidgets.org ##
30197 ## ----------------------------------------- ##
30200 sed "s/^/$as_me: WARNING: /" >&2
30203 echo "$as_me:$LINENO: checking for $ac_header" >&5
30204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 eval "$as_ac_Header=\$ac_header_preproc"
30210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30215 cat >>confdefs.h
<<_ACEOF
30216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30224 for ac_header
in X
11/XKBlib.h
30226 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30227 echo "$as_me:$LINENO: checking for $ac_header" >&5
30228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30230 echo $ECHO_N "(cached) $ECHO_C" >&6
30232 cat >conftest.
$ac_ext <<_ACEOF
30235 cat confdefs.h
>>conftest.
$ac_ext
30236 cat >>conftest.
$ac_ext <<_ACEOF
30237 /* end confdefs.h. */
30239 #if HAVE_X11_XLIB_H
30240 #include <X11/Xlib.h>
30244 #include <$ac_header>
30246 rm -f conftest.
$ac_objext
30247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30248 (eval $ac_compile) 2>conftest.er1
30250 grep -v '^ *+' conftest.er1
>conftest.err
30252 cat conftest.err
>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); } &&
30255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30257 (eval $ac_try) 2>&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); }; } &&
30261 { ac_try
='test -s conftest.$ac_objext'
30262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30263 (eval $ac_try) 2>&5
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); }; }; then
30267 eval "$as_ac_Header=yes"
30269 echo "$as_me: failed program was:" >&5
30270 sed 's/^/| /' conftest.
$ac_ext >&5
30272 eval "$as_ac_Header=no"
30274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30279 cat >>confdefs.h
<<_ACEOF
30280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30295 if test "$TOOLKIT" != "MSW" ; then
30297 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30299 if test "${ac_cv_header_sql_h+set}" = set; then
30300 echo "$as_me:$LINENO: checking for sql.h" >&5
30301 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30302 if test "${ac_cv_header_sql_h+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30306 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30308 # Is the header compilable?
30309 echo "$as_me:$LINENO: checking sql.h usability" >&5
30310 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30311 cat >conftest.
$ac_ext <<_ACEOF
30314 cat confdefs.h
>>conftest.
$ac_ext
30315 cat >>conftest.
$ac_ext <<_ACEOF
30316 /* end confdefs.h. */
30317 $ac_includes_default
30320 rm -f conftest.
$ac_objext
30321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30322 (eval $ac_compile) 2>conftest.er1
30324 grep -v '^ *+' conftest.er1
>conftest.err
30326 cat conftest.err
>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } &&
30329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; } &&
30335 { ac_try
='test -s conftest.$ac_objext'
30336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30337 (eval $ac_try) 2>&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); }; }; then
30341 ac_header_compiler
=yes
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.
$ac_ext >&5
30346 ac_header_compiler
=no
30348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30350 echo "${ECHO_T}$ac_header_compiler" >&6
30352 # Is the header present?
30353 echo "$as_me:$LINENO: checking sql.h presence" >&5
30354 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30355 cat >conftest.
$ac_ext <<_ACEOF
30358 cat confdefs.h
>>conftest.
$ac_ext
30359 cat >>conftest.
$ac_ext <<_ACEOF
30360 /* end confdefs.h. */
30363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30366 grep -v '^ *+' conftest.er1
>conftest.err
30368 cat conftest.err
>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } >/dev
/null
; then
30371 if test -s conftest.err
; then
30372 ac_cpp_err
=$ac_c_preproc_warn_flag
30373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30380 if test -z "$ac_cpp_err"; then
30381 ac_header_preproc
=yes
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.
$ac_ext >&5
30386 ac_header_preproc
=no
30388 rm -f conftest.err conftest.
$ac_ext
30389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30390 echo "${ECHO_T}$ac_header_preproc" >&6
30392 # So? What about this header?
30393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30395 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30396 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30397 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30398 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30399 ac_header_preproc
=yes
30402 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30403 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30404 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30405 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30406 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30407 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30408 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30409 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30410 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30411 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30412 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30413 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30416 ## ----------------------------------------- ##
30417 ## Report this to wx-dev@lists.wxwidgets.org ##
30418 ## ----------------------------------------- ##
30421 sed "s/^/$as_me: WARNING: /" >&2
30424 echo "$as_me:$LINENO: checking for sql.h" >&5
30425 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30426 if test "${ac_cv_header_sql_h+set}" = set; then
30427 echo $ECHO_N "(cached) $ECHO_C" >&6
30429 ac_cv_header_sql_h
=$ac_header_preproc
30431 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30432 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30435 if test $ac_cv_header_sql_h = yes; then
30440 if test "x$found_sql_h" = "x1" ; then
30441 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30442 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30443 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30444 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 ac_check_lib_save_LIBS
=$LIBS
30447 LIBS
="-liodbc $LIBS"
30448 cat >conftest.
$ac_ext <<_ACEOF
30451 cat confdefs.h
>>conftest.
$ac_ext
30452 cat >>conftest.
$ac_ext <<_ACEOF
30453 /* end confdefs.h. */
30455 /* Override any gcc2 internal prototype to avoid an error. */
30459 /* We use char because int might match the return type of a gcc2
30460 builtin and then its argument prototype would still apply. */
30461 char SQLAllocEnv ();
30470 rm -f conftest.
$ac_objext conftest
$ac_exeext
30471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30472 (eval $ac_link) 2>conftest.er1
30474 grep -v '^ *+' conftest.er1
>conftest.err
30476 cat conftest.err
>&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } &&
30479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30481 (eval $ac_try) 2>&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); }; } &&
30485 { ac_try
='test -s conftest$ac_exeext'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; }; then
30491 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30493 echo "$as_me: failed program was:" >&5
30494 sed 's/^/| /' conftest.
$ac_ext >&5
30496 ac_cv_lib_iodbc_SQLAllocEnv
=no
30498 rm -f conftest.err conftest.
$ac_objext \
30499 conftest
$ac_exeext conftest.
$ac_ext
30500 LIBS
=$ac_check_lib_save_LIBS
30502 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30503 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30504 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30505 ODBC_LINK
=" -liodbc"
30508 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30509 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30510 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30511 echo $ECHO_N "(cached) $ECHO_C" >&6
30513 ac_check_lib_save_LIBS
=$LIBS
30514 LIBS
="-lunixodbc $LIBS"
30515 cat >conftest.
$ac_ext <<_ACEOF
30518 cat confdefs.h
>>conftest.
$ac_ext
30519 cat >>conftest.
$ac_ext <<_ACEOF
30520 /* end confdefs.h. */
30522 /* Override any gcc2 internal prototype to avoid an error. */
30526 /* We use char because int might match the return type of a gcc2
30527 builtin and then its argument prototype would still apply. */
30528 char SQLAllocEnv ();
30537 rm -f conftest.
$ac_objext conftest
$ac_exeext
30538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30539 (eval $ac_link) 2>conftest.er1
30541 grep -v '^ *+' conftest.er1
>conftest.err
30543 cat conftest.err
>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); } &&
30546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548 (eval $ac_try) 2>&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); }; } &&
30552 { ac_try
='test -s conftest$ac_exeext'
30553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30554 (eval $ac_try) 2>&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); }; }; then
30558 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30560 echo "$as_me: failed program was:" >&5
30561 sed 's/^/| /' conftest.
$ac_ext >&5
30563 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30565 rm -f conftest.err conftest.
$ac_objext \
30566 conftest
$ac_exeext conftest.
$ac_ext
30567 LIBS
=$ac_check_lib_save_LIBS
30569 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30570 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30571 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30572 ODBC_LINK
=" -lunixodbc"
30575 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30576 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30577 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 ac_check_lib_save_LIBS
=$LIBS
30581 LIBS
="-lodbc $LIBS"
30582 cat >conftest.
$ac_ext <<_ACEOF
30585 cat confdefs.h
>>conftest.
$ac_ext
30586 cat >>conftest.
$ac_ext <<_ACEOF
30587 /* end confdefs.h. */
30589 /* Override any gcc2 internal prototype to avoid an error. */
30593 /* We use char because int might match the return type of a gcc2
30594 builtin and then its argument prototype would still apply. */
30595 char SQLAllocEnv ();
30604 rm -f conftest.
$ac_objext conftest
$ac_exeext
30605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30606 (eval $ac_link) 2>conftest.er1
30608 grep -v '^ *+' conftest.er1
>conftest.err
30610 cat conftest.err
>&5
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); } &&
30613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615 (eval $ac_try) 2>&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; } &&
30619 { ac_try
='test -s conftest$ac_exeext'
30620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30621 (eval $ac_try) 2>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); }; }; then
30625 ac_cv_lib_odbc_SQLAllocEnv
=yes
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.
$ac_ext >&5
30630 ac_cv_lib_odbc_SQLAllocEnv
=no
30632 rm -f conftest.err conftest.
$ac_objext \
30633 conftest
$ac_exeext conftest.
$ac_ext
30634 LIBS
=$ac_check_lib_save_LIBS
30636 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30637 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30638 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30639 ODBC_LINK
=" -lodbc"
30649 if test "x$ODBC_LINK" = "x" ; then
30650 if test "$wxUSE_ODBC" = "sys" ; then
30651 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30652 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30653 { (exit 1); exit 1; }; }
30655 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30656 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30664 if test "$wxUSE_ODBC" = "builtin" ; then
30665 cat >>confdefs.h
<<\_ACEOF
30666 #define wxUSE_BUILTIN_IODBC 1
30672 if test "$wxUSE_ODBC" != "no" ; then
30673 cat >>confdefs.h
<<\_ACEOF
30674 #define wxUSE_ODBC 1
30677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30679 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
30683 if test "$wxUSE_DISPLAY" = "yes"; then
30684 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30685 echo "$as_me:$LINENO: checking for Xinerama" >&5
30686 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30689 for ac_dir
in $SEARCH_LIB;
30691 for ac_extension
in a so sl dylib dll.a
; do
30692 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30693 ac_find_libraries
=$ac_dir
30699 if test "$ac_find_libraries" != "" ; then
30701 if test "$ac_find_libraries" = "default location"; then
30704 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30706 if test $result = 0; then
30709 ac_path_to_link
=" -L$ac_find_libraries"
30713 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30714 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30716 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30717 echo "$as_me:$LINENO: result: yes" >&5
30718 echo "${ECHO_T}yes" >&6
30720 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30721 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30724 for ac_dir
in $SEARCH_LIB;
30726 for ac_extension
in a so sl dylib dll.a
; do
30727 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30728 ac_find_libraries
=$ac_dir
30734 if test "$ac_find_libraries" != "" ; then
30735 echo "$as_me:$LINENO: result: yes" >&5
30736 echo "${ECHO_T}yes" >&6
30738 for ac_header
in X
11/extensions
/xf86vmode.h
30740 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30741 echo "$as_me:$LINENO: checking for $ac_header" >&5
30742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30744 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 cat >conftest.
$ac_ext <<_ACEOF
30749 cat confdefs.h
>>conftest.
$ac_ext
30750 cat >>conftest.
$ac_ext <<_ACEOF
30751 /* end confdefs.h. */
30753 #if HAVE_X11_XLIB_H
30754 #include <X11/Xlib.h>
30758 #include <$ac_header>
30760 rm -f conftest.
$ac_objext
30761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30762 (eval $ac_compile) 2>conftest.er1
30764 grep -v '^ *+' conftest.er1
>conftest.err
30766 cat conftest.err
>&5
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); } &&
30769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 (eval $ac_try) 2>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; } &&
30775 { ac_try
='test -s conftest.$ac_objext'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; }; then
30781 eval "$as_ac_Header=yes"
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.
$ac_ext >&5
30786 eval "$as_ac_Header=no"
30788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30793 cat >>confdefs.h
<<_ACEOF
30794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30797 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30804 echo "$as_me:$LINENO: result: no" >&5
30805 echo "${ECHO_T}no" >&6
30809 echo "$as_me:$LINENO: result: no" >&5
30810 echo "${ECHO_T}no" >&6
30811 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30812 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30815 elif test "$wxUSE_MSW" = 1; then
30818 for ac_header
in multimon.h ddraw.h
30820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30821 echo "$as_me:$LINENO: checking for $ac_header" >&5
30822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30824 echo $ECHO_N "(cached) $ECHO_C" >&6
30826 cat >conftest.
$ac_ext <<_ACEOF
30829 cat confdefs.h
>>conftest.
$ac_ext
30830 cat >>conftest.
$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30832 #include <windows.h>
30834 #include <$ac_header>
30836 rm -f conftest.
$ac_objext
30837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30838 (eval $ac_compile) 2>conftest.er1
30840 grep -v '^ *+' conftest.er1
>conftest.err
30842 cat conftest.err
>&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } &&
30845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30847 (eval $ac_try) 2>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); }; } &&
30851 { ac_try
='test -s conftest.$ac_objext'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; }; then
30857 eval "$as_ac_Header=yes"
30859 echo "$as_me: failed program was:" >&5
30860 sed 's/^/| /' conftest.
$ac_ext >&5
30862 eval "$as_ac_Header=no"
30864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30869 cat >>confdefs.h
<<_ACEOF
30870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30876 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30877 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30888 if test "$wxUSE_OPENGL" = "yes"; then
30889 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30890 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30891 elif test "$wxUSE_MSW" = 1; then
30892 OPENGL_LIBS
="-lopengl32 -lglu32"
30897 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30899 if test -f "$ac_dir/GL/gl.h"; then
30900 ac_find_includes
=$ac_dir
30905 if test "$ac_find_includes" != "" ; then
30906 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30907 echo "${ECHO_T}found in $ac_find_includes" >&6
30909 if test "x$ac_find_includes" = "x/usr/include"; then
30910 ac_path_to_include
=""
30912 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30914 if test $result = 0; then
30915 ac_path_to_include
=""
30917 ac_path_to_include
=" -I$ac_find_includes"
30921 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30924 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30925 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30926 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30927 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30928 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30931 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30933 # Is the header compilable?
30934 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30935 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30936 cat >conftest.
$ac_ext <<_ACEOF
30939 cat confdefs.h
>>conftest.
$ac_ext
30940 cat >>conftest.
$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 $ac_includes_default
30945 rm -f conftest.
$ac_objext
30946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30947 (eval $ac_compile) 2>conftest.er1
30949 grep -v '^ *+' conftest.er1
>conftest.err
30951 cat conftest.err
>&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } &&
30954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30956 (eval $ac_try) 2>&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; } &&
30960 { ac_try
='test -s conftest.$ac_objext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 ac_header_compiler
=yes
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.
$ac_ext >&5
30971 ac_header_compiler
=no
30973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30975 echo "${ECHO_T}$ac_header_compiler" >&6
30977 # Is the header present?
30978 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30979 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30980 cat >conftest.
$ac_ext <<_ACEOF
30983 cat confdefs.h
>>conftest.
$ac_ext
30984 cat >>conftest.
$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30991 grep -v '^ *+' conftest.er1
>conftest.err
30993 cat conftest.err
>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } >/dev
/null
; then
30996 if test -s conftest.err
; then
30997 ac_cpp_err
=$ac_c_preproc_warn_flag
30998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31005 if test -z "$ac_cpp_err"; then
31006 ac_header_preproc
=yes
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.
$ac_ext >&5
31011 ac_header_preproc
=no
31013 rm -f conftest.err conftest.
$ac_ext
31014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31015 echo "${ECHO_T}$ac_header_preproc" >&6
31017 # So? What about this header?
31018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31020 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31021 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31022 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31023 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31024 ac_header_preproc
=yes
31027 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31028 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31029 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31030 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31031 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31032 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31034 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31036 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31037 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31038 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31041 ## ----------------------------------------- ##
31042 ## Report this to wx-dev@lists.wxwidgets.org ##
31043 ## ----------------------------------------- ##
31046 sed "s/^/$as_me: WARNING: /" >&2
31049 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31050 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31051 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31052 echo $ECHO_N "(cached) $ECHO_C" >&6
31054 ac_cv_header_GL_gl_h
=$ac_header_preproc
31056 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31057 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31060 if test $ac_cv_header_GL_gl_h = yes; then
31064 echo "$as_me:$LINENO: checking for -lGL" >&5
31065 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31068 for ac_dir
in $SEARCH_LIB;
31070 for ac_extension
in a so sl dylib dll.a
; do
31071 if test -f "$ac_dir/libGL.$ac_extension"; then
31072 ac_find_libraries
=$ac_dir
31078 if test "$ac_find_libraries" != "" ; then
31079 echo "$as_me:$LINENO: result: yes" >&5
31080 echo "${ECHO_T}yes" >&6
31083 if test "$ac_find_libraries" = "default location"; then
31086 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31088 if test $result = 0; then
31091 ac_path_to_link
=" -L$ac_find_libraries"
31095 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31096 LDFLAGS_GL
="$ac_path_to_link"
31099 echo "$as_me:$LINENO: checking for -lGLU" >&5
31100 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31103 for ac_dir
in $SEARCH_LIB;
31105 for ac_extension
in a so sl dylib dll.a
; do
31106 if test -f "$ac_dir/libGLU.$ac_extension"; then
31107 ac_find_libraries
=$ac_dir
31113 if test "$ac_find_libraries" != "" ; then
31115 if test "$ac_find_libraries" = "default location"; then
31118 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31120 if test $result = 0; then
31123 ac_path_to_link
=" -L$ac_find_libraries"
31127 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31128 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31129 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31133 OPENGL_LIBS
="-lGL -lGLU"
31134 echo "$as_me:$LINENO: result: yes" >&5
31135 echo "${ECHO_T}yes" >&6
31137 echo "$as_me:$LINENO: result: no" >&5
31138 echo "${ECHO_T}no" >&6
31141 echo "$as_me:$LINENO: result: no" >&5
31142 echo "${ECHO_T}no" >&6
31145 if test "$found_gl" != 1; then
31146 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31147 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31150 for ac_dir
in $SEARCH_LIB;
31152 for ac_extension
in a so sl dylib dll.a
; do
31153 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31154 ac_find_libraries
=$ac_dir
31160 if test "$ac_find_libraries" != "" ; then
31162 if test "$ac_find_libraries" = "default location"; then
31165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31167 if test $result = 0; then
31170 ac_path_to_link
=" -L$ac_find_libraries"
31174 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31175 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31176 echo "$as_me:$LINENO: result: yes" >&5
31177 echo "${ECHO_T}yes" >&6
31179 echo "$as_me:$LINENO: result: no" >&5
31180 echo "${ECHO_T}no" >&6
31188 if test "x$OPENGL_LIBS" = "x"; then
31189 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31190 echo "$as_me: error: OpenGL libraries not available" >&2;}
31191 { (exit 1); exit 1; }; }
31195 if test "$wxUSE_OPENGL" = "yes"; then
31197 cat >>confdefs.h
<<\_ACEOF
31198 #define wxUSE_OPENGL 1
31201 cat >>confdefs.h
<<\_ACEOF
31202 #define wxUSE_GLCANVAS 1
31205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31210 if test -n "$TOOLKIT" ; then
31211 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31216 if test "$wxUSE_SHARED" = "yes"; then
31220 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31221 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31226 if test "$wxUSE_SHARED" = "yes"; then
31229 found_versioning
=no
31232 if test $found_versioning = no
; then
31233 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31234 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31235 if test "${wx_cv_version_script+set}" = set; then
31236 echo $ECHO_N "(cached) $ECHO_C" >&6
31239 echo "VER_1 { *; };" >conftest.sym
31240 echo "int main() { return 0; }" >conftest.cpp
31243 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31244 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246 (eval $ac_try) 2>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; } ; then
31250 if test -s conftest.stderr
; then
31251 wx_cv_version_script
=no
31253 wx_cv_version_script
=yes
31256 wx_cv_version_script
=no
31259 if test $wx_cv_version_script = yes
31261 echo "struct B { virtual ~B() { } }; \
31262 struct D : public B { }; \
31263 void F() { D d; }" > conftest.cpp
31266 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31267 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; } &&
31274 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31275 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31277 (eval $ac_try) 2>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); }; }
31283 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31284 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286 (eval $ac_try) 2>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; }
31291 wx_cv_version_script
=yes
31293 wx_cv_version_script
=no
31298 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31299 rm -f conftest1.output conftest2.output conftest3.output
31302 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31303 echo "${ECHO_T}$wx_cv_version_script" >&6
31304 if test $wx_cv_version_script = yes ; then
31305 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31311 *-*-linux* | *-*-gnu* )
31312 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31313 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31317 if test "$GCC" = yes ; then
31318 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
31320 saveLdflags
="$LDFLAGS"
31321 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31322 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31323 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31324 cat >conftest.
$ac_ext <<_ACEOF
31327 cat confdefs.h
>>conftest.
$ac_ext
31328 cat >>conftest.
$ac_ext <<_ACEOF
31329 /* end confdefs.h. */
31339 rm -f conftest.
$ac_objext conftest
$ac_exeext
31340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31341 (eval $ac_link) 2>conftest.er1
31343 grep -v '^ *+' conftest.er1
>conftest.err
31345 cat conftest.err
>&5
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); } &&
31348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31350 (eval $ac_try) 2>&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); }; } &&
31354 { ac_try
='test -s conftest$ac_exeext'
31355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31356 (eval $ac_try) 2>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; }; then
31361 echo "$as_me:$LINENO: result: yes" >&5
31362 echo "${ECHO_T}yes" >&6
31363 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31364 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31367 echo "$as_me: failed program was:" >&5
31368 sed 's/^/| /' conftest.
$ac_ext >&5
31371 echo "$as_me:$LINENO: result: no" >&5
31372 echo "${ECHO_T}no" >&6
31373 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31374 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31375 LDFLAGS
="$saveLdflags -Wl,-R,/"
31376 cat >conftest.
$ac_ext <<_ACEOF
31379 cat confdefs.h
>>conftest.
$ac_ext
31380 cat >>conftest.
$ac_ext <<_ACEOF
31381 /* end confdefs.h. */
31391 rm -f conftest.
$ac_objext conftest
$ac_exeext
31392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31393 (eval $ac_link) 2>conftest.er1
31395 grep -v '^ *+' conftest.er1
>conftest.err
31397 cat conftest.err
>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); } &&
31400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; } &&
31406 { ac_try
='test -s conftest$ac_exeext'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; }; then
31413 echo "$as_me:$LINENO: result: yes" >&5
31414 echo "${ECHO_T}yes" >&6
31415 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31416 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31419 echo "$as_me: failed program was:" >&5
31420 sed 's/^/| /' conftest.
$ac_ext >&5
31423 echo "$as_me:$LINENO: result: no" >&5
31424 echo "${ECHO_T}no" >&6
31427 rm -f conftest.err conftest.
$ac_objext \
31428 conftest
$ac_exeext conftest.
$ac_ext
31431 rm -f conftest.err conftest.
$ac_objext \
31432 conftest
$ac_exeext conftest.
$ac_ext
31433 LDFLAGS
="$saveLdflags"
31435 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31436 WXCONFIG_RPATH
="-R\$libdir"
31441 install_name_tool
=`which install_name_tool`
31442 if test "$install_name_tool" -a -x "$install_name_tool"; then
31443 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31444 cat <<EOF >change-install-names
31446 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31447 inst_cmd="install_name_tool "
31448 for i in \${libnames} ; do
31449 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31453 chmod +x change
-install-names
31457 *-*-cygwin* | *-*-mingw32* )
31458 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31462 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31463 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31468 if test $wxUSE_RPATH = "no"; then
31469 SAMPLES_RPATH_FLAG
=''
31470 SAMPLES_RPATH_POSTLINK
=''
31478 config_linkage_component
="-static"
31485 lib_unicode_suffix
=
31487 if test "$wxUSE_UNICODE" = "yes"; then
31488 lib_unicode_suffix
=u
31489 WX_CHARTYPE
="unicode"
31494 WX_DEBUGTYPE
="release"
31496 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31498 WX_DEBUGTYPE
="debug"
31502 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31503 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31506 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31510 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31512 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31514 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31516 if test "$cross_compiling" = "yes"; then
31517 HOST_SUFFIX
="-$host_alias"
31518 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31519 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31522 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31523 if test "${TOOLKIT_DIR}" = "os2"; then
31524 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31526 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31531 if test "$wxUSE_COCOA" = 1; then
31535 ac_cpp
='$CPP $CPPFLAGS'
31536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31542 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31543 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31544 cat >conftest.
$ac_ext <<_ACEOF
31547 cat confdefs.h
>>conftest.
$ac_ext
31548 cat >>conftest.
$ac_ext <<_ACEOF
31549 /* end confdefs.h. */
31550 #include <AppKit/NSEvent.h>
31551 #include <CoreFoundation/CoreFoundation.h>
31561 rm -f conftest.
$ac_objext
31562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31563 (eval $ac_compile) 2>conftest.er1
31565 grep -v '^ *+' conftest.er1
>conftest.err
31567 cat conftest.err
>&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); } &&
31570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31572 (eval $ac_try) 2>&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); }; } &&
31576 { ac_try
='test -s conftest.$ac_objext'
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; }; then
31582 echo "$as_me:$LINENO: result: no" >&5
31583 echo "${ECHO_T}no" >&6
31585 echo "$as_me: failed program was:" >&5
31586 sed 's/^/| /' conftest.
$ac_ext >&5
31588 echo "$as_me:$LINENO: result: yes" >&5
31589 echo "${ECHO_T}yes" >&6
31590 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31591 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31592 cat >conftest.
$ac_ext <<_ACEOF
31595 cat confdefs.h
>>conftest.
$ac_ext
31596 cat >>conftest.
$ac_ext <<_ACEOF
31597 /* end confdefs.h. */
31598 #define __Point__ 1
31599 #include <AppKit/NSEvent.h>
31600 #include <CoreFoundation/CoreFoundation.h>
31610 rm -f conftest.
$ac_objext
31611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31612 (eval $ac_compile) 2>conftest.er1
31614 grep -v '^ *+' conftest.er1
>conftest.err
31616 cat conftest.err
>&5
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); } &&
31619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; } &&
31625 { ac_try
='test -s conftest.$ac_objext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 echo "$as_me:$LINENO: result: yes" >&5
31632 echo "${ECHO_T}yes" >&6
31633 cat >>confdefs.h
<<\_ACEOF
31634 #define __Point__ 1
31639 echo "$as_me: failed program was:" >&5
31640 sed 's/^/| /' conftest.
$ac_ext >&5
31642 { { echo "$as_me:$LINENO: error: no
31643 See \`config.log' for more details." >&5
31644 echo "$as_me: error: no
31645 See \`config.log' for more details." >&2;}
31646 { (exit 1); exit 1; }; }
31649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31654 ac_cpp
='$CPP $CPPFLAGS'
31655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31661 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31662 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31663 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31665 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31667 # Extract the first word of "Rez", so it can be a program name with args.
31668 set dummy Rez
; ac_word
=$2
31669 echo "$as_me:$LINENO: checking for $ac_word" >&5
31670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31671 if test "${ac_cv_prog_REZ+set}" = set; then
31672 echo $ECHO_N "(cached) $ECHO_C" >&6
31674 if test -n "$REZ"; then
31675 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
31677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31678 for as_dir
in $PATH
31681 test -z "$as_dir" && as_dir
=.
31682 for ac_exec_ext
in '' $ac_executable_extensions; do
31683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31684 ac_cv_prog_REZ
="Rez"
31685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31691 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
31694 REZ
=$ac_cv_prog_REZ
31695 if test -n "$REZ"; then
31696 echo "$as_me:$LINENO: result: $REZ" >&5
31697 echo "${ECHO_T}$REZ" >&6
31699 echo "$as_me:$LINENO: result: no" >&5
31700 echo "${ECHO_T}no" >&6
31703 # Extract the first word of "DeRez", so it can be a program name with args.
31704 set dummy DeRez
; ac_word
=$2
31705 echo "$as_me:$LINENO: checking for $ac_word" >&5
31706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31707 if test "${ac_cv_prog_DEREZ+set}" = set; then
31708 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 if test -n "$DEREZ"; then
31711 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31714 for as_dir
in $PATH
31717 test -z "$as_dir" && as_dir
=.
31718 for ac_exec_ext
in '' $ac_executable_extensions; do
31719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31720 ac_cv_prog_DEREZ
="DeRez"
31721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31727 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31730 DEREZ
=$ac_cv_prog_DEREZ
31731 if test -n "$DEREZ"; then
31732 echo "$as_me:$LINENO: result: $DEREZ" >&5
31733 echo "${ECHO_T}$DEREZ" >&6
31735 echo "$as_me:$LINENO: result: no" >&5
31736 echo "${ECHO_T}no" >&6
31739 # Extract the first word of "SetFile", so it can be a program name with args.
31740 set dummy SetFile
; ac_word
=$2
31741 echo "$as_me:$LINENO: checking for $ac_word" >&5
31742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31743 if test "${ac_cv_prog_SETFILE+set}" = set; then
31744 echo $ECHO_N "(cached) $ECHO_C" >&6
31746 if test -n "$SETFILE"; then
31747 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31750 for as_dir
in $PATH
31753 test -z "$as_dir" && as_dir
=.
31754 for ac_exec_ext
in '' $ac_executable_extensions; do
31755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31756 ac_cv_prog_SETFILE
="SetFile"
31757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31763 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31766 SETFILE
=$ac_cv_prog_SETFILE
31767 if test -n "$SETFILE"; then
31768 echo "$as_me:$LINENO: result: $SETFILE" >&5
31769 echo "${ECHO_T}$SETFILE" >&6
31771 echo "$as_me:$LINENO: result: no" >&5
31772 echo "${ECHO_T}no" >&6
31776 MACSETFILE
="\$(SETFILE)"
31778 if test "$wxUSE_MAC" = 1; then
31779 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
31781 WXCONFIG_POSTLINK_COMMAND
="${REZ} -d __DARWIN__ -t APPL Carbon.r -o"
31783 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31784 WXCONFIG_POSTLINK_COMMAND
="echo -n \\\| ${REZ} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31788 WXCONFIG_POSTLINK_COMMAND
="@true"
31790 if test "$wxUSE_PM" = 1; then
31791 POSTLINK_COMMAND
="emxbind -ep"
31793 POSTLINK_COMMAND
="@true"
31799 echo "$as_me:$LINENO: checking for mode_t" >&5
31800 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31801 if test "${ac_cv_type_mode_t+set}" = set; then
31802 echo $ECHO_N "(cached) $ECHO_C" >&6
31804 cat >conftest.
$ac_ext <<_ACEOF
31807 cat confdefs.h
>>conftest.
$ac_ext
31808 cat >>conftest.
$ac_ext <<_ACEOF
31809 /* end confdefs.h. */
31810 $ac_includes_default
31816 if (sizeof (mode_t))
31822 rm -f conftest.
$ac_objext
31823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31824 (eval $ac_compile) 2>conftest.er1
31826 grep -v '^ *+' conftest.er1
>conftest.err
31828 cat conftest.err
>&5
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); } &&
31831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; } &&
31837 { ac_try
='test -s conftest.$ac_objext'
31838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31839 (eval $ac_try) 2>&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); }; }; then
31843 ac_cv_type_mode_t
=yes
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.
$ac_ext >&5
31848 ac_cv_type_mode_t
=no
31850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31852 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31853 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31854 if test $ac_cv_type_mode_t = yes; then
31858 cat >>confdefs.h
<<_ACEOF
31864 echo "$as_me:$LINENO: checking for off_t" >&5
31865 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31866 if test "${ac_cv_type_off_t+set}" = set; then
31867 echo $ECHO_N "(cached) $ECHO_C" >&6
31869 cat >conftest.
$ac_ext <<_ACEOF
31872 cat confdefs.h
>>conftest.
$ac_ext
31873 cat >>conftest.
$ac_ext <<_ACEOF
31874 /* end confdefs.h. */
31875 $ac_includes_default
31881 if (sizeof (off_t))
31887 rm -f conftest.
$ac_objext
31888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31889 (eval $ac_compile) 2>conftest.er1
31891 grep -v '^ *+' conftest.er1
>conftest.err
31893 cat conftest.err
>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); } &&
31896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; } &&
31902 { ac_try
='test -s conftest.$ac_objext'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31908 ac_cv_type_off_t
=yes
31910 echo "$as_me: failed program was:" >&5
31911 sed 's/^/| /' conftest.
$ac_ext >&5
31913 ac_cv_type_off_t
=no
31915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31917 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31918 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31919 if test $ac_cv_type_off_t = yes; then
31923 cat >>confdefs.h
<<_ACEOF
31929 echo "$as_me:$LINENO: checking for pid_t" >&5
31930 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31931 if test "${ac_cv_type_pid_t+set}" = set; then
31932 echo $ECHO_N "(cached) $ECHO_C" >&6
31934 cat >conftest.
$ac_ext <<_ACEOF
31937 cat confdefs.h
>>conftest.
$ac_ext
31938 cat >>conftest.
$ac_ext <<_ACEOF
31939 /* end confdefs.h. */
31940 $ac_includes_default
31946 if (sizeof (pid_t))
31952 rm -f conftest.
$ac_objext
31953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31954 (eval $ac_compile) 2>conftest.er1
31956 grep -v '^ *+' conftest.er1
>conftest.err
31958 cat conftest.err
>&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); } &&
31961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; } &&
31967 { ac_try
='test -s conftest.$ac_objext'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }; then
31973 ac_cv_type_pid_t
=yes
31975 echo "$as_me: failed program was:" >&5
31976 sed 's/^/| /' conftest.
$ac_ext >&5
31978 ac_cv_type_pid_t
=no
31980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31982 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31983 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31984 if test $ac_cv_type_pid_t = yes; then
31988 cat >>confdefs.h
<<_ACEOF
31994 echo "$as_me:$LINENO: checking for size_t" >&5
31995 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31996 if test "${ac_cv_type_size_t+set}" = set; then
31997 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 cat >conftest.
$ac_ext <<_ACEOF
32002 cat confdefs.h
>>conftest.
$ac_ext
32003 cat >>conftest.
$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 $ac_includes_default
32011 if (sizeof (size_t))
32017 rm -f conftest.
$ac_objext
32018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32019 (eval $ac_compile) 2>conftest.er1
32021 grep -v '^ *+' conftest.er1
>conftest.err
32023 cat conftest.err
>&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } &&
32026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028 (eval $ac_try) 2>&5
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; } &&
32032 { ac_try
='test -s conftest.$ac_objext'
32033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32034 (eval $ac_try) 2>&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); }; }; then
32038 ac_cv_type_size_t
=yes
32040 echo "$as_me: failed program was:" >&5
32041 sed 's/^/| /' conftest.
$ac_ext >&5
32043 ac_cv_type_size_t
=no
32045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32047 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32048 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32049 if test $ac_cv_type_size_t = yes; then
32053 cat >>confdefs.h
<<_ACEOF
32054 #define size_t unsigned
32059 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32060 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32061 if test "${ac_cv_type_uid_t+set}" = set; then
32062 echo $ECHO_N "(cached) $ECHO_C" >&6
32064 cat >conftest.
$ac_ext <<_ACEOF
32067 cat confdefs.h
>>conftest.
$ac_ext
32068 cat >>conftest.
$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32070 #include <sys/types.h>
32073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32074 $EGREP "uid_t" >/dev
/null
2>&1; then
32075 ac_cv_type_uid_t
=yes
32077 ac_cv_type_uid_t
=no
32082 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32083 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32084 if test $ac_cv_type_uid_t = no
; then
32086 cat >>confdefs.h
<<\_ACEOF
32091 cat >>confdefs.h
<<\_ACEOF
32098 echo "$as_me:$LINENO: checking for ssize_t" >&5
32099 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32100 if test "${ac_cv_type_ssize_t+set}" = set; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32103 cat >conftest.
$ac_ext <<_ACEOF
32106 cat confdefs.h
>>conftest.
$ac_ext
32107 cat >>conftest.
$ac_ext <<_ACEOF
32108 /* end confdefs.h. */
32109 $ac_includes_default
32115 if (sizeof (ssize_t))
32121 rm -f conftest.
$ac_objext
32122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32123 (eval $ac_compile) 2>conftest.er1
32125 grep -v '^ *+' conftest.er1
>conftest.err
32127 cat conftest.err
>&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); } &&
32130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32132 (eval $ac_try) 2>&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); }; } &&
32136 { ac_try
='test -s conftest.$ac_objext'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; }; then
32142 ac_cv_type_ssize_t
=yes
32144 echo "$as_me: failed program was:" >&5
32145 sed 's/^/| /' conftest.
$ac_ext >&5
32147 ac_cv_type_ssize_t
=no
32149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32151 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32152 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32153 if test $ac_cv_type_ssize_t = yes; then
32155 cat >>confdefs.h
<<_ACEOF
32156 #define HAVE_SSIZE_T 1
32166 ac_cpp
='$CXXCPP $CPPFLAGS'
32167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32171 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32172 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32173 if test "${wx_cv_size_t_is_uint+set}" = set; then
32174 echo $ECHO_N "(cached) $ECHO_C" >&6
32177 cat >conftest.
$ac_ext <<_ACEOF
32180 cat confdefs.h
>>conftest.
$ac_ext
32181 cat >>conftest.
$ac_ext <<_ACEOF
32182 /* end confdefs.h. */
32183 #include <stddef.h>
32190 struct Foo { void foo(size_t); void foo(unsigned int); };
32198 rm -f conftest.
$ac_objext
32199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32200 (eval $ac_compile) 2>conftest.er1
32202 grep -v '^ *+' conftest.er1
>conftest.err
32204 cat conftest.err
>&5
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); } &&
32207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32209 (eval $ac_try) 2>&5
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 (exit $ac_status); }; } &&
32213 { ac_try
='test -s conftest.$ac_objext'
32214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215 (eval $ac_try) 2>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; }; then
32219 wx_cv_size_t_is_uint
=no
32221 echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.
$ac_ext >&5
32224 wx_cv_size_t_is_uint
=yes
32227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32231 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32232 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32234 if test "$wx_cv_size_t_is_uint" = "yes"; then
32235 cat >>confdefs.h
<<\_ACEOF
32236 #define wxSIZE_T_IS_UINT 1
32240 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32241 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32242 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 cat >conftest.
$ac_ext <<_ACEOF
32248 cat confdefs.h
>>conftest.
$ac_ext
32249 cat >>conftest.
$ac_ext <<_ACEOF
32250 /* end confdefs.h. */
32251 #include <stddef.h>
32258 struct Foo { void foo(size_t); void foo(unsigned long); };
32266 rm -f conftest.
$ac_objext
32267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32268 (eval $ac_compile) 2>conftest.er1
32270 grep -v '^ *+' conftest.er1
>conftest.err
32272 cat conftest.err
>&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } &&
32275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; } &&
32281 { ac_try
='test -s conftest.$ac_objext'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; }; then
32287 wx_cv_size_t_is_ulong
=no
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.
$ac_ext >&5
32292 wx_cv_size_t_is_ulong
=yes
32295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32298 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32299 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32301 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32302 cat >>confdefs.h
<<\_ACEOF
32303 #define wxSIZE_T_IS_ULONG 1
32310 ac_cpp
='$CPP $CPPFLAGS'
32311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32317 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32318 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32319 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 cat >conftest.
$ac_ext <<_ACEOF
32326 cat confdefs.h
>>conftest.
$ac_ext
32327 cat >>conftest.
$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32342 rm -f conftest.
$ac_objext
32343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32344 (eval $ac_compile) 2>conftest.er1
32346 grep -v '^ *+' conftest.er1
>conftest.err
32348 cat conftest.err
>&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } &&
32351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; } &&
32357 { ac_try
='test -s conftest.$ac_objext'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; }; then
32364 wx_cv_struct_pw_gecos
=yes
32367 echo "$as_me: failed program was:" >&5
32368 sed 's/^/| /' conftest.
$ac_ext >&5
32371 wx_cv_struct_pw_gecos
=no
32375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32379 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32380 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32382 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32383 cat >>confdefs.h
<<\_ACEOF
32384 #define HAVE_PW_GECOS 1
32390 if test "$wxUSE_WCHAR_T" = "yes"; then
32391 cat >>confdefs.h
<<\_ACEOF
32392 #define wxUSE_WCHAR_T 1
32399 for ac_func
in wcslen
32401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32402 echo "$as_me:$LINENO: checking for $ac_func" >&5
32403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32404 if eval "test \"\${$as_ac_var+set}\" = set"; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 cat >conftest.
$ac_ext <<_ACEOF
32410 cat confdefs.h
>>conftest.
$ac_ext
32411 cat >>conftest.
$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32415 #define $ac_func innocuous_$ac_func
32417 /* System header to define __stub macros and hopefully few prototypes,
32418 which can conflict with char $ac_func (); below.
32419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32420 <limits.h> exists even on freestanding compilers. */
32423 # include <limits.h>
32425 # include <assert.h>
32430 /* Override any gcc2 internal prototype to avoid an error. */
32435 /* We use char because int might match the return type of a gcc2
32436 builtin and then its argument prototype would still apply. */
32438 /* The GNU C library defines this for functions which it implements
32439 to always fail with ENOSYS. Some functions are actually named
32440 something starting with __ and the normal name is an alias. */
32441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32444 char (*f) () = $ac_func;
32453 return f != $ac_func;
32458 rm -f conftest.
$ac_objext conftest
$ac_exeext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32460 (eval $ac_link) 2>conftest.er1
32462 grep -v '^ *+' conftest.er1
>conftest.err
32464 cat conftest.err
>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32469 (eval $ac_try) 2>&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); }; } &&
32473 { ac_try
='test -s conftest$ac_exeext'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; }; then
32479 eval "$as_ac_var=yes"
32481 echo "$as_me: failed program was:" >&5
32482 sed 's/^/| /' conftest.
$ac_ext >&5
32484 eval "$as_ac_var=no"
32486 rm -f conftest.err conftest.
$ac_objext \
32487 conftest
$ac_exeext conftest.
$ac_ext
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32491 if test `eval echo '${'$as_ac_var'}'` = yes; then
32492 cat >>confdefs.h
<<_ACEOF
32493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32500 if test "$WCSLEN_FOUND" = 0; then
32501 if test "$TOOLKIT" = "MSW"; then
32502 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32503 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32504 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32505 echo $ECHO_N "(cached) $ECHO_C" >&6
32507 ac_check_lib_save_LIBS
=$LIBS
32508 LIBS
="-lmsvcrt $LIBS"
32509 cat >conftest.
$ac_ext <<_ACEOF
32512 cat confdefs.h
>>conftest.
$ac_ext
32513 cat >>conftest.
$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32516 /* Override any gcc2 internal prototype to avoid an error. */
32520 /* We use char because int might match the return type of a gcc2
32521 builtin and then its argument prototype would still apply. */
32531 rm -f conftest.
$ac_objext conftest
$ac_exeext
32532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32533 (eval $ac_link) 2>conftest.er1
32535 grep -v '^ *+' conftest.er1
>conftest.err
32537 cat conftest.err
>&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } &&
32540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32542 (eval $ac_try) 2>&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); }; } &&
32546 { ac_try
='test -s conftest$ac_exeext'
32547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32548 (eval $ac_try) 2>&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); }; }; then
32552 ac_cv_lib_msvcrt_wcslen
=yes
32554 echo "$as_me: failed program was:" >&5
32555 sed 's/^/| /' conftest.
$ac_ext >&5
32557 ac_cv_lib_msvcrt_wcslen
=no
32559 rm -f conftest.err conftest.
$ac_objext \
32560 conftest
$ac_exeext conftest.
$ac_ext
32561 LIBS
=$ac_check_lib_save_LIBS
32563 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32564 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32565 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32570 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32571 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32572 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 ac_check_lib_save_LIBS
=$LIBS
32577 cat >conftest.
$ac_ext <<_ACEOF
32580 cat confdefs.h
>>conftest.
$ac_ext
32581 cat >>conftest.
$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32584 /* Override any gcc2 internal prototype to avoid an error. */
32588 /* We use char because int might match the return type of a gcc2
32589 builtin and then its argument prototype would still apply. */
32599 rm -f conftest.
$ac_objext conftest
$ac_exeext
32600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32601 (eval $ac_link) 2>conftest.er1
32603 grep -v '^ *+' conftest.er1
>conftest.err
32605 cat conftest.err
>&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } &&
32608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; } &&
32614 { ac_try
='test -s conftest$ac_exeext'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; }; then
32620 ac_cv_lib_w_wcslen
=yes
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.
$ac_ext >&5
32625 ac_cv_lib_w_wcslen
=no
32627 rm -f conftest.err conftest.
$ac_objext \
32628 conftest
$ac_exeext conftest.
$ac_ext
32629 LIBS
=$ac_check_lib_save_LIBS
32631 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32632 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32633 if test $ac_cv_lib_w_wcslen = yes; then
32643 if test "$WCSLEN_FOUND" = 1; then
32644 cat >>confdefs.h
<<\_ACEOF
32645 #define HAVE_WCSLEN 1
32650 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32651 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32654 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32655 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32656 if test "${ac_cv_type_mbstate_t+set}" = set; then
32657 echo $ECHO_N "(cached) $ECHO_C" >&6
32659 cat >conftest.
$ac_ext <<_ACEOF
32662 cat confdefs.h
>>conftest.
$ac_ext
32663 cat >>conftest.
$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32670 if ((mbstate_t *) 0)
32672 if (sizeof (mbstate_t))
32678 rm -f conftest.
$ac_objext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32680 (eval $ac_compile) 2>conftest.er1
32682 grep -v '^ *+' conftest.er1
>conftest.err
32684 cat conftest.err
>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32689 (eval $ac_try) 2>&5
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; } &&
32693 { ac_try
='test -s conftest.$ac_objext'
32694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32695 (eval $ac_try) 2>&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); }; }; then
32699 ac_cv_type_mbstate_t
=yes
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.
$ac_ext >&5
32704 ac_cv_type_mbstate_t
=no
32706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32708 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32709 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32710 if test $ac_cv_type_mbstate_t = yes; then
32712 cat >>confdefs.h
<<_ACEOF
32713 #define HAVE_MBSTATE_T 1
32717 for ac_func
in wcsrtombs
32719 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32720 echo "$as_me:$LINENO: checking for $ac_func" >&5
32721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32722 if eval "test \"\${$as_ac_var+set}\" = set"; then
32723 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 cat >conftest.
$ac_ext <<_ACEOF
32728 cat confdefs.h
>>conftest.
$ac_ext
32729 cat >>conftest.
$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32733 #define $ac_func innocuous_$ac_func
32735 /* System header to define __stub macros and hopefully few prototypes,
32736 which can conflict with char $ac_func (); below.
32737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32738 <limits.h> exists even on freestanding compilers. */
32741 # include <limits.h>
32743 # include <assert.h>
32748 /* Override any gcc2 internal prototype to avoid an error. */
32753 /* We use char because int might match the return type of a gcc2
32754 builtin and then its argument prototype would still apply. */
32756 /* The GNU C library defines this for functions which it implements
32757 to always fail with ENOSYS. Some functions are actually named
32758 something starting with __ and the normal name is an alias. */
32759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32762 char (*f) () = $ac_func;
32771 return f != $ac_func;
32776 rm -f conftest.
$ac_objext conftest
$ac_exeext
32777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32778 (eval $ac_link) 2>conftest.er1
32780 grep -v '^ *+' conftest.er1
>conftest.err
32782 cat conftest.err
>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } &&
32785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; } &&
32791 { ac_try
='test -s conftest$ac_exeext'
32792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32793 (eval $ac_try) 2>&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); }; }; then
32797 eval "$as_ac_var=yes"
32799 echo "$as_me: failed program was:" >&5
32800 sed 's/^/| /' conftest.
$ac_ext >&5
32802 eval "$as_ac_var=no"
32804 rm -f conftest.err conftest.
$ac_objext \
32805 conftest
$ac_exeext conftest.
$ac_ext
32807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32809 if test `eval echo '${'$as_ac_var'}'` = yes; then
32810 cat >>confdefs.h
<<_ACEOF
32811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32820 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32821 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32827 ac_cpp
='$CXXCPP $CPPFLAGS'
32828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32835 for ac_func
in snprintf vsnprintf
32837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32838 echo "$as_me:$LINENO: checking for $ac_func" >&5
32839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32840 if eval "test \"\${$as_ac_var+set}\" = set"; then
32841 echo $ECHO_N "(cached) $ECHO_C" >&6
32843 cat >conftest.
$ac_ext <<_ACEOF
32846 cat confdefs.h
>>conftest.
$ac_ext
32847 cat >>conftest.
$ac_ext <<_ACEOF
32848 /* end confdefs.h. */
32849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32851 #define $ac_func innocuous_$ac_func
32853 /* System header to define __stub macros and hopefully few prototypes,
32854 which can conflict with char $ac_func (); below.
32855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32856 <limits.h> exists even on freestanding compilers. */
32859 # include <limits.h>
32861 # include <assert.h>
32866 /* Override any gcc2 internal prototype to avoid an error. */
32871 /* We use char because int might match the return type of a gcc2
32872 builtin and then its argument prototype would still apply. */
32874 /* The GNU C library defines this for functions which it implements
32875 to always fail with ENOSYS. Some functions are actually named
32876 something starting with __ and the normal name is an alias. */
32877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32880 char (*f) () = $ac_func;
32889 return f != $ac_func;
32894 rm -f conftest.
$ac_objext conftest
$ac_exeext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32896 (eval $ac_link) 2>conftest.er1
32898 grep -v '^ *+' conftest.er1
>conftest.err
32900 cat conftest.err
>&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } &&
32903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; } &&
32909 { ac_try
='test -s conftest$ac_exeext'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }; then
32915 eval "$as_ac_var=yes"
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.
$ac_ext >&5
32920 eval "$as_ac_var=no"
32922 rm -f conftest.err conftest.
$ac_objext \
32923 conftest
$ac_exeext conftest.
$ac_ext
32925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32927 if test `eval echo '${'$as_ac_var'}'` = yes; then
32928 cat >>confdefs.h
<<_ACEOF
32929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32936 if test "$ac_cv_func_vsnprintf" = "yes"; then
32937 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32938 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32939 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32943 cat >conftest.
$ac_ext <<_ACEOF
32946 cat confdefs.h
>>conftest.
$ac_ext
32947 cat >>conftest.
$ac_ext <<_ACEOF
32948 /* end confdefs.h. */
32951 #include <stdarg.h>
32953 #if __MSL__ >= 0x6000
32955 using namespace std;
32965 vsnprintf(buf, 10u, "%s", ap);
32971 rm -f conftest.
$ac_objext
32972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32973 (eval $ac_compile) 2>conftest.er1
32975 grep -v '^ *+' conftest.er1
>conftest.err
32977 cat conftest.err
>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); } &&
32980 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; } &&
32986 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
32992 wx_cv_func_vsnprintf_decl
=yes
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.
$ac_ext >&5
32997 wx_cv_func_vsnprintf_decl
=no
33000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33004 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33005 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33007 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33008 cat >>confdefs.h
<<\_ACEOF
33009 #define HAVE_VSNPRINTF_DECL 1
33013 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33014 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33015 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33019 cat >conftest.
$ac_ext <<_ACEOF
33022 cat confdefs.h
>>conftest.
$ac_ext
33023 cat >>conftest.
$ac_ext <<_ACEOF
33024 /* end confdefs.h. */
33027 #include <stdarg.h>
33029 #if __MSL__ >= 0x6000
33031 using namespace std;
33041 const char *fmt = "%s";
33042 vsnprintf(buf, 10u, fmt, ap);
33048 rm -f conftest.
$ac_objext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33050 (eval $ac_compile) 2>conftest.er1
33052 grep -v '^ *+' conftest.er1
>conftest.err
33054 cat conftest.err
>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } &&
33057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; } &&
33063 { ac_try
='test -s conftest.$ac_objext'
33064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33065 (eval $ac_try) 2>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); }; }; then
33069 wx_cv_func_broken_vsnprintf_decl
=no
33071 echo "$as_me: failed program was:" >&5
33072 sed 's/^/| /' conftest.
$ac_ext >&5
33074 wx_cv_func_broken_vsnprintf_decl
=yes
33077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33081 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33082 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33084 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33085 cat >>confdefs.h
<<\_ACEOF
33086 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33093 if test "$ac_cv_func_snprintf" = "yes"; then
33094 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33095 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33096 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 cat >conftest.
$ac_ext <<_ACEOF
33103 cat confdefs.h
>>conftest.
$ac_ext
33104 cat >>conftest.
$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33108 #include <stdarg.h>
33110 #if __MSL__ >= 0x6000
33112 using namespace std;
33121 snprintf(buf, 10u, "%s", "wx");
33127 rm -f conftest.
$ac_objext
33128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33129 (eval $ac_compile) 2>conftest.er1
33131 grep -v '^ *+' conftest.er1
>conftest.err
33133 cat conftest.err
>&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); } &&
33136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33138 (eval $ac_try) 2>&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); }; } &&
33142 { ac_try
='test -s conftest.$ac_objext'
33143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33144 (eval $ac_try) 2>&5
33146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33147 (exit $ac_status); }; }; then
33148 wx_cv_func_snprintf_decl
=yes
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.
$ac_ext >&5
33153 wx_cv_func_snprintf_decl
=no
33156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33160 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33161 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33163 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33164 cat >>confdefs.h
<<\_ACEOF
33165 #define HAVE_SNPRINTF_DECL 1
33169 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33170 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33171 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33172 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 cat >conftest.
$ac_ext <<_ACEOF
33178 cat confdefs.h
>>conftest.
$ac_ext
33179 cat >>conftest.
$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33183 #include <stdarg.h>
33185 #if __MSL__ >= 0x6000
33187 using namespace std;
33196 const char *fmt = "%s";
33197 snprintf(buf, 10u, fmt, "wx");
33203 rm -f conftest.
$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>conftest.er1
33207 grep -v '^ *+' conftest.er1
>conftest.err
33209 cat conftest.err
>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try
='test -s conftest.$ac_objext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 wx_cv_func_broken_snprintf_decl
=no
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.
$ac_ext >&5
33229 wx_cv_func_broken_snprintf_decl
=yes
33232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33236 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33237 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33239 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33240 cat >>confdefs.h
<<\_ACEOF
33241 #define HAVE_BROKEN_SNPRINTF_DECL 1
33248 if test "$wxUSE_UNICODE" = yes; then
33255 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33258 echo "$as_me:$LINENO: checking for $ac_func" >&5
33259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33260 if eval "test \"\${$as_ac_var+set}\" = set"; then
33261 echo $ECHO_N "(cached) $ECHO_C" >&6
33263 cat >conftest.
$ac_ext <<_ACEOF
33266 cat confdefs.h
>>conftest.
$ac_ext
33267 cat >>conftest.
$ac_ext <<_ACEOF
33268 /* end confdefs.h. */
33269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33271 #define $ac_func innocuous_$ac_func
33273 /* System header to define __stub macros and hopefully few prototypes,
33274 which can conflict with char $ac_func (); below.
33275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33276 <limits.h> exists even on freestanding compilers. */
33279 # include <limits.h>
33281 # include <assert.h>
33286 /* Override any gcc2 internal prototype to avoid an error. */
33291 /* We use char because int might match the return type of a gcc2
33292 builtin and then its argument prototype would still apply. */
33294 /* The GNU C library defines this for functions which it implements
33295 to always fail with ENOSYS. Some functions are actually named
33296 something starting with __ and the normal name is an alias. */
33297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33300 char (*f) () = $ac_func;
33309 return f != $ac_func;
33314 rm -f conftest.
$ac_objext conftest
$ac_exeext
33315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33316 (eval $ac_link) 2>conftest.er1
33318 grep -v '^ *+' conftest.er1
>conftest.err
33320 cat conftest.err
>&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } &&
33323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33325 (eval $ac_try) 2>&5
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); }; } &&
33329 { ac_try
='test -s conftest$ac_exeext'
33330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33331 (eval $ac_try) 2>&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); }; }; then
33335 eval "$as_ac_var=yes"
33337 echo "$as_me: failed program was:" >&5
33338 sed 's/^/| /' conftest.
$ac_ext >&5
33340 eval "$as_ac_var=no"
33342 rm -f conftest.err conftest.
$ac_objext \
33343 conftest
$ac_exeext conftest.
$ac_ext
33345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33347 if test `eval echo '${'$as_ac_var'}'` = yes; then
33348 cat >>confdefs.h
<<_ACEOF
33349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33356 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33357 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33358 cat >conftest.
$ac_ext <<_ACEOF
33361 cat confdefs.h
>>conftest.
$ac_ext
33362 cat >>conftest.
$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33373 rm -f conftest.
$ac_objext
33374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33375 (eval $ac_compile) 2>conftest.er1
33377 grep -v '^ *+' conftest.er1
>conftest.err
33379 cat conftest.err
>&5
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); } &&
33382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; } &&
33388 { ac_try
='test -s conftest.$ac_objext'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; }; then
33394 echo "$as_me:$LINENO: result: yes" >&5
33395 echo "${ECHO_T}yes" >&6
33396 cat >>confdefs.h
<<\_ACEOF
33397 #define HAVE__VSNWPRINTF 1
33401 echo "$as_me: failed program was:" >&5
33402 sed 's/^/| /' conftest.
$ac_ext >&5
33404 echo "$as_me:$LINENO: result: no" >&5
33405 echo "${ECHO_T}no" >&6
33407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33411 ac_cpp
='$CPP $CPPFLAGS'
33412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33417 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33419 for ac_func
in fnmatch
33421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33422 echo "$as_me:$LINENO: checking for $ac_func" >&5
33423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33424 if eval "test \"\${$as_ac_var+set}\" = set"; then
33425 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 cat >conftest.
$ac_ext <<_ACEOF
33430 cat confdefs.h
>>conftest.
$ac_ext
33431 cat >>conftest.
$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33435 #define $ac_func innocuous_$ac_func
33437 /* System header to define __stub macros and hopefully few prototypes,
33438 which can conflict with char $ac_func (); below.
33439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33440 <limits.h> exists even on freestanding compilers. */
33443 # include <limits.h>
33445 # include <assert.h>
33450 /* Override any gcc2 internal prototype to avoid an error. */
33455 /* We use char because int might match the return type of a gcc2
33456 builtin and then its argument prototype would still apply. */
33458 /* The GNU C library defines this for functions which it implements
33459 to always fail with ENOSYS. Some functions are actually named
33460 something starting with __ and the normal name is an alias. */
33461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33464 char (*f) () = $ac_func;
33473 return f != $ac_func;
33478 rm -f conftest.
$ac_objext conftest
$ac_exeext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33480 (eval $ac_link) 2>conftest.er1
33482 grep -v '^ *+' conftest.er1
>conftest.err
33484 cat conftest.err
>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 (eval $ac_try) 2>&5
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); }; } &&
33493 { ac_try
='test -s conftest$ac_exeext'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; }; then
33499 eval "$as_ac_var=yes"
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.
$ac_ext >&5
33504 eval "$as_ac_var=no"
33506 rm -f conftest.err conftest.
$ac_objext \
33507 conftest
$ac_exeext conftest.
$ac_ext
33509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33511 if test `eval echo '${'$as_ac_var'}'` = yes; then
33512 cat >>confdefs.h
<<_ACEOF
33513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33521 if test "$wxUSE_FILE" = "yes"; then
33523 for ac_func
in fsync
33525 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33526 echo "$as_me:$LINENO: checking for $ac_func" >&5
33527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33528 if eval "test \"\${$as_ac_var+set}\" = set"; then
33529 echo $ECHO_N "(cached) $ECHO_C" >&6
33531 cat >conftest.
$ac_ext <<_ACEOF
33534 cat confdefs.h
>>conftest.
$ac_ext
33535 cat >>conftest.
$ac_ext <<_ACEOF
33536 /* end confdefs.h. */
33537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33539 #define $ac_func innocuous_$ac_func
33541 /* System header to define __stub macros and hopefully few prototypes,
33542 which can conflict with char $ac_func (); below.
33543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33544 <limits.h> exists even on freestanding compilers. */
33547 # include <limits.h>
33549 # include <assert.h>
33554 /* Override any gcc2 internal prototype to avoid an error. */
33559 /* We use char because int might match the return type of a gcc2
33560 builtin and then its argument prototype would still apply. */
33562 /* The GNU C library defines this for functions which it implements
33563 to always fail with ENOSYS. Some functions are actually named
33564 something starting with __ and the normal name is an alias. */
33565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33568 char (*f) () = $ac_func;
33577 return f != $ac_func;
33582 rm -f conftest.
$ac_objext conftest
$ac_exeext
33583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33584 (eval $ac_link) 2>conftest.er1
33586 grep -v '^ *+' conftest.er1
>conftest.err
33588 cat conftest.err
>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } &&
33591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; } &&
33597 { ac_try
='test -s conftest$ac_exeext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33603 eval "$as_ac_var=yes"
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.
$ac_ext >&5
33608 eval "$as_ac_var=no"
33610 rm -f conftest.err conftest.
$ac_objext \
33611 conftest
$ac_exeext conftest.
$ac_ext
33613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33615 if test `eval echo '${'$as_ac_var'}'` = yes; then
33616 cat >>confdefs.h
<<_ACEOF
33617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33626 if test "$TOOLKIT" != "MSW"; then
33632 ac_cpp
='$CXXCPP $CPPFLAGS'
33633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33640 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33641 if test "${with_libiconv_prefix+set}" = set; then
33642 withval
="$with_libiconv_prefix"
33644 for dir
in `echo "$withval" | tr : ' '`; do
33645 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33646 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33651 echo "$as_me:$LINENO: checking for iconv" >&5
33652 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33653 if test "${am_cv_func_iconv+set}" = set; then
33654 echo $ECHO_N "(cached) $ECHO_C" >&6
33657 am_cv_func_iconv
="no, consider installing GNU libiconv"
33659 cat >conftest.
$ac_ext <<_ACEOF
33662 cat confdefs.h
>>conftest.
$ac_ext
33663 cat >>conftest.
$ac_ext <<_ACEOF
33664 /* end confdefs.h. */
33665 #include <stdlib.h>
33670 iconv_t cd = iconv_open("","");
33671 iconv(cd,NULL,NULL,NULL,NULL);
33677 rm -f conftest.
$ac_objext conftest
$ac_exeext
33678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33679 (eval $ac_link) 2>conftest.er1
33681 grep -v '^ *+' conftest.er1
>conftest.err
33683 cat conftest.err
>&5
33684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685 (exit $ac_status); } &&
33686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33688 (eval $ac_try) 2>&5
33690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33691 (exit $ac_status); }; } &&
33692 { ac_try
='test -s conftest$ac_exeext'
33693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33694 (eval $ac_try) 2>&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); }; }; then
33698 am_cv_func_iconv
=yes
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.
$ac_ext >&5
33704 rm -f conftest.err conftest.
$ac_objext \
33705 conftest
$ac_exeext conftest.
$ac_ext
33706 if test "$am_cv_func_iconv" != yes; then
33707 am_save_LIBS
="$LIBS"
33708 LIBS
="$LIBS -liconv"
33709 cat >conftest.
$ac_ext <<_ACEOF
33712 cat confdefs.h
>>conftest.
$ac_ext
33713 cat >>conftest.
$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33715 #include <stdlib.h>
33720 iconv_t cd = iconv_open("","");
33721 iconv(cd,NULL,NULL,NULL,NULL);
33727 rm -f conftest.
$ac_objext conftest
$ac_exeext
33728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33729 (eval $ac_link) 2>conftest.er1
33731 grep -v '^ *+' conftest.er1
>conftest.err
33733 cat conftest.err
>&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); } &&
33736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33738 (eval $ac_try) 2>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); }; } &&
33742 { ac_try
='test -s conftest$ac_exeext'
33743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33744 (eval $ac_try) 2>&5
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); }; }; then
33748 am_cv_lib_iconv
=yes
33749 am_cv_func_iconv
=yes
33751 echo "$as_me: failed program was:" >&5
33752 sed 's/^/| /' conftest.
$ac_ext >&5
33755 rm -f conftest.err conftest.
$ac_objext \
33756 conftest
$ac_exeext conftest.
$ac_ext
33757 LIBS
="$am_save_LIBS"
33761 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33762 echo "${ECHO_T}$am_cv_func_iconv" >&6
33763 if test "$am_cv_func_iconv" = yes; then
33765 cat >>confdefs.h
<<\_ACEOF
33766 #define HAVE_ICONV 1
33769 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33770 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33771 if test "${wx_cv_func_iconv_const+set}" = set; then
33772 echo $ECHO_N "(cached) $ECHO_C" >&6
33774 cat >conftest.
$ac_ext <<_ACEOF
33777 cat confdefs.h
>>conftest.
$ac_ext
33778 cat >>conftest.
$ac_ext <<_ACEOF
33779 /* end confdefs.h. */
33781 #include <stdlib.h>
33787 #if defined(__STDC__) || defined(__cplusplus)
33788 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33801 rm -f conftest.
$ac_objext
33802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33803 (eval $ac_compile) 2>conftest.er1
33805 grep -v '^ *+' conftest.er1
>conftest.err
33807 cat conftest.err
>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); } &&
33810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33812 (eval $ac_try) 2>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); }; } &&
33816 { ac_try
='test -s conftest.$ac_objext'
33817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33818 (eval $ac_try) 2>&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); }; }; then
33822 wx_cv_func_iconv_const
="no"
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.
$ac_ext >&5
33827 wx_cv_func_iconv_const
="yes"
33830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33833 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33834 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33837 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33838 iconv_const
="const"
33842 cat >>confdefs.h
<<_ACEOF
33843 #define ICONV_CONST $iconv_const
33848 if test "$am_cv_lib_iconv" = yes; then
33853 LIBS
="$LIBICONV $LIBS"
33855 ac_cpp
='$CPP $CPPFLAGS'
33856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33861 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33863 for ac_func
in sigaction
33865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33866 echo "$as_me:$LINENO: checking for $ac_func" >&5
33867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33868 if eval "test \"\${$as_ac_var+set}\" = set"; then
33869 echo $ECHO_N "(cached) $ECHO_C" >&6
33871 cat >conftest.
$ac_ext <<_ACEOF
33874 cat confdefs.h
>>conftest.
$ac_ext
33875 cat >>conftest.
$ac_ext <<_ACEOF
33876 /* end confdefs.h. */
33877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33879 #define $ac_func innocuous_$ac_func
33881 /* System header to define __stub macros and hopefully few prototypes,
33882 which can conflict with char $ac_func (); below.
33883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33884 <limits.h> exists even on freestanding compilers. */
33887 # include <limits.h>
33889 # include <assert.h>
33894 /* Override any gcc2 internal prototype to avoid an error. */
33899 /* We use char because int might match the return type of a gcc2
33900 builtin and then its argument prototype would still apply. */
33902 /* The GNU C library defines this for functions which it implements
33903 to always fail with ENOSYS. Some functions are actually named
33904 something starting with __ and the normal name is an alias. */
33905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33908 char (*f) () = $ac_func;
33917 return f != $ac_func;
33922 rm -f conftest.
$ac_objext conftest
$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>conftest.er1
33926 grep -v '^ *+' conftest.er1
>conftest.err
33928 cat conftest.err
>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33933 (eval $ac_try) 2>&5
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); }; } &&
33937 { ac_try
='test -s conftest$ac_exeext'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; }; then
33943 eval "$as_ac_var=yes"
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.
$ac_ext >&5
33948 eval "$as_ac_var=no"
33950 rm -f conftest.err conftest.
$ac_objext \
33951 conftest
$ac_exeext conftest.
$ac_ext
33953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33955 if test `eval echo '${'$as_ac_var'}'` = yes; then
33956 cat >>confdefs.h
<<_ACEOF
33957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33964 if test "$ac_cv_func_sigaction" = "no"; then
33965 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33966 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33967 wxUSE_ON_FATAL_EXCEPTION
=no
33970 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33974 ac_cpp
='$CXXCPP $CPPFLAGS'
33975 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33976 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33977 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33980 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33981 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33982 if test "${wx_cv_type_sa_handler+set}" = set; then
33983 echo $ECHO_N "(cached) $ECHO_C" >&6
33986 cat >conftest.
$ac_ext <<_ACEOF
33989 cat confdefs.h
>>conftest.
$ac_ext
33990 cat >>conftest.
$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992 #include <signal.h>
33997 extern void testSigHandler(int);
33999 struct sigaction sa;
34000 sa.sa_handler = testSigHandler;
34006 rm -f conftest.
$ac_objext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34008 (eval $ac_compile) 2>conftest.er1
34010 grep -v '^ *+' conftest.er1
>conftest.err
34012 cat conftest.err
>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } &&
34015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34017 (eval $ac_try) 2>&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); }; } &&
34021 { ac_try
='test -s conftest.$ac_objext'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; }; then
34028 wx_cv_type_sa_handler
=int
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.
$ac_ext >&5
34035 wx_cv_type_sa_handler
=void
34038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34041 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34042 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34045 ac_cpp
='$CPP $CPPFLAGS'
34046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34051 cat >>confdefs.h
<<_ACEOF
34052 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34058 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34062 ac_cpp
='$CXXCPP $CPPFLAGS'
34063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34068 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34069 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34070 if test "${wx_cv_func_backtrace+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.
$ac_ext <<_ACEOF
34077 cat confdefs.h
>>conftest.
$ac_ext
34078 cat >>conftest.
$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 #include <execinfo.h>
34088 backtrace(trace, 1);
34089 messages = backtrace_symbols(trace, 1);
34095 rm -f conftest.
$ac_objext
34096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34097 (eval $ac_compile) 2>conftest.er1
34099 grep -v '^ *+' conftest.er1
>conftest.err
34101 cat conftest.err
>&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); } &&
34104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34106 (eval $ac_try) 2>&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; } &&
34110 { ac_try
='test -s conftest.$ac_objext'
34111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112 (eval $ac_try) 2>&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); }; }; then
34116 wx_cv_func_backtrace
=yes
34118 echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.
$ac_ext >&5
34121 wx_cv_func_backtrace
=no
34124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34128 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34129 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34132 if test "$wx_cv_func_backtrace" = "no"; then
34133 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34134 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34135 wxUSE_STACKWALKER
=no
34137 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34138 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34139 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 cat >conftest.
$ac_ext <<_ACEOF
34146 cat confdefs.h
>>conftest.
$ac_ext
34147 cat >>conftest.
$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149 #include <cxxabi.h>
34155 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34161 rm -f conftest.
$ac_objext conftest
$ac_exeext
34162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34163 (eval $ac_link) 2>conftest.er1
34165 grep -v '^ *+' conftest.er1
>conftest.err
34167 cat conftest.err
>&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } &&
34170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34172 (eval $ac_try) 2>&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); }; } &&
34176 { ac_try
='test -s conftest$ac_exeext'
34177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34178 (eval $ac_try) 2>&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); }; }; then
34182 wx_cv_func_cxa_demangle
=yes
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.
$ac_ext >&5
34187 wx_cv_func_cxa_demangle
=no
34190 rm -f conftest.err conftest.
$ac_objext \
34191 conftest
$ac_exeext conftest.
$ac_ext
34195 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34196 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34198 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34199 cat >>confdefs.h
<<\_ACEOF
34200 #define HAVE_CXA_DEMANGLE 1
34207 ac_cpp
='$CPP $CPPFLAGS'
34208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34214 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34215 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34216 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34217 wxUSE_STACKWALKER
=no
34223 for ac_func
in mkstemp mktemp
34225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34226 echo "$as_me:$LINENO: checking for $ac_func" >&5
34227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34228 if eval "test \"\${$as_ac_var+set}\" = set"; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 cat >conftest.
$ac_ext <<_ACEOF
34234 cat confdefs.h
>>conftest.
$ac_ext
34235 cat >>conftest.
$ac_ext <<_ACEOF
34236 /* end confdefs.h. */
34237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34239 #define $ac_func innocuous_$ac_func
34241 /* System header to define __stub macros and hopefully few prototypes,
34242 which can conflict with char $ac_func (); below.
34243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34244 <limits.h> exists even on freestanding compilers. */
34247 # include <limits.h>
34249 # include <assert.h>
34254 /* Override any gcc2 internal prototype to avoid an error. */
34259 /* We use char because int might match the return type of a gcc2
34260 builtin and then its argument prototype would still apply. */
34262 /* The GNU C library defines this for functions which it implements
34263 to always fail with ENOSYS. Some functions are actually named
34264 something starting with __ and the normal name is an alias. */
34265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34268 char (*f) () = $ac_func;
34277 return f != $ac_func;
34282 rm -f conftest.
$ac_objext conftest
$ac_exeext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34284 (eval $ac_link) 2>conftest.er1
34286 grep -v '^ *+' conftest.er1
>conftest.err
34288 cat conftest.err
>&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } &&
34291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34293 (eval $ac_try) 2>&5
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); }; } &&
34297 { ac_try
='test -s conftest$ac_exeext'
34298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34299 (eval $ac_try) 2>&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); }; }; then
34303 eval "$as_ac_var=yes"
34305 echo "$as_me: failed program was:" >&5
34306 sed 's/^/| /' conftest.
$ac_ext >&5
34308 eval "$as_ac_var=no"
34310 rm -f conftest.err conftest.
$ac_objext \
34311 conftest
$ac_exeext conftest.
$ac_ext
34313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34315 if test `eval echo '${'$as_ac_var'}'` = yes; then
34316 cat >>confdefs.h
<<_ACEOF
34317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34324 echo "$as_me:$LINENO: checking for statfs" >&5
34325 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34326 if test "${wx_cv_func_statfs+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34329 cat >conftest.
$ac_ext <<_ACEOF
34332 cat confdefs.h
>>conftest.
$ac_ext
34333 cat >>conftest.
$ac_ext <<_ACEOF
34334 /* end confdefs.h. */
34336 #if defined(__BSD__)
34337 #include <sys/param.h>
34338 #include <sys/mount.h>
34340 #include <sys/vfs.h>
34358 rm -f conftest.
$ac_objext
34359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34360 (eval $ac_compile) 2>conftest.er1
34362 grep -v '^ *+' conftest.er1
>conftest.err
34364 cat conftest.err
>&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } &&
34367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34369 (eval $ac_try) 2>&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); }; } &&
34373 { ac_try
='test -s conftest.$ac_objext'
34374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34375 (eval $ac_try) 2>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); }; }; then
34379 wx_cv_func_statfs
=yes
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.
$ac_ext >&5
34384 wx_cv_func_statfs
=no
34387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34390 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34391 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34393 if test "$wx_cv_func_statfs" = "yes"; then
34397 ac_cpp
='$CXXCPP $CPPFLAGS'
34398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34402 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34403 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34404 if test "${wx_cv_func_statfs_decl+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 cat >conftest.
$ac_ext <<_ACEOF
34410 cat confdefs.h
>>conftest.
$ac_ext
34411 cat >>conftest.
$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34414 #if defined(__BSD__)
34415 #include <sys/param.h>
34416 #include <sys/mount.h>
34418 #include <sys/vfs.h>
34432 rm -f conftest.
$ac_objext
34433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34434 (eval $ac_compile) 2>conftest.er1
34436 grep -v '^ *+' conftest.er1
>conftest.err
34438 cat conftest.err
>&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } &&
34441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; } &&
34447 { ac_try
='test -s conftest.$ac_objext'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; }; then
34453 wx_cv_func_statfs_decl
=yes
34455 echo "$as_me: failed program was:" >&5
34456 sed 's/^/| /' conftest.
$ac_ext >&5
34458 wx_cv_func_statfs_decl
=no
34461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34464 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34465 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34467 ac_cpp
='$CPP $CPPFLAGS'
34468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34473 if test "$wx_cv_func_statfs_decl" = "yes"; then
34474 cat >>confdefs.h
<<\_ACEOF
34475 #define HAVE_STATFS_DECL 1
34480 wx_cv_type_statvfs_t
="struct statfs"
34481 cat >>confdefs.h
<<\_ACEOF
34482 #define HAVE_STATFS 1
34486 echo "$as_me:$LINENO: checking for statvfs" >&5
34487 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34488 if test "${wx_cv_func_statvfs+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 cat >conftest.
$ac_ext <<_ACEOF
34494 cat confdefs.h
>>conftest.
$ac_ext
34495 cat >>conftest.
$ac_ext <<_ACEOF
34496 /* end confdefs.h. */
34498 #include <stddef.h>
34499 #include <sys/statvfs.h>
34505 statvfs("/", NULL);
34511 rm -f conftest.
$ac_objext
34512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34513 (eval $ac_compile) 2>conftest.er1
34515 grep -v '^ *+' conftest.er1
>conftest.err
34517 cat conftest.err
>&5
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); } &&
34520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34522 (eval $ac_try) 2>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); }; } &&
34526 { ac_try
='test -s conftest.$ac_objext'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; }; then
34532 wx_cv_func_statvfs
=yes
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.
$ac_ext >&5
34537 wx_cv_func_statvfs
=no
34540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34543 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34544 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34546 if test "$wx_cv_func_statvfs" = "yes"; then
34550 ac_cpp
='$CXXCPP $CPPFLAGS'
34551 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34552 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34553 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34556 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34557 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34558 if test "${wx_cv_type_statvfs_t+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 cat >conftest.
$ac_ext <<_ACEOF
34564 cat confdefs.h
>>conftest.
$ac_ext
34565 cat >>conftest.
$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34568 #include <sys/statvfs.h>
34585 rm -f conftest.
$ac_objext
34586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34587 (eval $ac_compile) 2>conftest.er1
34589 grep -v '^ *+' conftest.er1
>conftest.err
34591 cat conftest.err
>&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); } &&
34594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; } &&
34600 { ac_try
='test -s conftest.$ac_objext'
34601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34602 (eval $ac_try) 2>&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); }; }; then
34606 wx_cv_type_statvfs_t
=statvfs_t
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.
$ac_ext >&5
34612 cat >conftest.
$ac_ext <<_ACEOF
34615 cat confdefs.h
>>conftest.
$ac_ext
34616 cat >>conftest.
$ac_ext <<_ACEOF
34617 /* end confdefs.h. */
34619 #include <sys/statvfs.h>
34636 rm -f conftest.
$ac_objext
34637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34638 (eval $ac_compile) 2>conftest.er1
34640 grep -v '^ *+' conftest.er1
>conftest.err
34642 cat conftest.err
>&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } &&
34645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34647 (eval $ac_try) 2>&5
34649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34650 (exit $ac_status); }; } &&
34651 { ac_try
='test -s conftest.$ac_objext'
34652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34653 (eval $ac_try) 2>&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); }; }; then
34657 wx_cv_type_statvfs_t
="struct statvfs"
34659 echo "$as_me: failed program was:" >&5
34660 sed 's/^/| /' conftest.
$ac_ext >&5
34662 wx_cv_type_statvfs_t
="unknown"
34665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34672 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34673 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34676 ac_cpp
='$CPP $CPPFLAGS'
34677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34682 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34683 cat >>confdefs.h
<<\_ACEOF
34684 #define HAVE_STATVFS 1
34689 wx_cv_type_statvfs_t
="unknown"
34693 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34694 cat >>confdefs.h
<<_ACEOF
34695 #define WX_STATFS_T $wx_cv_type_statvfs_t
34699 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34700 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34703 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34706 for ac_func
in fcntl flock
34708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34709 echo "$as_me:$LINENO: checking for $ac_func" >&5
34710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34711 if eval "test \"\${$as_ac_var+set}\" = set"; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 cat >conftest.
$ac_ext <<_ACEOF
34717 cat confdefs.h
>>conftest.
$ac_ext
34718 cat >>conftest.
$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34722 #define $ac_func innocuous_$ac_func
34724 /* System header to define __stub macros and hopefully few prototypes,
34725 which can conflict with char $ac_func (); below.
34726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34727 <limits.h> exists even on freestanding compilers. */
34730 # include <limits.h>
34732 # include <assert.h>
34737 /* Override any gcc2 internal prototype to avoid an error. */
34742 /* We use char because int might match the return type of a gcc2
34743 builtin and then its argument prototype would still apply. */
34745 /* The GNU C library defines this for functions which it implements
34746 to always fail with ENOSYS. Some functions are actually named
34747 something starting with __ and the normal name is an alias. */
34748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34751 char (*f) () = $ac_func;
34760 return f != $ac_func;
34765 rm -f conftest.
$ac_objext conftest
$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767 (eval $ac_link) 2>conftest.er1
34769 grep -v '^ *+' conftest.er1
>conftest.err
34771 cat conftest.err
>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; } &&
34780 { ac_try
='test -s conftest$ac_exeext'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; }; then
34786 eval "$as_ac_var=yes"
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.
$ac_ext >&5
34791 eval "$as_ac_var=no"
34793 rm -f conftest.err conftest.
$ac_objext \
34794 conftest
$ac_exeext conftest.
$ac_ext
34796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34798 if test `eval echo '${'$as_ac_var'}'` = yes; then
34799 cat >>confdefs.h
<<_ACEOF
34800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34807 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34808 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34809 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34810 wxUSE_SNGLINST_CHECKER
=no
34815 for ac_func
in timegm
34817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34818 echo "$as_me:$LINENO: checking for $ac_func" >&5
34819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34820 if eval "test \"\${$as_ac_var+set}\" = set"; then
34821 echo $ECHO_N "(cached) $ECHO_C" >&6
34823 cat >conftest.
$ac_ext <<_ACEOF
34826 cat confdefs.h
>>conftest.
$ac_ext
34827 cat >>conftest.
$ac_ext <<_ACEOF
34828 /* end confdefs.h. */
34829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34831 #define $ac_func innocuous_$ac_func
34833 /* System header to define __stub macros and hopefully few prototypes,
34834 which can conflict with char $ac_func (); below.
34835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34836 <limits.h> exists even on freestanding compilers. */
34839 # include <limits.h>
34841 # include <assert.h>
34846 /* Override any gcc2 internal prototype to avoid an error. */
34851 /* We use char because int might match the return type of a gcc2
34852 builtin and then its argument prototype would still apply. */
34854 /* The GNU C library defines this for functions which it implements
34855 to always fail with ENOSYS. Some functions are actually named
34856 something starting with __ and the normal name is an alias. */
34857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34860 char (*f) () = $ac_func;
34869 return f != $ac_func;
34874 rm -f conftest.
$ac_objext conftest
$ac_exeext
34875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34876 (eval $ac_link) 2>conftest.er1
34878 grep -v '^ *+' conftest.er1
>conftest.err
34880 cat conftest.err
>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); } &&
34883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; } &&
34889 { ac_try
='test -s conftest$ac_exeext'
34890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34891 (eval $ac_try) 2>&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); }; }; then
34895 eval "$as_ac_var=yes"
34897 echo "$as_me: failed program was:" >&5
34898 sed 's/^/| /' conftest.
$ac_ext >&5
34900 eval "$as_ac_var=no"
34902 rm -f conftest.err conftest.
$ac_objext \
34903 conftest
$ac_exeext conftest.
$ac_ext
34905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34907 if test `eval echo '${'$as_ac_var'}'` = yes; then
34908 cat >>confdefs.h
<<_ACEOF
34909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34918 for ac_func
in putenv setenv
34920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34921 echo "$as_me:$LINENO: checking for $ac_func" >&5
34922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34923 if eval "test \"\${$as_ac_var+set}\" = set"; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 cat >conftest.
$ac_ext <<_ACEOF
34929 cat confdefs.h
>>conftest.
$ac_ext
34930 cat >>conftest.
$ac_ext <<_ACEOF
34931 /* end confdefs.h. */
34932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34934 #define $ac_func innocuous_$ac_func
34936 /* System header to define __stub macros and hopefully few prototypes,
34937 which can conflict with char $ac_func (); below.
34938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34939 <limits.h> exists even on freestanding compilers. */
34942 # include <limits.h>
34944 # include <assert.h>
34949 /* Override any gcc2 internal prototype to avoid an error. */
34954 /* We use char because int might match the return type of a gcc2
34955 builtin and then its argument prototype would still apply. */
34957 /* The GNU C library defines this for functions which it implements
34958 to always fail with ENOSYS. Some functions are actually named
34959 something starting with __ and the normal name is an alias. */
34960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34963 char (*f) () = $ac_func;
34972 return f != $ac_func;
34977 rm -f conftest.
$ac_objext conftest
$ac_exeext
34978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34979 (eval $ac_link) 2>conftest.er1
34981 grep -v '^ *+' conftest.er1
>conftest.err
34983 cat conftest.err
>&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } &&
34986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try
='test -s conftest$ac_exeext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 eval "$as_ac_var=yes"
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.
$ac_ext >&5
35003 eval "$as_ac_var=no"
35005 rm -f conftest.err conftest.
$ac_objext \
35006 conftest
$ac_exeext conftest.
$ac_ext
35008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35010 if test `eval echo '${'$as_ac_var'}'` = yes; then
35011 cat >>confdefs.h
<<_ACEOF
35012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35019 HAVE_SOME_SLEEP_FUNC
=0
35020 if test "$USE_BEOS" = 1; then
35021 cat >>confdefs.h
<<\_ACEOF
35022 #define HAVE_SLEEP 1
35025 HAVE_SOME_SLEEP_FUNC
=1
35028 if test "$USE_DARWIN" = 1; then
35029 cat >>confdefs.h
<<\_ACEOF
35030 #define HAVE_USLEEP 1
35033 HAVE_SOME_SLEEP_FUNC
=1
35036 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35039 for ac_func
in nanosleep
35041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35042 echo "$as_me:$LINENO: checking for $ac_func" >&5
35043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35044 if eval "test \"\${$as_ac_var+set}\" = set"; then
35045 echo $ECHO_N "(cached) $ECHO_C" >&6
35047 cat >conftest.
$ac_ext <<_ACEOF
35050 cat confdefs.h
>>conftest.
$ac_ext
35051 cat >>conftest.
$ac_ext <<_ACEOF
35052 /* end confdefs.h. */
35053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35055 #define $ac_func innocuous_$ac_func
35057 /* System header to define __stub macros and hopefully few prototypes,
35058 which can conflict with char $ac_func (); below.
35059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35060 <limits.h> exists even on freestanding compilers. */
35063 # include <limits.h>
35065 # include <assert.h>
35070 /* Override any gcc2 internal prototype to avoid an error. */
35075 /* We use char because int might match the return type of a gcc2
35076 builtin and then its argument prototype would still apply. */
35078 /* The GNU C library defines this for functions which it implements
35079 to always fail with ENOSYS. Some functions are actually named
35080 something starting with __ and the normal name is an alias. */
35081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35084 char (*f) () = $ac_func;
35093 return f != $ac_func;
35098 rm -f conftest.
$ac_objext conftest
$ac_exeext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35100 (eval $ac_link) 2>conftest.er1
35102 grep -v '^ *+' conftest.er1
>conftest.err
35104 cat conftest.err
>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } &&
35107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; } &&
35113 { ac_try
='test -s conftest$ac_exeext'
35114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35115 (eval $ac_try) 2>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); }; }; then
35119 eval "$as_ac_var=yes"
35121 echo "$as_me: failed program was:" >&5
35122 sed 's/^/| /' conftest.
$ac_ext >&5
35124 eval "$as_ac_var=no"
35126 rm -f conftest.err conftest.
$ac_objext \
35127 conftest
$ac_exeext conftest.
$ac_ext
35129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35131 if test `eval echo '${'$as_ac_var'}'` = yes; then
35132 cat >>confdefs.h
<<_ACEOF
35133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35135 cat >>confdefs.h
<<\_ACEOF
35136 #define HAVE_NANOSLEEP 1
35141 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35142 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35143 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 ac_check_lib_save_LIBS
=$LIBS
35147 LIBS
="-lposix4 $LIBS"
35148 cat >conftest.
$ac_ext <<_ACEOF
35151 cat confdefs.h
>>conftest.
$ac_ext
35152 cat >>conftest.
$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35155 /* Override any gcc2 internal prototype to avoid an error. */
35159 /* We use char because int might match the return type of a gcc2
35160 builtin and then its argument prototype would still apply. */
35170 rm -f conftest.
$ac_objext conftest
$ac_exeext
35171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35172 (eval $ac_link) 2>conftest.er1
35174 grep -v '^ *+' conftest.er1
>conftest.err
35176 cat conftest.err
>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); } &&
35179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; } &&
35185 { ac_try
='test -s conftest$ac_exeext'
35186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35187 (eval $ac_try) 2>&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; }; then
35191 ac_cv_lib_posix4_nanosleep
=yes
35193 echo "$as_me: failed program was:" >&5
35194 sed 's/^/| /' conftest.
$ac_ext >&5
35196 ac_cv_lib_posix4_nanosleep
=no
35198 rm -f conftest.err conftest.
$ac_objext \
35199 conftest
$ac_exeext conftest.
$ac_ext
35200 LIBS
=$ac_check_lib_save_LIBS
35202 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35203 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35204 if test $ac_cv_lib_posix4_nanosleep = yes; then
35206 cat >>confdefs.h
<<\_ACEOF
35207 #define HAVE_NANOSLEEP 1
35210 POSIX4_LINK
=" -lposix4"
35215 for ac_func
in usleep
35217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35218 echo "$as_me:$LINENO: checking for $ac_func" >&5
35219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35220 if eval "test \"\${$as_ac_var+set}\" = set"; then
35221 echo $ECHO_N "(cached) $ECHO_C" >&6
35223 cat >conftest.
$ac_ext <<_ACEOF
35226 cat confdefs.h
>>conftest.
$ac_ext
35227 cat >>conftest.
$ac_ext <<_ACEOF
35228 /* end confdefs.h. */
35229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35231 #define $ac_func innocuous_$ac_func
35233 /* System header to define __stub macros and hopefully few prototypes,
35234 which can conflict with char $ac_func (); below.
35235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35236 <limits.h> exists even on freestanding compilers. */
35239 # include <limits.h>
35241 # include <assert.h>
35246 /* Override any gcc2 internal prototype to avoid an error. */
35251 /* We use char because int might match the return type of a gcc2
35252 builtin and then its argument prototype would still apply. */
35254 /* The GNU C library defines this for functions which it implements
35255 to always fail with ENOSYS. Some functions are actually named
35256 something starting with __ and the normal name is an alias. */
35257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35260 char (*f) () = $ac_func;
35269 return f != $ac_func;
35274 rm -f conftest.
$ac_objext conftest
$ac_exeext
35275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35276 (eval $ac_link) 2>conftest.er1
35278 grep -v '^ *+' conftest.er1
>conftest.err
35280 cat conftest.err
>&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } &&
35283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35285 (eval $ac_try) 2>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); }; } &&
35289 { ac_try
='test -s conftest$ac_exeext'
35290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35291 (eval $ac_try) 2>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); }; }; then
35295 eval "$as_ac_var=yes"
35297 echo "$as_me: failed program was:" >&5
35298 sed 's/^/| /' conftest.
$ac_ext >&5
35300 eval "$as_ac_var=no"
35302 rm -f conftest.err conftest.
$ac_objext \
35303 conftest
$ac_exeext conftest.
$ac_ext
35305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35307 if test `eval echo '${'$as_ac_var'}'` = yes; then
35308 cat >>confdefs.h
<<_ACEOF
35309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35311 cat >>confdefs.h
<<\_ACEOF
35312 #define HAVE_USLEEP 1
35316 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35317 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35335 for ac_func
in uname gethostname
35337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35338 echo "$as_me:$LINENO: checking for $ac_func" >&5
35339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35340 if eval "test \"\${$as_ac_var+set}\" = set"; then
35341 echo $ECHO_N "(cached) $ECHO_C" >&6
35343 cat >conftest.
$ac_ext <<_ACEOF
35346 cat confdefs.h
>>conftest.
$ac_ext
35347 cat >>conftest.
$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35351 #define $ac_func innocuous_$ac_func
35353 /* System header to define __stub macros and hopefully few prototypes,
35354 which can conflict with char $ac_func (); below.
35355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35356 <limits.h> exists even on freestanding compilers. */
35359 # include <limits.h>
35361 # include <assert.h>
35366 /* Override any gcc2 internal prototype to avoid an error. */
35371 /* We use char because int might match the return type of a gcc2
35372 builtin and then its argument prototype would still apply. */
35374 /* The GNU C library defines this for functions which it implements
35375 to always fail with ENOSYS. Some functions are actually named
35376 something starting with __ and the normal name is an alias. */
35377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35380 char (*f) () = $ac_func;
35389 return f != $ac_func;
35394 rm -f conftest.
$ac_objext conftest
$ac_exeext
35395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35396 (eval $ac_link) 2>conftest.er1
35398 grep -v '^ *+' conftest.er1
>conftest.err
35400 cat conftest.err
>&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); } &&
35403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; } &&
35409 { ac_try
='test -s conftest$ac_exeext'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; }; then
35415 eval "$as_ac_var=yes"
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.
$ac_ext >&5
35420 eval "$as_ac_var=no"
35422 rm -f conftest.err conftest.
$ac_objext \
35423 conftest
$ac_exeext conftest.
$ac_ext
35425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35427 if test `eval echo '${'$as_ac_var'}'` = yes; then
35428 cat >>confdefs.h
<<_ACEOF
35429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35439 ac_cpp
='$CXXCPP $CPPFLAGS'
35440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35446 for ac_func
in strtok_r
35448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35449 echo "$as_me:$LINENO: checking for $ac_func" >&5
35450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35451 if eval "test \"\${$as_ac_var+set}\" = set"; then
35452 echo $ECHO_N "(cached) $ECHO_C" >&6
35454 cat >conftest.
$ac_ext <<_ACEOF
35457 cat confdefs.h
>>conftest.
$ac_ext
35458 cat >>conftest.
$ac_ext <<_ACEOF
35459 /* end confdefs.h. */
35460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35462 #define $ac_func innocuous_$ac_func
35464 /* System header to define __stub macros and hopefully few prototypes,
35465 which can conflict with char $ac_func (); below.
35466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35467 <limits.h> exists even on freestanding compilers. */
35470 # include <limits.h>
35472 # include <assert.h>
35477 /* Override any gcc2 internal prototype to avoid an error. */
35482 /* We use char because int might match the return type of a gcc2
35483 builtin and then its argument prototype would still apply. */
35485 /* The GNU C library defines this for functions which it implements
35486 to always fail with ENOSYS. Some functions are actually named
35487 something starting with __ and the normal name is an alias. */
35488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35491 char (*f) () = $ac_func;
35500 return f != $ac_func;
35505 rm -f conftest.
$ac_objext conftest
$ac_exeext
35506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35507 (eval $ac_link) 2>conftest.er1
35509 grep -v '^ *+' conftest.er1
>conftest.err
35511 cat conftest.err
>&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); } &&
35514 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35516 (eval $ac_try) 2>&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; } &&
35520 { ac_try
='test -s conftest$ac_exeext'
35521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35522 (eval $ac_try) 2>&5
35524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35525 (exit $ac_status); }; }; then
35526 eval "$as_ac_var=yes"
35528 echo "$as_me: failed program was:" >&5
35529 sed 's/^/| /' conftest.
$ac_ext >&5
35531 eval "$as_ac_var=no"
35533 rm -f conftest.err conftest.
$ac_objext \
35534 conftest
$ac_exeext conftest.
$ac_ext
35536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35538 if test `eval echo '${'$as_ac_var'}'` = yes; then
35539 cat >>confdefs.h
<<_ACEOF
35540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35548 ac_cpp
='$CPP $CPPFLAGS'
35549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35556 for ac_func
in inet_addr
35558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35559 echo "$as_me:$LINENO: checking for $ac_func" >&5
35560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35561 if eval "test \"\${$as_ac_var+set}\" = set"; then
35562 echo $ECHO_N "(cached) $ECHO_C" >&6
35564 cat >conftest.
$ac_ext <<_ACEOF
35567 cat confdefs.h
>>conftest.
$ac_ext
35568 cat >>conftest.
$ac_ext <<_ACEOF
35569 /* end confdefs.h. */
35570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35572 #define $ac_func innocuous_$ac_func
35574 /* System header to define __stub macros and hopefully few prototypes,
35575 which can conflict with char $ac_func (); below.
35576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35577 <limits.h> exists even on freestanding compilers. */
35580 # include <limits.h>
35582 # include <assert.h>
35587 /* Override any gcc2 internal prototype to avoid an error. */
35592 /* We use char because int might match the return type of a gcc2
35593 builtin and then its argument prototype would still apply. */
35595 /* The GNU C library defines this for functions which it implements
35596 to always fail with ENOSYS. Some functions are actually named
35597 something starting with __ and the normal name is an alias. */
35598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35601 char (*f) () = $ac_func;
35610 return f != $ac_func;
35615 rm -f conftest.
$ac_objext conftest
$ac_exeext
35616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35617 (eval $ac_link) 2>conftest.er1
35619 grep -v '^ *+' conftest.er1
>conftest.err
35621 cat conftest.err
>&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); } &&
35624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35626 (eval $ac_try) 2>&5
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); }; } &&
35630 { ac_try
='test -s conftest$ac_exeext'
35631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35632 (eval $ac_try) 2>&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); }; }; then
35636 eval "$as_ac_var=yes"
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.
$ac_ext >&5
35641 eval "$as_ac_var=no"
35643 rm -f conftest.err conftest.
$ac_objext \
35644 conftest
$ac_exeext conftest.
$ac_ext
35646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35648 if test `eval echo '${'$as_ac_var'}'` = yes; then
35649 cat >>confdefs.h
<<_ACEOF
35650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35652 cat >>confdefs.h
<<\_ACEOF
35653 #define HAVE_INET_ADDR 1
35658 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35659 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35660 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35663 ac_check_lib_save_LIBS
=$LIBS
35665 cat >conftest.
$ac_ext <<_ACEOF
35668 cat confdefs.h
>>conftest.
$ac_ext
35669 cat >>conftest.
$ac_ext <<_ACEOF
35670 /* end confdefs.h. */
35672 /* Override any gcc2 internal prototype to avoid an error. */
35676 /* We use char because int might match the return type of a gcc2
35677 builtin and then its argument prototype would still apply. */
35687 rm -f conftest.
$ac_objext conftest
$ac_exeext
35688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35689 (eval $ac_link) 2>conftest.er1
35691 grep -v '^ *+' conftest.er1
>conftest.err
35693 cat conftest.err
>&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); } &&
35696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; } &&
35702 { ac_try
='test -s conftest$ac_exeext'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; }; then
35708 ac_cv_lib_nsl_inet_addr
=yes
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.
$ac_ext >&5
35713 ac_cv_lib_nsl_inet_addr
=no
35715 rm -f conftest.err conftest.
$ac_objext \
35716 conftest
$ac_exeext conftest.
$ac_ext
35717 LIBS
=$ac_check_lib_save_LIBS
35719 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35720 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35721 if test $ac_cv_lib_nsl_inet_addr = yes; then
35725 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35726 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35727 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 ac_check_lib_save_LIBS
=$LIBS
35731 LIBS
="-lresolv $LIBS"
35732 cat >conftest.
$ac_ext <<_ACEOF
35735 cat confdefs.h
>>conftest.
$ac_ext
35736 cat >>conftest.
$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35739 /* Override any gcc2 internal prototype to avoid an error. */
35743 /* We use char because int might match the return type of a gcc2
35744 builtin and then its argument prototype would still apply. */
35754 rm -f conftest.
$ac_objext conftest
$ac_exeext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35756 (eval $ac_link) 2>conftest.er1
35758 grep -v '^ *+' conftest.er1
>conftest.err
35760 cat conftest.err
>&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } &&
35769 { ac_try
='test -s conftest$ac_exeext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 ac_cv_lib_resolv_inet_addr
=yes
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.
$ac_ext >&5
35780 ac_cv_lib_resolv_inet_addr
=no
35782 rm -f conftest.err conftest.
$ac_objext \
35783 conftest
$ac_exeext conftest.
$ac_ext
35784 LIBS
=$ac_check_lib_save_LIBS
35786 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35787 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35788 if test $ac_cv_lib_resolv_inet_addr = yes; then
35792 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35793 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35794 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 ac_check_lib_save_LIBS
=$LIBS
35798 LIBS
="-lsocket $LIBS"
35799 cat >conftest.
$ac_ext <<_ACEOF
35802 cat confdefs.h
>>conftest.
$ac_ext
35803 cat >>conftest.
$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35806 /* Override any gcc2 internal prototype to avoid an error. */
35810 /* We use char because int might match the return type of a gcc2
35811 builtin and then its argument prototype would still apply. */
35821 rm -f conftest.
$ac_objext conftest
$ac_exeext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35823 (eval $ac_link) 2>conftest.er1
35825 grep -v '^ *+' conftest.er1
>conftest.err
35827 cat conftest.err
>&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try
='test -s conftest$ac_exeext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 ac_cv_lib_socket_inet_addr
=yes
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.
$ac_ext >&5
35847 ac_cv_lib_socket_inet_addr
=no
35849 rm -f conftest.err conftest.
$ac_objext \
35850 conftest
$ac_exeext conftest.
$ac_ext
35851 LIBS
=$ac_check_lib_save_LIBS
35853 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35854 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35855 if test $ac_cv_lib_socket_inet_addr = yes; then
35875 for ac_func
in inet_aton
35877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35878 echo "$as_me:$LINENO: checking for $ac_func" >&5
35879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35880 if eval "test \"\${$as_ac_var+set}\" = set"; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 cat >conftest.
$ac_ext <<_ACEOF
35886 cat confdefs.h
>>conftest.
$ac_ext
35887 cat >>conftest.
$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35891 #define $ac_func innocuous_$ac_func
35893 /* System header to define __stub macros and hopefully few prototypes,
35894 which can conflict with char $ac_func (); below.
35895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35896 <limits.h> exists even on freestanding compilers. */
35899 # include <limits.h>
35901 # include <assert.h>
35906 /* Override any gcc2 internal prototype to avoid an error. */
35911 /* We use char because int might match the return type of a gcc2
35912 builtin and then its argument prototype would still apply. */
35914 /* The GNU C library defines this for functions which it implements
35915 to always fail with ENOSYS. Some functions are actually named
35916 something starting with __ and the normal name is an alias. */
35917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35920 char (*f) () = $ac_func;
35929 return f != $ac_func;
35934 rm -f conftest.
$ac_objext conftest
$ac_exeext
35935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35936 (eval $ac_link) 2>conftest.er1
35938 grep -v '^ *+' conftest.er1
>conftest.err
35940 cat conftest.err
>&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } &&
35943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35945 (eval $ac_try) 2>&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); }; } &&
35949 { ac_try
='test -s conftest$ac_exeext'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; }; then
35955 eval "$as_ac_var=yes"
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.
$ac_ext >&5
35960 eval "$as_ac_var=no"
35962 rm -f conftest.err conftest.
$ac_objext \
35963 conftest
$ac_exeext conftest.
$ac_ext
35965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35967 if test `eval echo '${'$as_ac_var'}'` = yes; then
35968 cat >>confdefs.h
<<_ACEOF
35969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35971 cat >>confdefs.h
<<\_ACEOF
35972 #define HAVE_INET_ATON 1
35977 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35978 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35979 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35980 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35981 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 ac_check_lib_save_LIBS
=$LIBS
35984 LIBS
="-l$INET_LINK $LIBS"
35985 cat >conftest.
$ac_ext <<_ACEOF
35988 cat confdefs.h
>>conftest.
$ac_ext
35989 cat >>conftest.
$ac_ext <<_ACEOF
35990 /* end confdefs.h. */
35992 /* Override any gcc2 internal prototype to avoid an error. */
35996 /* We use char because int might match the return type of a gcc2
35997 builtin and then its argument prototype would still apply. */
36007 rm -f conftest.
$ac_objext conftest
$ac_exeext
36008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36009 (eval $ac_link) 2>conftest.er1
36011 grep -v '^ *+' conftest.er1
>conftest.err
36013 cat conftest.err
>&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } &&
36016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; } &&
36022 { ac_try
='test -s conftest$ac_exeext'
36023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36024 (eval $ac_try) 2>&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); }; }; then
36028 eval "$as_ac_Lib=yes"
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.
$ac_ext >&5
36033 eval "$as_ac_Lib=no"
36035 rm -f conftest.err conftest.
$ac_objext \
36036 conftest
$ac_exeext conftest.
$ac_ext
36037 LIBS
=$ac_check_lib_save_LIBS
36039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36040 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36041 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36042 cat >>confdefs.h
<<\_ACEOF
36043 #define HAVE_INET_ATON 1
36053 if test "x$INET_LINK" != "x"; then
36054 cat >>confdefs.h
<<\_ACEOF
36055 #define HAVE_INET_ADDR 1
36058 INET_LINK
=" -l$INET_LINK"
36066 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36067 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36068 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36069 echo $ECHO_N "(cached) $ECHO_C" >&6
36071 ac_check_lib_save_LIBS
=$LIBS
36073 cat >conftest.
$ac_ext <<_ACEOF
36076 cat confdefs.h
>>conftest.
$ac_ext
36077 cat >>conftest.
$ac_ext <<_ACEOF
36078 /* end confdefs.h. */
36080 /* Override any gcc2 internal prototype to avoid an error. */
36084 /* We use char because int might match the return type of a gcc2
36085 builtin and then its argument prototype would still apply. */
36095 rm -f conftest.
$ac_objext conftest
$ac_exeext
36096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36097 (eval $ac_link) 2>conftest.er1
36099 grep -v '^ *+' conftest.er1
>conftest.err
36101 cat conftest.err
>&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } &&
36104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36106 (eval $ac_try) 2>&5
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); }; } &&
36110 { ac_try
='test -s conftest$ac_exeext'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; }; then
36116 ac_cv_lib_esd_esd_close
=yes
36118 echo "$as_me: failed program was:" >&5
36119 sed 's/^/| /' conftest.
$ac_ext >&5
36121 ac_cv_lib_esd_esd_close
=no
36123 rm -f conftest.err conftest.
$ac_objext \
36124 conftest
$ac_exeext conftest.
$ac_ext
36125 LIBS
=$ac_check_lib_save_LIBS
36127 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36128 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36129 if test $ac_cv_lib_esd_esd_close = yes; then
36132 for ac_header
in esd.h
36134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36136 echo "$as_me:$LINENO: checking for $ac_header" >&5
36137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36139 echo $ECHO_N "(cached) $ECHO_C" >&6
36141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36144 # Is the header compilable?
36145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36147 cat >conftest.
$ac_ext <<_ACEOF
36150 cat confdefs.h
>>conftest.
$ac_ext
36151 cat >>conftest.
$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36153 $ac_includes_default
36154 #include <$ac_header>
36156 rm -f conftest.
$ac_objext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36158 (eval $ac_compile) 2>conftest.er1
36160 grep -v '^ *+' conftest.er1
>conftest.err
36162 cat conftest.err
>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36167 (eval $ac_try) 2>&5
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); }; } &&
36171 { ac_try
='test -s conftest.$ac_objext'
36172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36173 (eval $ac_try) 2>&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); }; }; then
36177 ac_header_compiler
=yes
36179 echo "$as_me: failed program was:" >&5
36180 sed 's/^/| /' conftest.
$ac_ext >&5
36182 ac_header_compiler
=no
36184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36186 echo "${ECHO_T}$ac_header_compiler" >&6
36188 # Is the header present?
36189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36191 cat >conftest.
$ac_ext <<_ACEOF
36194 cat confdefs.h
>>conftest.
$ac_ext
36195 cat >>conftest.
$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 #include <$ac_header>
36199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36202 grep -v '^ *+' conftest.er1
>conftest.err
36204 cat conftest.err
>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } >/dev
/null
; then
36207 if test -s conftest.err
; then
36208 ac_cpp_err
=$ac_c_preproc_warn_flag
36209 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36216 if test -z "$ac_cpp_err"; then
36217 ac_header_preproc
=yes
36219 echo "$as_me: failed program was:" >&5
36220 sed 's/^/| /' conftest.
$ac_ext >&5
36222 ac_header_preproc
=no
36224 rm -f conftest.err conftest.
$ac_ext
36225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36226 echo "${ECHO_T}$ac_header_preproc" >&6
36228 # So? What about this header?
36229 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36234 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36235 ac_header_preproc
=yes
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36239 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36241 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36243 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36245 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36247 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36248 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36249 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36252 ## ----------------------------------------- ##
36253 ## Report this to wx-dev@lists.wxwidgets.org ##
36254 ## ----------------------------------------- ##
36257 sed "s/^/$as_me: WARNING: /" >&2
36260 echo "$as_me:$LINENO: checking for $ac_header" >&5
36261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36265 eval "$as_ac_Header=\$ac_header_preproc"
36267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36272 cat >>confdefs.h
<<_ACEOF
36273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36276 EXTRALIBS_ESD
="-lesd"
36287 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36288 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36289 cat >conftest.
$ac_ext <<_ACEOF
36292 cat confdefs.h
>>conftest.
$ac_ext
36293 cat >>conftest.
$ac_ext <<_ACEOF
36294 /* end confdefs.h. */
36296 #include <linux/cdrom.h>
36299 #include <sys/cdio.h>
36305 struct cdrom_tocentry entry, old_entry;
36310 rm -f conftest.
$ac_objext
36311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36312 (eval $ac_compile) 2>conftest.er1
36314 grep -v '^ *+' conftest.er1
>conftest.err
36316 cat conftest.err
>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } &&
36319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; } &&
36325 { ac_try
='test -s conftest.$ac_objext'
36326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327 (eval $ac_try) 2>&5
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); }; }; then
36331 echo "$as_me:$LINENO: result: yes" >&5
36332 echo "${ECHO_T}yes" >&6
36333 cat >>confdefs.h
<<\_ACEOF
36334 #define HAVE_KNOWN_CDROM_INTERFACE 1
36338 echo "$as_me: failed program was:" >&5
36339 sed 's/^/| /' conftest.
$ac_ext >&5
36341 echo "$as_me:$LINENO: result: no" >&5
36342 echo "${ECHO_T}no" >&6
36344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36347 cat >confcache
<<\_ACEOF
36348 # This file is a shell script that caches the results of configure
36349 # tests run on this system so they can be shared between configure
36350 # scripts and configure runs, see configure's option --config-cache.
36351 # It is not useful on other systems. If it contains results you don't
36352 # want to keep, you may remove or edit it.
36354 # config.status only pays attention to the cache file if you give it
36355 # the --recheck option to rerun configure.
36357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36359 # following values.
36363 # The following way of writing the cache mishandles newlines in values,
36364 # but we know of no workaround that is simple, portable, and efficient.
36365 # So, don't put newlines in cache variables' values.
36366 # Ultrix sh set writes to stderr and can't be redirected directly,
36367 # and sets the high bit in the cache file unless we assign to the vars.
36370 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36372 # `set' does not quote correctly, so add quotes (double-quote
36373 # substitution turns \\\\ into \\, and sed turns \\ into \).
36376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36379 # `set' quotes correctly as required by POSIX, so do not add quotes.
36381 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36388 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36390 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36392 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36393 if test -w $cache_file; then
36394 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36395 cat confcache
>$cache_file
36397 echo "not updating unwritable cache $cache_file"
36403 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36409 if test "$wxUSE_THREADS" = "yes" ; then
36410 if test "$USE_BEOS" = 1; then
36411 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36412 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36417 if test "$wxUSE_THREADS" = "yes" ; then
36420 THREAD_OPTS
="-pthread"
36422 *-*-solaris2* | *-*-sunos4* )
36423 if test "x$GCC" = "xyes"; then
36424 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36426 THREAD_OPTS
="-mt $THREAD_OPTS"
36430 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36432 *-*-darwin* | *-*-cygwin* )
36436 THREAD_OPTS
="pthreads"
36439 if test "x$GCC" = "xyes"; then
36440 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36448 if test "x$GCC" = "xyes"; then
36454 if test "x$GCC" != "xyes"; then
36455 THREAD_OPTS
="-Ethread"
36460 THREAD_OPTS
="$THREAD_OPTS pthread none"
36463 for flag
in $THREAD_OPTS; do
36466 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36467 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36471 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36472 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36473 THREADS_CFLAGS
="$flag"
36477 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36478 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36479 THREADS_LINK
="-l$flag"
36484 save_CFLAGS
="$CFLAGS"
36485 LIBS
="$THREADS_LINK $LIBS"
36486 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36488 cat >conftest.
$ac_ext <<_ACEOF
36491 cat confdefs.h
>>conftest.
$ac_ext
36492 cat >>conftest.
$ac_ext <<_ACEOF
36493 /* end confdefs.h. */
36494 #include <pthread.h>
36498 pthread_create(0,0,0,0);
36503 rm -f conftest.
$ac_objext conftest
$ac_exeext
36504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36505 (eval $ac_link) 2>conftest.er1
36507 grep -v '^ *+' conftest.er1
>conftest.err
36509 cat conftest.err
>&5
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); } &&
36512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514 (eval $ac_try) 2>&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); }; } &&
36518 { ac_try
='test -s conftest$ac_exeext'
36519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36520 (eval $ac_try) 2>&5
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); }; }; then
36526 echo "$as_me: failed program was:" >&5
36527 sed 's/^/| /' conftest.
$ac_ext >&5
36530 rm -f conftest.err conftest.
$ac_objext \
36531 conftest
$ac_exeext conftest.
$ac_ext
36534 CFLAGS
="$save_CFLAGS"
36536 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36537 echo "${ECHO_T}$THREADS_OK" >&6
36538 if test "x$THREADS_OK" = "xyes"; then
36546 if test "x$THREADS_OK" != "xyes"; then
36548 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36549 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36551 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36552 LIBS
="$THREADS_LINK $LIBS"
36554 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36555 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36559 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36560 flag
="-D_THREAD_SAFE"
36563 flag
="-D_THREAD_SAFE"
36566 flag
="-D_REENTRANT"
36567 if test "x$GCC" != "xyes"; then
36568 flag
="$flag -D_RWSTD_MULTI_THREAD"
36571 *solaris
* | alpha
*-osf*)
36572 flag
="-D_REENTRANT"
36575 echo "$as_me:$LINENO: result: ${flag}" >&5
36576 echo "${ECHO_T}${flag}" >&6
36577 if test "x$flag" != xno
; then
36578 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36581 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
36585 if test "$wxUSE_THREADS" = "yes" ; then
36587 for ac_func
in thr_setconcurrency
36589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36590 echo "$as_me:$LINENO: checking for $ac_func" >&5
36591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36592 if eval "test \"\${$as_ac_var+set}\" = set"; then
36593 echo $ECHO_N "(cached) $ECHO_C" >&6
36595 cat >conftest.
$ac_ext <<_ACEOF
36598 cat confdefs.h
>>conftest.
$ac_ext
36599 cat >>conftest.
$ac_ext <<_ACEOF
36600 /* end confdefs.h. */
36601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36603 #define $ac_func innocuous_$ac_func
36605 /* System header to define __stub macros and hopefully few prototypes,
36606 which can conflict with char $ac_func (); below.
36607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36608 <limits.h> exists even on freestanding compilers. */
36611 # include <limits.h>
36613 # include <assert.h>
36618 /* Override any gcc2 internal prototype to avoid an error. */
36623 /* We use char because int might match the return type of a gcc2
36624 builtin and then its argument prototype would still apply. */
36626 /* The GNU C library defines this for functions which it implements
36627 to always fail with ENOSYS. Some functions are actually named
36628 something starting with __ and the normal name is an alias. */
36629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36632 char (*f) () = $ac_func;
36641 return f != $ac_func;
36646 rm -f conftest.
$ac_objext conftest
$ac_exeext
36647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36648 (eval $ac_link) 2>conftest.er1
36650 grep -v '^ *+' conftest.er1
>conftest.err
36652 cat conftest.err
>&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } &&
36655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657 (eval $ac_try) 2>&5
36659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 (exit $ac_status); }; } &&
36661 { ac_try
='test -s conftest$ac_exeext'
36662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36663 (eval $ac_try) 2>&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); }; }; then
36667 eval "$as_ac_var=yes"
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.
$ac_ext >&5
36672 eval "$as_ac_var=no"
36674 rm -f conftest.err conftest.
$ac_objext \
36675 conftest
$ac_exeext conftest.
$ac_ext
36677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36679 if test `eval echo '${'$as_ac_var'}'` = yes; then
36680 cat >>confdefs.h
<<_ACEOF
36681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36688 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36689 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36690 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36691 echo $ECHO_N "(cached) $ECHO_C" >&6
36694 cat >conftest.
$ac_ext <<_ACEOF
36697 cat confdefs.h
>>conftest.
$ac_ext
36698 cat >>conftest.
$ac_ext <<_ACEOF
36699 /* end confdefs.h. */
36700 #include <pthread.h>
36701 void ThreadCleanupFunc(void *p);
36708 pthread_cleanup_push(ThreadCleanupFunc, p);
36709 pthread_cleanup_pop(0);
36715 rm -f conftest.
$ac_objext
36716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36717 (eval $ac_compile) 2>conftest.er1
36719 grep -v '^ *+' conftest.er1
>conftest.err
36721 cat conftest.err
>&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } &&
36724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 (eval $ac_try) 2>&5
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); }; } &&
36730 { ac_try
='test -s conftest.$ac_objext'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; }; then
36737 wx_cv_func_pthread_cleanup
=yes
36740 echo "$as_me: failed program was:" >&5
36741 sed 's/^/| /' conftest.
$ac_ext >&5
36744 wx_cv_func_pthread_cleanup
=no
36748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36751 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36752 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36753 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36754 cat >>confdefs.h
<<\_ACEOF
36755 #define wxHAVE_PTHREAD_CLEANUP 1
36761 for ac_header
in sched.h
36763 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36765 echo "$as_me:$LINENO: checking for $ac_header" >&5
36766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36773 # Is the header compilable?
36774 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36776 cat >conftest.
$ac_ext <<_ACEOF
36779 cat confdefs.h
>>conftest.
$ac_ext
36780 cat >>conftest.
$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782 $ac_includes_default
36783 #include <$ac_header>
36785 rm -f conftest.
$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36789 grep -v '^ *+' conftest.er1
>conftest.err
36791 cat conftest.err
>&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; } &&
36800 { ac_try
='test -s conftest.$ac_objext'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806 ac_header_compiler
=yes
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.
$ac_ext >&5
36811 ac_header_compiler
=no
36813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36815 echo "${ECHO_T}$ac_header_compiler" >&6
36817 # Is the header present?
36818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36820 cat >conftest.
$ac_ext <<_ACEOF
36823 cat confdefs.h
>>conftest.
$ac_ext
36824 cat >>conftest.
$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 #include <$ac_header>
36828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36831 grep -v '^ *+' conftest.er1
>conftest.err
36833 cat conftest.err
>&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); } >/dev
/null
; then
36836 if test -s conftest.err
; then
36837 ac_cpp_err
=$ac_c_preproc_warn_flag
36838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36845 if test -z "$ac_cpp_err"; then
36846 ac_header_preproc
=yes
36848 echo "$as_me: failed program was:" >&5
36849 sed 's/^/| /' conftest.
$ac_ext >&5
36851 ac_header_preproc
=no
36853 rm -f conftest.err conftest.
$ac_ext
36854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36855 echo "${ECHO_T}$ac_header_preproc" >&6
36857 # So? What about this header?
36858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36863 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36864 ac_header_preproc
=yes
36867 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36869 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36870 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36871 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36872 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36873 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36874 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36877 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36878 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36881 ## ----------------------------------------- ##
36882 ## Report this to wx-dev@lists.wxwidgets.org ##
36883 ## ----------------------------------------- ##
36886 sed "s/^/$as_me: WARNING: /" >&2
36889 echo "$as_me:$LINENO: checking for $ac_header" >&5
36890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36892 echo $ECHO_N "(cached) $ECHO_C" >&6
36894 eval "$as_ac_Header=\$ac_header_preproc"
36896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36901 cat >>confdefs.h
<<_ACEOF
36902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36909 if test "$ac_cv_header_sched_h" = "yes"; then
36910 echo "$as_me:$LINENO: checking for sched_yield" >&5
36911 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36912 if test "${ac_cv_func_sched_yield+set}" = set; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 cat >conftest.
$ac_ext <<_ACEOF
36918 cat confdefs.h
>>conftest.
$ac_ext
36919 cat >>conftest.
$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36921 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36923 #define sched_yield innocuous_sched_yield
36925 /* System header to define __stub macros and hopefully few prototypes,
36926 which can conflict with char sched_yield (); below.
36927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36928 <limits.h> exists even on freestanding compilers. */
36931 # include <limits.h>
36933 # include <assert.h>
36938 /* Override any gcc2 internal prototype to avoid an error. */
36943 /* We use char because int might match the return type of a gcc2
36944 builtin and then its argument prototype would still apply. */
36945 char sched_yield ();
36946 /* The GNU C library defines this for functions which it implements
36947 to always fail with ENOSYS. Some functions are actually named
36948 something starting with __ and the normal name is an alias. */
36949 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36952 char (*f) () = sched_yield;
36961 return f != sched_yield;
36966 rm -f conftest.
$ac_objext conftest
$ac_exeext
36967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36968 (eval $ac_link) 2>conftest.er1
36970 grep -v '^ *+' conftest.er1
>conftest.err
36972 cat conftest.err
>&5
36973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974 (exit $ac_status); } &&
36975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36977 (eval $ac_try) 2>&5
36979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36980 (exit $ac_status); }; } &&
36981 { ac_try
='test -s conftest$ac_exeext'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; }; then
36987 ac_cv_func_sched_yield
=yes
36989 echo "$as_me: failed program was:" >&5
36990 sed 's/^/| /' conftest.
$ac_ext >&5
36992 ac_cv_func_sched_yield
=no
36994 rm -f conftest.err conftest.
$ac_objext \
36995 conftest
$ac_exeext conftest.
$ac_ext
36997 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36998 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36999 if test $ac_cv_func_sched_yield = yes; then
37000 cat >>confdefs.h
<<\_ACEOF
37001 #define HAVE_SCHED_YIELD 1
37006 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37007 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37008 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37009 echo $ECHO_N "(cached) $ECHO_C" >&6
37011 ac_check_lib_save_LIBS
=$LIBS
37012 LIBS
="-lposix4 $LIBS"
37013 cat >conftest.
$ac_ext <<_ACEOF
37016 cat confdefs.h
>>conftest.
$ac_ext
37017 cat >>conftest.
$ac_ext <<_ACEOF
37018 /* end confdefs.h. */
37020 /* Override any gcc2 internal prototype to avoid an error. */
37024 /* We use char because int might match the return type of a gcc2
37025 builtin and then its argument prototype would still apply. */
37026 char sched_yield ();
37035 rm -f conftest.
$ac_objext conftest
$ac_exeext
37036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37037 (eval $ac_link) 2>conftest.er1
37039 grep -v '^ *+' conftest.er1
>conftest.err
37041 cat conftest.err
>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } &&
37044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37046 (eval $ac_try) 2>&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); }; } &&
37050 { ac_try
='test -s conftest$ac_exeext'
37051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052 (eval $ac_try) 2>&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); }; }; then
37056 ac_cv_lib_posix4_sched_yield
=yes
37058 echo "$as_me: failed program was:" >&5
37059 sed 's/^/| /' conftest.
$ac_ext >&5
37061 ac_cv_lib_posix4_sched_yield
=no
37063 rm -f conftest.err conftest.
$ac_objext \
37064 conftest
$ac_exeext conftest.
$ac_ext
37065 LIBS
=$ac_check_lib_save_LIBS
37067 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37068 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37069 if test $ac_cv_lib_posix4_sched_yield = yes; then
37070 cat >>confdefs.h
<<\_ACEOF
37071 #define HAVE_SCHED_YIELD 1
37073 POSIX4_LINK
=" -lposix4"
37075 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37076 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37087 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37088 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37089 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37092 cat >conftest.
$ac_ext <<_ACEOF
37095 cat confdefs.h
>>conftest.
$ac_ext
37096 cat >>conftest.
$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37100 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37102 /* System header to define __stub macros and hopefully few prototypes,
37103 which can conflict with char pthread_attr_getschedpolicy (); below.
37104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37105 <limits.h> exists even on freestanding compilers. */
37108 # include <limits.h>
37110 # include <assert.h>
37113 #undef pthread_attr_getschedpolicy
37115 /* Override any gcc2 internal prototype to avoid an error. */
37120 /* We use char because int might match the return type of a gcc2
37121 builtin and then its argument prototype would still apply. */
37122 char pthread_attr_getschedpolicy ();
37123 /* The GNU C library defines this for functions which it implements
37124 to always fail with ENOSYS. Some functions are actually named
37125 something starting with __ and the normal name is an alias. */
37126 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37129 char (*f) () = pthread_attr_getschedpolicy;
37138 return f != pthread_attr_getschedpolicy;
37143 rm -f conftest.
$ac_objext conftest
$ac_exeext
37144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37145 (eval $ac_link) 2>conftest.er1
37147 grep -v '^ *+' conftest.er1
>conftest.err
37149 cat conftest.err
>&5
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); } &&
37152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37154 (eval $ac_try) 2>&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); }; } &&
37158 { ac_try
='test -s conftest$ac_exeext'
37159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37160 (eval $ac_try) 2>&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; }; then
37164 ac_cv_func_pthread_attr_getschedpolicy
=yes
37166 echo "$as_me: failed program was:" >&5
37167 sed 's/^/| /' conftest.
$ac_ext >&5
37169 ac_cv_func_pthread_attr_getschedpolicy
=no
37171 rm -f conftest.err conftest.
$ac_objext \
37172 conftest
$ac_exeext conftest.
$ac_ext
37174 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37175 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37176 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37177 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37178 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37179 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 cat >conftest.
$ac_ext <<_ACEOF
37185 cat confdefs.h
>>conftest.
$ac_ext
37186 cat >>conftest.
$ac_ext <<_ACEOF
37187 /* end confdefs.h. */
37188 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37190 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37192 /* System header to define __stub macros and hopefully few prototypes,
37193 which can conflict with char pthread_attr_setschedparam (); below.
37194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37195 <limits.h> exists even on freestanding compilers. */
37198 # include <limits.h>
37200 # include <assert.h>
37203 #undef pthread_attr_setschedparam
37205 /* Override any gcc2 internal prototype to avoid an error. */
37210 /* We use char because int might match the return type of a gcc2
37211 builtin and then its argument prototype would still apply. */
37212 char pthread_attr_setschedparam ();
37213 /* The GNU C library defines this for functions which it implements
37214 to always fail with ENOSYS. Some functions are actually named
37215 something starting with __ and the normal name is an alias. */
37216 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37219 char (*f) () = pthread_attr_setschedparam;
37228 return f != pthread_attr_setschedparam;
37233 rm -f conftest.
$ac_objext conftest
$ac_exeext
37234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37235 (eval $ac_link) 2>conftest.er1
37237 grep -v '^ *+' conftest.er1
>conftest.err
37239 cat conftest.err
>&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } &&
37242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37244 (eval $ac_try) 2>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); }; } &&
37248 { ac_try
='test -s conftest$ac_exeext'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; }; then
37254 ac_cv_func_pthread_attr_setschedparam
=yes
37256 echo "$as_me: failed program was:" >&5
37257 sed 's/^/| /' conftest.
$ac_ext >&5
37259 ac_cv_func_pthread_attr_setschedparam
=no
37261 rm -f conftest.err conftest.
$ac_objext \
37262 conftest
$ac_exeext conftest.
$ac_ext
37264 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37265 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37266 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37267 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37268 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37269 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37272 cat >conftest.
$ac_ext <<_ACEOF
37275 cat confdefs.h
>>conftest.
$ac_ext
37276 cat >>conftest.
$ac_ext <<_ACEOF
37277 /* end confdefs.h. */
37278 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37280 #define sched_get_priority_max innocuous_sched_get_priority_max
37282 /* System header to define __stub macros and hopefully few prototypes,
37283 which can conflict with char sched_get_priority_max (); below.
37284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37285 <limits.h> exists even on freestanding compilers. */
37288 # include <limits.h>
37290 # include <assert.h>
37293 #undef sched_get_priority_max
37295 /* Override any gcc2 internal prototype to avoid an error. */
37300 /* We use char because int might match the return type of a gcc2
37301 builtin and then its argument prototype would still apply. */
37302 char sched_get_priority_max ();
37303 /* The GNU C library defines this for functions which it implements
37304 to always fail with ENOSYS. Some functions are actually named
37305 something starting with __ and the normal name is an alias. */
37306 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37309 char (*f) () = sched_get_priority_max;
37318 return f != sched_get_priority_max;
37323 rm -f conftest.
$ac_objext conftest
$ac_exeext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37325 (eval $ac_link) 2>conftest.er1
37327 grep -v '^ *+' conftest.er1
>conftest.err
37329 cat conftest.err
>&5
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); } &&
37332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } &&
37338 { ac_try
='test -s conftest$ac_exeext'
37339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37340 (eval $ac_try) 2>&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); }; }; then
37344 ac_cv_func_sched_get_priority_max
=yes
37346 echo "$as_me: failed program was:" >&5
37347 sed 's/^/| /' conftest.
$ac_ext >&5
37349 ac_cv_func_sched_get_priority_max
=no
37351 rm -f conftest.err conftest.
$ac_objext \
37352 conftest
$ac_exeext conftest.
$ac_ext
37354 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37355 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37356 if test $ac_cv_func_sched_get_priority_max = yes; then
37359 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37360 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37361 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37364 ac_check_lib_save_LIBS
=$LIBS
37365 LIBS
="-lposix4 $LIBS"
37366 cat >conftest.
$ac_ext <<_ACEOF
37369 cat confdefs.h
>>conftest.
$ac_ext
37370 cat >>conftest.
$ac_ext <<_ACEOF
37371 /* end confdefs.h. */
37373 /* Override any gcc2 internal prototype to avoid an error. */
37377 /* We use char because int might match the return type of a gcc2
37378 builtin and then its argument prototype would still apply. */
37379 char sched_get_priority_max ();
37383 sched_get_priority_max ();
37388 rm -f conftest.
$ac_objext conftest
$ac_exeext
37389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37390 (eval $ac_link) 2>conftest.er1
37392 grep -v '^ *+' conftest.er1
>conftest.err
37394 cat conftest.err
>&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } &&
37397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37399 (eval $ac_try) 2>&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); }; } &&
37403 { ac_try
='test -s conftest$ac_exeext'
37404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37405 (eval $ac_try) 2>&5
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); }; }; then
37409 ac_cv_lib_posix4_sched_get_priority_max
=yes
37411 echo "$as_me: failed program was:" >&5
37412 sed 's/^/| /' conftest.
$ac_ext >&5
37414 ac_cv_lib_posix4_sched_get_priority_max
=no
37416 rm -f conftest.err conftest.
$ac_objext \
37417 conftest
$ac_exeext conftest.
$ac_ext
37418 LIBS
=$ac_check_lib_save_LIBS
37420 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37421 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37422 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37425 POSIX4_LINK
=" -lposix4"
37439 if test "$HAVE_PRIOR_FUNCS" = 1; then
37440 cat >>confdefs.h
<<\_ACEOF
37441 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37445 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37446 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37449 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37450 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37451 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37452 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 cat >conftest.
$ac_ext <<_ACEOF
37457 cat confdefs.h
>>conftest.
$ac_ext
37458 cat >>conftest.
$ac_ext <<_ACEOF
37459 /* end confdefs.h. */
37460 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37462 #define pthread_cancel innocuous_pthread_cancel
37464 /* System header to define __stub macros and hopefully few prototypes,
37465 which can conflict with char pthread_cancel (); below.
37466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37467 <limits.h> exists even on freestanding compilers. */
37470 # include <limits.h>
37472 # include <assert.h>
37475 #undef pthread_cancel
37477 /* Override any gcc2 internal prototype to avoid an error. */
37482 /* We use char because int might match the return type of a gcc2
37483 builtin and then its argument prototype would still apply. */
37484 char pthread_cancel ();
37485 /* The GNU C library defines this for functions which it implements
37486 to always fail with ENOSYS. Some functions are actually named
37487 something starting with __ and the normal name is an alias. */
37488 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37491 char (*f) () = pthread_cancel;
37500 return f != pthread_cancel;
37505 rm -f conftest.
$ac_objext conftest
$ac_exeext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37507 (eval $ac_link) 2>conftest.er1
37509 grep -v '^ *+' conftest.er1
>conftest.err
37511 cat conftest.err
>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516 (eval $ac_try) 2>&5
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); }; } &&
37520 { ac_try
='test -s conftest$ac_exeext'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; }; then
37526 ac_cv_func_pthread_cancel
=yes
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.
$ac_ext >&5
37531 ac_cv_func_pthread_cancel
=no
37533 rm -f conftest.err conftest.
$ac_objext \
37534 conftest
$ac_exeext conftest.
$ac_ext
37536 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37537 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37538 if test $ac_cv_func_pthread_cancel = yes; then
37539 cat >>confdefs.h
<<\_ACEOF
37540 #define HAVE_PTHREAD_CANCEL 1
37544 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37545 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37549 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37550 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37551 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37552 echo $ECHO_N "(cached) $ECHO_C" >&6
37554 cat >conftest.
$ac_ext <<_ACEOF
37557 cat confdefs.h
>>conftest.
$ac_ext
37558 cat >>conftest.
$ac_ext <<_ACEOF
37559 /* end confdefs.h. */
37560 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37562 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37564 /* System header to define __stub macros and hopefully few prototypes,
37565 which can conflict with char pthread_attr_setstacksize (); below.
37566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37567 <limits.h> exists even on freestanding compilers. */
37570 # include <limits.h>
37572 # include <assert.h>
37575 #undef pthread_attr_setstacksize
37577 /* Override any gcc2 internal prototype to avoid an error. */
37582 /* We use char because int might match the return type of a gcc2
37583 builtin and then its argument prototype would still apply. */
37584 char pthread_attr_setstacksize ();
37585 /* The GNU C library defines this for functions which it implements
37586 to always fail with ENOSYS. Some functions are actually named
37587 something starting with __ and the normal name is an alias. */
37588 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37591 char (*f) () = pthread_attr_setstacksize;
37600 return f != pthread_attr_setstacksize;
37605 rm -f conftest.
$ac_objext conftest
$ac_exeext
37606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37607 (eval $ac_link) 2>conftest.er1
37609 grep -v '^ *+' conftest.er1
>conftest.err
37611 cat conftest.err
>&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } &&
37614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37616 (eval $ac_try) 2>&5
37618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619 (exit $ac_status); }; } &&
37620 { ac_try
='test -s conftest$ac_exeext'
37621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37622 (eval $ac_try) 2>&5
37624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37625 (exit $ac_status); }; }; then
37626 ac_cv_func_pthread_attr_setstacksize
=yes
37628 echo "$as_me: failed program was:" >&5
37629 sed 's/^/| /' conftest.
$ac_ext >&5
37631 ac_cv_func_pthread_attr_setstacksize
=no
37633 rm -f conftest.err conftest.
$ac_objext \
37634 conftest
$ac_exeext conftest.
$ac_ext
37636 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37637 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37638 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37639 cat >>confdefs.h
<<\_ACEOF
37640 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37647 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37648 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37649 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37653 cat >conftest.
$ac_ext <<_ACEOF
37656 cat confdefs.h
>>conftest.
$ac_ext
37657 cat >>conftest.
$ac_ext <<_ACEOF
37658 /* end confdefs.h. */
37659 #include <pthread.h>
37664 pthread_mutexattr_t attr;
37665 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37671 rm -f conftest.
$ac_objext
37672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37673 (eval $ac_compile) 2>conftest.er1
37675 grep -v '^ *+' conftest.er1
>conftest.err
37677 cat conftest.err
>&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); } &&
37680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; } &&
37686 { ac_try
='test -s conftest.$ac_objext'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 wx_cv_type_pthread_mutexattr_t
=yes
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.
$ac_ext >&5
37697 wx_cv_type_pthread_mutexattr_t
=no
37700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37703 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37704 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37706 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37707 cat >>confdefs.h
<<\_ACEOF
37708 #define HAVE_PTHREAD_MUTEXATTR_T 1
37712 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37713 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37714 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37718 cat >conftest.
$ac_ext <<_ACEOF
37721 cat confdefs.h
>>conftest.
$ac_ext
37722 cat >>conftest.
$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 #include <pthread.h>
37729 pthread_mutexattr_t attr;
37730 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37736 rm -f conftest.
$ac_objext
37737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37738 (eval $ac_compile) 2>conftest.er1
37740 grep -v '^ *+' conftest.er1
>conftest.err
37742 cat conftest.err
>&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } &&
37745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; } &&
37751 { ac_try
='test -s conftest.$ac_objext'
37752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37753 (eval $ac_try) 2>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); }; }; then
37757 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.
$ac_ext >&5
37762 wx_cv_func_pthread_mutexattr_settype_decl
=no
37765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37768 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37769 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37770 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37771 cat >>confdefs.h
<<\_ACEOF
37772 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37777 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37778 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37779 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 cat >conftest.
$ac_ext <<_ACEOF
37786 cat confdefs.h
>>conftest.
$ac_ext
37787 cat >>conftest.
$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37789 #include <pthread.h>
37794 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37800 rm -f conftest.
$ac_objext
37801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37802 (eval $ac_compile) 2>conftest.er1
37804 grep -v '^ *+' conftest.er1
>conftest.err
37806 cat conftest.err
>&5
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); } &&
37809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37811 (eval $ac_try) 2>&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); }; } &&
37815 { ac_try
='test -s conftest.$ac_objext'
37816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37817 (eval $ac_try) 2>&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); }; }; then
37822 wx_cv_type_pthread_rec_mutex_init
=yes
37825 echo "$as_me: failed program was:" >&5
37826 sed 's/^/| /' conftest.
$ac_ext >&5
37829 wx_cv_type_pthread_rec_mutex_init
=no
37833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37836 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37837 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37838 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37839 cat >>confdefs.h
<<\_ACEOF
37840 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37844 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37845 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37851 if test "$wxUSE_THREADS" = "yes" ; then
37854 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37855 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37856 if test "${wx_cv_cflags_mthread+set}" = set; then
37857 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 CFLAGS_OLD
="$CFLAGS"
37861 CFLAGS
="$CFLAGS -mthreads"
37862 cat >conftest.
$ac_ext <<_ACEOF
37865 cat confdefs.h
>>conftest.
$ac_ext
37866 cat >>conftest.
$ac_ext <<_ACEOF
37867 /* end confdefs.h. */
37877 rm -f conftest.
$ac_objext
37878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37879 (eval $ac_compile) 2>conftest.er1
37881 grep -v '^ *+' conftest.er1
>conftest.err
37883 cat conftest.err
>&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); } &&
37886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37888 (eval $ac_try) 2>&5
37890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891 (exit $ac_status); }; } &&
37892 { ac_try
='test -s conftest.$ac_objext'
37893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37894 (eval $ac_try) 2>&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); }; }; then
37898 wx_cv_cflags_mthread
=yes
37900 echo "$as_me: failed program was:" >&5
37901 sed 's/^/| /' conftest.
$ac_ext >&5
37903 wx_cv_cflags_mthread
=no
37906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37910 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37911 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37913 if test "$wx_cv_cflags_mthread" = "yes"; then
37914 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
37915 LDFLAGS
="$LDFLAGS -mthreads"
37917 CFLAGS
="$CFLAGS_OLD"
37921 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
37922 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37923 LDFLAGS
="$LDFLAGS -Zmt"
37929 if test "$wxUSE_THREADS" = "yes"; then
37930 cat >>confdefs.h
<<\_ACEOF
37931 #define wxUSE_THREADS 1
37935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37937 if test "$ac_cv_func_strtok_r" = "yes"; then
37938 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37939 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37940 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37941 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
37942 echo "$as_me:$LINENO: result: yes" >&5
37943 echo "${ECHO_T}yes" >&6
37945 echo "$as_me:$LINENO: result: no" >&5
37946 echo "${ECHO_T}no" >&6
37951 if test "$WXGTK20" = 1 ; then
37952 cat >>confdefs.h
<<_ACEOF
37953 #define __WXGTK20__ $WXGTK20
37959 if test "$WXGTK12" = 1 ; then
37960 cat >>confdefs.h
<<_ACEOF
37961 #define __WXGTK12__ $WXGTK12
37966 if test "$WXGTK127" = 1 ; then
37967 cat >>confdefs.h
<<_ACEOF
37968 #define __WXGTK127__ $WXGTK127
37973 if test "$WXGPE" = 1 ; then
37974 cat >>confdefs.h
<<_ACEOF
37975 #define __WXGPE__ $WXGPE
37981 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37986 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37987 wxUSE_DEBUG_INFO
=yes
37988 if test "$GCC" = yes; then
37993 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37994 cat >>confdefs.h
<<\_ACEOF
37998 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
38000 if test "$wxUSE_GTK" = 1 ; then
38001 CPPFLAGS
="$CPPFLAGS -DGTK_NO_CHECK_CASTS"
38005 if test "$wxUSE_MEM_TRACING" = "yes" ; then
38006 cat >>confdefs.h
<<\_ACEOF
38007 #define wxUSE_MEMORY_TRACING 1
38010 cat >>confdefs.h
<<\_ACEOF
38011 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
38014 cat >>confdefs.h
<<\_ACEOF
38015 #define wxUSE_DEBUG_NEW_ALWAYS 1
38018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
38021 if test "$wxUSE_DMALLOC" = "yes" ; then
38022 DMALLOC_LIBS
="-ldmallocthcxx"
38026 if test "$wxUSE_PROFILE" = "yes" ; then
38027 PROFILE_FLAG
=" -pg"
38030 if test "$GCC" = "yes" ; then
38031 if test "$wxUSE_NO_RTTI" = "yes" ; then
38032 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
38034 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38035 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
38037 if test "$wxUSE_PERMISSIVE" = "yes" ; then
38038 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
38043 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
38046 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
38052 if test "$wxUSE_OPTIMISE" = "no" ; then
38053 if test "$GCC" = yes ; then
38054 OPTIMISE_FLAG
="-O0"
38057 if test "$GCC" = yes ; then
38058 OPTIMISE_FLAG
="-O2"
38065 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
38066 cat >>confdefs.h
<<\_ACEOF
38067 #define WXWIN_COMPATIBILITY_2_4 1
38071 WXWIN_COMPATIBILITY_2_6
="yes"
38074 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
38075 cat >>confdefs.h
<<\_ACEOF
38076 #define WXWIN_COMPATIBILITY_2_6 1
38082 if test "$wxUSE_GUI" = "yes"; then
38083 cat >>confdefs.h
<<\_ACEOF
38084 #define wxUSE_GUI 1
38091 if test "$wxUSE_UNIX" = "yes"; then
38092 cat >>confdefs.h
<<\_ACEOF
38093 #define wxUSE_UNIX 1
38099 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38103 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38104 if test "$USE_DARWIN" = 1; then
38106 elif test "$USE_DOS" = 1; then
38110 for ac_func
in dlopen
38112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38113 echo "$as_me:$LINENO: checking for $ac_func" >&5
38114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38115 if eval "test \"\${$as_ac_var+set}\" = set"; then
38116 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 cat >conftest.
$ac_ext <<_ACEOF
38121 cat confdefs.h
>>conftest.
$ac_ext
38122 cat >>conftest.
$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38126 #define $ac_func innocuous_$ac_func
38128 /* System header to define __stub macros and hopefully few prototypes,
38129 which can conflict with char $ac_func (); below.
38130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38131 <limits.h> exists even on freestanding compilers. */
38134 # include <limits.h>
38136 # include <assert.h>
38141 /* Override any gcc2 internal prototype to avoid an error. */
38146 /* We use char because int might match the return type of a gcc2
38147 builtin and then its argument prototype would still apply. */
38149 /* The GNU C library defines this for functions which it implements
38150 to always fail with ENOSYS. Some functions are actually named
38151 something starting with __ and the normal name is an alias. */
38152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38155 char (*f) () = $ac_func;
38164 return f != $ac_func;
38169 rm -f conftest.
$ac_objext conftest
$ac_exeext
38170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38171 (eval $ac_link) 2>conftest.er1
38173 grep -v '^ *+' conftest.er1
>conftest.err
38175 cat conftest.err
>&5
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); } &&
38178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38180 (eval $ac_try) 2>&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); }; } &&
38184 { ac_try
='test -s conftest$ac_exeext'
38185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38186 (eval $ac_try) 2>&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); }; }; then
38190 eval "$as_ac_var=yes"
38192 echo "$as_me: failed program was:" >&5
38193 sed 's/^/| /' conftest.
$ac_ext >&5
38195 eval "$as_ac_var=no"
38197 rm -f conftest.err conftest.
$ac_objext \
38198 conftest
$ac_exeext conftest.
$ac_ext
38200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38202 if test `eval echo '${'$as_ac_var'}'` = yes; then
38203 cat >>confdefs.h
<<_ACEOF
38204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38207 cat >>confdefs.h
<<\_ACEOF
38208 #define HAVE_DLOPEN 1
38215 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38216 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38217 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38220 ac_check_lib_save_LIBS
=$LIBS
38222 cat >conftest.
$ac_ext <<_ACEOF
38225 cat confdefs.h
>>conftest.
$ac_ext
38226 cat >>conftest.
$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38229 /* Override any gcc2 internal prototype to avoid an error. */
38233 /* We use char because int might match the return type of a gcc2
38234 builtin and then its argument prototype would still apply. */
38244 rm -f conftest.
$ac_objext conftest
$ac_exeext
38245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38246 (eval $ac_link) 2>conftest.er1
38248 grep -v '^ *+' conftest.er1
>conftest.err
38250 cat conftest.err
>&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } &&
38253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38255 (eval $ac_try) 2>&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); }; } &&
38259 { ac_try
='test -s conftest$ac_exeext'
38260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38261 (eval $ac_try) 2>&5
38263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38264 (exit $ac_status); }; }; then
38265 ac_cv_lib_dl_dlopen
=yes
38267 echo "$as_me: failed program was:" >&5
38268 sed 's/^/| /' conftest.
$ac_ext >&5
38270 ac_cv_lib_dl_dlopen
=no
38272 rm -f conftest.err conftest.
$ac_objext \
38273 conftest
$ac_exeext conftest.
$ac_ext
38274 LIBS
=$ac_check_lib_save_LIBS
38276 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38277 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38278 if test $ac_cv_lib_dl_dlopen = yes; then
38280 cat >>confdefs.h
<<\_ACEOF
38281 #define HAVE_DLOPEN 1
38285 DL_LINK
=" -ldl$DL_LINK"
38290 for ac_func
in shl_load
38292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38293 echo "$as_me:$LINENO: checking for $ac_func" >&5
38294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38295 if eval "test \"\${$as_ac_var+set}\" = set"; then
38296 echo $ECHO_N "(cached) $ECHO_C" >&6
38298 cat >conftest.
$ac_ext <<_ACEOF
38301 cat confdefs.h
>>conftest.
$ac_ext
38302 cat >>conftest.
$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38306 #define $ac_func innocuous_$ac_func
38308 /* System header to define __stub macros and hopefully few prototypes,
38309 which can conflict with char $ac_func (); below.
38310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38311 <limits.h> exists even on freestanding compilers. */
38314 # include <limits.h>
38316 # include <assert.h>
38321 /* Override any gcc2 internal prototype to avoid an error. */
38326 /* We use char because int might match the return type of a gcc2
38327 builtin and then its argument prototype would still apply. */
38329 /* The GNU C library defines this for functions which it implements
38330 to always fail with ENOSYS. Some functions are actually named
38331 something starting with __ and the normal name is an alias. */
38332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38335 char (*f) () = $ac_func;
38344 return f != $ac_func;
38349 rm -f conftest.
$ac_objext conftest
$ac_exeext
38350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38351 (eval $ac_link) 2>conftest.er1
38353 grep -v '^ *+' conftest.er1
>conftest.err
38355 cat conftest.err
>&5
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); } &&
38358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38360 (eval $ac_try) 2>&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); }; } &&
38364 { ac_try
='test -s conftest$ac_exeext'
38365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366 (eval $ac_try) 2>&5
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); }; }; then
38370 eval "$as_ac_var=yes"
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.
$ac_ext >&5
38375 eval "$as_ac_var=no"
38377 rm -f conftest.err conftest.
$ac_objext \
38378 conftest
$ac_exeext conftest.
$ac_ext
38380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38382 if test `eval echo '${'$as_ac_var'}'` = yes; then
38383 cat >>confdefs.h
<<_ACEOF
38384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38387 cat >>confdefs.h
<<\_ACEOF
38388 #define HAVE_SHL_LOAD 1
38395 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38396 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38397 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38398 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 ac_check_lib_save_LIBS
=$LIBS
38401 LIBS
="-lshl_load $LIBS"
38402 cat >conftest.
$ac_ext <<_ACEOF
38405 cat confdefs.h
>>conftest.
$ac_ext
38406 cat >>conftest.
$ac_ext <<_ACEOF
38407 /* end confdefs.h. */
38409 /* Override any gcc2 internal prototype to avoid an error. */
38413 /* We use char because int might match the return type of a gcc2
38414 builtin and then its argument prototype would still apply. */
38424 rm -f conftest.
$ac_objext conftest
$ac_exeext
38425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38426 (eval $ac_link) 2>conftest.er1
38428 grep -v '^ *+' conftest.er1
>conftest.err
38430 cat conftest.err
>&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); } &&
38433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38435 (eval $ac_try) 2>&5
38437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38438 (exit $ac_status); }; } &&
38439 { ac_try
='test -s conftest$ac_exeext'
38440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38441 (eval $ac_try) 2>&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); }; }; then
38445 ac_cv_lib_shl_load_dld
=yes
38447 echo "$as_me: failed program was:" >&5
38448 sed 's/^/| /' conftest.
$ac_ext >&5
38450 ac_cv_lib_shl_load_dld
=no
38452 rm -f conftest.err conftest.
$ac_objext \
38453 conftest
$ac_exeext conftest.
$ac_ext
38454 LIBS
=$ac_check_lib_save_LIBS
38456 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38457 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38458 if test $ac_cv_lib_shl_load_dld = yes; then
38461 DL_LINK
=" -ldld$DL_LINK"
38477 if test "$HAVE_DL_FUNCS" = 1; then
38479 for ac_func
in dlerror
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" || test ! -s conftest.err'
38548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38549 (eval $ac_try) 2>&5
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); }; } &&
38553 { ac_try
='test -s conftest$ac_exeext'
38554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555 (eval $ac_try) 2>&5
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); }; }; then
38559 eval "$as_ac_var=yes"
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.
$ac_ext >&5
38564 eval "$as_ac_var=no"
38566 rm -f conftest.err conftest.
$ac_objext \
38567 conftest
$ac_exeext conftest.
$ac_ext
38569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38571 if test `eval echo '${'$as_ac_var'}'` = yes; then
38572 cat >>confdefs.h
<<_ACEOF
38573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38575 cat >>confdefs.h
<<\_ACEOF
38576 #define HAVE_DLERROR 1
38581 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38582 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38583 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38584 echo $ECHO_N "(cached) $ECHO_C" >&6
38586 ac_check_lib_save_LIBS
=$LIBS
38588 cat >conftest.
$ac_ext <<_ACEOF
38591 cat confdefs.h
>>conftest.
$ac_ext
38592 cat >>conftest.
$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38595 /* Override any gcc2 internal prototype to avoid an error. */
38599 /* We use char because int might match the return type of a gcc2
38600 builtin and then its argument prototype would still apply. */
38610 rm -f conftest.
$ac_objext conftest
$ac_exeext
38611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38612 (eval $ac_link) 2>conftest.er1
38614 grep -v '^ *+' conftest.er1
>conftest.err
38616 cat conftest.err
>&5
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); } &&
38619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; } &&
38625 { ac_try
='test -s conftest$ac_exeext'
38626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627 (eval $ac_try) 2>&5
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); }; }; then
38631 ac_cv_lib_dl_dlerror
=yes
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.
$ac_ext >&5
38636 ac_cv_lib_dl_dlerror
=no
38638 rm -f conftest.err conftest.
$ac_objext \
38639 conftest
$ac_exeext conftest.
$ac_ext
38640 LIBS
=$ac_check_lib_save_LIBS
38642 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38643 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38644 if test $ac_cv_lib_dl_dlerror = yes; then
38645 cat >>confdefs.h
<<\_ACEOF
38646 #define HAVE_DLERROR 1
38659 if test "$HAVE_DL_FUNCS" = 0; then
38660 if test "$HAVE_SHL_FUNCS" = 0; then
38661 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38662 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38663 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38664 wxUSE_DYNAMIC_LOADER
=no
38665 wxUSE_DYNLIB_CLASS
=no
38667 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38668 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38675 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38676 cat >>confdefs.h
<<\_ACEOF
38677 #define wxUSE_DYNAMIC_LOADER 1
38681 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38682 cat >>confdefs.h
<<\_ACEOF
38683 #define wxUSE_DYNLIB_CLASS 1
38690 if test "$wxUSE_PLUGINS" = "yes" ; then
38691 if test "$wxUSE_SHARED" = "no" ; then
38692 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38693 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38696 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38697 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38698 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38701 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38702 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38703 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38706 if test "$wxUSE_PLUGINS" = "yes" ; then
38707 cat >>confdefs.h
<<\_ACEOF
38708 #define wxUSE_PLUGINS 1
38715 if test "$wxUSE_STL" = "yes"; then
38716 cat >>confdefs.h
<<\_ACEOF
38717 #define wxUSE_STL 1
38722 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38723 cat >>confdefs.h
<<\_ACEOF
38724 #define wxUSE_APPLE_IEEE 1
38729 if test "$wxUSE_TIMER" = "yes"; then
38730 cat >>confdefs.h
<<\_ACEOF
38731 #define wxUSE_TIMER 1
38736 if test "$USE_UNIX" = "1" ; then
38737 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38738 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38739 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38743 cat >conftest.
$ac_ext <<_ACEOF
38746 cat confdefs.h
>>conftest.
$ac_ext
38747 cat >>conftest.
$ac_ext <<_ACEOF
38748 /* end confdefs.h. */
38750 #include <sys/soundcard.h>
38756 ioctl(0, SNDCTL_DSP_SYNC, 0);
38762 rm -f conftest.
$ac_objext conftest
$ac_exeext
38763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38764 (eval $ac_link) 2>conftest.er1
38766 grep -v '^ *+' conftest.er1
>conftest.err
38768 cat conftest.err
>&5
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); } &&
38771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38773 (eval $ac_try) 2>&5
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); }; } &&
38777 { ac_try
='test -s conftest$ac_exeext'
38778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38779 (eval $ac_try) 2>&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); }; }; then
38783 ac_cv_header_sys_soundcard
=yes
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.
$ac_ext >&5
38790 LIBS
="$saveLibs -lossaudio"
38791 cat >conftest.
$ac_ext <<_ACEOF
38794 cat confdefs.h
>>conftest.
$ac_ext
38795 cat >>conftest.
$ac_ext <<_ACEOF
38796 /* end confdefs.h. */
38798 #include <sys/soundcard.h>
38804 ioctl(0, SNDCTL_DSP_SYNC, 0);
38810 rm -f conftest.
$ac_objext conftest
$ac_exeext
38811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38812 (eval $ac_link) 2>conftest.er1
38814 grep -v '^ *+' conftest.er1
>conftest.err
38816 cat conftest.err
>&5
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); } &&
38819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; } &&
38825 { ac_try
='test -s conftest$ac_exeext'
38826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38827 (eval $ac_try) 2>&5
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); }; }; then
38831 ac_cv_header_sys_soundcard
=yes
38833 echo "$as_me: failed program was:" >&5
38834 sed 's/^/| /' conftest.
$ac_ext >&5
38838 ac_cv_header_sys_soundcard
=no
38842 rm -f conftest.err conftest.
$ac_objext \
38843 conftest
$ac_exeext conftest.
$ac_ext
38847 rm -f conftest.err conftest.
$ac_objext \
38848 conftest
$ac_exeext conftest.
$ac_ext
38851 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38852 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38854 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38855 cat >>confdefs.h
<<\_ACEOF
38856 #define HAVE_SYS_SOUNDCARD_H 1
38860 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38864 if test "$wxUSE_SOUND" = "yes"; then
38865 if test "$USE_UNIX" = "1" ; then
38866 if test "$wxUSE_LIBSDL" != "no"; then
38868 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38869 if test "${with_sdl_prefix+set}" = set; then
38870 withval
="$with_sdl_prefix"
38871 sdl_prefix
="$withval"
38876 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38877 if test "${with_sdl_exec_prefix+set}" = set; then
38878 withval
="$with_sdl_exec_prefix"
38879 sdl_exec_prefix
="$withval"
38883 # Check whether --enable-sdltest or --disable-sdltest was given.
38884 if test "${enable_sdltest+set}" = set; then
38885 enableval
="$enable_sdltest"
38891 if test x
$sdl_exec_prefix != x
; then
38892 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38893 if test x
${SDL_CONFIG+set} != xset
; then
38894 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38897 if test x
$sdl_prefix != x
; then
38898 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38899 if test x
${SDL_CONFIG+set} != xset
; then
38900 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38905 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38906 # Extract the first word of "sdl-config", so it can be a program name with args.
38907 set dummy sdl
-config; ac_word
=$2
38908 echo "$as_me:$LINENO: checking for $ac_word" >&5
38909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38910 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38911 echo $ECHO_N "(cached) $ECHO_C" >&6
38913 case $SDL_CONFIG in
38915 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38919 for as_dir
in $PATH
38922 test -z "$as_dir" && as_dir
=.
38923 for ac_exec_ext
in '' $ac_executable_extensions; do
38924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38925 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38932 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
38936 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
38938 if test -n "$SDL_CONFIG"; then
38939 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38940 echo "${ECHO_T}$SDL_CONFIG" >&6
38942 echo "$as_me:$LINENO: result: no" >&5
38943 echo "${ECHO_T}no" >&6
38946 min_sdl_version
=1.2.0
38947 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38948 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38950 if test "$SDL_CONFIG" = "no" ; then
38953 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
38954 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
38956 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
38957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38958 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
38959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38960 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
38961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38962 if test "x$enable_sdltest" = "xyes" ; then
38963 ac_save_CFLAGS
="$CFLAGS"
38964 ac_save_CXXFLAGS
="$CXXFLAGS"
38965 ac_save_LIBS
="$LIBS"
38966 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38967 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38968 LIBS
="$LIBS $SDL_LIBS"
38970 if test "$cross_compiling" = yes; then
38971 echo $ac_n "cross compiling; assumed OK... $ac_c"
38973 cat >conftest.
$ac_ext <<_ACEOF
38976 cat confdefs.h
>>conftest.
$ac_ext
38977 cat >>conftest.
$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38981 #include <stdlib.h>
38982 #include <string.h>
38986 my_strdup (char *str)
38992 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38993 strcpy (new_str, str);
39001 int main (int argc, char *argv[])
39003 int major, minor, micro;
39006 /* This hangs on some systems (?)
39007 system ("touch conf.sdltest");
39009 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
39011 /* HP/UX 9 (%@#!) writes to sscanf strings */
39012 tmp_version = my_strdup("$min_sdl_version");
39013 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
39014 printf("%s, bad version string\n", "$min_sdl_version");
39018 if (($sdl_major_version > major) ||
39019 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
39020 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
39026 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
39027 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
39028 printf("*** best to upgrade to the required version.\n");
39029 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
39030 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
39031 printf("*** config.cache before re-running configure\n");
39038 rm -f conftest
$ac_exeext
39039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39040 (eval $ac_link) 2>&5
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
39044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39045 (eval $ac_try) 2>&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); }; }; then
39051 echo "$as_me: program exited with status $ac_status" >&5
39052 echo "$as_me: failed program was:" >&5
39053 sed 's/^/| /' conftest.
$ac_ext >&5
39055 ( exit $ac_status )
39058 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
39060 CFLAGS
="$ac_save_CFLAGS"
39061 CXXFLAGS
="$ac_save_CXXFLAGS"
39062 LIBS
="$ac_save_LIBS"
39065 if test "x$no_sdl" = x
; then
39066 echo "$as_me:$LINENO: result: yes" >&5
39067 echo "${ECHO_T}yes" >&6
39069 EXTRALIBS_SDL
="$SDL_LIBS"
39070 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39071 cat >>confdefs.h
<<\_ACEOF
39072 #define wxUSE_LIBSDL 1
39077 echo "$as_me:$LINENO: result: no" >&5
39078 echo "${ECHO_T}no" >&6
39079 if test "$SDL_CONFIG" = "no" ; then
39080 echo "*** The sdl-config script installed by SDL could not be found"
39081 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39082 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39083 echo "*** full path to sdl-config."
39085 if test -f conf.sdltest
; then
39088 echo "*** Could not run SDL test program, checking why..."
39089 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39090 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39091 LIBS
="$LIBS $SDL_LIBS"
39092 cat >conftest.
$ac_ext <<_ACEOF
39095 cat confdefs.h
>>conftest.
$ac_ext
39096 cat >>conftest.
$ac_ext <<_ACEOF
39097 /* end confdefs.h. */
39102 int main(int argc, char *argv[])
39105 #define main K_and_R_C_main
39115 rm -f conftest.
$ac_objext conftest
$ac_exeext
39116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39117 (eval $ac_link) 2>conftest.er1
39119 grep -v '^ *+' conftest.er1
>conftest.err
39121 cat conftest.err
>&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } &&
39124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39126 (eval $ac_try) 2>&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); }; } &&
39130 { ac_try
='test -s conftest$ac_exeext'
39131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39132 (eval $ac_try) 2>&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); }; }; then
39136 echo "*** The test program compiled, but did not run. This usually means"
39137 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39138 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39139 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39140 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39141 echo "*** is required on your system"
39143 echo "*** If you have an old version installed, it is best to remove it, although"
39144 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39146 echo "$as_me: failed program was:" >&5
39147 sed 's/^/| /' conftest.
$ac_ext >&5
39149 echo "*** The test program failed to compile or link. See the file config.log for the"
39150 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39151 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39152 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39154 rm -f conftest.err conftest.
$ac_objext \
39155 conftest
$ac_exeext conftest.
$ac_ext
39156 CFLAGS
="$ac_save_CFLAGS"
39157 CXXFLAGS
="$ac_save_CXXFLAGS"
39158 LIBS
="$ac_save_LIBS"
39169 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39175 cat >>confdefs.h
<<\_ACEOF
39176 #define wxUSE_SOUND 1
39179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
39182 if test "$WXGTK20" = 1; then
39183 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39184 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39189 if test -z "$PKG_CONFIG"; then
39190 # Extract the first word of "pkg-config", so it can be a program name with args.
39191 set dummy pkg
-config; ac_word
=$2
39192 echo "$as_me:$LINENO: checking for $ac_word" >&5
39193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39195 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 case $PKG_CONFIG in
39199 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39203 for as_dir
in $PATH
39206 test -z "$as_dir" && as_dir
=.
39207 for ac_exec_ext
in '' $ac_executable_extensions; do
39208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39209 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39216 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39220 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39222 if test -n "$PKG_CONFIG"; then
39223 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39224 echo "${ECHO_T}$PKG_CONFIG" >&6
39226 echo "$as_me:$LINENO: result: no" >&5
39227 echo "${ECHO_T}no" >&6
39232 if test "$PKG_CONFIG" = "no" ; then
39233 echo "*** The pkg-config script could not be found. Make sure it is"
39234 echo "*** in your path, or set the PKG_CONFIG environment variable"
39235 echo "*** to the full path to pkg-config."
39236 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39238 PKG_CONFIG_MIN_VERSION
=0.9.0
39239 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39240 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39241 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39243 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39244 echo "$as_me:$LINENO: result: yes" >&5
39245 echo "${ECHO_T}yes" >&6
39248 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39249 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39250 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39251 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39252 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39254 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39255 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39256 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39257 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39258 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39260 LIBGNOMEPRINTUI_CFLAGS
=""
39261 LIBGNOMEPRINTUI_LIBS
=""
39262 ## If we have a custom action on failure, don't print errors, but
39263 ## do set a variable so people can do so.
39264 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39271 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39272 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39276 if test $succeeded = yes; then
39278 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39279 cat >>confdefs.h
<<\_ACEOF
39280 #define wxUSE_LIBGNOMEPRINT 1
39286 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39287 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39288 wxUSE_LIBGNOMEPRINT
="no"
39298 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39299 cat >>confdefs.h
<<\_ACEOF
39300 #define wxUSE_CMDLINE_PARSER 1
39305 if test "$wxUSE_STOPWATCH" = "yes"; then
39306 cat >>confdefs.h
<<\_ACEOF
39307 #define wxUSE_STOPWATCH 1
39312 if test "$wxUSE_DATETIME" = "yes"; then
39313 cat >>confdefs.h
<<\_ACEOF
39314 #define wxUSE_DATETIME 1
39319 if test "$wxUSE_FILE" = "yes"; then
39320 cat >>confdefs.h
<<\_ACEOF
39321 #define wxUSE_FILE 1
39326 if test "$wxUSE_FFILE" = "yes"; then
39327 cat >>confdefs.h
<<\_ACEOF
39328 #define wxUSE_FFILE 1
39333 if test "$wxUSE_FILESYSTEM" = "yes"; then
39334 cat >>confdefs.h
<<\_ACEOF
39335 #define wxUSE_FILESYSTEM 1
39340 if test "$wxUSE_FS_ZIP" = "yes"; then
39341 cat >>confdefs.h
<<\_ACEOF
39342 #define wxUSE_FS_ZIP 1
39347 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39348 cat >>confdefs.h
<<\_ACEOF
39349 #define wxUSE_ARCHIVE_STREAMS 1
39354 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39355 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39356 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39357 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39358 elif test "$wxUSE_ZLIB" = "no"; then
39359 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39360 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39362 cat >>confdefs.h
<<\_ACEOF
39363 #define wxUSE_ZIPSTREAM 1
39369 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39370 if test "$USE_UNIX" != 1; then
39371 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39372 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39373 wxUSE_ON_FATAL_EXCEPTION
=no
39375 cat >>confdefs.h
<<\_ACEOF
39376 #define wxUSE_ON_FATAL_EXCEPTION 1
39382 if test "$wxUSE_STACKWALKER" = "yes"; then
39383 cat >>confdefs.h
<<\_ACEOF
39384 #define wxUSE_STACKWALKER 1
39389 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39390 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39391 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39392 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39393 wxUSE_DEBUGREPORT
=no
39395 cat >>confdefs.h
<<\_ACEOF
39396 #define wxUSE_DEBUGREPORT 1
39399 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
39405 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39406 cat >>confdefs.h
<<\_ACEOF
39407 #define wxUSE_SNGLINST_CHECKER 1
39412 if test "$wxUSE_BUSYINFO" = "yes"; then
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define wxUSE_BUSYINFO 1
39419 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39420 cat >>confdefs.h
<<\_ACEOF
39421 #define wxUSE_STD_IOSTREAM 1
39426 if test "$wxUSE_STD_STRING" = "yes"; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_STD_STRING 1
39433 if test "$wxUSE_STDPATHS" = "yes"; then
39434 cat >>confdefs.h
<<\_ACEOF
39435 #define wxUSE_STDPATHS 1
39440 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39441 cat >>confdefs.h
<<\_ACEOF
39442 #define wxUSE_TEXTBUFFER 1
39447 if test "$wxUSE_TEXTFILE" = "yes"; then
39448 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39449 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39450 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39452 cat >>confdefs.h
<<\_ACEOF
39453 #define wxUSE_TEXTFILE 1
39459 if test "$wxUSE_CONFIG" = "yes" ; then
39460 if test "$wxUSE_TEXTFILE" != "yes"; then
39461 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39462 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39464 cat >>confdefs.h
<<\_ACEOF
39465 #define wxUSE_CONFIG 1
39468 cat >>confdefs.h
<<\_ACEOF
39469 #define wxUSE_CONFIG_NATIVE 1
39472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
39476 if test "$wxUSE_INTL" = "yes" ; then
39477 if test "$wxUSE_FILE" != "yes"; then
39478 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39479 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39481 cat >>confdefs.h
<<\_ACEOF
39482 #define wxUSE_INTL 1
39485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
39486 GUIDIST
="$GUIDIST INTL_DIST"
39490 if test "$wxUSE_LOG" = "yes"; then
39491 cat >>confdefs.h
<<\_ACEOF
39492 #define wxUSE_LOG 1
39496 if test "$wxUSE_LOGGUI" = "yes"; then
39497 cat >>confdefs.h
<<\_ACEOF
39498 #define wxUSE_LOGGUI 1
39503 if test "$wxUSE_LOGWINDOW" = "yes"; then
39504 cat >>confdefs.h
<<\_ACEOF
39505 #define wxUSE_LOGWINDOW 1
39510 if test "$wxUSE_LOGDIALOG" = "yes"; then
39511 cat >>confdefs.h
<<\_ACEOF
39512 #define wxUSE_LOG_DIALOG 1
39517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
39520 if test "$wxUSE_LONGLONG" = "yes"; then
39521 cat >>confdefs.h
<<\_ACEOF
39522 #define wxUSE_LONGLONG 1
39527 if test "$wxUSE_GEOMETRY" = "yes"; then
39528 cat >>confdefs.h
<<\_ACEOF
39529 #define wxUSE_GEOMETRY 1
39534 if test "$wxUSE_STREAMS" = "yes" ; then
39535 cat >>confdefs.h
<<\_ACEOF
39536 #define wxUSE_STREAMS 1
39542 if test "$wxUSE_DATETIME" = "yes"; then
39544 for ac_func
in strptime
39546 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39547 echo "$as_me:$LINENO: checking for $ac_func" >&5
39548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39549 if eval "test \"\${$as_ac_var+set}\" = set"; then
39550 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 cat >conftest.
$ac_ext <<_ACEOF
39555 cat confdefs.h
>>conftest.
$ac_ext
39556 cat >>conftest.
$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39560 #define $ac_func innocuous_$ac_func
39562 /* System header to define __stub macros and hopefully few prototypes,
39563 which can conflict with char $ac_func (); below.
39564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39565 <limits.h> exists even on freestanding compilers. */
39568 # include <limits.h>
39570 # include <assert.h>
39575 /* Override any gcc2 internal prototype to avoid an error. */
39580 /* We use char because int might match the return type of a gcc2
39581 builtin and then its argument prototype would still apply. */
39583 /* The GNU C library defines this for functions which it implements
39584 to always fail with ENOSYS. Some functions are actually named
39585 something starting with __ and the normal name is an alias. */
39586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39589 char (*f) () = $ac_func;
39598 return f != $ac_func;
39603 rm -f conftest.
$ac_objext conftest
$ac_exeext
39604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39605 (eval $ac_link) 2>conftest.er1
39607 grep -v '^ *+' conftest.er1
>conftest.err
39609 cat conftest.err
>&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } &&
39612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39614 (eval $ac_try) 2>&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); }; } &&
39618 { ac_try
='test -s conftest$ac_exeext'
39619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39620 (eval $ac_try) 2>&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); }; }; then
39624 eval "$as_ac_var=yes"
39626 echo "$as_me: failed program was:" >&5
39627 sed 's/^/| /' conftest.
$ac_ext >&5
39629 eval "$as_ac_var=no"
39631 rm -f conftest.err conftest.
$ac_objext \
39632 conftest
$ac_exeext conftest.
$ac_ext
39634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39636 if test `eval echo '${'$as_ac_var'}'` = yes; then
39637 cat >>confdefs.h
<<_ACEOF
39638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39644 if test "$ac_cv_func_strptime" = "yes"; then
39645 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39646 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39647 if test "${wx_cv_func_strptime_decl+set}" = set; then
39648 echo $ECHO_N "(cached) $ECHO_C" >&6
39654 ac_cpp
='$CXXCPP $CPPFLAGS'
39655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39659 cat >conftest.
$ac_ext <<_ACEOF
39662 cat confdefs.h
>>conftest.
$ac_ext
39663 cat >>conftest.
$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39673 strptime("foo", "bar", &t);
39679 rm -f conftest.
$ac_objext
39680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39681 (eval $ac_compile) 2>conftest.er1
39683 grep -v '^ *+' conftest.er1
>conftest.err
39685 cat conftest.err
>&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); } &&
39688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39690 (eval $ac_try) 2>&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); }; } &&
39694 { ac_try
='test -s conftest.$ac_objext'
39695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696 (eval $ac_try) 2>&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); }; }; then
39700 wx_cv_func_strptime_decl
=yes
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.
$ac_ext >&5
39705 wx_cv_func_strptime_decl
=no
39708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39710 ac_cpp
='$CPP $CPPFLAGS'
39711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39718 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39719 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39721 if test "$wx_cv_func_strptime_decl" = "yes"; then
39722 cat >>confdefs.h
<<\_ACEOF
39723 #define HAVE_STRPTIME_DECL 1
39728 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39729 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39730 if test "${wx_cv_var_timezone+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39734 cat >conftest.
$ac_ext <<_ACEOF
39737 cat confdefs.h
>>conftest.
$ac_ext
39738 cat >>conftest.
$ac_ext <<_ACEOF
39739 /* end confdefs.h. */
39754 rm -f conftest.
$ac_objext
39755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39756 (eval $ac_compile) 2>conftest.er1
39758 grep -v '^ *+' conftest.er1
>conftest.err
39760 cat conftest.err
>&5
39761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39762 (exit $ac_status); } &&
39763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39765 (eval $ac_try) 2>&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); }; } &&
39769 { ac_try
='test -s conftest.$ac_objext'
39770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39771 (eval $ac_try) 2>&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); }; }; then
39776 wx_cv_var_timezone
=timezone
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.
$ac_ext >&5
39783 cat >conftest.
$ac_ext <<_ACEOF
39786 cat confdefs.h
>>conftest.
$ac_ext
39787 cat >>conftest.
$ac_ext <<_ACEOF
39788 /* end confdefs.h. */
39803 rm -f conftest.
$ac_objext
39804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39805 (eval $ac_compile) 2>conftest.er1
39807 grep -v '^ *+' conftest.er1
>conftest.err
39809 cat conftest.err
>&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } &&
39812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; } &&
39818 { ac_try
='test -s conftest.$ac_objext'
39819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39820 (eval $ac_try) 2>&5
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); }; }; then
39825 wx_cv_var_timezone
=_timezone
39828 echo "$as_me: failed program was:" >&5
39829 sed 's/^/| /' conftest.
$ac_ext >&5
39832 cat >conftest.
$ac_ext <<_ACEOF
39835 cat confdefs.h
>>conftest.
$ac_ext
39836 cat >>conftest.
$ac_ext <<_ACEOF
39837 /* end confdefs.h. */
39852 rm -f conftest.
$ac_objext
39853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39854 (eval $ac_compile) 2>conftest.er1
39856 grep -v '^ *+' conftest.er1
>conftest.err
39858 cat conftest.err
>&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } &&
39861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39863 (eval $ac_try) 2>&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); }; } &&
39867 { ac_try
='test -s conftest.$ac_objext'
39868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39869 (eval $ac_try) 2>&5
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); }; }; then
39874 wx_cv_var_timezone
=__timezone
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.
$ac_ext >&5
39881 if test "$USE_DOS" = 0 ; then
39882 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39883 echo "$as_me: WARNING: no timezone variable" >&2;}
39888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39900 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39901 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39903 if test "x$wx_cv_var_timezone" != x
; then
39904 cat >>confdefs.h
<<_ACEOF
39905 #define WX_TIMEZONE $wx_cv_var_timezone
39911 for ac_func
in localtime
39913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39914 echo "$as_me:$LINENO: checking for $ac_func" >&5
39915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39916 if eval "test \"\${$as_ac_var+set}\" = set"; then
39917 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 cat >conftest.
$ac_ext <<_ACEOF
39922 cat confdefs.h
>>conftest.
$ac_ext
39923 cat >>conftest.
$ac_ext <<_ACEOF
39924 /* end confdefs.h. */
39925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39927 #define $ac_func innocuous_$ac_func
39929 /* System header to define __stub macros and hopefully few prototypes,
39930 which can conflict with char $ac_func (); below.
39931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39932 <limits.h> exists even on freestanding compilers. */
39935 # include <limits.h>
39937 # include <assert.h>
39942 /* Override any gcc2 internal prototype to avoid an error. */
39947 /* We use char because int might match the return type of a gcc2
39948 builtin and then its argument prototype would still apply. */
39950 /* The GNU C library defines this for functions which it implements
39951 to always fail with ENOSYS. Some functions are actually named
39952 something starting with __ and the normal name is an alias. */
39953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39956 char (*f) () = $ac_func;
39965 return f != $ac_func;
39970 rm -f conftest.
$ac_objext conftest
$ac_exeext
39971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39972 (eval $ac_link) 2>conftest.er1
39974 grep -v '^ *+' conftest.er1
>conftest.err
39976 cat conftest.err
>&5
39977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39978 (exit $ac_status); } &&
39979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39981 (eval $ac_try) 2>&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); }; } &&
39985 { ac_try
='test -s conftest$ac_exeext'
39986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39987 (eval $ac_try) 2>&5
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); }; }; then
39991 eval "$as_ac_var=yes"
39993 echo "$as_me: failed program was:" >&5
39994 sed 's/^/| /' conftest.
$ac_ext >&5
39996 eval "$as_ac_var=no"
39998 rm -f conftest.err conftest.
$ac_objext \
39999 conftest
$ac_exeext conftest.
$ac_ext
40001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40003 if test `eval echo '${'$as_ac_var'}'` = yes; then
40004 cat >>confdefs.h
<<_ACEOF
40005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40012 if test "$ac_cv_func_localtime" = "yes"; then
40013 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40014 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
40015 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40019 cat >conftest.
$ac_ext <<_ACEOF
40022 cat confdefs.h
>>conftest.
$ac_ext
40023 cat >>conftest.
$ac_ext <<_ACEOF
40024 /* end confdefs.h. */
40039 rm -f conftest.
$ac_objext
40040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40041 (eval $ac_compile) 2>conftest.er1
40043 grep -v '^ *+' conftest.er1
>conftest.err
40045 cat conftest.err
>&5
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); } &&
40048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try
='test -s conftest.$ac_objext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40061 wx_cv_struct_tm_has_gmtoff
=yes
40064 echo "$as_me: failed program was:" >&5
40065 sed 's/^/| /' conftest.
$ac_ext >&5
40067 wx_cv_struct_tm_has_gmtoff
=no
40070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40073 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40074 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40077 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40078 cat >>confdefs.h
<<\_ACEOF
40079 #define WX_GMTOFF_IN_TM 1
40086 for ac_func
in gettimeofday ftime
40088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40089 echo "$as_me:$LINENO: checking for $ac_func" >&5
40090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40091 if eval "test \"\${$as_ac_var+set}\" = set"; then
40092 echo $ECHO_N "(cached) $ECHO_C" >&6
40094 cat >conftest.
$ac_ext <<_ACEOF
40097 cat confdefs.h
>>conftest.
$ac_ext
40098 cat >>conftest.
$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40102 #define $ac_func innocuous_$ac_func
40104 /* System header to define __stub macros and hopefully few prototypes,
40105 which can conflict with char $ac_func (); below.
40106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40107 <limits.h> exists even on freestanding compilers. */
40110 # include <limits.h>
40112 # include <assert.h>
40117 /* Override any gcc2 internal prototype to avoid an error. */
40122 /* We use char because int might match the return type of a gcc2
40123 builtin and then its argument prototype would still apply. */
40125 /* The GNU C library defines this for functions which it implements
40126 to always fail with ENOSYS. Some functions are actually named
40127 something starting with __ and the normal name is an alias. */
40128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40131 char (*f) () = $ac_func;
40140 return f != $ac_func;
40145 rm -f conftest.
$ac_objext conftest
$ac_exeext
40146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40147 (eval $ac_link) 2>conftest.er1
40149 grep -v '^ *+' conftest.er1
>conftest.err
40151 cat conftest.err
>&5
40152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40153 (exit $ac_status); } &&
40154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40156 (eval $ac_try) 2>&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); }; } &&
40160 { ac_try
='test -s conftest$ac_exeext'
40161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40162 (eval $ac_try) 2>&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); }; }; then
40166 eval "$as_ac_var=yes"
40168 echo "$as_me: failed program was:" >&5
40169 sed 's/^/| /' conftest.
$ac_ext >&5
40171 eval "$as_ac_var=no"
40173 rm -f conftest.err conftest.
$ac_objext \
40174 conftest
$ac_exeext conftest.
$ac_ext
40176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40178 if test `eval echo '${'$as_ac_var'}'` = yes; then
40179 cat >>confdefs.h
<<_ACEOF
40180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40187 if test "$ac_cv_func_gettimeofday" = "yes"; then
40188 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40189 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40190 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40191 echo $ECHO_N "(cached) $ECHO_C" >&6
40197 ac_cpp
='$CXXCPP $CPPFLAGS'
40198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40203 cat >conftest.
$ac_ext <<_ACEOF
40206 cat confdefs.h
>>conftest.
$ac_ext
40207 cat >>conftest.
$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40210 #include <sys/time.h>
40211 #include <unistd.h>
40218 gettimeofday(&tv, NULL);
40224 rm -f conftest.
$ac_objext
40225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40226 (eval $ac_compile) 2>conftest.er1
40228 grep -v '^ *+' conftest.er1
>conftest.err
40230 cat conftest.err
>&5
40231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40232 (exit $ac_status); } &&
40233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40235 (eval $ac_try) 2>&5
40237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238 (exit $ac_status); }; } &&
40239 { ac_try
='test -s conftest.$ac_objext'
40240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40241 (eval $ac_try) 2>&5
40243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40244 (exit $ac_status); }; }; then
40245 wx_cv_func_gettimeofday_has_2_args
=yes
40247 echo "$as_me: failed program was:" >&5
40248 sed 's/^/| /' conftest.
$ac_ext >&5
40250 cat >conftest.
$ac_ext <<_ACEOF
40253 cat confdefs.h
>>conftest.
$ac_ext
40254 cat >>conftest.
$ac_ext <<_ACEOF
40255 /* end confdefs.h. */
40257 #include <sys/time.h>
40258 #include <unistd.h>
40271 rm -f conftest.
$ac_objext
40272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40273 (eval $ac_compile) 2>conftest.er1
40275 grep -v '^ *+' conftest.er1
>conftest.err
40277 cat conftest.err
>&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } &&
40280 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40282 (eval $ac_try) 2>&5
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); }; } &&
40286 { ac_try
='test -s conftest.$ac_objext'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; }; then
40292 wx_cv_func_gettimeofday_has_2_args
=no
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.
$ac_ext >&5
40298 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40299 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40300 wx_cv_func_gettimeofday_has_2_args
=unknown
40304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40309 ac_cpp
='$CPP $CPPFLAGS'
40310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40316 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40317 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40319 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40320 cat >>confdefs.h
<<\_ACEOF
40321 #define WX_GETTIMEOFDAY_NO_TZ 1
40327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
40331 if test "$wxUSE_SOCKETS" = "yes"; then
40332 if test "$wxUSE_MGL" = "1"; then
40333 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40334 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40339 if test "$wxUSE_SOCKETS" = "yes"; then
40340 if test "$TOOLKIT" != "MSW"; then
40341 echo "$as_me:$LINENO: checking for socket" >&5
40342 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40343 if test "${ac_cv_func_socket+set}" = set; then
40344 echo $ECHO_N "(cached) $ECHO_C" >&6
40346 cat >conftest.
$ac_ext <<_ACEOF
40349 cat confdefs.h
>>conftest.
$ac_ext
40350 cat >>conftest.
$ac_ext <<_ACEOF
40351 /* end confdefs.h. */
40352 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40354 #define socket innocuous_socket
40356 /* System header to define __stub macros and hopefully few prototypes,
40357 which can conflict with char socket (); below.
40358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40359 <limits.h> exists even on freestanding compilers. */
40362 # include <limits.h>
40364 # include <assert.h>
40369 /* Override any gcc2 internal prototype to avoid an error. */
40374 /* We use char because int might match the return type of a gcc2
40375 builtin and then its argument prototype would still apply. */
40377 /* The GNU C library defines this for functions which it implements
40378 to always fail with ENOSYS. Some functions are actually named
40379 something starting with __ and the normal name is an alias. */
40380 #if defined (__stub_socket) || defined (__stub___socket)
40383 char (*f) () = socket;
40392 return f != socket;
40397 rm -f conftest.
$ac_objext conftest
$ac_exeext
40398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40399 (eval $ac_link) 2>conftest.er1
40401 grep -v '^ *+' conftest.er1
>conftest.err
40403 cat conftest.err
>&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); } &&
40406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40408 (eval $ac_try) 2>&5
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); }; } &&
40412 { ac_try
='test -s conftest$ac_exeext'
40413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40414 (eval $ac_try) 2>&5
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); }; }; then
40418 ac_cv_func_socket
=yes
40420 echo "$as_me: failed program was:" >&5
40421 sed 's/^/| /' conftest.
$ac_ext >&5
40423 ac_cv_func_socket
=no
40425 rm -f conftest.err conftest.
$ac_objext \
40426 conftest
$ac_exeext conftest.
$ac_ext
40428 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40429 echo "${ECHO_T}$ac_cv_func_socket" >&6
40430 if test $ac_cv_func_socket = yes; then
40434 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40435 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40436 if test "${ac_cv_lib_socket_socket+set}" = set; then
40437 echo $ECHO_N "(cached) $ECHO_C" >&6
40439 ac_check_lib_save_LIBS
=$LIBS
40440 LIBS
="-lsocket $LIBS"
40441 cat >conftest.
$ac_ext <<_ACEOF
40444 cat confdefs.h
>>conftest.
$ac_ext
40445 cat >>conftest.
$ac_ext <<_ACEOF
40446 /* end confdefs.h. */
40448 /* Override any gcc2 internal prototype to avoid an error. */
40452 /* We use char because int might match the return type of a gcc2
40453 builtin and then its argument prototype would still apply. */
40463 rm -f conftest.
$ac_objext conftest
$ac_exeext
40464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40465 (eval $ac_link) 2>conftest.er1
40467 grep -v '^ *+' conftest.er1
>conftest.err
40469 cat conftest.err
>&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } &&
40472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; } &&
40478 { ac_try
='test -s conftest$ac_exeext'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; }; then
40484 ac_cv_lib_socket_socket
=yes
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.
$ac_ext >&5
40489 ac_cv_lib_socket_socket
=no
40491 rm -f conftest.err conftest.
$ac_objext \
40492 conftest
$ac_exeext conftest.
$ac_ext
40493 LIBS
=$ac_check_lib_save_LIBS
40495 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40496 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40497 if test $ac_cv_lib_socket_socket = yes; then
40498 if test "$INET_LINK" != " -lsocket"; then
40499 INET_LINK
="$INET_LINK -lsocket"
40503 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40504 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40517 if test "$wxUSE_SOCKETS" = "yes" ; then
40518 if test "$TOOLKIT" != "MSW"; then
40520 ac_cpp
='$CXXCPP $CPPFLAGS'
40521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40525 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40526 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40527 if test "${wx_cv_type_getsockname3+set}" = set; then
40528 echo $ECHO_N "(cached) $ECHO_C" >&6
40531 cat >conftest.
$ac_ext <<_ACEOF
40534 cat confdefs.h
>>conftest.
$ac_ext
40535 cat >>conftest.
$ac_ext <<_ACEOF
40536 /* end confdefs.h. */
40538 #include <sys/types.h>
40539 #include <sys/socket.h>
40546 getsockname(0, 0, &len);
40552 rm -f conftest.
$ac_objext
40553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40554 (eval $ac_compile) 2>conftest.er1
40556 grep -v '^ *+' conftest.er1
>conftest.err
40558 cat conftest.err
>&5
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); } &&
40561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40563 (eval $ac_try) 2>&5
40565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40566 (exit $ac_status); }; } &&
40567 { ac_try
='test -s conftest.$ac_objext'
40568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40569 (eval $ac_try) 2>&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); }; }; then
40573 wx_cv_type_getsockname3
=socklen_t
40575 echo "$as_me: failed program was:" >&5
40576 sed 's/^/| /' conftest.
$ac_ext >&5
40579 CXXFLAGS_OLD
="$CXXFLAGS"
40580 if test "$GCC" = yes ; then
40581 CXXFLAGS
="$CXXFLAGS -Werror"
40584 cat >conftest.
$ac_ext <<_ACEOF
40587 cat confdefs.h
>>conftest.
$ac_ext
40588 cat >>conftest.
$ac_ext <<_ACEOF
40589 /* end confdefs.h. */
40591 #include <sys/types.h>
40592 #include <sys/socket.h>
40599 getsockname(0, 0, &len);
40605 rm -f conftest.
$ac_objext
40606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40607 (eval $ac_compile) 2>conftest.er1
40609 grep -v '^ *+' conftest.er1
>conftest.err
40611 cat conftest.err
>&5
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); } &&
40614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40616 (eval $ac_try) 2>&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); }; } &&
40620 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
40626 wx_cv_type_getsockname3
=size_t
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.
$ac_ext >&5
40631 cat >conftest.
$ac_ext <<_ACEOF
40634 cat confdefs.h
>>conftest.
$ac_ext
40635 cat >>conftest.
$ac_ext <<_ACEOF
40636 /* end confdefs.h. */
40638 #include <sys/types.h>
40639 #include <sys/socket.h>
40646 getsockname(0, 0, &len);
40652 rm -f conftest.
$ac_objext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40654 (eval $ac_compile) 2>conftest.er1
40656 grep -v '^ *+' conftest.er1
>conftest.err
40658 cat conftest.err
>&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40663 (eval $ac_try) 2>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); }; } &&
40667 { ac_try
='test -s conftest.$ac_objext'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }; then
40673 wx_cv_type_getsockname3
=int
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.
$ac_ext >&5
40678 wx_cv_type_getsockname3
=unknown
40681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40686 CXXFLAGS
="$CXXFLAGS_OLD"
40690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40693 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40694 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40696 if test "$wx_cv_type_getsockname3" = "unknown"; then
40698 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40699 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40701 cat >>confdefs.h
<<_ACEOF
40702 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40706 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40707 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40708 if test "${wx_cv_type_getsockopt5+set}" = set; then
40709 echo $ECHO_N "(cached) $ECHO_C" >&6
40712 cat >conftest.
$ac_ext <<_ACEOF
40715 cat confdefs.h
>>conftest.
$ac_ext
40716 cat >>conftest.
$ac_ext <<_ACEOF
40717 /* end confdefs.h. */
40719 #include <sys/types.h>
40720 #include <sys/socket.h>
40727 getsockopt(0, 0, 0, 0, &len);
40733 rm -f conftest.
$ac_objext
40734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40735 (eval $ac_compile) 2>conftest.er1
40737 grep -v '^ *+' conftest.er1
>conftest.err
40739 cat conftest.err
>&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } &&
40742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40744 (eval $ac_try) 2>&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); }; } &&
40748 { ac_try
='test -s conftest.$ac_objext'
40749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40750 (eval $ac_try) 2>&5
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); }; }; then
40754 wx_cv_type_getsockopt5
=socklen_t
40756 echo "$as_me: failed program was:" >&5
40757 sed 's/^/| /' conftest.
$ac_ext >&5
40760 CXXFLAGS_OLD
="$CXXFLAGS"
40761 if test "$GCC" = yes ; then
40762 CXXFLAGS
="$CXXFLAGS -Werror"
40765 cat >conftest.
$ac_ext <<_ACEOF
40768 cat confdefs.h
>>conftest.
$ac_ext
40769 cat >>conftest.
$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40772 #include <sys/types.h>
40773 #include <sys/socket.h>
40780 getsockopt(0, 0, 0, 0, &len);
40786 rm -f conftest.
$ac_objext
40787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40788 (eval $ac_compile) 2>conftest.er1
40790 grep -v '^ *+' conftest.er1
>conftest.err
40792 cat conftest.err
>&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } &&
40795 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_objext'
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 wx_cv_type_getsockopt5
=size_t
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.
$ac_ext >&5
40812 cat >conftest.
$ac_ext <<_ACEOF
40815 cat confdefs.h
>>conftest.
$ac_ext
40816 cat >>conftest.
$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40819 #include <sys/types.h>
40820 #include <sys/socket.h>
40827 getsockopt(0, 0, 0, 0, &len);
40833 rm -f conftest.
$ac_objext
40834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40835 (eval $ac_compile) 2>conftest.er1
40837 grep -v '^ *+' conftest.er1
>conftest.err
40839 cat conftest.err
>&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } &&
40842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40844 (eval $ac_try) 2>&5
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); }; } &&
40848 { ac_try
='test -s conftest.$ac_objext'
40849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40850 (eval $ac_try) 2>&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); }; }; then
40854 wx_cv_type_getsockopt5
=int
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.
$ac_ext >&5
40859 wx_cv_type_getsockopt5
=unknown
40862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40867 CXXFLAGS
="$CXXFLAGS_OLD"
40871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40874 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40875 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40877 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40879 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40880 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40882 cat >>confdefs.h
<<_ACEOF
40883 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40888 ac_cpp
='$CPP $CPPFLAGS'
40889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40896 if test "$wxUSE_SOCKETS" = "yes" ; then
40897 cat >>confdefs.h
<<\_ACEOF
40898 #define wxUSE_SOCKETS 1
40901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40904 if test "$wxUSE_PROTOCOL" = "yes"; then
40905 if test "$wxUSE_SOCKETS" != "yes"; then
40906 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40907 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40912 if test "$wxUSE_PROTOCOL" = "yes"; then
40913 cat >>confdefs.h
<<\_ACEOF
40914 #define wxUSE_PROTOCOL 1
40918 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40919 cat >>confdefs.h
<<\_ACEOF
40920 #define wxUSE_PROTOCOL_HTTP 1
40924 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40925 cat >>confdefs.h
<<\_ACEOF
40926 #define wxUSE_PROTOCOL_FTP 1
40930 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40931 cat >>confdefs.h
<<\_ACEOF
40932 #define wxUSE_PROTOCOL_FILE 1
40937 if test "$wxUSE_FS_INET" = "yes"; then
40938 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40939 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40944 if test "$wxUSE_URL" = "yes"; then
40945 if test "$wxUSE_PROTOCOL" != "yes"; then
40946 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40947 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40950 if test "$wxUSE_URL" = "yes"; then
40951 cat >>confdefs.h
<<\_ACEOF
40952 #define wxUSE_URL 1
40958 if test "$wxUSE_FS_INET" = "yes"; then
40959 cat >>confdefs.h
<<\_ACEOF
40960 #define wxUSE_FS_INET 1
40966 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40969 if test "$TOOLKIT" = "MSW"; then
40972 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40973 if test "$USE_DARWIN" = 1; then
40974 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40975 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40977 ac_cpp
='$CXXCPP $CPPFLAGS'
40978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40982 cat >conftest.
$ac_ext <<_ACEOF
40985 cat confdefs.h
>>conftest.
$ac_ext
40986 cat >>conftest.
$ac_ext <<_ACEOF
40987 /* end confdefs.h. */
40988 #include <IOKit/hid/IOHIDLib.h>
40992 IOHIDQueueInterface *qi = NULL;
40993 IOHIDCallbackFunction cb = NULL;
40994 qi->setEventCallout(NULL, cb, NULL, NULL);
40999 rm -f conftest.
$ac_objext
41000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41001 (eval $ac_compile) 2>conftest.er1
41003 grep -v '^ *+' conftest.er1
>conftest.err
41005 cat conftest.err
>&5
41006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41007 (exit $ac_status); } &&
41008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41010 (eval $ac_try) 2>&5
41012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41013 (exit $ac_status); }; } &&
41014 { ac_try
='test -s conftest.$ac_objext'
41015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41016 (eval $ac_try) 2>&5
41018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41019 (exit $ac_status); }; }; then
41023 echo "$as_me: failed program was:" >&5
41024 sed 's/^/| /' conftest.
$ac_ext >&5
41027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41029 ac_cpp
='$CPP $CPPFLAGS'
41030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41034 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
41035 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
41040 for ac_header
in linux
/joystick.h
41042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41044 echo "$as_me:$LINENO: checking for $ac_header" >&5
41045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41052 # Is the header compilable?
41053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41055 cat >conftest.
$ac_ext <<_ACEOF
41058 cat confdefs.h
>>conftest.
$ac_ext
41059 cat >>conftest.
$ac_ext <<_ACEOF
41060 /* end confdefs.h. */
41061 $ac_includes_default
41062 #include <$ac_header>
41064 rm -f conftest.
$ac_objext
41065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41066 (eval $ac_compile) 2>conftest.er1
41068 grep -v '^ *+' conftest.er1
>conftest.err
41070 cat conftest.err
>&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); } &&
41073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41075 (eval $ac_try) 2>&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); }; } &&
41079 { ac_try
='test -s conftest.$ac_objext'
41080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41081 (eval $ac_try) 2>&5
41083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41084 (exit $ac_status); }; }; then
41085 ac_header_compiler
=yes
41087 echo "$as_me: failed program was:" >&5
41088 sed 's/^/| /' conftest.
$ac_ext >&5
41090 ac_header_compiler
=no
41092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41094 echo "${ECHO_T}$ac_header_compiler" >&6
41096 # Is the header present?
41097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41099 cat >conftest.
$ac_ext <<_ACEOF
41102 cat confdefs.h
>>conftest.
$ac_ext
41103 cat >>conftest.
$ac_ext <<_ACEOF
41104 /* end confdefs.h. */
41105 #include <$ac_header>
41107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41110 grep -v '^ *+' conftest.er1
>conftest.err
41112 cat conftest.err
>&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } >/dev
/null
; then
41115 if test -s conftest.err
; then
41116 ac_cpp_err
=$ac_c_preproc_warn_flag
41117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41124 if test -z "$ac_cpp_err"; then
41125 ac_header_preproc
=yes
41127 echo "$as_me: failed program was:" >&5
41128 sed 's/^/| /' conftest.
$ac_ext >&5
41130 ac_header_preproc
=no
41132 rm -f conftest.err conftest.
$ac_ext
41133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41134 echo "${ECHO_T}$ac_header_preproc" >&6
41136 # So? What about this header?
41137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41143 ac_header_preproc
=yes
41146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41160 ## ----------------------------------------- ##
41161 ## Report this to wx-dev@lists.wxwidgets.org ##
41162 ## ----------------------------------------- ##
41165 sed "s/^/$as_me: WARNING: /" >&2
41168 echo "$as_me:$LINENO: checking for $ac_header" >&5
41169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41171 echo $ECHO_N "(cached) $ECHO_C" >&6
41173 eval "$as_ac_Header=\$ac_header_preproc"
41175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41180 cat >>confdefs.h
<<_ACEOF
41181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41190 if test "$wxUSE_JOYSTICK" = "yes"; then
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define wxUSE_JOYSTICK 1
41195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
41197 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41198 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41204 if test "$wxUSE_FONTMAP" = "yes" ; then
41205 cat >>confdefs.h
<<\_ACEOF
41206 #define wxUSE_FONTMAP 1
41211 if test "$wxUSE_UNICODE" = "yes" ; then
41212 cat >>confdefs.h
<<\_ACEOF
41213 #define wxUSE_UNICODE 1
41217 if test "$USE_WIN32" != 1; then
41218 wxUSE_UNICODE_MSLU
=no
41221 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41222 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41223 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41224 if test "${ac_cv_lib_unicows_main+set}" = set; then
41225 echo $ECHO_N "(cached) $ECHO_C" >&6
41227 ac_check_lib_save_LIBS
=$LIBS
41228 LIBS
="-lunicows $LIBS"
41229 cat >conftest.
$ac_ext <<_ACEOF
41232 cat confdefs.h
>>conftest.
$ac_ext
41233 cat >>conftest.
$ac_ext <<_ACEOF
41234 /* end confdefs.h. */
41245 rm -f conftest.
$ac_objext conftest
$ac_exeext
41246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41247 (eval $ac_link) 2>conftest.er1
41249 grep -v '^ *+' conftest.er1
>conftest.err
41251 cat conftest.err
>&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); } &&
41254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41256 (eval $ac_try) 2>&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); }; } &&
41260 { ac_try
='test -s conftest$ac_exeext'
41261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41262 (eval $ac_try) 2>&5
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); }; }; then
41266 ac_cv_lib_unicows_main
=yes
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.
$ac_ext >&5
41271 ac_cv_lib_unicows_main
=no
41273 rm -f conftest.err conftest.
$ac_objext \
41274 conftest
$ac_exeext conftest.
$ac_ext
41275 LIBS
=$ac_check_lib_save_LIBS
41277 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41278 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41279 if test $ac_cv_lib_unicows_main = yes; then
41281 cat >>confdefs.h
<<\_ACEOF
41282 #define wxUSE_UNICODE_MSLU 1
41288 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41289 Applications will only run on Windows NT/2000/XP!" >&5
41290 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41291 Applications will only run on Windows NT/2000/XP!" >&2;}
41292 wxUSE_UNICODE_MSLU
=no
41299 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41300 cat >>confdefs.h
<<\_ACEOF
41301 #define wxUSE_EXPERIMENTAL_PRINTF 1
41307 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41308 cat >>confdefs.h
<<\_ACEOF
41309 #define wxUSE_POSTSCRIPT 1
41314 cat >>confdefs.h
<<\_ACEOF
41315 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41319 cat >>confdefs.h
<<\_ACEOF
41320 #define wxUSE_NORMALIZED_PS_FONTS 1
41325 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41326 cat >>confdefs.h
<<\_ACEOF
41327 #define wxUSE_CONSTRAINTS 1
41330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
41333 if test "$wxUSE_MDI" = "yes"; then
41334 cat >>confdefs.h
<<\_ACEOF
41335 #define wxUSE_MDI 1
41339 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41340 cat >>confdefs.h
<<\_ACEOF
41341 #define wxUSE_MDI_ARCHITECTURE 1
41344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
41348 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41349 cat >>confdefs.h
<<\_ACEOF
41350 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
41354 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
41359 if test "$wxUSE_HELP" = "yes"; then
41360 cat >>confdefs.h
<<\_ACEOF
41361 #define wxUSE_HELP 1
41364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
41366 if test "$wxUSE_MSW" = 1; then
41367 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41368 cat >>confdefs.h
<<\_ACEOF
41369 #define wxUSE_MS_HTML_HELP 1
41375 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41376 if test "$wxUSE_HTML" = "yes"; then
41377 cat >>confdefs.h
<<\_ACEOF
41378 #define wxUSE_WXHTML_HELP 1
41382 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41383 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41384 wxUSE_WXHTML_HELP
=no
41389 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41390 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41391 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41392 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41394 cat >>confdefs.h
<<\_ACEOF
41395 #define wxUSE_PRINTING_ARCHITECTURE 1
41399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
41402 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41403 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41404 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41405 { (exit 1); exit 1; }; }
41409 if test "$wxUSE_METAFILE" = "yes"; then
41410 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41411 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41412 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41418 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
41419 -o "$wxUSE_CLIPBOARD" = "yes" \
41420 -o "$wxUSE_OLE" = "yes" \
41421 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
41423 for ac_header
in ole2.h
41425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41427 echo "$as_me:$LINENO: checking for $ac_header" >&5
41428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41430 echo $ECHO_N "(cached) $ECHO_C" >&6
41432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41435 # Is the header compilable?
41436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41438 cat >conftest.
$ac_ext <<_ACEOF
41441 cat confdefs.h
>>conftest.
$ac_ext
41442 cat >>conftest.
$ac_ext <<_ACEOF
41443 /* end confdefs.h. */
41444 $ac_includes_default
41445 #include <$ac_header>
41447 rm -f conftest.
$ac_objext
41448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41449 (eval $ac_compile) 2>conftest.er1
41451 grep -v '^ *+' conftest.er1
>conftest.err
41453 cat conftest.err
>&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); } &&
41456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; } &&
41462 { ac_try
='test -s conftest.$ac_objext'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; }; then
41468 ac_header_compiler
=yes
41470 echo "$as_me: failed program was:" >&5
41471 sed 's/^/| /' conftest.
$ac_ext >&5
41473 ac_header_compiler
=no
41475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41477 echo "${ECHO_T}$ac_header_compiler" >&6
41479 # Is the header present?
41480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41482 cat >conftest.
$ac_ext <<_ACEOF
41485 cat confdefs.h
>>conftest.
$ac_ext
41486 cat >>conftest.
$ac_ext <<_ACEOF
41487 /* end confdefs.h. */
41488 #include <$ac_header>
41490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41493 grep -v '^ *+' conftest.er1
>conftest.err
41495 cat conftest.err
>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } >/dev
/null
; then
41498 if test -s conftest.err
; then
41499 ac_cpp_err
=$ac_c_preproc_warn_flag
41500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41507 if test -z "$ac_cpp_err"; then
41508 ac_header_preproc
=yes
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.
$ac_ext >&5
41513 ac_header_preproc
=no
41515 rm -f conftest.err conftest.
$ac_ext
41516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41517 echo "${ECHO_T}$ac_header_preproc" >&6
41519 # So? What about this header?
41520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41526 ac_header_preproc
=yes
41529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41543 ## ----------------------------------------- ##
41544 ## Report this to wx-dev@lists.wxwidgets.org ##
41545 ## ----------------------------------------- ##
41548 sed "s/^/$as_me: WARNING: /" >&2
41551 echo "$as_me:$LINENO: checking for $ac_header" >&5
41552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41554 echo $ECHO_N "(cached) $ECHO_C" >&6
41556 eval "$as_ac_Header=\$ac_header_preproc"
41558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41563 cat >>confdefs.h
<<_ACEOF
41564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41572 if test "$ac_cv_header_ole2_h" = "yes" ; then
41573 if test "$GCC" = yes ; then
41577 ac_cpp
='$CXXCPP $CPPFLAGS'
41578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41583 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41584 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41585 cat >conftest.
$ac_ext <<_ACEOF
41588 cat confdefs.h
>>conftest.
$ac_ext
41589 cat >>conftest.
$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41591 #include <windows.h>
41601 rm -f conftest.
$ac_objext
41602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41603 (eval $ac_compile) 2>conftest.er1
41605 grep -v '^ *+' conftest.er1
>conftest.err
41607 cat conftest.err
>&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } &&
41610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; } &&
41616 { ac_try
='test -s conftest.$ac_objext'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; }; then
41622 echo "$as_me:$LINENO: result: no" >&5
41623 echo "${ECHO_T}no" >&6
41625 echo "$as_me: failed program was:" >&5
41626 sed 's/^/| /' conftest.
$ac_ext >&5
41628 echo "$as_me:$LINENO: result: yes" >&5
41629 echo "${ECHO_T}yes" >&6
41630 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
41632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41634 ac_cpp
='$CPP $CPPFLAGS'
41635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41639 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41640 if test "$wxUSE_OLE" = "yes" ; then
41641 cat >>confdefs.h
<<\_ACEOF
41642 #define wxUSE_OLE 1
41645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41649 if test "$wxUSE_DATAOBJ" = "yes" ; then
41650 cat >>confdefs.h
<<\_ACEOF
41651 #define wxUSE_DATAOBJ 1
41656 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41657 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41660 wxUSE_DRAG_AND_DROP
=no
41665 if test "$wxUSE_METAFILE" = "yes"; then
41666 cat >>confdefs.h
<<\_ACEOF
41667 #define wxUSE_METAFILE 1
41671 cat >>confdefs.h
<<\_ACEOF
41672 #define wxUSE_ENH_METAFILE 1
41678 if test "$wxUSE_IPC" = "yes"; then
41679 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41680 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41681 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41685 if test "$wxUSE_IPC" = "yes"; then
41686 cat >>confdefs.h
<<\_ACEOF
41687 #define wxUSE_IPC 1
41690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41694 if test "$wxUSE_DATAOBJ" = "yes"; then
41695 if test "$wxUSE_MGL" = 1; then
41696 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41697 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41700 cat >>confdefs.h
<<\_ACEOF
41701 #define wxUSE_DATAOBJ 1
41706 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41707 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41709 wxUSE_DRAG_AND_DROP
=no
41712 if test "$wxUSE_CLIPBOARD" = "yes"; then
41713 if test "$wxUSE_MGL" = 1; then
41714 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41715 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41719 if test "$wxUSE_CLIPBOARD" = "yes"; then
41720 cat >>confdefs.h
<<\_ACEOF
41721 #define wxUSE_CLIPBOARD 1
41727 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41728 if test "$wxUSE_GTK" = 1; then
41729 if test "$WXGTK12" != 1; then
41730 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41731 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41732 wxUSE_DRAG_AND_DROP
=no
41736 if test "$wxUSE_MOTIF" = 1; then
41737 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41738 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41739 wxUSE_DRAG_AND_DROP
=no
41742 if test "$wxUSE_X11" = 1; then
41743 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41744 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41745 wxUSE_DRAG_AND_DROP
=no
41748 if test "$wxUSE_MGL" = 1; then
41749 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41750 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41751 wxUSE_DRAG_AND_DROP
=no
41754 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41755 cat >>confdefs.h
<<\_ACEOF
41756 #define wxUSE_DRAG_AND_DROP 1
41763 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41767 if test "$wxUSE_SPLINES" = "yes" ; then
41768 cat >>confdefs.h
<<\_ACEOF
41769 #define wxUSE_SPLINES 1
41774 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41775 cat >>confdefs.h
<<\_ACEOF
41776 #define wxUSE_MOUSEWHEEL 1
41783 if test "$wxUSE_CONTROLS" = "yes"; then
41787 if test "$wxUSE_ACCEL" = "yes"; then
41788 cat >>confdefs.h
<<\_ACEOF
41789 #define wxUSE_ACCEL 1
41795 if test "$wxUSE_BUTTON" = "yes"; then
41796 cat >>confdefs.h
<<\_ACEOF
41797 #define wxUSE_BUTTON 1
41803 if test "$wxUSE_BMPBUTTON" = "yes"; then
41804 cat >>confdefs.h
<<\_ACEOF
41805 #define wxUSE_BMPBUTTON 1
41811 if test "$wxUSE_CALCTRL" = "yes"; then
41812 cat >>confdefs.h
<<\_ACEOF
41813 #define wxUSE_CALENDARCTRL 1
41817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41820 if test "$wxUSE_CARET" = "yes"; then
41821 cat >>confdefs.h
<<\_ACEOF
41822 #define wxUSE_CARET 1
41826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41829 if test "$wxUSE_COMBOBOX" = "yes"; then
41830 cat >>confdefs.h
<<\_ACEOF
41831 #define wxUSE_COMBOBOX 1
41837 if test "$wxUSE_CHOICE" = "yes"; then
41838 cat >>confdefs.h
<<\_ACEOF
41839 #define wxUSE_CHOICE 1
41845 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41846 cat >>confdefs.h
<<\_ACEOF
41847 #define wxUSE_CHOICEBOOK 1
41853 if test "$wxUSE_CHECKBOX" = "yes"; then
41854 cat >>confdefs.h
<<\_ACEOF
41855 #define wxUSE_CHECKBOX 1
41861 if test "$wxUSE_CHECKLST" = "yes"; then
41862 cat >>confdefs.h
<<\_ACEOF
41863 #define wxUSE_CHECKLISTBOX 1
41867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41870 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41871 cat >>confdefs.h
<<\_ACEOF
41872 #define wxUSE_DATEPICKCTRL 1
41878 if test "$wxUSE_DISPLAY" = "yes"; then
41879 cat >>confdefs.h
<<\_ACEOF
41880 #define wxUSE_DISPLAY 1
41883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41886 if test "$wxUSE_GAUGE" = "yes"; then
41887 cat >>confdefs.h
<<\_ACEOF
41888 #define wxUSE_GAUGE 1
41894 if test "$wxUSE_GRID" = "yes"; then
41895 cat >>confdefs.h
<<\_ACEOF
41896 #define wxUSE_GRID 1
41900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41903 if test "$wxUSE_IMAGLIST" = "yes"; then
41904 cat >>confdefs.h
<<\_ACEOF
41905 #define wxUSE_IMAGLIST 1
41910 if test "$wxUSE_LISTBOOK" = "yes"; then
41911 cat >>confdefs.h
<<\_ACEOF
41912 #define wxUSE_LISTBOOK 1
41918 if test "$wxUSE_LISTBOX" = "yes"; then
41919 cat >>confdefs.h
<<\_ACEOF
41920 #define wxUSE_LISTBOX 1
41924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
41927 if test "$wxUSE_LISTCTRL" = "yes"; then
41928 if test "$wxUSE_IMAGLIST" = "yes"; then
41929 cat >>confdefs.h
<<\_ACEOF
41930 #define wxUSE_LISTCTRL 1
41934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
41936 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41937 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41941 if test "$wxUSE_NOTEBOOK" = "yes"; then
41942 cat >>confdefs.h
<<\_ACEOF
41943 #define wxUSE_NOTEBOOK 1
41947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
41951 if test "$wxUSE_RADIOBOX" = "yes"; then
41952 cat >>confdefs.h
<<\_ACEOF
41953 #define wxUSE_RADIOBOX 1
41959 if test "$wxUSE_RADIOBTN" = "yes"; then
41960 cat >>confdefs.h
<<\_ACEOF
41961 #define wxUSE_RADIOBTN 1
41967 if test "$wxUSE_SASH" = "yes"; then
41968 cat >>confdefs.h
<<\_ACEOF
41969 #define wxUSE_SASH 1
41972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
41975 if test "$wxUSE_SCROLLBAR" = "yes"; then
41976 cat >>confdefs.h
<<\_ACEOF
41977 #define wxUSE_SCROLLBAR 1
41981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
41984 if test "$wxUSE_SLIDER" = "yes"; then
41985 cat >>confdefs.h
<<\_ACEOF
41986 #define wxUSE_SLIDER 1
41992 if test "$wxUSE_SPINBTN" = "yes"; then
41993 cat >>confdefs.h
<<\_ACEOF
41994 #define wxUSE_SPINBTN 1
42000 if test "$wxUSE_SPINCTRL" = "yes"; then
42001 cat >>confdefs.h
<<\_ACEOF
42002 #define wxUSE_SPINCTRL 1
42008 if test "$wxUSE_SPLITTER" = "yes"; then
42009 cat >>confdefs.h
<<\_ACEOF
42010 #define wxUSE_SPLITTER 1
42013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
42016 if test "$wxUSE_STATBMP" = "yes"; then
42017 cat >>confdefs.h
<<\_ACEOF
42018 #define wxUSE_STATBMP 1
42024 if test "$wxUSE_STATBOX" = "yes"; then
42025 cat >>confdefs.h
<<\_ACEOF
42026 #define wxUSE_STATBOX 1
42032 if test "$wxUSE_STATTEXT" = "yes"; then
42033 cat >>confdefs.h
<<\_ACEOF
42034 #define wxUSE_STATTEXT 1
42040 if test "$wxUSE_STATLINE" = "yes"; then
42041 cat >>confdefs.h
<<\_ACEOF
42042 #define wxUSE_STATLINE 1
42048 if test "$wxUSE_STATUSBAR" = "yes"; then
42049 cat >>confdefs.h
<<\_ACEOF
42050 #define wxUSE_NATIVE_STATUSBAR 1
42053 cat >>confdefs.h
<<\_ACEOF
42054 #define wxUSE_STATUSBAR 1
42059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
42062 if test "$wxUSE_TABDIALOG" = "yes"; then
42063 cat >>confdefs.h
<<\_ACEOF
42064 #define wxUSE_TAB_DIALOG 1
42069 if test "$wxUSE_TEXTCTRL" = "yes"; then
42070 cat >>confdefs.h
<<\_ACEOF
42071 #define wxUSE_TEXTCTRL 1
42075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
42078 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42079 if test "$wxUSE_COCOA" = 1 ; then
42080 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42081 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42084 if test "$wxUSE_UNIVERSAL" = "yes"; then
42085 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42086 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42090 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42091 cat >>confdefs.h
<<\_ACEOF
42092 #define wxUSE_TOGGLEBTN 1
42099 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42100 cat >>confdefs.h
<<\_ACEOF
42101 #define wxUSE_TOOLBAR_SIMPLE 1
42104 wxUSE_TOOLBAR
="yes"
42108 if test "$wxUSE_TOOLBAR" = "yes"; then
42109 cat >>confdefs.h
<<\_ACEOF
42110 #define wxUSE_TOOLBAR 1
42115 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42116 wxUSE_TOOLBAR_NATIVE
="yes"
42119 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42120 cat >>confdefs.h
<<\_ACEOF
42121 #define wxUSE_TOOLBAR_NATIVE 1
42127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
42130 if test "$wxUSE_TOOLTIPS" = "yes"; then
42131 if test "$wxUSE_MOTIF" = 1; then
42132 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42133 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42135 if test "$wxUSE_UNIVERSAL" = "yes"; then
42136 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42137 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42139 cat >>confdefs.h
<<\_ACEOF
42140 #define wxUSE_TOOLTIPS 1
42147 if test "$wxUSE_TREEBOOK" = "yes"; then
42148 cat >>confdefs.h
<<\_ACEOF
42149 #define wxUSE_TREEBOOK 1
42155 if test "$wxUSE_TREECTRL" = "yes"; then
42156 if test "$wxUSE_IMAGLIST" = "yes"; then
42157 cat >>confdefs.h
<<\_ACEOF
42158 #define wxUSE_TREECTRL 1
42162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
42164 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42165 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42169 if test "$wxUSE_POPUPWIN" = "yes"; then
42170 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42171 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42172 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42174 if test "$wxUSE_PM" = 1; then
42175 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42176 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42178 cat >>confdefs.h
<<\_ACEOF
42179 #define wxUSE_POPUPWIN 1
42182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
42189 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42190 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42191 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42192 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42194 cat >>confdefs.h
<<\_ACEOF
42195 #define wxUSE_DIALUP_MANAGER 1
42198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
42202 if test "$wxUSE_TIPWINDOW" = "yes"; then
42203 if test "$wxUSE_PM" = 1; then
42204 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42205 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42207 cat >>confdefs.h
<<\_ACEOF
42208 #define wxUSE_TIPWINDOW 1
42214 if test "$USES_CONTROLS" = 1; then
42215 cat >>confdefs.h
<<\_ACEOF
42216 #define wxUSE_CONTROLS 1
42222 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42223 cat >>confdefs.h
<<\_ACEOF
42224 #define wxUSE_ACCESSIBILITY 1
42227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
42230 if test "$wxUSE_DC_CACHEING" = "yes"; then
42231 cat >>confdefs.h
<<\_ACEOF
42232 #define wxUSE_DC_CACHEING 1
42237 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42238 cat >>confdefs.h
<<\_ACEOF
42239 #define wxUSE_DRAGIMAGE 1
42242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
42245 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42246 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42247 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42248 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42250 cat >>confdefs.h
<<\_ACEOF
42251 #define wxUSE_EXCEPTIONS 1
42254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
42259 if test "$wxUSE_HTML" = "yes"; then
42260 cat >>confdefs.h
<<\_ACEOF
42261 #define wxUSE_HTML 1
42265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42266 if test "$wxUSE_MAC" = 1; then
42267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
42270 if test "$wxUSE_WEBKIT" = "yes"; then
42271 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42272 old_CPPFLAGS
="$CPPFLAGS"
42273 CPPFLAGS
="$CPPFLAGS -x objective-c++"
42274 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42275 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42276 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 cat >conftest.
$ac_ext <<_ACEOF
42282 cat confdefs.h
>>conftest.
$ac_ext
42283 cat >>conftest.
$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42285 #include <Carbon/Carbon.h>
42287 #include <WebKit/HIWebView.h>
42289 rm -f conftest.
$ac_objext
42290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42291 (eval $ac_compile) 2>conftest.er1
42293 grep -v '^ *+' conftest.er1
>conftest.err
42295 cat conftest.err
>&5
42296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42297 (exit $ac_status); } &&
42298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42300 (eval $ac_try) 2>&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); }; } &&
42304 { ac_try
='test -s conftest.$ac_objext'
42305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42306 (eval $ac_try) 2>&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); }; }; then
42310 ac_cv_header_WebKit_HIWebView_h
=yes
42312 echo "$as_me: failed program was:" >&5
42313 sed 's/^/| /' conftest.
$ac_ext >&5
42315 ac_cv_header_WebKit_HIWebView_h
=no
42317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42319 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42320 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42321 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42323 cat >>confdefs.h
<<\_ACEOF
42324 #define wxUSE_WEBKIT 1
42327 WEBKIT_LINK
="-framework WebKit"
42331 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42332 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42338 CPPFLAGS
="$old_CPPFLAGS"
42339 elif test "$wxUSE_COCOA" = 1; then
42340 cat >>confdefs.h
<<\_ACEOF
42341 #define wxUSE_WEBKIT 1
42350 if test "$wxUSE_XRC" = "yes"; then
42351 if test "$wxUSE_XML" != "yes"; then
42352 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42353 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42356 cat >>confdefs.h
<<\_ACEOF
42357 #define wxUSE_XRC 1
42361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
42365 if test "$wxUSE_MENUS" = "yes"; then
42366 cat >>confdefs.h
<<\_ACEOF
42367 #define wxUSE_MENUS 1
42370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
42373 if test "$wxUSE_METAFILE" = "yes"; then
42374 cat >>confdefs.h
<<\_ACEOF
42375 #define wxUSE_METAFILE 1
42380 if test "$wxUSE_MIMETYPE" = "yes"; then
42381 cat >>confdefs.h
<<\_ACEOF
42382 #define wxUSE_MIMETYPE 1
42387 if test "$wxUSE_MINIFRAME" = "yes"; then
42388 cat >>confdefs.h
<<\_ACEOF
42389 #define wxUSE_MINIFRAME 1
42392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
42395 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42396 cat >>confdefs.h
<<\_ACEOF
42397 #define wxUSE_SYSTEM_OPTIONS 1
42400 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42401 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
42407 if test "$wxUSE_VALIDATORS" = "yes"; then
42408 cat >>confdefs.h
<<\_ACEOF
42409 #define wxUSE_VALIDATORS 1
42412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
42415 if test "$wxUSE_PALETTE" = "yes" ; then
42416 cat >>confdefs.h
<<\_ACEOF
42417 #define wxUSE_PALETTE 1
42422 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42423 LIBS
=" -lunicows $LIBS"
42427 if test "$wxUSE_RICHTEXT" = "yes"; then
42428 cat >>confdefs.h
<<\_ACEOF
42429 #define wxUSE_RICHTEXT 1
42433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
42437 if test "$wxUSE_IMAGE" = "yes" ; then
42438 cat >>confdefs.h
<<\_ACEOF
42439 #define wxUSE_IMAGE 1
42443 if test "$wxUSE_GIF" = "yes" ; then
42444 cat >>confdefs.h
<<\_ACEOF
42445 #define wxUSE_GIF 1
42450 if test "$wxUSE_PCX" = "yes" ; then
42451 cat >>confdefs.h
<<\_ACEOF
42452 #define wxUSE_PCX 1
42457 if test "$wxUSE_IFF" = "yes" ; then
42458 cat >>confdefs.h
<<\_ACEOF
42459 #define wxUSE_IFF 1
42464 if test "$wxUSE_PNM" = "yes" ; then
42465 cat >>confdefs.h
<<\_ACEOF
42466 #define wxUSE_PNM 1
42471 if test "$wxUSE_XPM" = "yes" ; then
42472 cat >>confdefs.h
<<\_ACEOF
42473 #define wxUSE_XPM 1
42478 if test "$wxUSE_ICO_CUR" = "yes" ; then
42479 cat >>confdefs.h
<<\_ACEOF
42480 #define wxUSE_ICO_CUR 1
42487 if test "$wxUSE_CHOICEDLG" = "yes"; then
42488 cat >>confdefs.h
<<\_ACEOF
42489 #define wxUSE_CHOICEDLG 1
42494 if test "$wxUSE_COLOURDLG" = "yes"; then
42495 cat >>confdefs.h
<<\_ACEOF
42496 #define wxUSE_COLOURDLG 1
42501 if test "$wxUSE_FILEDLG" = "yes"; then
42502 cat >>confdefs.h
<<\_ACEOF
42503 #define wxUSE_FILEDLG 1
42508 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42509 cat >>confdefs.h
<<\_ACEOF
42510 #define wxUSE_FINDREPLDLG 1
42515 if test "$wxUSE_FONTDLG" = "yes"; then
42516 cat >>confdefs.h
<<\_ACEOF
42517 #define wxUSE_FONTDLG 1
42522 if test "$wxUSE_DIRDLG" = "yes"; then
42523 if test "$wxUSE_TREECTRL" != "yes"; then
42524 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42525 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42527 cat >>confdefs.h
<<\_ACEOF
42528 #define wxUSE_DIRDLG 1
42534 if test "$wxUSE_MSGDLG" = "yes"; then
42535 cat >>confdefs.h
<<\_ACEOF
42536 #define wxUSE_MSGDLG 1
42541 if test "$wxUSE_NUMBERDLG" = "yes"; then
42542 cat >>confdefs.h
<<\_ACEOF
42543 #define wxUSE_NUMBERDLG 1
42548 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42549 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42550 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42551 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42553 cat >>confdefs.h
<<\_ACEOF
42554 #define wxUSE_PROGRESSDLG 1
42560 if test "$wxUSE_SPLASH" = "yes"; then
42561 cat >>confdefs.h
<<\_ACEOF
42562 #define wxUSE_SPLASH 1
42565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
42568 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42569 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42570 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42571 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42573 cat >>confdefs.h
<<\_ACEOF
42574 #define wxUSE_STARTUP_TIPS 1
42580 if test "$wxUSE_TEXTDLG" = "yes"; then
42581 cat >>confdefs.h
<<\_ACEOF
42582 #define wxUSE_TEXTDLG 1
42587 if test "$wxUSE_WIZARDDLG" = "yes"; then
42588 cat >>confdefs.h
<<\_ACEOF
42589 #define wxUSE_WIZARDDLG 1
42592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42596 if test "$wxUSE_MEDIACTRL" = "yes"; then
42597 if test "$wxUSE_GTK" = 1; then
42598 wxUSE_GSTREAMER
="yes"
42603 if test -z "$PKG_CONFIG"; then
42604 # Extract the first word of "pkg-config", so it can be a program name with args.
42605 set dummy pkg
-config; ac_word
=$2
42606 echo "$as_me:$LINENO: checking for $ac_word" >&5
42607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42609 echo $ECHO_N "(cached) $ECHO_C" >&6
42611 case $PKG_CONFIG in
42613 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42617 for as_dir
in $PATH
42620 test -z "$as_dir" && as_dir
=.
42621 for ac_exec_ext
in '' $ac_executable_extensions; do
42622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42623 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42630 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42634 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42636 if test -n "$PKG_CONFIG"; then
42637 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42638 echo "${ECHO_T}$PKG_CONFIG" >&6
42640 echo "$as_me:$LINENO: result: no" >&5
42641 echo "${ECHO_T}no" >&6
42646 if test "$PKG_CONFIG" = "no" ; then
42647 echo "*** The pkg-config script could not be found. Make sure it is"
42648 echo "*** in your path, or set the PKG_CONFIG environment variable"
42649 echo "*** to the full path to pkg-config."
42650 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42652 PKG_CONFIG_MIN_VERSION
=0.9.0
42653 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42654 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42655 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42657 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42658 echo "$as_me:$LINENO: result: yes" >&5
42659 echo "${ECHO_T}yes" >&6
42662 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42663 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42664 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42665 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42666 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42668 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42669 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42670 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42671 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42672 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42674 GSTREAMER_CFLAGS
=""
42676 ## If we have a custom action on failure, don't print errors, but
42677 ## do set a variable so people can do so.
42678 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42685 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42686 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42690 if test $succeeded = yes; then
42692 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42693 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42697 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42698 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42699 wxUSE_GSTREAMER
="no"
42707 if test "x$GST_INSPECT" == "x"; then
42708 # Extract the first word of "gst-inspect", so it can be a program name with args.
42709 set dummy gst
-inspect; ac_word
=$2
42710 echo "$as_me:$LINENO: checking for $ac_word" >&5
42711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42712 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42713 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 if test -n "$GST_INSPECT"; then
42716 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42719 for as_dir
in $PATH
42722 test -z "$as_dir" && as_dir
=.
42723 for ac_exec_ext
in '' $ac_executable_extensions; do
42724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42725 ac_cv_prog_GST_INSPECT
="gst-inspect"
42726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42734 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42735 if test -n "$GST_INSPECT"; then
42736 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42737 echo "${ECHO_T}$GST_INSPECT" >&6
42739 echo "$as_me:$LINENO: result: no" >&5
42740 echo "${ECHO_T}no" >&6
42745 if test "x$GST_INSPECT" != "x"; then
42746 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42747 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42748 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42749 echo "$as_me:$LINENO: result: found." >&5
42750 echo "${ECHO_T}found." >&6
42753 echo "$as_me:$LINENO: result: not found." >&5
42754 echo "${ECHO_T}not found." >&6
42756 wxUSE_GSTREAMER
="no"
42757 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42758 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42764 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42765 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42766 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42767 echo $ECHO_N "(cached) $ECHO_C" >&6
42769 cat >conftest.
$ac_ext <<_ACEOF
42772 cat confdefs.h
>>conftest.
$ac_ext
42773 cat >>conftest.
$ac_ext <<_ACEOF
42774 /* end confdefs.h. */
42775 #include <gst/gst.h>
42777 #include <gst/xoverlay/xoverlay.h>
42779 rm -f conftest.
$ac_objext
42780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42781 (eval $ac_compile) 2>conftest.er1
42783 grep -v '^ *+' conftest.er1
>conftest.err
42785 cat conftest.err
>&5
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); } &&
42788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42790 (eval $ac_try) 2>&5
42792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793 (exit $ac_status); }; } &&
42794 { ac_try
='test -s conftest.$ac_objext'
42795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796 (eval $ac_try) 2>&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; }; then
42800 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42802 echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.
$ac_ext >&5
42805 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42809 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42810 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42811 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42815 wxUSE_GSTREAMER
="no"
42816 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42817 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42823 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42824 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42827 for ac_dir
in $SEARCH_LIB;
42829 for ac_extension
in a so sl dylib dll.a
; do
42830 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42831 ac_find_libraries
=$ac_dir
42838 if test "$ac_find_libraries" = "" ; then
42839 echo "$as_me:$LINENO: result: no" >&5
42840 echo "${ECHO_T}no" >&6
42841 wxUSE_GSTREAMER
="no"
42843 echo "$as_me:$LINENO: result: yes" >&5
42844 echo "${ECHO_T}yes" >&6
42847 if test "$wxUSE_GSTREAMER" = "yes"; then
42848 cat >>confdefs.h
<<\_ACEOF
42849 #define wxUSE_GSTREAMER 1
42852 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42853 echo "${ECHO_T}GStreamer detection successful" >&6
42856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42857 cat >>confdefs.h
<<\_ACEOF
42858 #define wxUSE_MEDIACTRL 1
42864 if test "$cross_compiling" = "yes"; then
42867 OSINFO
=`uname -s -r -m`
42868 OSINFO
="\"$OSINFO\""
42871 cat >>confdefs.h
<<_ACEOF
42872 #define WXWIN_OS_DESCRIPTION $OSINFO
42877 if test "x$prefix" != "xNONE"; then
42880 wxPREFIX
=$ac_default_prefix
42883 cat >>confdefs.h
<<_ACEOF
42884 #define wxINSTALL_PREFIX "$wxPREFIX"
42890 CORE_BASE_LIBS
="net base"
42891 CORE_GUI_LIBS
="adv core"
42893 if test "$wxUSE_XML" = "yes" ; then
42894 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42896 if test "$wxUSE_ODBC" != "no" ; then
42897 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42898 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42900 if test "$wxUSE_HTML" = "yes" ; then
42901 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42903 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42904 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42906 if test "$wxUSE_XRC" = "yes" ; then
42907 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42910 if test "$wxUSE_GUI" != "yes"; then
42921 if test "$wxUSE_MAC" = 1 ; then
42922 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42923 if test "$USE_DARWIN" = 1; then
42924 LDFLAGS
="$LDFLAGS -framework QuickTime"
42926 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
42929 if test "$USE_DARWIN" = 1; then
42930 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42932 LDFLAGS
="$LDFLAGS -lCarbonLib"
42935 if test "$wxUSE_COCOA" = 1 ; then
42936 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
42937 if test "$wxUSE_MEDIACTRL" = "yes"; then
42938 LDFLAGS
="$LDFLAGS -framework QuickTime"
42941 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42942 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42946 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42954 echo "$as_me:$LINENO: checking for $ac_func" >&5
42955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42956 if eval "test \"\${$as_ac_var+set}\" = set"; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42959 cat >conftest.
$ac_ext <<_ACEOF
42962 cat confdefs.h
>>conftest.
$ac_ext
42963 cat >>conftest.
$ac_ext <<_ACEOF
42964 /* end confdefs.h. */
42965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42967 #define $ac_func innocuous_$ac_func
42969 /* System header to define __stub macros and hopefully few prototypes,
42970 which can conflict with char $ac_func (); below.
42971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42972 <limits.h> exists even on freestanding compilers. */
42975 # include <limits.h>
42977 # include <assert.h>
42982 /* Override any gcc2 internal prototype to avoid an error. */
42987 /* We use char because int might match the return type of a gcc2
42988 builtin and then its argument prototype would still apply. */
42990 /* The GNU C library defines this for functions which it implements
42991 to always fail with ENOSYS. Some functions are actually named
42992 something starting with __ and the normal name is an alias. */
42993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42996 char (*f) () = $ac_func;
43005 return f != $ac_func;
43010 rm -f conftest.
$ac_objext conftest
$ac_exeext
43011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43012 (eval $ac_link) 2>conftest.er1
43014 grep -v '^ *+' conftest.er1
>conftest.err
43016 cat conftest.err
>&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); } &&
43019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43021 (eval $ac_try) 2>&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); }; } &&
43025 { ac_try
='test -s conftest$ac_exeext'
43026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43027 (eval $ac_try) 2>&5
43029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43030 (exit $ac_status); }; }; then
43031 eval "$as_ac_var=yes"
43033 echo "$as_me: failed program was:" >&5
43034 sed 's/^/| /' conftest.
$ac_ext >&5
43036 eval "$as_ac_var=no"
43038 rm -f conftest.err conftest.
$ac_objext \
43039 conftest
$ac_exeext conftest.
$ac_ext
43041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43043 if test `eval echo '${'$as_ac_var'}'` = yes; then
43044 cat >>confdefs.h
<<_ACEOF
43045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43052 for ac_func
in floor
43054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43055 echo "$as_me:$LINENO: checking for $ac_func" >&5
43056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43057 if eval "test \"\${$as_ac_var+set}\" = set"; then
43058 echo $ECHO_N "(cached) $ECHO_C" >&6
43060 cat >conftest.
$ac_ext <<_ACEOF
43063 cat confdefs.h
>>conftest.
$ac_ext
43064 cat >>conftest.
$ac_ext <<_ACEOF
43065 /* end confdefs.h. */
43066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43068 #define $ac_func innocuous_$ac_func
43070 /* System header to define __stub macros and hopefully few prototypes,
43071 which can conflict with char $ac_func (); below.
43072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43073 <limits.h> exists even on freestanding compilers. */
43076 # include <limits.h>
43078 # include <assert.h>
43083 /* Override any gcc2 internal prototype to avoid an error. */
43088 /* We use char because int might match the return type of a gcc2
43089 builtin and then its argument prototype would still apply. */
43091 /* The GNU C library defines this for functions which it implements
43092 to always fail with ENOSYS. Some functions are actually named
43093 something starting with __ and the normal name is an alias. */
43094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43097 char (*f) () = $ac_func;
43106 return f != $ac_func;
43111 rm -f conftest.
$ac_objext conftest
$ac_exeext
43112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43113 (eval $ac_link) 2>conftest.er1
43115 grep -v '^ *+' conftest.er1
>conftest.err
43117 cat conftest.err
>&5
43118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119 (exit $ac_status); } &&
43120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43122 (eval $ac_try) 2>&5
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); }; } &&
43126 { ac_try
='test -s conftest$ac_exeext'
43127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43128 (eval $ac_try) 2>&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); }; }; then
43132 eval "$as_ac_var=yes"
43134 echo "$as_me: failed program was:" >&5
43135 sed 's/^/| /' conftest.
$ac_ext >&5
43137 eval "$as_ac_var=no"
43139 rm -f conftest.err conftest.
$ac_objext \
43140 conftest
$ac_exeext conftest.
$ac_ext
43142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43144 if test `eval echo '${'$as_ac_var'}'` = yes; then
43145 cat >>confdefs.h
<<_ACEOF
43146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43152 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43153 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43154 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43155 echo "$as_me:$LINENO: result: yes" >&5
43156 echo "${ECHO_T}yes" >&6
43158 echo "$as_me:$LINENO: result: no" >&5
43159 echo "${ECHO_T}no" >&6
43161 # use different functions to avoid configure caching
43167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43168 echo "$as_me:$LINENO: checking for $ac_func" >&5
43169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43170 if eval "test \"\${$as_ac_var+set}\" = set"; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43173 cat >conftest.
$ac_ext <<_ACEOF
43176 cat confdefs.h
>>conftest.
$ac_ext
43177 cat >>conftest.
$ac_ext <<_ACEOF
43178 /* end confdefs.h. */
43179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43181 #define $ac_func innocuous_$ac_func
43183 /* System header to define __stub macros and hopefully few prototypes,
43184 which can conflict with char $ac_func (); below.
43185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43186 <limits.h> exists even on freestanding compilers. */
43189 # include <limits.h>
43191 # include <assert.h>
43196 /* Override any gcc2 internal prototype to avoid an error. */
43201 /* We use char because int might match the return type of a gcc2
43202 builtin and then its argument prototype would still apply. */
43204 /* The GNU C library defines this for functions which it implements
43205 to always fail with ENOSYS. Some functions are actually named
43206 something starting with __ and the normal name is an alias. */
43207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43210 char (*f) () = $ac_func;
43219 return f != $ac_func;
43224 rm -f conftest.
$ac_objext conftest
$ac_exeext
43225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43226 (eval $ac_link) 2>conftest.er1
43228 grep -v '^ *+' conftest.er1
>conftest.err
43230 cat conftest.err
>&5
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); } &&
43233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; } &&
43239 { ac_try
='test -s conftest$ac_exeext'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; }; then
43245 eval "$as_ac_var=yes"
43247 echo "$as_me: failed program was:" >&5
43248 sed 's/^/| /' conftest.
$ac_ext >&5
43250 eval "$as_ac_var=no"
43252 rm -f conftest.err conftest.
$ac_objext \
43253 conftest
$ac_exeext conftest.
$ac_ext
43255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43257 if test `eval echo '${'$as_ac_var'}'` = yes; then
43258 cat >>confdefs.h
<<_ACEOF
43259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43266 for ac_func
in ceil
43268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 echo "$as_me:$LINENO: checking for $ac_func" >&5
43270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43271 if eval "test \"\${$as_ac_var+set}\" = set"; then
43272 echo $ECHO_N "(cached) $ECHO_C" >&6
43274 cat >conftest.
$ac_ext <<_ACEOF
43277 cat confdefs.h
>>conftest.
$ac_ext
43278 cat >>conftest.
$ac_ext <<_ACEOF
43279 /* end confdefs.h. */
43280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43282 #define $ac_func innocuous_$ac_func
43284 /* System header to define __stub macros and hopefully few prototypes,
43285 which can conflict with char $ac_func (); below.
43286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43287 <limits.h> exists even on freestanding compilers. */
43290 # include <limits.h>
43292 # include <assert.h>
43297 /* Override any gcc2 internal prototype to avoid an error. */
43302 /* We use char because int might match the return type of a gcc2
43303 builtin and then its argument prototype would still apply. */
43305 /* The GNU C library defines this for functions which it implements
43306 to always fail with ENOSYS. Some functions are actually named
43307 something starting with __ and the normal name is an alias. */
43308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43311 char (*f) () = $ac_func;
43320 return f != $ac_func;
43325 rm -f conftest.
$ac_objext conftest
$ac_exeext
43326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43327 (eval $ac_link) 2>conftest.er1
43329 grep -v '^ *+' conftest.er1
>conftest.err
43331 cat conftest.err
>&5
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); } &&
43334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43336 (eval $ac_try) 2>&5
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); }; } &&
43340 { ac_try
='test -s conftest$ac_exeext'
43341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43342 (eval $ac_try) 2>&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); }; }; then
43346 eval "$as_ac_var=yes"
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.
$ac_ext >&5
43351 eval "$as_ac_var=no"
43353 rm -f conftest.err conftest.
$ac_objext \
43354 conftest
$ac_exeext conftest.
$ac_ext
43356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43358 if test `eval echo '${'$as_ac_var'}'` = yes; then
43359 cat >>confdefs.h
<<_ACEOF
43360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43366 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43367 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43368 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43369 echo "$as_me:$LINENO: result: yes" >&5
43370 echo "${ECHO_T}yes" >&6
43372 echo "$as_me:$LINENO: result: no" >&5
43373 echo "${ECHO_T}no" >&6
43374 # not sure we should warn the user, crash, etc.
43378 if test "$wxUSE_GUI" = "yes"; then
43381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43382 dynamic erase event exec font image minimal mobile \
43383 mobile/wxedit mobile/styles propsize render \
43384 richedit rotate shaped vscroll widgets"
43386 if test "$wxUSE_MONOLITHIC" != "yes"; then
43387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
43389 if test "$TOOLKIT" = "MSW"; then
43390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
43391 if test "$wxUSE_UNIVERSAL" != "yes"; then
43392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43395 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
43399 SAMPLES_SUBDIRS
="console"
43403 if test "x$INTELCC" = "xyes" ; then
43404 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
43405 elif test "$GCC" = yes ; then
43406 CWARNINGS
="-Wall -Wundef"
43409 if test "x$INTELCXX" = "xyes" ; then
43410 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
43411 elif test "$GXX" = yes ; then
43412 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
43416 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
43417 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
43420 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $CPPFLAGS \
43421 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43422 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE`
43424 C_AND_CXX_FLAGS
="$DEBUG_FLAG $PROFILE_FLAG $OPTIMISE_FLAG"
43425 CFLAGS
=`echo $WXCONFIG_CFLAGS $CFLAGS $CWARNINGS $C_AND_CXX_FLAGS`
43426 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXFLAGS $C_AND_CXX_FLAGS`
43428 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
43431 if test "x$MWCC" = "xyes"; then
43433 CC
="$CC -cwd source -I-"
43434 CXX
="$CXX -cwd source -I-"
43439 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43440 EXTRALIBS_XML
="$EXPAT_LINK"
43441 EXTRALIBS_HTML
="$MSPACK_LINK"
43442 EXTRALIBS_ODBC
="$ODBC_LINK"
43443 if test "$wxUSE_GUI" = "yes"; then
43444 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43446 if test "$wxUSE_OPENGL" = "yes"; then
43447 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
43450 LDFLAGS
="$LDFLAGS $PROFILE_FLAG"
43452 WXCONFIG_LIBS
="$LIBS"
43454 if test "$wxUSE_REGEX" = "builtin" ; then
43455 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43457 if test "$wxUSE_EXPAT" = "builtin" ; then
43458 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
43460 if test "$wxUSE_ODBC" = "builtin" ; then
43461 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
43463 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43464 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
43466 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43467 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
43469 if test "$wxUSE_LIBPNG" = "builtin" ; then
43470 wxconfig_3rdparty
="png $wxconfig_3rdparty"
43472 if test "$wxUSE_ZLIB" = "builtin" ; then
43473 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
43476 for i
in $wxconfig_3rdparty ; do
43477 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
43481 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43495 if test $wxUSE_MONOLITHIC = "yes" ; then
43501 if test $wxUSE_PLUGINS = "yes" ; then
43507 if test $wxUSE_ODBC != "no" ; then
43513 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43519 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43547 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43558 TOOLKIT_USER
="GTK+"
43559 if test "$WXGTK20" = 1; then
43560 TOOLKIT_USER
="$TOOLKIT_USER 2"
43565 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
43569 if test "$wxUSE_WINE" = "yes"; then
43570 BAKEFILE_FORCE_PLATFORM
=win32
43576 if test "x$BAKEFILE_HOST" = "x"; then
43577 BAKEFILE_HOST
="${host}"
43580 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43582 if test -n "$ac_tool_prefix"; then
43583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43584 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
43585 echo "$as_me:$LINENO: checking for $ac_word" >&5
43586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43587 if test "${ac_cv_prog_RANLIB+set}" = set; then
43588 echo $ECHO_N "(cached) $ECHO_C" >&6
43590 if test -n "$RANLIB"; then
43591 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43594 for as_dir
in $PATH
43597 test -z "$as_dir" && as_dir
=.
43598 for ac_exec_ext
in '' $ac_executable_extensions; do
43599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43600 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
43601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43609 RANLIB
=$ac_cv_prog_RANLIB
43610 if test -n "$RANLIB"; then
43611 echo "$as_me:$LINENO: result: $RANLIB" >&5
43612 echo "${ECHO_T}$RANLIB" >&6
43614 echo "$as_me:$LINENO: result: no" >&5
43615 echo "${ECHO_T}no" >&6
43619 if test -z "$ac_cv_prog_RANLIB"; then
43620 ac_ct_RANLIB
=$RANLIB
43621 # Extract the first word of "ranlib", so it can be a program name with args.
43622 set dummy ranlib
; ac_word
=$2
43623 echo "$as_me:$LINENO: checking for $ac_word" >&5
43624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43626 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 if test -n "$ac_ct_RANLIB"; then
43629 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
43631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43632 for as_dir
in $PATH
43635 test -z "$as_dir" && as_dir
=.
43636 for ac_exec_ext
in '' $ac_executable_extensions; do
43637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43638 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43645 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43648 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43649 if test -n "$ac_ct_RANLIB"; then
43650 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43651 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43653 echo "$as_me:$LINENO: result: no" >&5
43654 echo "${ECHO_T}no" >&6
43657 RANLIB
=$ac_ct_RANLIB
43659 RANLIB
="$ac_cv_prog_RANLIB"
43662 # Find a good install program. We prefer a C program (faster),
43663 # so one script is as good as another. But avoid the broken or
43664 # incompatible versions:
43665 # SysV /etc/install, /usr/sbin/install
43666 # SunOS /usr/etc/install
43667 # IRIX /sbin/install
43669 # AmigaOS /C/install, which installs bootblocks on floppy discs
43670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43673 # OS/2's system install, which has a completely different semantic
43674 # ./install, which can be erroneously created by make from ./install.sh.
43675 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43677 if test -z "$INSTALL"; then
43678 if test "${ac_cv_path_install+set}" = set; then
43679 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43682 for as_dir
in $PATH
43685 test -z "$as_dir" && as_dir
=.
43686 # Account for people who put trailing slashes in PATH elements.
43688 .
/ | .
// | /cC
/* | \
43689 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43690 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43693 # OSF1 and SCO ODT 3.0 have their own names for install.
43694 # Don't use installbsd from OSF since it installs stuff as root
43696 for ac_prog
in ginstall scoinst
install; do
43697 for ac_exec_ext
in '' $ac_executable_extensions; do
43698 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43699 if test $ac_prog = install &&
43700 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43701 # AIX install. It has an incompatible calling convention.
43703 elif test $ac_prog = install &&
43704 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43705 # program-specific install script used by HP pwplus--don't use.
43708 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43720 if test "${ac_cv_path_install+set}" = set; then
43721 INSTALL
=$ac_cv_path_install
43723 # As a last resort, use the slow shell script. We don't cache a
43724 # path for INSTALL within a source directory, because that will
43725 # break other packages using the cache if that directory is
43726 # removed, or if the path is relative.
43727 INSTALL
=$ac_install_sh
43730 echo "$as_me:$LINENO: result: $INSTALL" >&5
43731 echo "${ECHO_T}$INSTALL" >&6
43733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43734 # It thinks the first close brace ends the variable substitution.
43735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43739 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43741 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43742 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43744 if test "$LN_S" = "ln -s"; then
43745 echo "$as_me:$LINENO: result: yes" >&5
43746 echo "${ECHO_T}yes" >&6
43748 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43749 echo "${ECHO_T}no, using $LN_S" >&6
43753 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43754 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43755 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43756 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43757 echo $ECHO_N "(cached) $ECHO_C" >&6
43759 cat >conftest.
make <<\_ACEOF
43761 @
echo 'ac_maketemp="$(MAKE)"'
43763 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43764 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43765 if test -n "$ac_maketemp"; then
43766 eval ac_cv_prog_make_
${ac_make}_set
=yes
43768 eval ac_cv_prog_make_
${ac_make}_set
=no
43770 rm -f conftest.
make
43772 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43773 echo "$as_me:$LINENO: result: yes" >&5
43774 echo "${ECHO_T}yes" >&6
43777 echo "$as_me:$LINENO: result: no" >&5
43778 echo "${ECHO_T}no" >&6
43779 SET_MAKE
="MAKE=${MAKE-make}"
43784 if test -n "$ac_tool_prefix"; then
43785 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43786 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43787 echo "$as_me:$LINENO: checking for $ac_word" >&5
43788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43789 if test "${ac_cv_prog_AR+set}" = set; then
43790 echo $ECHO_N "(cached) $ECHO_C" >&6
43792 if test -n "$AR"; then
43793 ac_cv_prog_AR
="$AR" # Let the user override the test.
43795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43796 for as_dir
in $PATH
43799 test -z "$as_dir" && as_dir
=.
43800 for ac_exec_ext
in '' $ac_executable_extensions; do
43801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43802 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43812 if test -n "$AR"; then
43813 echo "$as_me:$LINENO: result: $AR" >&5
43814 echo "${ECHO_T}$AR" >&6
43816 echo "$as_me:$LINENO: result: no" >&5
43817 echo "${ECHO_T}no" >&6
43821 if test -z "$ac_cv_prog_AR"; then
43823 # Extract the first word of "ar", so it can be a program name with args.
43824 set dummy
ar; ac_word
=$2
43825 echo "$as_me:$LINENO: checking for $ac_word" >&5
43826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43828 echo $ECHO_N "(cached) $ECHO_C" >&6
43830 if test -n "$ac_ct_AR"; then
43831 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43834 for as_dir
in $PATH
43837 test -z "$as_dir" && as_dir
=.
43838 for ac_exec_ext
in '' $ac_executable_extensions; do
43839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43840 ac_cv_prog_ac_ct_AR
="ar"
43841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43847 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43850 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43851 if test -n "$ac_ct_AR"; then
43852 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43853 echo "${ECHO_T}$ac_ct_AR" >&6
43855 echo "$as_me:$LINENO: result: no" >&5
43856 echo "${ECHO_T}no" >&6
43861 AR
="$ac_cv_prog_AR"
43864 if test -n "$ac_tool_prefix"; then
43865 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43866 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43867 echo "$as_me:$LINENO: checking for $ac_word" >&5
43868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43869 if test "${ac_cv_prog_STRIP+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43872 if test -n "$STRIP"; then
43873 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43876 for as_dir
in $PATH
43879 test -z "$as_dir" && as_dir
=.
43880 for ac_exec_ext
in '' $ac_executable_extensions; do
43881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43882 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43891 STRIP
=$ac_cv_prog_STRIP
43892 if test -n "$STRIP"; then
43893 echo "$as_me:$LINENO: result: $STRIP" >&5
43894 echo "${ECHO_T}$STRIP" >&6
43896 echo "$as_me:$LINENO: result: no" >&5
43897 echo "${ECHO_T}no" >&6
43901 if test -z "$ac_cv_prog_STRIP"; then
43903 # Extract the first word of "strip", so it can be a program name with args.
43904 set dummy strip
; ac_word
=$2
43905 echo "$as_me:$LINENO: checking for $ac_word" >&5
43906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43907 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43908 echo $ECHO_N "(cached) $ECHO_C" >&6
43910 if test -n "$ac_ct_STRIP"; then
43911 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43914 for as_dir
in $PATH
43917 test -z "$as_dir" && as_dir
=.
43918 for ac_exec_ext
in '' $ac_executable_extensions; do
43919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43920 ac_cv_prog_ac_ct_STRIP
="strip"
43921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43927 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
43930 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
43931 if test -n "$ac_ct_STRIP"; then
43932 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43933 echo "${ECHO_T}$ac_ct_STRIP" >&6
43935 echo "$as_me:$LINENO: result: no" >&5
43936 echo "${ECHO_T}no" >&6
43941 STRIP
="$ac_cv_prog_STRIP"
43944 if test -n "$ac_tool_prefix"; then
43945 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43946 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
43947 echo "$as_me:$LINENO: checking for $ac_word" >&5
43948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43949 if test "${ac_cv_prog_NM+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43952 if test -n "$NM"; then
43953 ac_cv_prog_NM
="$NM" # Let the user override the test.
43955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43956 for as_dir
in $PATH
43959 test -z "$as_dir" && as_dir
=.
43960 for ac_exec_ext
in '' $ac_executable_extensions; do
43961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43962 ac_cv_prog_NM
="${ac_tool_prefix}nm"
43963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43972 if test -n "$NM"; then
43973 echo "$as_me:$LINENO: result: $NM" >&5
43974 echo "${ECHO_T}$NM" >&6
43976 echo "$as_me:$LINENO: result: no" >&5
43977 echo "${ECHO_T}no" >&6
43981 if test -z "$ac_cv_prog_NM"; then
43983 # Extract the first word of "nm", so it can be a program name with args.
43984 set dummy nm
; ac_word
=$2
43985 echo "$as_me:$LINENO: checking for $ac_word" >&5
43986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43987 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43988 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 if test -n "$ac_ct_NM"; then
43991 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
43993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43994 for as_dir
in $PATH
43997 test -z "$as_dir" && as_dir
=.
43998 for ac_exec_ext
in '' $ac_executable_extensions; do
43999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44000 ac_cv_prog_ac_ct_NM
="nm"
44001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44007 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
44010 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
44011 if test -n "$ac_ct_NM"; then
44012 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
44013 echo "${ECHO_T}$ac_ct_NM" >&6
44015 echo "$as_me:$LINENO: result: no" >&5
44016 echo "${ECHO_T}no" >&6
44021 NM
="$ac_cv_prog_NM"
44025 case ${BAKEFILE_HOST} in
44027 INSTALL_DIR
="mkdir -p"
44029 *) INSTALL_DIR
="$INSTALL -d"
44035 case ${BAKEFILE_HOST} in
44036 *-*-cygwin* | *-*-mingw32* )
44037 LDFLAGS_GUI
="-mwindows"
44043 echo "$as_me:$LINENO: checking if make is GNU make" >&5
44044 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
44045 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
44046 echo $ECHO_N "(cached) $ECHO_C" >&6
44049 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
44050 egrep -s GNU
> /dev
/null
); then
44051 bakefile_cv_prog_makeisgnu
="yes"
44053 bakefile_cv_prog_makeisgnu
="no"
44057 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
44058 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
44060 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44077 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44078 case "${BAKEFILE_HOST}" in
44085 *-pc-os2_emx | *-pc-os2-emx )
44095 powerpc
-apple-macos* )
44104 case "$BAKEFILE_FORCE_PLATFORM" in
44125 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44126 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44127 { (exit 1); exit 1; }; }
44142 # Check whether --enable-omf or --disable-omf was given.
44143 if test "${enable_omf+set}" = set; then
44144 enableval
="$enable_omf"
44145 bk_os2_use_omf
="$enableval"
44148 case "${BAKEFILE_HOST}" in
44150 if test "x$GCC" = "xyes"; then
44151 CFLAGS
="$CFLAGS -fno-common"
44152 CXXFLAGS
="$CXXFLAGS -fno-common"
44154 if test "x$XLCC" = "xyes"; then
44155 CFLAGS
="$CFLAGS -qnocommon"
44156 CXXFLAGS
="$CXXFLAGS -qnocommon"
44160 *-pc-os2_emx | *-pc-os2-emx )
44161 if test "x$bk_os2_use_omf" = "xyes" ; then
44164 LDFLAGS
="-Zomf $LDFLAGS"
44165 CFLAGS
="-Zomf $CFLAGS"
44166 CXXFLAGS
="-Zomf $CXXFLAGS"
44174 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
44180 SO_SUFFIX_MODULE
="so"
44185 DLLPREFIX_MODULE
=""
44189 case "${BAKEFILE_HOST}" in
44192 SO_SUFFIX_MODULE
="sl"
44196 SO_SUFFIX_MODULE
="a"
44200 SO_SUFFIX_MODULE
="dll"
44201 DLLIMP_SUFFIX
="dll.a"
44208 SO_SUFFIX_MODULE
="dll"
44209 DLLIMP_SUFFIX
="dll.a"
44219 *-pc-os2_emx | *-pc-os2-emx )
44221 SO_SUFFIX_MODULE
="dll"
44222 DLLIMP_SUFFIX
=$OS2_LIBEXT
44226 LIBEXT
=".$OS2_LIBEXT"
44231 SO_SUFFIX_MODULE
="bundle"
44235 if test "x$DLLIMP_SUFFIX" = "x" ; then
44236 DLLIMP_SUFFIX
="$SO_SUFFIX"
44251 if test "x$GCC" = "xyes"; then
44255 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
44256 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
44259 case "${BAKEFILE_HOST}" in
44261 if test "x$GCC" != "xyes"; then
44262 LDFLAGS
="$LDFLAGS -L/usr/lib"
44264 SHARED_LD_CC
="${CC} -b -o"
44265 SHARED_LD_CXX
="${CXX} -b -o"
44271 if test "x$GCC" != "xyes"; then
44272 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44273 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44274 if test "${bakefile_cv_prog_icc+set}" = set; then
44275 echo $ECHO_N "(cached) $ECHO_C" >&6
44278 cat >conftest.
$ac_ext <<_ACEOF
44281 cat confdefs.h
>>conftest.
$ac_ext
44282 cat >>conftest.
$ac_ext <<_ACEOF
44283 /* end confdefs.h. */
44289 #ifndef __INTEL_COMPILER
44297 rm -f conftest.
$ac_objext
44298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44299 (eval $ac_compile) 2>conftest.er1
44301 grep -v '^ *+' conftest.er1
>conftest.err
44303 cat conftest.err
>&5
44304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44305 (exit $ac_status); } &&
44306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44308 (eval $ac_try) 2>&5
44310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44311 (exit $ac_status); }; } &&
44312 { ac_try
='test -s conftest.$ac_objext'
44313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44314 (eval $ac_try) 2>&5
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); }; }; then
44318 bakefile_cv_prog_icc
=yes
44320 echo "$as_me: failed program was:" >&5
44321 sed 's/^/| /' conftest.
$ac_ext >&5
44323 bakefile_cv_prog_icc
=no
44326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44329 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44330 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44331 if test "$bakefile_cv_prog_icc" = "yes"; then
44338 if test "x$GCC" != xyes
; then
44339 SHARED_LD_CC
="${CC} -G -o"
44340 SHARED_LD_CXX
="${CXX} -G -o"
44348 cat <<EOF >shared-ld-sh
44350 #-----------------------------------------------------------------------------
44351 #-- Name: distrib/mac/shared-ld-sh
44352 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44353 #-- Author: Gilles Depeyrot
44354 #-- Copyright: (c) 2002 Gilles Depeyrot
44355 #-- Licence: any use permitted
44356 #-----------------------------------------------------------------------------
44361 linking_flag="-dynamiclib"
44362 ldargs="-r -keep_private_externs -nostdlib"
44364 while test ${D}# -gt 0; do
44371 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44372 # collect these options and values
44373 args="${D}{args} ${D}1 ${D}2"
44378 # collect these load args
44379 ldargs="${D}{ldargs} ${D}1"
44382 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44383 # collect these options
44384 args="${D}{args} ${D}1"
44387 -dynamiclib|-bundle)
44388 linking_flag="${D}1"
44392 echo "shared-ld: unhandled option '${D}1'"
44396 *.o | *.a | *.dylib)
44397 # collect object files
44398 objects="${D}{objects} ${D}1"
44402 echo "shared-ld: unhandled argument '${D}1'"
44413 # Link one module containing all the others
44415 if test ${D}{verbose} = 1; then
44416 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44418 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44422 # Link the shared library from the single module created, but only if the
44423 # previous command didn't fail:
44425 if test ${D}{status} = 0; then
44426 if test ${D}{verbose} = 1; then
44427 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44429 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44434 # Remove intermediate module
44436 rm -f master.${D}${D}.o
44441 chmod +x shared
-ld-sh
44443 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44444 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
44447 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44448 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44449 if test "${bakefile_cv_gcc31+set}" = set; then
44450 echo $ECHO_N "(cached) $ECHO_C" >&6
44453 cat >conftest.
$ac_ext <<_ACEOF
44456 cat confdefs.h
>>conftest.
$ac_ext
44457 cat >>conftest.
$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44464 #if (__GNUC__ < 3) || \
44465 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44473 rm -f conftest.
$ac_objext
44474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44475 (eval $ac_compile) 2>conftest.er1
44477 grep -v '^ *+' conftest.er1
>conftest.err
44479 cat conftest.err
>&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); } &&
44482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; } &&
44488 { ac_try
='test -s conftest.$ac_objext'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; }; then
44495 bakefile_cv_gcc31
=yes
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.
$ac_ext >&5
44502 bakefile_cv_gcc31
=no
44506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44509 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44510 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44511 if test "$bakefile_cv_gcc31" = "no"; then
44512 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44513 SHARED_LD_CXX
="$SHARED_LD_CC"
44515 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44516 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44519 if test "x$GCC" == "xyes"; then
44520 PIC_FLAG
="-dynamic -fPIC"
44522 if test "x$XLCC" = "xyes"; then
44523 PIC_FLAG
="-dynamic -DPIC"
44528 if test "x$GCC" = "xyes"; then
44531 case "${BAKEFILE_HOST}" in
44533 LD_EXPFULL
="-Wl,-bexpfull"
44537 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
44538 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
44540 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44541 set dummy makeC
++SharedLib
; ac_word
=$2
44542 echo "$as_me:$LINENO: checking for $ac_word" >&5
44543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44544 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44545 echo $ECHO_N "(cached) $ECHO_C" >&6
44547 if test -n "$AIX_CXX_LD"; then
44548 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
44550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44551 for as_dir
in $PATH
44554 test -z "$as_dir" && as_dir
=.
44555 for ac_exec_ext
in '' $ac_executable_extensions; do
44556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44557 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
44558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44564 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
44567 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
44568 if test -n "$AIX_CXX_LD"; then
44569 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44570 echo "${ECHO_T}$AIX_CXX_LD" >&6
44572 echo "$as_me:$LINENO: result: no" >&5
44573 echo "${ECHO_T}no" >&6
44576 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
44577 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
44582 SHARED_LD_CC
="${LD} -nostart -o"
44583 SHARED_LD_CXX
="${LD} -nostart -o"
44587 if test "x$GCC" != "xyes"; then
44592 *-*-cygwin* | *-*-mingw32* )
44594 SHARED_LD_CC
="\$(CC) -shared -o"
44595 SHARED_LD_CXX
="\$(CXX) -shared -o"
44599 *-pc-os2_emx | *-pc-os2-emx )
44600 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44601 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44605 cat <<EOF >dllar.sh
44608 # dllar - a tool to build both a .dll and an .a file
44609 # from a set of object (.o) files for EMX/OS2.
44611 # Written by Andrew Zabolotny, bit@freya.etu.ru
44612 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44614 # This script will accept a set of files on the command line.
44615 # All the public symbols from the .o files will be exported into
44616 # a .DEF file, then linker will be run (through gcc) against them to
44617 # build a shared library consisting of all given .o files. All libraries
44618 # (.a) will be first decompressed into component .o files then act as
44619 # described above. You can optionally give a description (-d "description")
44620 # which will be put into .DLL. To see the list of accepted options (as well
44621 # as command-line format) simply run this program without options. The .DLL
44622 # is built to be imported by name (there is no guarantee that new versions
44623 # of the library you build will have same ordinals for same symbols).
44625 # dllar is free software; you can redistribute it and/or modify
44626 # it under the terms of the GNU General Public License as published by
44627 # the Free Software Foundation; either version 2, or (at your option)
44628 # any later version.
44630 # dllar is distributed in the hope that it will be useful,
44631 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44632 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44633 # GNU General Public License for more details.
44635 # You should have received a copy of the GNU General Public License
44636 # along with dllar; see the file COPYING. If not, write to the Free
44637 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44640 # To successfuly run this program you will need:
44641 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44642 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44644 # (used to build the .dll)
44646 # (used to create .def file from .o files)
44648 # (used to create .a file from .def file)
44649 # - GNU text utilites (cat, sort, uniq)
44650 # used to process emxexp output
44651 # - GNU file utilities (mv, rm)
44653 # - lxlite (optional, see flag below)
44654 # (used for general .dll cleanup)
44661 # basnam, variant of basename, which does _not_ remove the path, _iff_
44662 # second argument (suffix to remove) is given
44666 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44669 echo ${D}1 | sed 's/'${D}2'${D}//'
44672 echo "error in basnam ${D}*"
44678 # Cleanup temporary files and output
44681 for i in ${D}inputFiles ; do
44684 rm -rf \`basnam ${D}i !\`
44691 # Kill result in case of failure as there is just to many stupid make/nmake
44692 # things out there which doesn't do this.
44693 if [ ${D}# -eq 0 ]; then
44694 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44698 # Print usage and exit script with rc=1.
44700 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44701 echo ' [-name-mangler-script script.sh]'
44702 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44703 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44704 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44705 echo ' [*.o] [*.a]'
44706 echo '*> "output_file" should have no extension.'
44707 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44708 echo ' The import library name is derived from this and is set to "name".a,'
44709 echo ' unless overridden by -import'
44710 echo '*> "importlib_name" should have no extension.'
44711 echo ' If it has the .o, or .a extension, it is automatically removed.'
44712 echo ' This name is used as the import library name and may be longer and'
44713 echo ' more descriptive than the DLL name which has to follow the old '
44714 echo ' 8.3 convention of FAT.'
44715 echo '*> "script.sh may be given to override the output_file name by a'
44716 echo ' different name. It is mainly useful if the regular make process'
44717 echo ' of some package does not take into account OS/2 restriction of'
44718 echo ' DLL name lengths. It takes the importlib name as input and is'
44719 echo ' supposed to procude a shorter name as output. The script should'
44720 echo ' expect to get importlib_name without extension and should produce'
44721 echo ' a (max.) 8 letter name without extension.'
44722 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44723 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44724 echo ' These flags will be put at the start of GCC command line.'
44725 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44726 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44727 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44728 echo ' If the last character of a symbol is "*", all symbols beginning'
44729 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44730 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44731 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44732 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44733 echo ' C runtime DLLs.'
44734 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44735 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44736 echo ' unchanged to GCC at the end of command line.'
44737 echo '*> If you create a DLL from a library and you do not specify -o,'
44738 echo ' the basename for DLL and import library will be set to library name,'
44739 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44740 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44741 echo ' library will be renamed into gcc_s.a.'
44744 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44745 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44750 # Execute a command.
44751 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44752 # @Uses Whatever CleanUp() uses.
44758 if [ ${D}rcCmd -ne 0 ]; then
44759 echo "command failed, exit code="${D}rcCmd
44774 CFLAGS="-s -Zcrtdll"
44776 EXPORT_BY_ORDINALS=0
44781 case ${D}curDirS in
44785 curDirS=${D}{curDirS}"/"
44788 # Parse commandline
44791 while [ ${D}1 ]; do
44794 EXPORT_BY_ORDINALS=1;
44804 -name-mangler-script)
44825 exclude_symbols=${D}{exclude_symbols}${D}1" "
44829 library_flags=${D}{library_flags}${D}1" "
44848 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44851 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44852 if [ ${D}omfLinking -eq 1 ]; then
44853 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44855 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44860 if [ ${D}libsToLink -ne 0 ]; then
44861 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44863 for file in ${D}1 ; do
44864 if [ -f ${D}file ]; then
44865 inputFiles="${D}{inputFiles} ${D}file"
44869 if [ ${D}found -eq 0 ]; then
44870 echo "ERROR: No file(s) found: "${D}1
44877 done # iterate cmdline words
44880 if [ -z "${D}inputFiles" ]; then
44881 echo "dllar: no input files"
44885 # Now extract all .o files from .a files
44887 for file in ${D}inputFiles ; do
44898 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44903 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44905 if [ ${D}? -ne 0 ]; then
44906 echo "Failed to create subdirectory ./${D}dirname"
44910 # Append '!' to indicate archive
44911 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44912 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44915 for subfile in ${D}dirname/*.o* ; do
44916 if [ -f ${D}subfile ]; then
44918 if [ -s ${D}subfile ]; then
44919 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44920 newInputFiles="${D}newInputFiles ${D}subfile"
44924 if [ ${D}found -eq 0 ]; then
44925 echo "WARNING: there are no files in archive \\'${D}file\\'"
44929 newInputFiles="${D}{newInputFiles} ${D}file"
44933 inputFiles="${D}newInputFiles"
44935 # Output filename(s).
44937 if [ -z ${D}outFile ]; then
44939 set outFile ${D}inputFiles; outFile=${D}2
44942 # If it is an archive, remove the '!' and the '_%' suffixes
44943 case ${D}outFile in
44945 outFile=\`basnam ${D}outFile _%!\`
44950 case ${D}outFile in
44952 outFile=\`basnam ${D}outFile .dll\`
44955 outFile=\`basnam ${D}outFile .DLL\`
44958 outFile=\`basnam ${D}outFile .o\`
44961 outFile=\`basnam ${D}outFile .obj\`
44964 outFile=\`basnam ${D}outFile .a\`
44967 outFile=\`basnam ${D}outFile .lib\`
44972 case ${D}outimpFile in
44974 outimpFile=\`basnam ${D}outimpFile .a\`
44977 outimpFile=\`basnam ${D}outimpFile .lib\`
44982 if [ -z ${D}outimpFile ]; then
44983 outimpFile=${D}outFile
44985 defFile="${D}{outFile}.def"
44986 arcFile="${D}{outimpFile}.a"
44987 arcFile2="${D}{outimpFile}.lib"
44989 #create ${D}dllFile as something matching 8.3 restrictions,
44990 if [ -z ${D}renameScript ] ; then
44991 dllFile="${D}outFile"
44993 dllFile=\`${D}renameScript ${D}outimpFile\`
44996 if [ ${D}do_backup -ne 0 ] ; then
44997 if [ -f ${D}arcFile ] ; then
44998 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
45000 if [ -f ${D}arcFile2 ] ; then
45001 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
45005 # Extract public symbols from all the object files.
45006 tmpdefFile=${D}{defFile}_%
45007 rm -f ${D}tmpdefFile
45008 for file in ${D}inputFiles ; do
45013 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
45018 # Create the def file.
45020 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
45021 dllFile="${D}{dllFile}.dll"
45022 if [ ! -z ${D}description ]; then
45023 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
45025 echo "EXPORTS" >> ${D}defFile
45027 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
45028 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
45030 # Checks if the export is ok or not.
45031 for word in ${D}exclude_symbols; do
45032 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
45033 mv ${D}{tmpdefFile}% ${D}tmpdefFile
45037 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45038 sed "=" < ${D}tmpdefFile | \\
45042 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
45044 ' > ${D}{tmpdefFile}%
45045 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
45047 rm -f ${D}{tmpdefFile}%
45049 cat ${D}tmpdefFile >> ${D}defFile
45050 rm -f ${D}tmpdefFile
45052 # Do linking, create implib, and apply lxlite.
45054 for file in ${D}inputFiles ; do
45059 gccCmdl="${D}gccCmdl ${D}file"
45063 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45064 touch "${D}{outFile}.dll"
45066 doCommand "emximp -o ${D}arcFile ${D}defFile"
45067 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45069 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45072 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45074 doCommand "emxomf -s -l ${D}arcFile"
45084 powerpc
-apple-macos* | \
45085 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
45094 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45095 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45096 { (exit 1); exit 1; }; }
45099 if test "x$PIC_FLAG" != "x" ; then
45100 PIC_FLAG
="$PIC_FLAG -DPIC"
45103 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45104 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
45106 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45107 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
45126 case "${BAKEFILE_HOST}" in
45127 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
45128 SONAME_FLAG
="-Wl,-soname,"
45162 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45163 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45166 if test "x$GCC" = "xyes"; then
45168 case "${BAKEFILE_HOST}" in
45170 DEPSFLAG
="-no-cpp-precomp -MMD"
45176 echo "$as_me:$LINENO: result: gcc" >&5
45177 echo "${ECHO_T}gcc" >&6
45178 elif test "x$MWCC" = "xyes"; then
45181 echo "$as_me:$LINENO: result: mwcc" >&5
45182 echo "${ECHO_T}mwcc" >&6
45183 elif test "x$SUNCC" = "xyes"; then
45186 echo "$as_me:$LINENO: result: Sun cc" >&5
45187 echo "${ECHO_T}Sun cc" >&6
45188 elif test "x$SGICC" = "xyes"; then
45191 echo "$as_me:$LINENO: result: SGI cc" >&5
45192 echo "${ECHO_T}SGI cc" >&6
45193 elif test "x$HPCC" = "xyes"; then
45196 echo "$as_me:$LINENO: result: HP cc" >&5
45197 echo "${ECHO_T}HP cc" >&6
45198 elif test "x$COMPAQCC" = "xyes"; then
45201 echo "$as_me:$LINENO: result: Compaq cc" >&5
45202 echo "${ECHO_T}Compaq cc" >&6
45205 echo "$as_me:$LINENO: result: none" >&5
45206 echo "${ECHO_T}none" >&6
45209 if test $DEPS_TRACKING = 1 ; then
45215 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45216 # script. It is used to track C/C++ files dependencies in portable way.
45218 # Permission is given to use this file in any way.
45220 DEPSMODE=${DEPSMODE}
45222 DEPSFLAG="${DEPSFLAG}"
45224 mkdir -p ${D}DEPSDIR
45226 if test ${D}DEPSMODE = gcc ; then
45227 ${D}* ${D}{DEPSFLAG}
45229 if test ${D}{status} != 0 ; then
45232 # move created file to the location we want it in:
45233 while test ${D}# -gt 0; do
45247 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45248 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45249 if test -f ${D}depfile ; then
45250 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45253 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45254 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45255 if test ! -f ${D}depfile ; then
45256 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45257 depfile="${D}objfile.d"
45259 if test -f ${D}depfile ; then
45260 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45265 elif test ${D}DEPSMODE = mwcc ; then
45266 ${D}* || exit ${D}?
45267 # Run mwcc again with -MM and redirect into the dep file we want
45268 # NOTE: We can't use shift here because we need ${D}* to be valid
45270 for arg in ${D}* ; do
45271 if test "${D}prevarg" = "-o"; then
45284 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45286 elif test ${D}DEPSMODE = unixcc; then
45287 ${D}* || exit ${D}?
45288 # Run compiler again with deps flag and redirect into the dep file.
45289 # It doesn't work if the '-o FILE' option is used, but without it the
45290 # dependency file will contain the wrong name for the object. So it is
45291 # removed from the command line, and the dep file is fixed with sed.
45293 while test ${D}# -gt 0; do
45300 eval arg${D}#=\\${D}1
45301 cmd="${D}cmd \\${D}arg${D}#"
45306 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45320 case ${BAKEFILE_HOST} in
45321 *-*-cygwin* | *-*-mingw32* )
45322 if test -n "$ac_tool_prefix"; then
45323 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
45324 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
45325 echo "$as_me:$LINENO: checking for $ac_word" >&5
45326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45327 if test "${ac_cv_prog_WINDRES+set}" = set; then
45328 echo $ECHO_N "(cached) $ECHO_C" >&6
45330 if test -n "$WINDRES"; then
45331 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
45333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45334 for as_dir
in $PATH
45337 test -z "$as_dir" && as_dir
=.
45338 for ac_exec_ext
in '' $ac_executable_extensions; do
45339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45340 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
45341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45349 WINDRES
=$ac_cv_prog_WINDRES
45350 if test -n "$WINDRES"; then
45351 echo "$as_me:$LINENO: result: $WINDRES" >&5
45352 echo "${ECHO_T}$WINDRES" >&6
45354 echo "$as_me:$LINENO: result: no" >&5
45355 echo "${ECHO_T}no" >&6
45359 if test -z "$ac_cv_prog_WINDRES"; then
45360 ac_ct_WINDRES
=$WINDRES
45361 # Extract the first word of "windres", so it can be a program name with args.
45362 set dummy windres
; ac_word
=$2
45363 echo "$as_me:$LINENO: checking for $ac_word" >&5
45364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45365 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
45366 echo $ECHO_N "(cached) $ECHO_C" >&6
45368 if test -n "$ac_ct_WINDRES"; then
45369 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
45371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45372 for as_dir
in $PATH
45375 test -z "$as_dir" && as_dir
=.
45376 for ac_exec_ext
in '' $ac_executable_extensions; do
45377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45378 ac_cv_prog_ac_ct_WINDRES
="windres"
45379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45387 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
45388 if test -n "$ac_ct_WINDRES"; then
45389 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
45390 echo "${ECHO_T}$ac_ct_WINDRES" >&6
45392 echo "$as_me:$LINENO: result: no" >&5
45393 echo "${ECHO_T}no" >&6
45396 WINDRES
=$ac_ct_WINDRES
45398 WINDRES
="$ac_cv_prog_WINDRES"
45403 *-*-darwin* | powerpc
-apple-macos* )
45404 # Extract the first word of "Rez", so it can be a program name with args.
45405 set dummy Rez
; ac_word
=$2
45406 echo "$as_me:$LINENO: checking for $ac_word" >&5
45407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45408 if test "${ac_cv_prog_REZ+set}" = set; then
45409 echo $ECHO_N "(cached) $ECHO_C" >&6
45411 if test -n "$REZ"; then
45412 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
45414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45415 for as_dir
in $PATH
45418 test -z "$as_dir" && as_dir
=.
45419 for ac_exec_ext
in '' $ac_executable_extensions; do
45420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45421 ac_cv_prog_REZ
="Rez"
45422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45428 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
45431 REZ
=$ac_cv_prog_REZ
45432 if test -n "$REZ"; then
45433 echo "$as_me:$LINENO: result: $REZ" >&5
45434 echo "${ECHO_T}$REZ" >&6
45436 echo "$as_me:$LINENO: result: no" >&5
45437 echo "${ECHO_T}no" >&6
45440 # Extract the first word of "SetFile", so it can be a program name with args.
45441 set dummy SetFile
; ac_word
=$2
45442 echo "$as_me:$LINENO: checking for $ac_word" >&5
45443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45444 if test "${ac_cv_prog_SETFILE+set}" = set; then
45445 echo $ECHO_N "(cached) $ECHO_C" >&6
45447 if test -n "$SETFILE"; then
45448 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
45450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45451 for as_dir
in $PATH
45454 test -z "$as_dir" && as_dir
=.
45455 for ac_exec_ext
in '' $ac_executable_extensions; do
45456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45457 ac_cv_prog_SETFILE
="SetFile"
45458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45464 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
45467 SETFILE
=$ac_cv_prog_SETFILE
45468 if test -n "$SETFILE"; then
45469 echo "$as_me:$LINENO: result: $SETFILE" >&5
45470 echo "${ECHO_T}$SETFILE" >&6
45472 echo "$as_me:$LINENO: result: no" >&5
45473 echo "${ECHO_T}no" >&6
45484 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
45487 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
45491 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45492 if test "${enable_precomp_headers+set}" = set; then
45493 enableval
="$enable_precomp_headers"
45494 bk_use_pch
="$enableval"
45499 case ${BAKEFILE_HOST} in
45505 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45506 if test "x$GCC" = "xyes"; then
45507 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45508 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45509 cat >conftest.
$ac_ext <<_ACEOF
45512 cat confdefs.h
>>conftest.
$ac_ext
45513 cat >>conftest.
$ac_ext <<_ACEOF
45514 /* end confdefs.h. */
45520 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45521 #error "no pch support"
45524 #error "no pch support"
45526 #if (__GNUC__ == 3) && \
45527 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45528 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45529 #error "no pch support"
45536 rm -f conftest.
$ac_objext
45537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45538 (eval $ac_compile) 2>conftest.er1
45540 grep -v '^ *+' conftest.er1
>conftest.err
45542 cat conftest.err
>&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } &&
45545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45547 (eval $ac_try) 2>&5
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); }; } &&
45551 { ac_try
='test -s conftest.$ac_objext'
45552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45553 (eval $ac_try) 2>&5
45555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556 (exit $ac_status); }; }; then
45558 echo "$as_me:$LINENO: result: yes" >&5
45559 echo "${ECHO_T}yes" >&6
45563 echo "$as_me: failed program was:" >&5
45564 sed 's/^/| /' conftest.
$ac_ext >&5
45567 echo "$as_me:$LINENO: result: no" >&5
45568 echo "${ECHO_T}no" >&6
45571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45572 if test $GCC_PCH = 1 ; then
45575 cat <<EOF >bk-make-pch
45578 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45579 # script. It is used to generated precompiled headers.
45581 # Permission is given to use this file in any way.
45590 while test ${D}{#} -gt 0; do
45593 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45594 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45595 headerfile="${D}{incdir}/${D}{header}"
45599 compiler="${D}{compiler} ${D}{1}"
45603 if test "x${D}{headerfile}" = "x" ; then
45604 echo "error: can't find header ${D}{header} in include paths" >2
45606 if test -f ${D}{outfile} ; then
45607 rm -f ${D}{outfile}
45609 mkdir -p \`dirname ${D}{outfile}\`
45611 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45613 # can do this because gcc is >= 3.4:
45614 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45619 chmod +x bk
-make-pch
45626 COND_BUILD_DEBUG
="#"
45627 if test "x$BUILD" = "xdebug" ; then
45628 COND_BUILD_DEBUG
=""
45631 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
45632 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45633 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
45636 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
45637 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45638 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
45641 COND_BUILD_DEBUG_UNICODE_0
="#"
45642 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45643 COND_BUILD_DEBUG_UNICODE_0
=""
45646 COND_BUILD_DEBUG_UNICODE_1
="#"
45647 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45648 COND_BUILD_DEBUG_UNICODE_1
=""
45651 COND_BUILD_RELEASE
="#"
45652 if test "x$BUILD" = "xrelease" ; then
45653 COND_BUILD_RELEASE
=""
45656 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
45657 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45658 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
45661 COND_BUILD_RELEASE_UNICODE_0
="#"
45662 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45663 COND_BUILD_RELEASE_UNICODE_0
=""
45666 COND_BUILD_RELEASE_UNICODE_1
="#"
45667 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45668 COND_BUILD_RELEASE_UNICODE_1
=""
45671 COND_DEBUG_FLAG_1
="#"
45672 if test "x$DEBUG_FLAG" = "x1" ; then
45673 COND_DEBUG_FLAG_1
=""
45676 COND_DEBUG_INFO_0
="#"
45677 if test "x$DEBUG_INFO" = "x0" ; then
45678 COND_DEBUG_INFO_0
=""
45681 COND_DEBUG_INFO_1
="#"
45682 if test "x$DEBUG_INFO" = "x1" ; then
45683 COND_DEBUG_INFO_1
=""
45686 COND_DEPS_TRACKING_0
="#"
45687 if test "x$DEPS_TRACKING" = "x0" ; then
45688 COND_DEPS_TRACKING_0
=""
45691 COND_DEPS_TRACKING_1
="#"
45692 if test "x$DEPS_TRACKING" = "x1" ; then
45693 COND_DEPS_TRACKING_1
=""
45697 if test "x$GCC_PCH" = "x1" ; then
45701 COND_MONOLITHIC_0
="#"
45702 if test "x$MONOLITHIC" = "x0" ; then
45703 COND_MONOLITHIC_0
=""
45706 COND_MONOLITHIC_0_SHARED_0
="#"
45707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45708 COND_MONOLITHIC_0_SHARED_0
=""
45711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45731 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45733 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45736 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45738 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45741 COND_MONOLITHIC_0_SHARED_1
="#"
45742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45743 COND_MONOLITHIC_0_SHARED_1
=""
45746 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45751 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45756 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45758 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45766 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45768 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45771 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45773 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45776 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45777 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45778 COND_MONOLITHIC_0_USE_ODBC_1
=""
45781 COND_MONOLITHIC_1
="#"
45782 if test "x$MONOLITHIC" = "x1" ; then
45783 COND_MONOLITHIC_1
=""
45786 COND_MONOLITHIC_1_SHARED_0
="#"
45787 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45788 COND_MONOLITHIC_1_SHARED_0
=""
45791 COND_MONOLITHIC_1_SHARED_1
="#"
45792 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45793 COND_MONOLITHIC_1_SHARED_1
=""
45796 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45797 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45798 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45801 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45802 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45803 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45806 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45807 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45808 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45811 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45812 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45813 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45816 COND_PLATFORM_MACOSX_1
="#"
45817 if test "x$PLATFORM_MACOSX" = "x1" ; then
45818 COND_PLATFORM_MACOSX_1
=""
45821 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45823 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45826 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45828 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45831 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45833 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45836 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45837 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45838 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45841 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45842 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45843 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45846 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45847 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45848 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45851 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45852 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45853 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45856 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45857 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45858 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45861 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45862 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45863 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45866 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45867 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45868 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45871 COND_PLATFORM_MACOS_1
="#"
45872 if test "x$PLATFORM_MACOS" = "x1" ; then
45873 COND_PLATFORM_MACOS_1
=""
45876 COND_PLATFORM_MAC_1
="#"
45877 if test "x$PLATFORM_MAC" = "x1" ; then
45878 COND_PLATFORM_MAC_1
=""
45881 COND_PLATFORM_MSDOS_1
="#"
45882 if test "x$PLATFORM_MSDOS" = "x1" ; then
45883 COND_PLATFORM_MSDOS_1
=""
45886 COND_PLATFORM_OS2_1
="#"
45887 if test "x$PLATFORM_OS2" = "x1" ; then
45888 COND_PLATFORM_OS2_1
=""
45891 COND_PLATFORM_UNIX_0
="#"
45892 if test "x$PLATFORM_UNIX" = "x0" ; then
45893 COND_PLATFORM_UNIX_0
=""
45896 COND_PLATFORM_UNIX_1
="#"
45897 if test "x$PLATFORM_UNIX" = "x1" ; then
45898 COND_PLATFORM_UNIX_1
=""
45901 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45902 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45903 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45907 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45908 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45911 COND_PLATFORM_WIN32_0
="#"
45912 if test "x$PLATFORM_WIN32" = "x0" ; then
45913 COND_PLATFORM_WIN32_0
=""
45916 COND_PLATFORM_WIN32_1
="#"
45917 if test "x$PLATFORM_WIN32" = "x1" ; then
45918 COND_PLATFORM_WIN32_1
=""
45922 if test "x$SHARED" = "x0" ; then
45926 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45927 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45928 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45931 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45932 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45933 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45936 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45937 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45938 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45941 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45942 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45943 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45946 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45947 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45948 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45951 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45952 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45953 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45956 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45957 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45958 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45961 COND_SHARED_0_USE_XRC_1
="#"
45962 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45963 COND_SHARED_0_USE_XRC_1
=""
45966 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
45967 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45968 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
45971 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
45972 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45973 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
45976 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
45977 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45978 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
45981 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
45982 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45983 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
45987 if test "x$SHARED" = "x1" ; then
45991 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
45992 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45993 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
45996 COND_SHARED_1_USE_XRC_1
="#"
45997 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45998 COND_SHARED_1_USE_XRC_1
=""
46002 if test "x$TOOLKIT" = "x" ; then
46006 COND_TOOLKIT_COCOA
="#"
46007 if test "x$TOOLKIT" = "xCOCOA" ; then
46008 COND_TOOLKIT_COCOA
=""
46011 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
46012 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
46013 COND_TOOLKIT_COCOA_USE_GUI_1
=""
46016 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
46017 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46018 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
46021 COND_TOOLKIT_GTK
="#"
46022 if test "x$TOOLKIT" = "xGTK" ; then
46023 COND_TOOLKIT_GTK
=""
46026 COND_TOOLKIT_GTK_USE_GUI_1
="#"
46027 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
46028 COND_TOOLKIT_GTK_USE_GUI_1
=""
46031 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
46032 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46033 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
46036 COND_TOOLKIT_MAC
="#"
46037 if test "x$TOOLKIT" = "xMAC" ; then
46038 COND_TOOLKIT_MAC
=""
46041 COND_TOOLKIT_MAC_USE_GUI_1
="#"
46042 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46043 COND_TOOLKIT_MAC_USE_GUI_1
=""
46046 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
46047 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46048 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
46051 COND_TOOLKIT_MGL
="#"
46052 if test "x$TOOLKIT" = "xMGL" ; then
46053 COND_TOOLKIT_MGL
=""
46056 COND_TOOLKIT_MGL_USE_GUI_1
="#"
46057 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
46058 COND_TOOLKIT_MGL_USE_GUI_1
=""
46061 COND_TOOLKIT_MOTIF
="#"
46062 if test "x$TOOLKIT" = "xMOTIF" ; then
46063 COND_TOOLKIT_MOTIF
=""
46066 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
46067 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
46068 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
46071 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
46072 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46073 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
46076 COND_TOOLKIT_MSW
="#"
46077 if test "x$TOOLKIT" = "xMSW" ; then
46078 COND_TOOLKIT_MSW
=""
46081 COND_TOOLKIT_MSW_USE_GUI_1
="#"
46082 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
46083 COND_TOOLKIT_MSW_USE_GUI_1
=""
46086 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
46087 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46088 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
46091 COND_TOOLKIT_MSW_WXUNIV_0
="#"
46092 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46093 COND_TOOLKIT_MSW_WXUNIV_0
=""
46096 COND_TOOLKIT_PM
="#"
46097 if test "x$TOOLKIT" = "xPM" ; then
46101 COND_TOOLKIT_PM_USE_GUI_1
="#"
46102 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
46103 COND_TOOLKIT_PM_USE_GUI_1
=""
46106 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
46107 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46108 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
46111 COND_TOOLKIT_WINCE
="#"
46112 if test "x$TOOLKIT" = "xWINCE" ; then
46113 COND_TOOLKIT_WINCE
=""
46116 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
46117 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46118 COND_TOOLKIT_WINCE_USE_GUI_1
=""
46121 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
46122 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46123 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
46126 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
46127 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46128 COND_TOOLKIT_WINCE_WXUNIV_0
=""
46131 COND_TOOLKIT_X11
="#"
46132 if test "x$TOOLKIT" = "xX11" ; then
46133 COND_TOOLKIT_X11
=""
46136 COND_TOOLKIT_X11_USE_GUI_1
="#"
46137 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46138 COND_TOOLKIT_X11_USE_GUI_1
=""
46142 if test "x$UNICODE" = "x1" ; then
46146 COND_USE_EXCEPTIONS_0
="#"
46147 if test "x$USE_EXCEPTIONS" = "x0" ; then
46148 COND_USE_EXCEPTIONS_0
=""
46151 COND_USE_EXCEPTIONS_1
="#"
46152 if test "x$USE_EXCEPTIONS" = "x1" ; then
46153 COND_USE_EXCEPTIONS_1
=""
46157 if test "x$USE_GUI" = "x0" ; then
46162 if test "x$USE_GUI" = "x1" ; then
46166 COND_USE_GUI_1_WXUNIV_0
="#"
46167 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46168 COND_USE_GUI_1_WXUNIV_0
=""
46171 COND_USE_GUI_1_WXUNIV_1
="#"
46172 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46173 COND_USE_GUI_1_WXUNIV_1
=""
46176 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46177 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46178 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46181 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46182 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46183 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46186 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46187 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46188 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46191 COND_USE_ODBC_1
="#"
46192 if test "x$USE_ODBC" = "x1" ; then
46196 COND_USE_OPENGL_1
="#"
46197 if test "x$USE_OPENGL" = "x1" ; then
46198 COND_USE_OPENGL_1
=""
46201 COND_USE_PLUGINS_0
="#"
46202 if test "x$USE_PLUGINS" = "x0" ; then
46203 COND_USE_PLUGINS_0
=""
46206 COND_USE_RTTI_0
="#"
46207 if test "x$USE_RTTI" = "x0" ; then
46211 COND_USE_RTTI_1
="#"
46212 if test "x$USE_RTTI" = "x1" ; then
46216 COND_USE_SOSYMLINKS_1
="#"
46217 if test "x$USE_SOSYMLINKS" = "x1" ; then
46218 COND_USE_SOSYMLINKS_1
=""
46221 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
46222 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46223 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
46226 COND_USE_SOVERLINUX_1
="#"
46227 if test "x$USE_SOVERLINUX" = "x1" ; then
46228 COND_USE_SOVERLINUX_1
=""
46231 COND_USE_SOVERSION_0
="#"
46232 if test "x$USE_SOVERSION" = "x0" ; then
46233 COND_USE_SOVERSION_0
=""
46236 COND_USE_SOVERSOLARIS_1
="#"
46237 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46238 COND_USE_SOVERSOLARIS_1
=""
46241 COND_USE_THREADS_0
="#"
46242 if test "x$USE_THREADS" = "x0" ; then
46243 COND_USE_THREADS_0
=""
46246 COND_USE_THREADS_1
="#"
46247 if test "x$USE_THREADS" = "x1" ; then
46248 COND_USE_THREADS_1
=""
46252 if test "x$USE_XRC" = "x1" ; then
46256 COND_WINDOWS_IMPLIB_1
="#"
46257 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46258 COND_WINDOWS_IMPLIB_1
=""
46261 COND_WITH_PLUGIN_SDL_1
="#"
46262 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46263 COND_WITH_PLUGIN_SDL_1
=""
46267 if test "x$WXUNIV" = "x0" ; then
46272 if test "x$WXUNIV" = "x1" ; then
46276 COND_WXUSE_EXPAT_BUILTIN
="#"
46277 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46278 COND_WXUSE_EXPAT_BUILTIN
=""
46281 COND_WXUSE_LIBJPEG_BUILTIN
="#"
46282 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46283 COND_WXUSE_LIBJPEG_BUILTIN
=""
46286 COND_WXUSE_LIBPNG_BUILTIN
="#"
46287 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46288 COND_WXUSE_LIBPNG_BUILTIN
=""
46291 COND_WXUSE_LIBTIFF_BUILTIN
="#"
46292 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46293 COND_WXUSE_LIBTIFF_BUILTIN
=""
46296 COND_WXUSE_ODBC_BUILTIN
="#"
46297 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46298 COND_WXUSE_ODBC_BUILTIN
=""
46301 COND_WXUSE_REGEX_BUILTIN
="#"
46302 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46303 COND_WXUSE_REGEX_BUILTIN
=""
46306 COND_WXUSE_ZLIB_BUILTIN
="#"
46307 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46308 COND_WXUSE_ZLIB_BUILTIN
=""
46313 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46314 { { 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
46315 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;}
46316 { (exit 1); exit 1; }; }
46319 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46320 { { 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
46321 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;}
46322 { (exit 1); exit 1; }; }
46326 if test "$wxUSE_SHARED" = "yes"; then
46328 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
46329 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
46332 *-pc-os2_emx | *-pc-os2-emx )
46333 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46334 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46335 cp -p ${srcdir}/src
/os
2/dllnames.sh .
46336 cp -p ${srcdir}/src
/os
2/dllar.sh .
46341 EXE_LINKER
="$CXX -o"
46344 if test "$wxUSE_OMF" = "yes"; then
46346 *-pc-os2_emx | *-pc-os2-emx )
46347 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
46348 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46349 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46354 if test $GCC_PCH = 1 ; then
46355 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
46358 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
46359 WXCONFIG_RESCOMP
="$WINDRES $WXCONFIG_RESFLAGS"
46361 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46423 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46424 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46425 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46426 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46427 echo $ECHO_N "(cached) $ECHO_C" >&6
46429 cat >conftest.
make <<\_ACEOF
46431 @
echo 'ac_maketemp="$(MAKE)"'
46433 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46434 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46435 if test -n "$ac_maketemp"; then
46436 eval ac_cv_prog_make_
${ac_make}_set
=yes
46438 eval ac_cv_prog_make_
${ac_make}_set
=no
46440 rm -f conftest.
make
46442 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46443 echo "$as_me:$LINENO: result: yes" >&5
46444 echo "${ECHO_T}yes" >&6
46447 echo "$as_me:$LINENO: result: no" >&5
46448 echo "${ECHO_T}no" >&6
46449 SET_MAKE
="MAKE=${MAKE-make}"
46454 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46457 if test "$USE_WIN32" = 1; then
46458 ac_config_commands
="$ac_config_commands
46464 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46467 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46470 ac_config_files
="$ac_config_files version-script Makefile"
46473 ac_config_commands
="$ac_config_commands wx-config"
46477 if test "$wxWITH_SUBDIRS" != "no"; then
46478 if test "$wxUSE_GUI" = "yes"; then
46479 SUBDIRS
="samples demos utils contrib"
46480 else SUBDIRS
="samples utils"
46485 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46486 if test "${with_cppunit_prefix+set}" = set; then
46487 withval
="$with_cppunit_prefix"
46488 cppunit_config_prefix
="$withval"
46490 cppunit_config_prefix
=""
46493 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46494 if test "${with_cppunit_exec_prefix+set}" = set; then
46495 withval
="$with_cppunit_exec_prefix"
46496 cppunit_config_exec_prefix
="$withval"
46498 cppunit_config_exec_prefix
=""
46501 if test x
$cppunit_config_exec_prefix != x
; then
46502 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46503 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46504 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
46507 if test x
$cppunit_config_prefix != x
; then
46508 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
46509 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46510 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
46514 # Extract the first word of "cppunit-config", so it can be a program name with args.
46515 set dummy cppunit
-config; ac_word
=$2
46516 echo "$as_me:$LINENO: checking for $ac_word" >&5
46517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46518 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46519 echo $ECHO_N "(cached) $ECHO_C" >&6
46521 case $CPPUNIT_CONFIG in
46523 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46527 for as_dir
in $PATH
46530 test -z "$as_dir" && as_dir
=.
46531 for ac_exec_ext
in '' $ac_executable_extensions; do
46532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46533 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46540 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
46544 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
46546 if test -n "$CPPUNIT_CONFIG"; then
46547 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46548 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46550 echo "$as_me:$LINENO: result: no" >&5
46551 echo "${ECHO_T}no" >&6
46554 cppunit_version_min
=1.8.0
46556 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46557 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46559 if test "$CPPUNIT_CONFIG" = "no" ; then
46562 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
46563 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
46564 cppunit_version
=`$CPPUNIT_CONFIG --version`
46566 cppunit_major_version
=`echo $cppunit_version | \
46567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46568 cppunit_minor_version
=`echo $cppunit_version | \
46569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46570 cppunit_micro_version
=`echo $cppunit_version | \
46571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46573 cppunit_major_min
=`echo $cppunit_version_min | \
46574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46575 cppunit_minor_min
=`echo $cppunit_version_min | \
46576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46577 cppunit_micro_min
=`echo $cppunit_version_min | \
46578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46580 cppunit_version_proper
=`expr \
46581 $cppunit_major_version \> $cppunit_major_min \| \
46582 $cppunit_major_version \= $cppunit_major_min \& \
46583 $cppunit_minor_version \> $cppunit_minor_min \| \
46584 $cppunit_major_version \= $cppunit_major_min \& \
46585 $cppunit_minor_version \= $cppunit_minor_min \& \
46586 $cppunit_micro_version \>= $cppunit_micro_min `
46588 if test "$cppunit_version_proper" = "1" ; then
46589 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46590 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46592 echo "$as_me:$LINENO: result: no" >&5
46593 echo "${ECHO_T}no" >&6
46598 if test "x$no_cppunit" = x
; then
46599 SUBDIRS
="$SUBDIRS tests"
46610 for subdir
in `echo $SUBDIRS`; do
46611 if test -d ${srcdir}/${subdir} ; then
46612 if test "$wxUSE_GUI" = "yes"; then
46613 if test ${subdir} = "samples"; then
46614 makefiles
="samples/Makefile.in $makefiles"
46615 for sample
in `echo $SAMPLES_SUBDIRS`; do
46616 if test -d $srcdir/samples
/$sample; then
46617 makefiles
="samples/$sample/Makefile.in $makefiles"
46621 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
46622 eval "disabled=\$$disabled_var"
46623 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
46624 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46626 else if test ${subdir} = "samples"; then
46627 makefiles
="samples/Makefile.in samples/console/Makefile.in"
46628 elif test ${subdir} = "utils"; then
46630 for util
in HelpGen tex2rtf
; do
46631 if test -d $srcdir/utils
/$util ; then
46632 makefiles
="utils/$util/Makefile.in \
46633 utils/$util/src/Makefile.in \
46637 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
46641 for mkin
in $makefiles ; do
46642 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46643 ac_config_files
="$ac_config_files $mk"
46649 cat >confcache
<<\_ACEOF
46650 # This file is a shell script that caches the results of configure
46651 # tests run on this system so they can be shared between configure
46652 # scripts and configure runs, see configure's option --config-cache.
46653 # It is not useful on other systems. If it contains results you don't
46654 # want to keep, you may remove or edit it.
46656 # config.status only pays attention to the cache file if you give it
46657 # the --recheck option to rerun configure.
46659 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46660 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46661 # following values.
46665 # The following way of writing the cache mishandles newlines in values,
46666 # but we know of no workaround that is simple, portable, and efficient.
46667 # So, don't put newlines in cache variables' values.
46668 # Ultrix sh set writes to stderr and can't be redirected directly,
46669 # and sets the high bit in the cache file unless we assign to the vars.
46672 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46674 # `set' does not quote correctly, so add quotes (double-quote
46675 # substitution turns \\\\ into \\, and sed turns \\ into \).
46678 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46681 # `set' quotes correctly as required by POSIX, so do not add quotes.
46683 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46690 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46692 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46694 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46695 if test -w $cache_file; then
46696 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46697 cat confcache
>$cache_file
46699 echo "not updating unwritable cache $cache_file"
46704 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46705 # Let make expand exec_prefix.
46706 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46708 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46709 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46710 # trailing colons and then remove the whole line if VPATH becomes empty
46711 # (actually we leave an empty line to preserve line numbers).
46712 if test "x$srcdir" = x.
; then
46713 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46714 s/:*\$(srcdir):*/:/;
46715 s/:*\${srcdir}:*/:/;
46717 s/^\([^=]*=[ ]*\):*/\1/;
46723 DEFS
=-DHAVE_CONFIG_H
46727 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46728 # 1. Remove the extension, and $U if already installed.
46729 ac_i
=`echo "$ac_i" |
46730 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46732 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46733 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46735 LIBOBJS
=$ac_libobjs
46737 LTLIBOBJS
=$ac_ltlibobjs
46741 : ${CONFIG_STATUS=./config.status}
46742 ac_clean_files_save
=$ac_clean_files
46743 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46744 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46745 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46746 cat >$CONFIG_STATUS <<_ACEOF
46748 # Generated by $as_me.
46749 # Run this file to recreate the current configuration.
46750 # Compiler output produced by configure, useful for debugging
46751 # configure, is in config.log if it exists.
46754 ac_cs_recheck=false
46756 SHELL=\${CONFIG_SHELL-$SHELL}
46759 cat >>$CONFIG_STATUS <<\_ACEOF
46760 ## --------------------- ##
46761 ## M4sh Initialization. ##
46762 ## --------------------- ##
46764 # Be Bourne compatible
46765 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46768 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46769 # is contrary to our usage. Disable this feature.
46770 alias -g '${1+"$@"}'='"$@"'
46771 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46774 DUALCASE
=1; export DUALCASE
# for MKS sh
46776 # Support unset when possible.
46777 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46784 # Work around bugs in pre-3.0 UWIN ksh.
46785 $as_unset ENV MAIL MAILPATH
46792 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46793 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46794 LC_TELEPHONE LC_TIME
46796 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46797 eval $as_var=C
; export $as_var
46803 # Required to use basename.
46804 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46810 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46811 as_basename
=basename
46817 # Name of the executable.
46818 as_me
=`$as_basename "$0" ||
46819 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46820 X"$0" : 'X\(//\)$' \| \
46821 X"$0" : 'X\(/\)$' \| \
46822 . : '\(.\)' 2>/dev/null ||
46824 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46825 /^X\/\(\/\/\)$/{ s//\1/; q; }
46826 /^X\/\(\/\).*/{ s//\1/; q; }
46830 # PATH needs CR, and LINENO needs CR and PATH.
46831 # Avoid depending upon Character Ranges.
46832 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46833 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46834 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46835 as_cr_digits
='0123456789'
46836 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46838 # The user is always right.
46839 if test "${PATH_SEPARATOR+set}" != set; then
46840 echo "#! /bin/sh" >conf$$.sh
46841 echo "exit 0" >>conf$$.sh
46843 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46852 as_lineno_1
=$LINENO
46853 as_lineno_2
=$LINENO
46854 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46855 test "x$as_lineno_1" != "x$as_lineno_2" &&
46856 test "x$as_lineno_3" = "x$as_lineno_2" || {
46857 # Find who we are. Look in the path if we contain no path at all
46860 *[\\/]* ) as_myself
=$0 ;;
46861 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46862 for as_dir
in $PATH
46865 test -z "$as_dir" && as_dir
=.
46866 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46871 # We did not find ourselves, most probably we were run as `sh COMMAND'
46872 # in which case we are not to be found in the path.
46873 if test "x$as_myself" = x
; then
46876 if test ! -f "$as_myself"; then
46877 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46878 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46879 { (exit 1); exit 1; }; }
46881 case $CONFIG_SHELL in
46883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46884 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46887 test -z "$as_dir" && as_dir
=.
46888 for as_base
in sh bash ksh sh5
; do
46891 if ("$as_dir/$as_base" -c '
46892 as_lineno_1=$LINENO
46893 as_lineno_2=$LINENO
46894 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46895 test "x$as_lineno_1" != "x$as_lineno_2" &&
46896 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46897 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46898 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46899 CONFIG_SHELL
=$as_dir/$as_base
46900 export CONFIG_SHELL
46901 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46909 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46910 # uniformly replaced by the line number. The first 'sed' inserts a
46911 # line-number line before each line; the second 'sed' does the real
46912 # work. The second script uses 'N' to pair each line-number line
46913 # with the numbered line, and appends trailing '-' during
46914 # substitution so that $LINENO is not a special case at line end.
46915 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46916 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46917 sed '=' <$as_myself |
46922 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46925 s,^['$as_cr_digits']*\n,,
46926 ' >$as_me.lineno
&&
46927 chmod +x
$as_me.lineno
||
46928 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46929 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46930 { (exit 1); exit 1; }; }
46932 # Don't try to exec as it changes $[0], causing all sort of problems
46933 # (the dirname of $[0] is not the place where we might find the
46934 # original and so on. Autoconf is especially sensible to this).
46936 # Exit status is that of the last command.
46941 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46942 *c
*,-n*) ECHO_N
= ECHO_C
='
46944 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46945 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46948 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46954 rm -f conf$$ conf$$.exe conf$$.
file
46956 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46957 # We could just check for DJGPP; but this test a) works b) is more generic
46958 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46959 if test -f conf$$.exe
; then
46960 # Don't use ln at all; we don't have any links
46965 elif ln conf$$.
file conf$$
2>/dev
/null
; then
46970 rm -f conf$$ conf$$.exe conf$$.
file
46972 if mkdir -p .
2>/dev
/null
; then
46975 test -d .
/-p && rmdir .
/-p
46979 as_executable_p
="test -f"
46981 # Sed expression to map a string onto a valid CPP name.
46982 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46984 # Sed expression to map a string onto a valid variable name.
46985 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46989 # We need space, tab and new line, in precisely that order.
46999 # Open the log real soon, to keep \$[0] and so on meaningful, and to
47000 # report actual input values of CONFIG_FILES etc. instead of their
47001 # values after options handling. Logging --version etc. is OK.
47005 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47006 ## Running $as_me. ##
47011 This file was extended by wxWidgets $as_me 2.7.0, which was
47012 generated by GNU Autoconf 2.59. Invocation command line was
47014 CONFIG_FILES = $CONFIG_FILES
47015 CONFIG_HEADERS = $CONFIG_HEADERS
47016 CONFIG_LINKS = $CONFIG_LINKS
47017 CONFIG_COMMANDS = $CONFIG_COMMANDS
47021 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
47025 # Files that config.status was made for.
47026 if test -n "$ac_config_files"; then
47027 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
47030 if test -n "$ac_config_headers"; then
47031 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
47034 if test -n "$ac_config_links"; then
47035 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
47038 if test -n "$ac_config_commands"; then
47039 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
47042 cat >>$CONFIG_STATUS <<\_ACEOF
47045 \`$as_me' instantiates files from templates according to the
47046 current configuration.
47048 Usage: $0 [OPTIONS] [FILE]...
47050 -h, --help print this help, then exit
47051 -V, --version print version number, then exit
47052 -q, --quiet do not print progress messages
47053 -d, --debug don't remove temporary files
47054 --recheck update $as_me by reconfiguring in the same conditions
47055 --file=FILE[:TEMPLATE]
47056 instantiate the configuration file FILE
47057 --header=FILE[:TEMPLATE]
47058 instantiate the configuration header FILE
47060 Configuration files:
47063 Configuration headers:
47066 Configuration commands:
47069 Report bugs to <bug-autoconf@gnu.org>."
47072 cat >>$CONFIG_STATUS <<_ACEOF
47074 wxWidgets config.status 2.7.0
47075 configured by $0, generated by GNU Autoconf 2.59,
47076 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
47078 Copyright (C) 2003 Free Software Foundation, Inc.
47079 This config.status script is free software; the Free Software Foundation
47080 gives unlimited permission to copy, distribute and modify it."
47085 cat >>$CONFIG_STATUS <<\_ACEOF
47086 # If no file are specified by the user, then we need to provide default
47087 # value. By we need to know if files were specified by the user.
47093 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
47094 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
47102 *) # This is not an option, so the user has probably given explicit
47105 ac_need_defaults
=false
;;
47109 # Handling of the options.
47111 cat >>$CONFIG_STATUS <<\_ACEOF
47112 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47114 --version | --vers* | -V )
47115 echo "$ac_cs_version"; exit 0 ;;
47117 # Conflict between --help and --header
47118 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47119 Try \`$0 --help' for more information." >&5
47120 echo "$as_me: error: ambiguous option: $1
47121 Try \`$0 --help' for more information." >&2;}
47122 { (exit 1); exit 1; }; };;
47123 --help | --hel | -h )
47124 echo "$ac_cs_usage"; exit 0 ;;
47125 --debug | --d* | -d )
47127 --file | --fil | --fi | --f )
47129 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
47130 ac_need_defaults
=false
;;
47131 --header | --heade | --head | --hea )
47133 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
47134 ac_need_defaults
=false
;;
47135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47136 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47139 # This is an error.
47140 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47141 Try \`$0 --help' for more information." >&5
47142 echo "$as_me: error: unrecognized option: $1
47143 Try \`$0 --help' for more information." >&2;}
47144 { (exit 1); exit 1; }; } ;;
47146 *) ac_config_targets
="$ac_config_targets $1" ;;
47152 ac_configure_extra_args
=
47154 if $ac_cs_silent; then
47156 ac_configure_extra_args
="$ac_configure_extra_args --silent"
47160 cat >>$CONFIG_STATUS <<_ACEOF
47161 if \$ac_cs_recheck; then
47162 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47163 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47168 cat >>$CONFIG_STATUS <<_ACEOF
47170 # INIT-COMMANDS section.
47175 infile="$srcdir/include/wx/msw/genrcdefs.h"
47176 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
47179 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47180 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47181 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47189 cat >>$CONFIG_STATUS <<\_ACEOF
47190 for ac_config_target
in $ac_config_targets
47192 case "$ac_config_target" in
47193 # Handling of arguments.
47194 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47195 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47196 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
47197 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
47198 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
47199 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
47200 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
47201 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47202 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47203 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47204 { (exit 1); exit 1; }; };;
47208 # If the user did not use the arguments to specify the items to instantiate,
47209 # then the envvar interface is used. Set only those that are not.
47210 # We use the long form for the default assignment because of an extremely
47211 # bizarre bug on SunOS 4.1.3.
47212 if $ac_need_defaults; then
47213 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
47214 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
47215 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
47218 # Have a temporary directory for convenience. Make it in the build tree
47219 # simply because there is no reason to put it here, and in addition,
47220 # creating and moving files from /tmp can sometimes cause problems.
47221 # Create a temporary directory, and hook for its removal unless debugging.
47224 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47225 trap '{ (exit 1); exit 1; }' 1 2 13 15
47228 # Create a (secure) tmp directory for tmp files.
47231 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47232 test -n "$tmp" && test -d "$tmp"
47235 tmp
=.
/confstat$$
-$RANDOM
47236 (umask 077 && mkdir $tmp)
47239 echo "$me: cannot create a temporary directory in ." >&2
47240 { (exit 1); exit 1; }
47245 cat >>$CONFIG_STATUS <<_ACEOF
47248 # CONFIG_FILES section.
47251 # No need to generate the scripts if there are no CONFIG_FILES.
47252 # This happens for instance when ./config.status config.h
47253 if test -n "\$CONFIG_FILES"; then
47254 # Protect against being on the right side of a sed subst in config.status.
47255 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47256 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47257 s,@SHELL@,$SHELL,;t t
47258 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47259 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47260 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47261 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47262 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47263 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47264 s,@exec_prefix@,$exec_prefix,;t t
47265 s,@prefix@,$prefix,;t t
47266 s,@program_transform_name@,$program_transform_name,;t t
47267 s,@bindir@,$bindir,;t t
47268 s,@sbindir@,$sbindir,;t t
47269 s,@libexecdir@,$libexecdir,;t t
47270 s,@datadir@,$datadir,;t t
47271 s,@sysconfdir@,$sysconfdir,;t t
47272 s,@sharedstatedir@,$sharedstatedir,;t t
47273 s,@localstatedir@,$localstatedir,;t t
47274 s,@libdir@,$libdir,;t t
47275 s,@includedir@,$includedir,;t t
47276 s,@oldincludedir@,$oldincludedir,;t t
47277 s,@infodir@,$infodir,;t t
47278 s,@mandir@,$mandir,;t t
47279 s,@build_alias@,$build_alias,;t t
47280 s,@host_alias@,$host_alias,;t t
47281 s,@target_alias@,$target_alias,;t t
47282 s,@DEFS@,$DEFS,;t t
47283 s,@ECHO_C@,$ECHO_C,;t t
47284 s,@ECHO_N@,$ECHO_N,;t t
47285 s,@ECHO_T@,$ECHO_T,;t t
47286 s,@LIBS@,$LIBS,;t t
47287 s,@build@,$build,;t t
47288 s,@build_cpu@,$build_cpu,;t t
47289 s,@build_vendor@,$build_vendor,;t t
47290 s,@build_os@,$build_os,;t t
47291 s,@host@,$host,;t t
47292 s,@host_cpu@,$host_cpu,;t t
47293 s,@host_vendor@,$host_vendor,;t t
47294 s,@host_os@,$host_os,;t t
47295 s,@target@,$target,;t t
47296 s,@target_cpu@,$target_cpu,;t t
47297 s,@target_vendor@,$target_vendor,;t t
47298 s,@target_os@,$target_os,;t t
47300 s,@CFLAGS@,$CFLAGS,;t t
47301 s,@LDFLAGS@,$LDFLAGS,;t t
47302 s,@CPPFLAGS@,$CPPFLAGS,;t t
47303 s,@ac_ct_CC@,$ac_ct_CC,;t t
47304 s,@EXEEXT@,$EXEEXT,;t t
47305 s,@OBJEXT@,$OBJEXT,;t t
47307 s,@EGREP@,$EGREP,;t t
47309 s,@CXXFLAGS@,$CXXFLAGS,;t t
47310 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47311 s,@RANLIB@,$RANLIB,;t t
47312 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47314 s,@ac_ct_AR@,$ac_ct_AR,;t t
47315 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47316 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47317 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47318 s,@STRIP@,$STRIP,;t t
47319 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47320 s,@WINDRES@,$WINDRES,;t t
47321 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
47322 s,@DLLTOOL@,$DLLTOOL,;t t
47323 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47324 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47325 s,@LN_S@,$LN_S,;t t
47326 s,@LNDIR@,$LNDIR,;t t
47327 s,@CXXCPP@,$CXXCPP,;t t
47328 s,@subdirs@,$subdirs,;t t
47329 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47330 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47331 s,@GTK_LIBS@,$GTK_LIBS,;t t
47332 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47333 s,@X_CFLAGS@,$X_CFLAGS,;t t
47334 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47335 s,@X_LIBS@,$X_LIBS,;t t
47336 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47337 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47338 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47339 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47340 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47341 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47342 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47344 s,@DEREZ@,$DEREZ,;t t
47345 s,@SETFILE@,$SETFILE,;t t
47346 s,@LIBICONV@,$LIBICONV,;t t
47347 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47348 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47349 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47350 s,@SDL_LIBS@,$SDL_LIBS,;t t
47351 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47352 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47353 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47354 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47355 s,@GST_INSPECT@,$GST_INSPECT,;t t
47356 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47357 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47358 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47359 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47360 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47361 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47362 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47363 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47364 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47365 s,@VENDOR@,$VENDOR,;t t
47366 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47367 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47368 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47369 s,@WXUNIV@,$WXUNIV,;t t
47370 s,@MONOLITHIC@,$MONOLITHIC,;t t
47371 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47372 s,@EXTRALIBS@,$EXTRALIBS,;t t
47373 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47374 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47375 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47376 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47377 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47378 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47379 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47380 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47381 s,@UNICODE@,$UNICODE,;t t
47382 s,@BUILD@,$BUILD,;t t
47383 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47384 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47385 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47386 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47387 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47388 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47389 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47390 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47391 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47392 s,@SET_MAKE@,$SET_MAKE,;t t
47393 s,@MAKE_SET@,$MAKE_SET,;t t
47395 s,@ac_ct_NM@,$ac_ct_NM,;t t
47396 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47397 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47398 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47399 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47400 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47401 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47402 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47403 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47404 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47405 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47406 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47407 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47408 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47409 s,@LIBPREFIX@,$LIBPREFIX,;t t
47410 s,@LIBEXT@,$LIBEXT,;t t
47411 s,@DLLPREFIX@,$DLLPREFIX,;t t
47412 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47413 s,@dlldir@,$dlldir,;t t
47414 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47415 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47416 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47417 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47418 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47419 s,@PIC_FLAG@,$PIC_FLAG,;t t
47420 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47421 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47422 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47423 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47424 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47425 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47426 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47427 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47428 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47429 s,@GCC_PCH@,$GCC_PCH,;t t
47430 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47431 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47432 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47433 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47434 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47435 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47436 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47437 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47438 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47439 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47440 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47441 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47442 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47443 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47444 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47445 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47446 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47447 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47448 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
47449 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
47450 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
47451 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47452 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47453 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47454 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47455 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
47456 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
47457 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
47458 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47459 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47460 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47461 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47462 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47463 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47464 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47465 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47466 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47467 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47468 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47469 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47470 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47471 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47472 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47473 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47474 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
47475 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47476 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47477 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47478 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47479 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47480 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47481 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47482 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47483 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47484 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47485 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47486 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47487 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47488 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47489 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47490 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47491 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47492 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47493 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47494 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47495 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47496 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47497 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47498 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47499 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47500 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47501 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47502 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47503 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47504 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47505 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47506 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47507 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47508 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47509 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47510 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47511 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47512 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47513 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47514 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47515 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47516 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47517 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47518 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47519 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47520 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47521 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47522 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47523 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47524 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47525 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47526 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47527 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47528 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47529 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47530 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47531 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47532 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47533 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47534 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47535 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47536 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47537 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47538 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47539 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47540 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47541 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47542 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47543 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47544 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47545 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47546 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47547 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47548 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47549 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47550 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47551 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47552 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47553 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47554 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47555 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47556 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47557 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47558 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47559 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47560 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47561 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47562 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47563 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47564 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47565 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47566 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47567 s,@SHARED@,$SHARED,;t t
47568 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47569 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47570 s,@USE_GUI@,$USE_GUI,;t t
47571 s,@AFMINSTALL@,$AFMINSTALL,;t t
47572 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47573 s,@TOOLKIT@,$TOOLKIT,;t t
47574 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47575 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47576 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47577 s,@cross_compiling@,$cross_compiling,;t t
47578 s,@WIDGET_SET@,$WIDGET_SET,;t t
47579 s,@WX_RELEASE@,$WX_RELEASE,;t t
47580 s,@WX_VERSION@,$WX_VERSION,;t t
47581 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47582 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47583 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47584 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
47585 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
47586 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
47587 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
47588 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47589 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47590 s,@WXCONFIG_RESCOMP@,$WXCONFIG_RESCOMP,;t t
47591 s,@EXE_LINKER@,$EXE_LINKER,;t t
47592 s,@GUIDIST@,$GUIDIST,;t t
47593 s,@DISTDIR@,$DISTDIR,;t t
47594 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47595 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47596 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47597 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47598 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47599 s,@RESFLAGS@,$RESFLAGS,;t t
47600 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47601 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47602 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47603 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47604 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
47605 s,@MACSETFILE@,$MACSETFILE,;t t
47606 s,@WXCONFIG_POSTLINK_COMMAND@,$WXCONFIG_POSTLINK_COMMAND,;t t
47608 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47609 s,@LIBOBJS@,$LIBOBJS,;t t
47610 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47615 cat >>$CONFIG_STATUS <<\_ACEOF
47616 # Split the substitutions into bite-sized pieces for seds with
47617 # small command number limits, like on Digital OSF/1 and HP-UX.
47618 ac_max_sed_lines
=48
47619 ac_sed_frag
=1 # Number of current file.
47620 ac_beg
=1 # First line for current file.
47621 ac_end
=$ac_max_sed_lines # Line after last line for current file.
47624 while $ac_more_lines; do
47625 if test $ac_beg -gt 1; then
47626 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47628 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47630 if test ! -s $tmp/subs.frag
; then
47631 ac_more_lines
=false
47633 # The purpose of the label and of the branching condition is to
47634 # speed up the sed processing (if there are no `@' at all, there
47635 # is no need to browse any of the substitutions).
47636 # These are the two extra sed commands mentioned above.
47638 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
47639 if test -z "$ac_sed_cmds"; then
47640 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
47642 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47644 ac_sed_frag
=`expr $ac_sed_frag + 1`
47646 ac_end
=`expr $ac_end + $ac_max_sed_lines`
47649 if test -z "$ac_sed_cmds"; then
47652 fi # test -n "$CONFIG_FILES"
47655 cat >>$CONFIG_STATUS <<\_ACEOF
47656 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
47657 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47659 - | *:- | *:-:* ) # input from stdin
47661 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47662 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47663 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47664 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47665 * ) ac_file_in
=$ac_file.
in ;;
47668 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47669 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47670 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47671 X"$ac_file" : 'X\(//\)[^/]' \| \
47672 X"$ac_file" : 'X\(//\)$' \| \
47673 X"$ac_file" : 'X\(/\)' \| \
47674 . : '\(.\)' 2>/dev/null ||
47676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47678 /^X\(\/\/\)$/{ s//\1/; q; }
47679 /^X\(\/\).*/{ s//\1/; q; }
47681 { if $as_mkdir_p; then
47686 while test ! -d "$as_dir"; do
47687 as_dirs
="$as_dir $as_dirs"
47688 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47689 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47690 X"$as_dir" : 'X\(//\)[^/]' \| \
47691 X"$as_dir" : 'X\(//\)$' \| \
47692 X"$as_dir" : 'X\(/\)' \| \
47693 . : '\(.\)' 2>/dev/null ||
47695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47697 /^X\(\/\/\)$/{ s//\1/; q; }
47698 /^X\(\/\).*/{ s//\1/; q; }
47701 test ! -n "$as_dirs" || mkdir $as_dirs
47702 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47703 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47704 { (exit 1); exit 1; }; }; }
47708 if test "$ac_dir" != .
; then
47709 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47710 # A "../" for each directory in $ac_dir_suffix.
47711 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47713 ac_dir_suffix
= ac_top_builddir
=
47717 .
) # No --srcdir option. We are building in place.
47719 if test -z "$ac_top_builddir"; then
47722 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47724 [\\/]* | ?
:[\\/]* ) # Absolute path.
47725 ac_srcdir
=$srcdir$ac_dir_suffix;
47726 ac_top_srcdir
=$srcdir ;;
47727 *) # Relative path.
47728 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47729 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47732 # Do not use `cd foo && pwd` to compute absolute paths, because
47733 # the directories may not exist.
47735 .
) ac_abs_builddir
="$ac_dir";;
47738 .
) ac_abs_builddir
=`pwd`;;
47739 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47740 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47743 case $ac_abs_builddir in
47744 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47746 case ${ac_top_builddir}.
in
47747 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47748 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47749 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47752 case $ac_abs_builddir in
47753 .
) ac_abs_srcdir
=$ac_srcdir;;
47756 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47757 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47758 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47761 case $ac_abs_builddir in
47762 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47764 case $ac_top_srcdir in
47765 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47766 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47767 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47773 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47774 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47777 # Let's still pretend it is `configure' which instantiates (i.e., don't
47778 # use $as_me), people would be surprised to read:
47779 # /* config.h. Generated by config.status. */
47780 if test x
"$ac_file" = x
-; then
47783 configure_input
="$ac_file. "
47785 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47786 sed 's,.*/,,'` by configure."
47788 # First look for the input files in the build tree, otherwise in the
47790 ac_file_inputs
=`IFS=:
47791 for f in $ac_file_in; do
47793 -) echo $tmp/stdin ;;
47795 # Absolute (can't be DOS-style, as IFS=:)
47796 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47797 echo "$as_me: error: cannot find input file: $f" >&2;}
47798 { (exit 1); exit 1; }; }
47801 if test -f "$f"; then
47804 elif test -f "$srcdir/$f"; then
47809 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47810 echo "$as_me: error: cannot find input file: $f" >&2;}
47811 { (exit 1); exit 1; }; }
47814 done` || { (exit 1); exit 1; }
47816 if test x
"$ac_file" != x
-; then
47817 { echo "$as_me:$LINENO: creating $ac_file" >&5
47818 echo "$as_me: creating $ac_file" >&6;}
47822 cat >>$CONFIG_STATUS <<_ACEOF
47826 cat >>$CONFIG_STATUS <<\_ACEOF
47828 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47829 s
,@configure_input@
,$configure_input,;t t
47830 s
,@srcdir@
,$ac_srcdir,;t t
47831 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47832 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47833 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47834 s
,@builddir@
,$ac_builddir,;t t
47835 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47836 s
,@top_builddir@
,$ac_top_builddir,;t t
47837 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47838 s
,@INSTALL@
,$ac_INSTALL,;t t
47839 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47841 if test x"$ac_file" != x-; then
47842 mv $tmp/out $ac_file
47848 # Run the commands associated with the file.
47850 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47851 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47855 cat >>$CONFIG_STATUS <<\_ACEOF
47858 # CONFIG_HEADER section.
47861 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47862 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47864 # ac_d sets the value in "#define NAME VALUE" lines.
47865 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47866 ac_dB
='[ ].*$,\1#\2'
47869 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47870 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47871 ac_uB
='$,\1#\2define\3'
47875 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47876 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47878 - | *:- | *:-:* ) # input from stdin
47880 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47881 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47882 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47883 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47884 * ) ac_file_in
=$ac_file.
in ;;
47887 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47888 echo "$as_me: creating $ac_file" >&6;}
47890 # First look for the input files in the build tree, otherwise in the
47892 ac_file_inputs
=`IFS=:
47893 for f in $ac_file_in; do
47895 -) echo $tmp/stdin ;;
47897 # Absolute (can't be DOS-style, as IFS=:)
47898 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47899 echo "$as_me: error: cannot find input file: $f" >&2;}
47900 { (exit 1); exit 1; }; }
47901 # Do quote $f, to prevent DOS paths from being IFS'd.
47904 if test -f "$f"; then
47907 elif test -f "$srcdir/$f"; then
47912 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47913 echo "$as_me: error: cannot find input file: $f" >&2;}
47914 { (exit 1); exit 1; }; }
47917 done` || { (exit 1); exit 1; }
47918 # Remove the trailing spaces.
47919 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47923 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47924 # `conftest.undefs', that substitutes the proper values into
47925 # config.h.in to produce config.h. The first handles `#define'
47926 # templates, and the second `#undef' templates.
47927 # And first: Protect against being on the right side of a sed subst in
47928 # config.status. Protect against being in an unquoted here document
47929 # in config.status.
47930 rm -f conftest.defines conftest.undefs
47931 # Using a here document instead of a string reduces the quoting nightmare.
47932 # Putting comments in sed scripts is not portable.
47934 # `end' is used to avoid that the second main sed command (meant for
47935 # 0-ary CPP macros) applies to n-ary macro definitions.
47936 # See the Autoconf documentation for `clear'.
47937 cat >confdef2sed.
sed <<\_ACEOF
47942 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47944 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47947 # If some macros were called several times there might be several times
47948 # the same #defines, which is useless. Nevertheless, we may not want to
47949 # sort them, since we want the *last* AC-DEFINE to be honored.
47950 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47951 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47952 rm -f confdef2sed.sed
47954 # This sed command replaces #undef with comments. This is necessary, for
47955 # example, in the case of _POSIX_SOURCE, which is predefined and required
47956 # on some systems where configure will not decide to define it.
47957 cat >>conftest.undefs <<\_ACEOF
47958 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47961 # Break up conftest.defines because some shells have a limit on the size
47962 # of here documents, and old seds have small limits too (100 cmds).
47963 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47964 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47965 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47966 echo ' :' >>$CONFIG_STATUS
47967 rm -f conftest.tail
47968 while grep . conftest.defines >/dev/null
47970 # Write a limited-size here document to $tmp/defines.sed.
47971 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47972 # Speed up: don't consider the non `#define' lines.
47973 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47974 # Work around the forget-to-reset-the-flag bug.
47975 echo 't clr' >>$CONFIG_STATUS
47976 echo ': clr' >>$CONFIG_STATUS
47977 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
47979 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47981 mv $tmp/out $tmp/in
47983 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
47984 rm -f conftest.defines
47985 mv conftest.
tail conftest.defines
47987 rm -f conftest.defines
47988 echo ' fi # grep' >>$CONFIG_STATUS
47989 echo >>$CONFIG_STATUS
47991 # Break up conftest.undefs because some shells have a limit on the size
47992 # of here documents, and old seds have small limits too (100 cmds).
47993 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47994 rm -f conftest.
tail
47995 while grep . conftest.undefs
>/dev
/null
47997 # Write a limited-size here document to $tmp/undefs.sed.
47998 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47999 # Speed up: don't consider the non
`#undef'
48000 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
48001 # Work around the forget-to-reset-the-flag bug.
48002 echo 't clr' >>$CONFIG_STATUS
48003 echo ': clr' >>$CONFIG_STATUS
48004 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
48006 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
48008 mv $tmp/out $tmp/in
48010 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
48011 rm -f conftest.undefs
48012 mv conftest.tail conftest.undefs
48014 rm -f conftest.undefs
48016 cat >>$CONFIG_STATUS <<\_ACEOF
48017 # Let's still pretend it is `configure
' which instantiates (i.e., don't
48018 # use $as_me), people would be surprised to read:
48019 # /* config.h. Generated by config.status. */
48020 if test x
"$ac_file" = x
-; then
48021 echo "/* Generated by configure. */" >$tmp/config.h
48023 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
48025 cat $tmp/in >>$tmp/config.h
48027 if test x
"$ac_file" != x
-; then
48028 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
48029 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
48030 echo "$as_me: $ac_file is unchanged" >&6;}
48032 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
48033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48034 X"$ac_file" : 'X\(//\)[^/]' \| \
48035 X"$ac_file" : 'X\(//\)$' \| \
48036 X"$ac_file" : 'X\(/\)' \| \
48037 . : '\(.\)' 2>/dev/null ||
48039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48041 /^X\(\/\/\)$/{ s//\1/; q; }
48042 /^X\(\/\).*/{ s//\1/; q; }
48044 { if $as_mkdir_p; then
48049 while test ! -d "$as_dir"; do
48050 as_dirs
="$as_dir $as_dirs"
48051 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48053 X"$as_dir" : 'X\(//\)[^/]' \| \
48054 X"$as_dir" : 'X\(//\)$' \| \
48055 X"$as_dir" : 'X\(/\)' \| \
48056 . : '\(.\)' 2>/dev/null ||
48058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48059 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48060 /^X\(\/\/\)$/{ s//\1/; q; }
48061 /^X\(\/\).*/{ s//\1/; q; }
48064 test ! -n "$as_dirs" || mkdir $as_dirs
48065 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48066 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48067 { (exit 1); exit 1; }; }; }
48070 mv $tmp/config.h
$ac_file
48074 rm -f $tmp/config.h
48078 cat >>$CONFIG_STATUS <<\_ACEOF
48081 # CONFIG_COMMANDS section.
48083 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
48084 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
48085 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48086 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
48087 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48088 X"$ac_dest" : 'X\(//\)[^/]' \| \
48089 X"$ac_dest" : 'X\(//\)$' \| \
48090 X"$ac_dest" : 'X\(/\)' \| \
48091 . : '\(.\)' 2>/dev/null ||
48093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48095 /^X\(\/\/\)$/{ s//\1/; q; }
48096 /^X\(\/\).*/{ s//\1/; q; }
48098 { if $as_mkdir_p; then
48103 while test ! -d "$as_dir"; do
48104 as_dirs
="$as_dir $as_dirs"
48105 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48107 X"$as_dir" : 'X\(//\)[^/]' \| \
48108 X"$as_dir" : 'X\(//\)$' \| \
48109 X"$as_dir" : 'X\(/\)' \| \
48110 . : '\(.\)' 2>/dev/null ||
48112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48114 /^X\(\/\/\)$/{ s//\1/; q; }
48115 /^X\(\/\).*/{ s//\1/; q; }
48118 test ! -n "$as_dirs" || mkdir $as_dirs
48119 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48120 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48121 { (exit 1); exit 1; }; }; }
48125 if test "$ac_dir" != .
; then
48126 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48127 # A "../" for each directory in $ac_dir_suffix.
48128 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48130 ac_dir_suffix
= ac_top_builddir
=
48134 .
) # No --srcdir option. We are building in place.
48136 if test -z "$ac_top_builddir"; then
48139 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48141 [\\/]* | ?
:[\\/]* ) # Absolute path.
48142 ac_srcdir
=$srcdir$ac_dir_suffix;
48143 ac_top_srcdir
=$srcdir ;;
48144 *) # Relative path.
48145 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48146 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48149 # Do not use `cd foo && pwd` to compute absolute paths, because
48150 # the directories may not exist.
48152 .
) ac_abs_builddir
="$ac_dir";;
48155 .
) ac_abs_builddir
=`pwd`;;
48156 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48157 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48160 case $ac_abs_builddir in
48161 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48163 case ${ac_top_builddir}.
in
48164 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48165 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48166 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48169 case $ac_abs_builddir in
48170 .
) ac_abs_srcdir
=$ac_srcdir;;
48173 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48174 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48175 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48178 case $ac_abs_builddir in
48179 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48181 case $ac_top_srcdir in
48182 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48183 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48184 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48189 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48190 echo "$as_me: executing $ac_dest commands" >&6;}
48193 mkdir -p $outdir &&
48194 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
48196 wx
-config ) rm -f wx
-config
48197 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
48203 cat >>$CONFIG_STATUS <<\_ACEOF
48205 { (exit 0); exit 0; }
48207 chmod +x
$CONFIG_STATUS
48208 ac_clean_files
=$ac_clean_files_save
48211 # configure is writing to config.log, and then calls config.status.
48212 # config.status does its own redirection, appending to config.log.
48213 # Unfortunately, on DOS this fails, as config.log is still kept open
48214 # by configure, so config.status won't be able to write to it; its
48215 # output is simply discarded. So we exec the FD to /dev/null,
48216 # effectively closing config.log, so it can be properly (re)opened and
48217 # appended to by config.status. When coming back to configure, we
48218 # need to make the FD available again.
48219 if test "$no_create" != yes; then
48221 ac_config_status_args
=
48222 test "$silent" = yes &&
48223 ac_config_status_args
="$ac_config_status_args --quiet"
48225 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
48227 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48228 # would make configure fail if this is the last instruction.
48229 $ac_cs_success || { (exit 1); exit 1; }
48233 # CONFIG_SUBDIRS section.
48235 if test "$no_recursion" != yes; then
48237 # Remove --cache-file and --srcdir arguments so they do not pile up.
48238 ac_sub_configure_args
=
48240 for ac_arg
in $ac_configure_args; do
48241 if test -n "$ac_prev"; then
48246 -cache-file | --cache-file | --cache-fil | --cache-fi \
48247 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48248 ac_prev
=cache_file
;;
48249 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48250 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48253 --config-cache | -C)
48255 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48257 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48259 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48261 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48263 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
48267 # Always prepend --prefix to ensure using the same prefix
48268 # in subdir configurations.
48269 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
48272 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
48274 # Do not complain, so a configure script can configure whichever
48275 # parts of a large source tree are present.
48276 test -d $srcdir/$ac_dir || continue
48278 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48279 echo "$as_me: configuring in $ac_dir" >&6;}
48280 { if $as_mkdir_p; then
48285 while test ! -d "$as_dir"; do
48286 as_dirs
="$as_dir $as_dirs"
48287 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48289 X"$as_dir" : 'X\(//\)[^/]' \| \
48290 X"$as_dir" : 'X\(//\)$' \| \
48291 X"$as_dir" : 'X\(/\)' \| \
48292 . : '\(.\)' 2>/dev/null ||
48294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48296 /^X\(\/\/\)$/{ s//\1/; q; }
48297 /^X\(\/\).*/{ s//\1/; q; }
48300 test ! -n "$as_dirs" || mkdir $as_dirs
48301 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48302 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48303 { (exit 1); exit 1; }; }; }
48307 if test "$ac_dir" != .
; then
48308 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48309 # A "../" for each directory in $ac_dir_suffix.
48310 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48312 ac_dir_suffix
= ac_top_builddir
=
48316 .
) # No --srcdir option. We are building in place.
48318 if test -z "$ac_top_builddir"; then
48321 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48323 [\\/]* | ?
:[\\/]* ) # Absolute path.
48324 ac_srcdir
=$srcdir$ac_dir_suffix;
48325 ac_top_srcdir
=$srcdir ;;
48326 *) # Relative path.
48327 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48328 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48331 # Do not use `cd foo && pwd` to compute absolute paths, because
48332 # the directories may not exist.
48334 .
) ac_abs_builddir
="$ac_dir";;
48337 .
) ac_abs_builddir
=`pwd`;;
48338 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48339 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48342 case $ac_abs_builddir in
48343 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48345 case ${ac_top_builddir}.
in
48346 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48347 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48348 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48351 case $ac_abs_builddir in
48352 .
) ac_abs_srcdir
=$ac_srcdir;;
48355 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48356 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48357 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48360 case $ac_abs_builddir in
48361 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48363 case $ac_top_srcdir in
48364 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48365 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48366 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48373 # Check for guested configure; otherwise get Cygnus style configure.
48374 if test -f $ac_srcdir/configure.gnu
; then
48375 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
48376 elif test -f $ac_srcdir/configure
; then
48377 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
48378 elif test -f $ac_srcdir/configure.
in; then
48379 ac_sub_configure
=$ac_configure
48381 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48382 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48386 # The recursion is here.
48387 if test -n "$ac_sub_configure"; then
48388 # Make the cache file name correct relative to the subdirectory.
48389 case $cache_file in
48390 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
48391 *) # Relative path.
48392 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
48395 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48396 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48397 # The eval makes quoting arguments work.
48398 eval $ac_sub_configure $ac_sub_configure_args \
48399 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48400 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48401 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48402 { (exit 1); exit 1; }; }
48411 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48413 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48414 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48416 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48417 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48418 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48420 echo " What level of wxWidgets compatibility should be enabled?"
48421 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
48422 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
48424 echo " Which libraries should wxWidgets use?"
48425 echo " jpeg ${wxUSE_LIBJPEG-none}"
48426 echo " png ${wxUSE_LIBPNG-none}"
48427 echo " regex ${wxUSE_REGEX}"
48428 echo " tiff ${wxUSE_LIBTIFF-none}"
48429 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48430 echo " xpm ${wxUSE_LIBXPM-none}"
48432 echo " zlib ${wxUSE_ZLIB}"
48433 echo " odbc ${wxUSE_ODBC}"
48434 echo " expat ${wxUSE_EXPAT}"
48435 echo " libmspack ${wxUSE_LIBMSPACK}"
48436 echo " sdl ${wxUSE_LIBSDL}"
48437 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"