2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S LNDIR CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI 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 MACRESCOMP MACSETFILE MACRESWXCONFIG GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat24 enable wxWidgets
2.4 compatibility
893 --disable-compat26 disable wxWidgets
2.6 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-richtext use wxRichTextCtrl
963 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
964 --enable-prologio not available
; see contrib
965 --enable-resources not available
; see contrib
966 --enable-clipboard use wxClipboard class
967 --enable-dnd use Drag
'n'Drop classes
968 --enable-metafile use win32 metafiles
969 --enable-controls use all usual controls
970 --enable-accel use accelerators
971 --enable-button use wxButton class
972 --enable-bmpbutton use wxBitmapButton class
973 --enable-calendar use wxCalendarCtrl class
974 --enable-caret use wxCaret class
975 --enable-checkbox use wxCheckBox class
976 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
977 --enable-choice use wxChoice class
978 --enable-choicebook use wxChoicebook class
979 --enable-combobox use wxComboBox class
980 --enable-datepick use wxDatePickerCtrl class
981 --enable-display use wxDisplay class
982 --enable-gauge use wxGauge class
983 --enable-grid use wxGrid class
984 --enable-imaglist use wxImageList class
985 --enable-listbook use wxListbook class
986 --enable-listbox use wxListBox class
987 --enable-listctrl use wxListCtrl class
988 --enable-notebook use wxNotebook class
989 --enable-radiobox use wxRadioBox class
990 --enable-radiobtn use wxRadioButton class
991 --enable-sash use wxSashWindow class
992 --enable-scrollbar use wxScrollBar class and scrollable windows
993 --enable-slider use wxSlider class
994 --enable-spinbtn use wxSpinButton class
995 --enable-spinctrl use wxSpinCtrl class
996 --enable-splitter use wxSplitterWindow class
997 --enable-statbmp use wxStaticBitmap class
998 --enable-statbox use wxStaticBox class
999 --enable-statline use wxStaticLine class
1000 --enable-stattext use wxStaticText class
1001 --enable-statusbar use wxStatusBar class
1002 --enable-tabdialog use wxTabControl class
1003 --enable-textctrl use wxTextCtrl class
1004 --enable-togglebtn use wxToggleButton class
1005 --enable-toolbar use wxToolBar class
1006 --enable-tbarnative use native wxToolBar class
1007 --enable-tbarsmpl use wxToolBarSimple class
1008 --enable-treebook use wxTreebook class
1009 --enable-treectrl use wxTreeCtrl class
1010 --enable-tipwindow use wxTipWindow class
1011 --enable-popupwin use wxPopUpWindow class
1012 --enable-commondlg use all common dialogs
1013 --enable-choicedlg use wxChoiceDialog
1014 --enable-coldlg use wxColourDialog
1015 --enable-filedlg use wxFileDialog
1016 --enable-finddlg use wxFindReplaceDialog
1017 --enable-fontdlg use wxFontDialog
1018 --enable-dirdlg use wxDirDialog
1019 --enable-msgdlg use wxMessageDialog
1020 --enable-numberdlg use wxNumberEntryDialog
1021 --enable-splash use wxSplashScreen
1022 --enable-textdlg use wxTextDialog
1023 --enable-tipdlg use startup tips
1024 --enable-progressdlg use wxProgressDialog
1025 --enable-wizarddlg use wxWizard
1026 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1027 --enable-miniframe use wxMiniFrame class
1028 --enable-tooltips use wxToolTip class
1029 --enable-splines use spline drawing code
1030 --enable-mousewheel use mousewheel
1031 --enable-validators use wxValidator and derived classes
1032 --enable-busyinfo use wxBusyInfo
1033 --enable-joystick use wxJoystick
1034 --enable-metafiles use wxMetaFile
(Win32 only
)
1035 --enable-dragimage use wxDragImage
1036 --enable-accessibility enable accessibility support
1037 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1038 --enable-palette use wxPalette class
1039 --enable-image use wxImage class
1040 --enable-gif use gif images
(GIF
file format
)
1041 --enable-pcx use pcx images
(PCX
file format
)
1042 --enable-iff use iff images
(IFF
file format
)
1043 --enable-pnm use pnm images
(PNM
file format
)
1044 --enable-xpm use xpm images
(XPM
file format
)
1045 --enable-icocur use Windows ICO and CUR formats
1046 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1047 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1048 --disable-largefile omit support
for large files
1049 --disable-gtktest do not try to compile and run a
test GTK
+ program
1050 --disable-gtktest Do not try to compile and run a
test GTK program
1051 --disable-sdltest Do not try to compile and run a
test SDL program
1052 --enable-omf use OMF object format
(OS
/2)
1053 --disable-precomp-headers
1054 don
't use precompiled headers even if compiler can
1057 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1058 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1059 --without-subdirs don't generate makefiles
for samples
/demos
/...
1060 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1061 --with-motif use Motif
/Lesstif
1062 --with-mac use Mac OS X
1063 --with-cocoa use Cocoa
1064 --with-wine use Wine
1065 --with-msw use MS
-Windows
1066 --with-pm use OS
/2 Presentation Manager
1067 --with-mgl use SciTech MGL
1068 --with-microwin use MicroWindows
1070 --with-libpng use libpng
(PNG image format
)
1071 --with-libjpeg use libjpeg
(JPEG
file format
)
1072 --with-libtiff use libtiff
(TIFF
file format
)
1073 --with-libxpm use libxpm
(XPM
file format
)
1074 --with-libmspack use libmspack
(CHM
help files loading
)
1075 --with-sdl use SDL
for audio on Unix
1076 --with-gnomeprint use GNOME print
for printing under Unix
1077 --with-opengl use OpenGL
(or Mesa
)
1078 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1079 --with-regex enable support
for wxRegEx class
1080 --with-zlib use zlib
for LZW compression
1081 --with-odbc use the IODBC and wxODBC classes
1082 --with-expat enable XML support using expat parser
1083 --with-flavour=NAME specify a name to identify this build
1084 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1085 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1086 --with-x use the X Window System
1087 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1088 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1089 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1090 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1091 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1093 Some influential environment variables
:
1094 CC C compiler
command
1095 CFLAGS C compiler flags
1096 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1097 nonstandard directory
<lib dir
>
1098 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1099 headers
in a nonstandard directory
<include dir
>
1101 CXX C
++ compiler
command
1102 CXXFLAGS C
++ compiler flags
1103 CXXCPP C
++ preprocessor
1105 Use these variables to override the choices made by
`configure' or to help
1106 it to find libraries and programs with nonstandard names/locations.
1108 Report bugs to <wx-dev@lists.wxwidgets.org>.
1112 if test "$ac_init_help" = "recursive"; then
1113 # If there are subdirs, report their specific --help.
1115 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1116 test -d $ac_dir || continue
1119 if test "$ac_dir" != .; then
1120 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1121 # A "../" for each directory in $ac_dir_suffix.
1122 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1124 ac_dir_suffix= ac_top_builddir=
1128 .) # No --srcdir option. We are building in place.
1130 if test -z "$ac_top_builddir"; then
1133 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1135 [\\/]* | ?:[\\/]* ) # Absolute path.
1136 ac_srcdir=$srcdir$ac_dir_suffix;
1137 ac_top_srcdir=$srcdir ;;
1139 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1140 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1143 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1144 # the directories may not exist.
1146 .) ac_abs_builddir="$ac_dir";;
1149 .) ac_abs_builddir=`pwd`;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1151 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1154 case $ac_abs_builddir in
1155 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 case ${ac_top_builddir}. in
1158 .) ac_abs_top_builddir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1160 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1163 case $ac_abs_builddir in
1164 .) ac_abs_srcdir=$ac_srcdir;;
1167 .) ac_abs_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1169 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1172 case $ac_abs_builddir in
1173 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 case $ac_top_srcdir in
1176 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1177 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1178 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1183 # Check for guested configure; otherwise get Cygnus style configure.
1184 if test -f $ac_srcdir/configure.gnu; then
1186 $SHELL $ac_srcdir/configure.gnu --help=recursive
1187 elif test -f $ac_srcdir/configure; then
1189 $SHELL $ac_srcdir/configure --help=recursive
1190 elif test -f $ac_srcdir/configure.ac ||
1191 test -f $ac_srcdir/configure.in; then
1193 $ac_configure --help
1195 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1201 test -n "$ac_init_help" && exit 0
1202 if $ac_init_version; then
1204 wxWidgets configure 2.7.0
1205 generated by GNU Autoconf 2.59
1207 Copyright (C) 2003 Free Software Foundation, Inc.
1208 This configure script is free software; the Free Software Foundation
1209 gives unlimited permission to copy, distribute and modify it.
1215 This file contains any messages produced by compilers while
1216 running configure, to aid debugging if configure makes a mistake.
1218 It was created by wxWidgets $as_me 2.7.0, which was
1219 generated by GNU Autoconf 2.59. Invocation command line was
1230 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1231 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1232 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1233 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1234 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1236 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1237 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1239 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1240 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1241 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1242 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1243 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1244 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1245 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1253 test -z "$as_dir" && as_dir=.
1254 echo "PATH: $as_dir"
1269 # Keep a trace of the command line.
1270 # Strip out --no-create and --no-recursion so they do not pile up.
1271 # Strip out --silent because we don't want to record it for future runs.
1272 # Also quote any args containing shell meta-characters.
1273 # Make two passes to allow for proper duplicate-argument suppression.
1278 ac_must_keep_next=false
1284 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1286 | -silent | --silent | --silen | --sile | --sil)
1288 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1289 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1292 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1294 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1295 if test $ac_must_keep_next = true; then
1296 ac_must_keep_next=false # Got value, back to normal.
1299 *=* | --config-cache | -C | -disable-* | --disable-* \
1300 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1301 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1302 | -with-* | --with-* | -without-* | --without-* | --x)
1303 case "$ac_configure_args0 " in
1304 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1307 -* ) ac_must_keep_next=true ;;
1310 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1311 # Get rid of the leading space.
1317 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1318 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1320 # When interrupted or exit'd, cleanup temporary files, and complete
1321 # config.log. We remove comments because anyway the quotes in there
1322 # would cause problems or look ugly.
1323 # WARNING: Be sure not to use single quotes in there, as some shells,
1324 # such as our DU 5.0 friend, will then `close
' the trap.
1325 trap 'exit_status
=$?
1326 # Save into config.log some information that might help in debugging.
1331 ## ---------------- ##
1332 ## Cache variables. ##
1333 ## ---------------- ##
1336 # The following way of writing the cache mishandles newlines in values,
1339 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1342 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1354 ## ----------------- ##
1355 ## Output variables. ##
1356 ## ----------------- ##
1359 for ac_var
in $ac_subst_vars
1361 eval ac_val
=$
`echo $ac_var`
1362 echo "$ac_var='"'"'$ac_val'"'"'"
1366 if test -n "$ac_subst_files"; then
1373 for ac_var
in $ac_subst_files
1375 eval ac_val
=$
`echo $ac_var`
1376 echo "$ac_var='"'"'$ac_val'"'"'"
1381 if test -s confdefs.h
; then
1388 sed "/^$/d" confdefs.h
| sort
1391 test "$ac_signal" != 0 &&
1392 echo "$as_me: caught signal $ac_signal"
1393 echo "$as_me: exit $exit_status"
1395 rm -f core
*.core
&&
1396 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1399 for ac_signal in 1 2 13 15; do
1400 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1404 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1405 rm -rf conftest* confdefs.h
1406 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1409 # Predefined preprocessor variables.
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_NAME "$PACKAGE_NAME"
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1426 cat >>confdefs.h <<_ACEOF
1427 #define PACKAGE_STRING "$PACKAGE_STRING"
1431 cat >>confdefs.h <<_ACEOF
1432 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1436 # Let the site file select an alternate cache file if it wants to.
1437 # Prefer explicitly selected file to automatically selected ones.
1438 if test -z "$CONFIG_SITE"; then
1439 if test "x$prefix" != xNONE; then
1440 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1442 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1445 for ac_site_file in $CONFIG_SITE; do
1446 if test -r "$ac_site_file"; then
1447 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1448 echo "$as_me: loading site script $ac_site_file" >&6;}
1449 sed 's
/^
/| /' "$ac_site_file" >&5
1454 if test -r "$cache_file"; then
1455 # Some versions of bash will fail to source /dev/null (special
1456 # files actually), so we avoid doing that.
1457 if test -f "$cache_file"; then
1458 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1459 echo "$as_me: loading cache $cache_file" >&6;}
1461 [\\/]* | ?:[\\/]* ) . $cache_file;;
1462 *) . ./$cache_file;;
1466 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1467 echo "$as_me: creating cache $cache_file" >&6;}
1471 # Check that the precious variables saved in the cache have kept the same
1473 ac_cache_corrupted=false
1474 for ac_var in `(set) 2>&1 |
1475 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1476 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1477 eval ac_new_set=\$ac_env_${ac_var}_set
1478 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1479 eval ac_new_val="\$ac_env_${ac_var}_value"
1480 case $ac_old_set,$ac_new_set in
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1484 ac_cache_corrupted=: ;;
1486 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1487 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1488 ac_cache_corrupted=: ;;
1491 if test "x$ac_old_val" != "x$ac_new_val"; then
1492 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1493 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1494 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1495 echo "$as_me: former value: $ac_old_val" >&2;}
1496 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1497 echo "$as_me: current value: $ac_new_val" >&2;}
1498 ac_cache_corrupted=:
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1516 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1517 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1518 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1519 { (exit 1); exit 1; }; }
1523 ac_cpp='$CPP $CPPFLAGS'
1524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1525 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1558 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1559 if test -f $ac_dir/install-sh; then
1561 ac_install_sh="$ac_aux_dir/install-sh -c"
1563 elif test -f $ac_dir/install.sh; then
1565 ac_install_sh="$ac_aux_dir/install.sh -c"
1567 elif test -f $ac_dir/shtool; then
1569 ac_install_sh="$ac_aux_dir/shtool install -c"
1573 if test -z "$ac_aux_dir"; then
1574 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1575 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1576 { (exit 1); exit 1; }; }
1578 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1579 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1580 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1582 # Make sure we can run config.sub.
1583 $ac_config_sub sun4 >/dev/null 2>&1 ||
1584 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1585 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1586 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: checking build system type" >&5
1589 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1590 if test "${ac_cv_build+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 ac_cv_build_alias=$build_alias
1594 test -z "$ac_cv_build_alias" &&
1595 ac_cv_build_alias=`$ac_config_guess`
1596 test -z "$ac_cv_build_alias" &&
1597 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1598 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1599 { (exit 1); exit 1; }; }
1600 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1601 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1602 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1603 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1607 echo "${ECHO_T}$ac_cv_build" >&6
1609 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1610 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1611 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1614 echo "$as_me:$LINENO: checking host system type" >&5
1615 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1616 if test "${ac_cv_host+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 ac_cv_host_alias=$host_alias
1620 test -z "$ac_cv_host_alias" &&
1621 ac_cv_host_alias=$ac_cv_build_alias
1622 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1623 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1624 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1625 { (exit 1); exit 1; }; }
1628 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1629 echo "${ECHO_T}$ac_cv_host" >&6
1631 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1632 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1633 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1636 echo "$as_me:$LINENO: checking target system type" >&5
1637 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1638 if test "${ac_cv_target+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 ac_cv_target_alias=$target_alias
1642 test "x$ac_cv_target_alias" = "x" &&
1643 ac_cv_target_alias=$ac_cv_host_alias
1644 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1645 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1646 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1647 { (exit 1); exit 1; }; }
1650 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1651 echo "${ECHO_T}$ac_cv_target" >&6
1652 target=$ac_cv_target
1653 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1654 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1655 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1658 # The aliases save the names the user supplied, while $host etc.
1659 # will get canonicalized.
1660 test -n "$target_alias" &&
1661 test "$program_prefix$program_suffix$program_transform_name" = \
1663 program_prefix=${target_alias}-
1667 wx_major_version_number=2
1668 wx_minor_version_number=7
1670 wx_subrelease_number=0
1672 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1673 WX_VERSION=$WX_RELEASE.$wx_release_number
1674 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1676 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1689 USE_BSD= USE_DARWIN= USE_FREEBSD=
1695 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1701 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1703 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1705 DEFAULT_wxUSE_COCOA=0
1709 DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_wxUSE_MOTIF=0
1715 DEFAULT_DEFAULT_wxUSE_COCOA=0
1716 DEFAULT_DEFAULT_wxUSE_GTK=0
1717 DEFAULT_DEFAULT_wxUSE_MAC=0
1718 DEFAULT_DEFAULT_wxUSE_MGL=0
1719 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1721 DEFAULT_DEFAULT_wxUSE_MSW=0
1722 DEFAULT_DEFAULT_wxUSE_PM=0
1723 DEFAULT_DEFAULT_wxUSE_X11=0
1728 SAMPLES_RPATH_POSTLINK=
1730 DEFAULT_STD_FLAG=yes
1735 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1736 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1738 cat >>confdefs.h <<\_ACEOF
1743 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
1747 cat >>confdefs.h <<\_ACEOF
1752 if test "x$TMP" = "xalpha"; then
1754 cat >>confdefs.h <<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_GTK=1
1761 *-*-gnu* | *-*-k*bsd*-gnu )
1764 if test "x$TMP" = "xalpha"; then
1766 cat >>confdefs.h <<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_GTK=1
1773 *-*-irix5* | *-*-irix6* )
1776 cat >>confdefs.h <<\_ACEOF
1780 cat >>confdefs.h <<\_ACEOF
1784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1790 cat >>confdefs.h <<\_ACEOF
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SOLARIS__ 1
1798 cat >>confdefs.h <<\_ACEOF
1802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1803 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1809 cat >>confdefs.h <<\_ACEOF
1813 cat >>confdefs.h <<\_ACEOF
1817 cat >>confdefs.h <<\_ACEOF
1821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __FREEBSD__ 1
1830 cat >>confdefs.h <<\_ACEOF
1834 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __OPENBSD__ 1
1843 cat >>confdefs.h <<\_ACEOF
1847 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __NETBSD__ 1
1856 cat >>confdefs.h <<\_ACEOF
1860 DEFAULT_DEFAULT_wxUSE_GTK=1
1865 cat >>confdefs.h <<\_ACEOF
1869 cat >>confdefs.h <<\_ACEOF
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879 cat >>confdefs.h <<\_ACEOF
1883 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1892 cat >>confdefs.h <<\_ACEOF
1896 cat >>confdefs.h <<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1907 cat >>confdefs.h <<\_ACEOF
1911 cat >>confdefs.h <<\_ACEOF
1915 cat >>confdefs.h <<\_ACEOF
1919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __UNIXWARE__ 1
1932 *-*-cygwin* | *-*-mingw32* )
1935 DEFAULT_DEFAULT_wxUSE_MSW=1
1942 cat >>confdefs.h <<\_ACEOF
1947 DEFAULT_DEFAULT_wxUSE_MGL=1
1950 *-pc-os2_emx | *-pc-os2-emx )
1951 cat >>confdefs.h <<\_ACEOF
1956 cat >>confdefs.h <<\_ACEOF
1961 DEFAULT_DEFAULT_wxUSE_PM=1
1963 LDFLAGS="$LDFLAGS -Zcrtdll"
1964 ac_executable_extensions=".exe"
1965 export ac_executable_extensions
1969 for ac_dir in $PATH; do
1971 if test -z "$ac_TEMP_PATH"; then
1972 ac_TEMP_PATH="$ac_dir"
1974 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1977 export PATH="$ac_TEMP_PATH"
1986 cat >>confdefs.h <<\_ACEOF
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __DARWIN__ 1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define TARGET_CARBON 1
1998 DEFAULT_DEFAULT_wxUSE_MAC=1
2001 powerpc-apple-macos* )
2003 ac_cv_c_bigendian=yes
2005 DEFAULT_DEFAULT_wxUSE_MAC=1
2011 cat >>confdefs.h <<\_ACEOF
2018 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2019 echo "$as_me: error: unknown system type ${host}." >&2;}
2020 { (exit 1); exit 1; }; }
2026 wx_arg_cache_file="configarg.cache"
2027 echo "loading argument cache $wx_arg_cache_file"
2028 rm -f ${wx_arg_cache_file}.tmp
2029 touch ${wx_arg_cache_file}.tmp
2030 touch ${wx_arg_cache_file}
2034 if test $DEBUG_CONFIGURE = 1; then
2035 DEFAULT_wxUSE_UNIVERSAL=no
2036 DEFAULT_wxUSE_STL=no
2038 DEFAULT_wxUSE_NANOX=no
2040 DEFAULT_wxUSE_THREADS=yes
2042 DEFAULT_wxUSE_SHARED=yes
2043 DEFAULT_wxUSE_OPTIMISE=no
2044 DEFAULT_wxUSE_PROFILE=no
2045 DEFAULT_wxUSE_NO_DEPS=no
2046 DEFAULT_wxUSE_NO_RTTI=no
2047 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2048 DEFAULT_wxUSE_RPATH=yes
2049 DEFAULT_wxUSE_PERMISSIVE=no
2050 DEFAULT_wxUSE_DEBUG_FLAG=yes
2051 DEFAULT_wxUSE_DEBUG_INFO=yes
2052 DEFAULT_wxUSE_DEBUG_GDB=yes
2053 DEFAULT_wxUSE_MEM_TRACING=no
2054 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2055 DEFAULT_wxUSE_DMALLOC=no
2056 DEFAULT_wxUSE_APPLE_IEEE=no
2058 DEFAULT_wxUSE_EXCEPTIONS=no
2059 DEFAULT_wxUSE_LOG=yes
2060 DEFAULT_wxUSE_LOGWINDOW=no
2061 DEFAULT_wxUSE_LOGGUI=no
2062 DEFAULT_wxUSE_LOGDIALOG=no
2064 DEFAULT_wxUSE_GUI=yes
2065 DEFAULT_wxUSE_CONTROLS=no
2067 DEFAULT_wxUSE_REGEX=no
2068 DEFAULT_wxUSE_XML=no
2069 DEFAULT_wxUSE_EXPAT=no
2070 DEFAULT_wxUSE_ZLIB=no
2071 DEFAULT_wxUSE_LIBPNG=no
2072 DEFAULT_wxUSE_LIBJPEG=no
2073 DEFAULT_wxUSE_LIBTIFF=no
2074 DEFAULT_wxUSE_LIBXPM=no
2075 DEFAULT_wxUSE_LIBMSPACK=no
2076 DEFAULT_wxUSE_LIBSDL=no
2077 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2078 DEFAULT_wxUSE_ODBC=no
2079 DEFAULT_wxUSE_OPENGL=no
2081 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2082 DEFAULT_wxUSE_STACKWALKER=no
2083 DEFAULT_wxUSE_DEBUGREPORT=no
2084 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2085 DEFAULT_wxUSE_STD_IOSTREAM=no
2086 DEFAULT_wxUSE_STD_STRING=no
2087 DEFAULT_wxUSE_CMDLINE_PARSER=no
2088 DEFAULT_wxUSE_DATETIME=no
2089 DEFAULT_wxUSE_TIMER=no
2090 DEFAULT_wxUSE_STOPWATCH=no
2091 DEFAULT_wxUSE_FILE=no
2092 DEFAULT_wxUSE_FFILE=no
2093 DEFAULT_wxUSE_STDPATHS=no
2094 DEFAULT_wxUSE_TEXTBUFFER=no
2095 DEFAULT_wxUSE_TEXTFILE=no
2096 DEFAULT_wxUSE_SOUND=no
2097 DEFAULT_wxUSE_MEDIACTRL=no
2098 DEFAULT_wxUSE_INTL=no
2099 DEFAULT_wxUSE_CONFIG=no
2100 DEFAULT_wxUSE_FONTMAP=no
2101 DEFAULT_wxUSE_STREAMS=no
2102 DEFAULT_wxUSE_SOCKETS=no
2103 DEFAULT_wxUSE_OLE=no
2104 DEFAULT_wxUSE_DATAOBJ=no
2105 DEFAULT_wxUSE_DIALUP_MANAGER=no
2106 DEFAULT_wxUSE_JOYSTICK=no
2107 DEFAULT_wxUSE_DYNLIB_CLASS=no
2108 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2109 DEFAULT_wxUSE_LONGLONG=no
2110 DEFAULT_wxUSE_GEOMETRY=no
2112 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2113 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2114 DEFAULT_wxUSE_POSTSCRIPT=no
2116 DEFAULT_wxUSE_CLIPBOARD=no
2117 DEFAULT_wxUSE_TOOLTIPS=no
2118 DEFAULT_wxUSE_DRAG_AND_DROP=no
2119 DEFAULT_wxUSE_DRAGIMAGE=no
2120 DEFAULT_wxUSE_SPLINES=no
2121 DEFAULT_wxUSE_MOUSEWHEEL=no
2123 DEFAULT_wxUSE_MDI=no
2124 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2125 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2126 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2128 DEFAULT_wxUSE_RESOURCES=no
2129 DEFAULT_wxUSE_CONSTRAINTS=no
2130 DEFAULT_wxUSE_IPC=no
2131 DEFAULT_wxUSE_HELP=no
2132 DEFAULT_wxUSE_MS_HTML_HELP=no
2133 DEFAULT_wxUSE_WXHTML_HELP=no
2134 DEFAULT_wxUSE_TREELAYOUT=no
2135 DEFAULT_wxUSE_METAFILE=no
2136 DEFAULT_wxUSE_MIMETYPE=no
2137 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2138 DEFAULT_wxUSE_PROTOCOL=no
2139 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2140 DEFAULT_wxUSE_PROTOCOL_FTP=no
2141 DEFAULT_wxUSE_PROTOCOL_FILE=no
2142 DEFAULT_wxUSE_URL=no
2144 DEFAULT_wxUSE_COMMONDLGS=no
2145 DEFAULT_wxUSE_CHOICEDLG=no
2146 DEFAULT_wxUSE_COLOURDLG=no
2147 DEFAULT_wxUSE_DIRDLG=no
2148 DEFAULT_wxUSE_FILEDLG=no
2149 DEFAULT_wxUSE_FINDREPLDLG=no
2150 DEFAULT_wxUSE_FONTDLG=no
2151 DEFAULT_wxUSE_MSGDLG=no
2152 DEFAULT_wxUSE_NUMBERDLG=no
2153 DEFAULT_wxUSE_TEXTDLG=no
2154 DEFAULT_wxUSE_SPLASH=no
2155 DEFAULT_wxUSE_STARTUP_TIPS=no
2156 DEFAULT_wxUSE_PROGRESSDLG=no
2157 DEFAULT_wxUSE_WIZARDDLG=no
2159 DEFAULT_wxUSE_MENUS=no
2160 DEFAULT_wxUSE_MINIFRAME=no
2161 DEFAULT_wxUSE_HTML=no
2162 DEFAULT_wxUSE_RICHTEXT=no
2163 DEFAULT_wxUSE_XRC=no
2164 DEFAULT_wxUSE_WEBKIT=no
2165 DEFAULT_wxUSE_FILESYSTEM=no
2166 DEFAULT_wxUSE_FS_INET=no
2167 DEFAULT_wxUSE_FS_ZIP=no
2168 DEFAULT_wxUSE_BUSYINFO=no
2169 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2170 DEFAULT_wxUSE_ZIPSTREAM=no
2171 DEFAULT_wxUSE_VALIDATORS=no
2173 DEFAULT_wxUSE_ACCEL=no
2174 DEFAULT_wxUSE_BUTTON=no
2175 DEFAULT_wxUSE_BMPBUTTON=no
2176 DEFAULT_wxUSE_CALCTRL=no
2177 DEFAULT_wxUSE_CARET=no
2178 DEFAULT_wxUSE_CHECKBOX=no
2179 DEFAULT_wxUSE_CHECKLST=no
2180 DEFAULT_wxUSE_CHOICE=no
2181 DEFAULT_wxUSE_CHOICEBOOK=no
2182 DEFAULT_wxUSE_COMBOBOX=no
2183 DEFAULT_wxUSE_DATEPICKCTRL=no
2184 DEFAULT_wxUSE_DISPLAY=no
2185 DEFAULT_wxUSE_GAUGE=no
2186 DEFAULT_wxUSE_GRID=no
2187 DEFAULT_wxUSE_IMAGLIST=no
2188 DEFAULT_wxUSE_LISTBOOK=no
2189 DEFAULT_wxUSE_LISTBOX=no
2190 DEFAULT_wxUSE_LISTCTRL=no
2191 DEFAULT_wxUSE_NOTEBOOK=no
2192 DEFAULT_wxUSE_RADIOBOX=no
2193 DEFAULT_wxUSE_RADIOBTN=no
2194 DEFAULT_wxUSE_SASH=no
2195 DEFAULT_wxUSE_SCROLLBAR=no
2196 DEFAULT_wxUSE_SLIDER=no
2197 DEFAULT_wxUSE_SPINBTN=no
2198 DEFAULT_wxUSE_SPINCTRL=no
2199 DEFAULT_wxUSE_SPLITTER=no
2200 DEFAULT_wxUSE_STATBMP=no
2201 DEFAULT_wxUSE_STATBOX=no
2202 DEFAULT_wxUSE_STATLINE=no
2203 DEFAULT_wxUSE_STATTEXT=no
2204 DEFAULT_wxUSE_STATUSBAR=yes
2205 DEFAULT_wxUSE_TABDIALOG=no
2206 DEFAULT_wxUSE_TEXTCTRL=no
2207 DEFAULT_wxUSE_TOGGLEBTN=no
2208 DEFAULT_wxUSE_TOOLBAR=no
2209 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2210 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2211 DEFAULT_wxUSE_TREEBOOK=no
2212 DEFAULT_wxUSE_TREECTRL=no
2213 DEFAULT_wxUSE_POPUPWIN=no
2214 DEFAULT_wxUSE_TIPWINDOW=no
2216 DEFAULT_wxUSE_UNICODE=no
2217 DEFAULT_wxUSE_UNICODE_MSLU=no
2218 DEFAULT_wxUSE_WCSRTOMBS=no
2220 DEFAULT_wxUSE_PALETTE=no
2221 DEFAULT_wxUSE_IMAGE=no
2222 DEFAULT_wxUSE_GIF=no
2223 DEFAULT_wxUSE_PCX=no
2224 DEFAULT_wxUSE_PNM=no
2225 DEFAULT_wxUSE_IFF=no
2226 DEFAULT_wxUSE_XPM=no
2227 DEFAULT_wxUSE_ICO_CUR=no
2228 DEFAULT_wxUSE_ACCESSIBILITY=no
2230 DEFAULT_wxUSE_MONOLITHIC=no
2231 DEFAULT_wxUSE_PLUGINS=no
2232 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2234 DEFAULT_wxUSE_UNIVERSAL=no
2235 DEFAULT_wxUSE_STL=no
2237 DEFAULT_wxUSE_NANOX=no
2239 DEFAULT_wxUSE_THREADS=yes
2241 DEFAULT_wxUSE_SHARED=yes
2242 DEFAULT_wxUSE_OPTIMISE=yes
2243 DEFAULT_wxUSE_PROFILE=no
2244 DEFAULT_wxUSE_NO_DEPS=no
2245 DEFAULT_wxUSE_NO_RTTI=no
2246 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2247 DEFAULT_wxUSE_RPATH=yes
2248 DEFAULT_wxUSE_PERMISSIVE=no
2249 DEFAULT_wxUSE_DEBUG_FLAG=no
2250 DEFAULT_wxUSE_DEBUG_INFO=no
2251 DEFAULT_wxUSE_DEBUG_GDB=no
2252 DEFAULT_wxUSE_MEM_TRACING=no
2253 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2254 DEFAULT_wxUSE_DMALLOC=no
2255 DEFAULT_wxUSE_APPLE_IEEE=yes
2257 DEFAULT_wxUSE_EXCEPTIONS=yes
2258 DEFAULT_wxUSE_LOG=yes
2259 DEFAULT_wxUSE_LOGWINDOW=yes
2260 DEFAULT_wxUSE_LOGGUI=yes
2261 DEFAULT_wxUSE_LOGDIALOG=yes
2263 DEFAULT_wxUSE_GUI=yes
2265 DEFAULT_wxUSE_REGEX=yes
2266 DEFAULT_wxUSE_XML=yes
2267 DEFAULT_wxUSE_EXPAT=yes
2268 DEFAULT_wxUSE_ZLIB=yes
2269 DEFAULT_wxUSE_LIBPNG=yes
2270 DEFAULT_wxUSE_LIBJPEG=yes
2271 DEFAULT_wxUSE_LIBTIFF=yes
2272 DEFAULT_wxUSE_LIBXPM=yes
2273 DEFAULT_wxUSE_LIBMSPACK=yes
2274 DEFAULT_wxUSE_LIBSDL=no
2275 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2276 DEFAULT_wxUSE_ODBC=no
2277 DEFAULT_wxUSE_OPENGL=no
2279 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2280 DEFAULT_wxUSE_STACKWALKER=yes
2281 DEFAULT_wxUSE_DEBUGREPORT=yes
2282 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2283 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2284 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2285 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2286 DEFAULT_wxUSE_DATETIME=yes
2287 DEFAULT_wxUSE_TIMER=yes
2288 DEFAULT_wxUSE_STOPWATCH=yes
2289 DEFAULT_wxUSE_FILE=yes
2290 DEFAULT_wxUSE_FFILE=yes
2291 DEFAULT_wxUSE_STDPATHS=yes
2292 DEFAULT_wxUSE_TEXTBUFFER=yes
2293 DEFAULT_wxUSE_TEXTFILE=yes
2294 DEFAULT_wxUSE_SOUND=yes
2295 DEFAULT_wxUSE_MEDIACTRL=no
2296 DEFAULT_wxUSE_INTL=yes
2297 DEFAULT_wxUSE_CONFIG=yes
2298 DEFAULT_wxUSE_FONTMAP=yes
2299 DEFAULT_wxUSE_STREAMS=yes
2300 DEFAULT_wxUSE_SOCKETS=yes
2301 DEFAULT_wxUSE_OLE=yes
2302 DEFAULT_wxUSE_DATAOBJ=yes
2303 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2304 DEFAULT_wxUSE_JOYSTICK=yes
2305 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2306 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2307 DEFAULT_wxUSE_LONGLONG=yes
2308 DEFAULT_wxUSE_GEOMETRY=yes
2310 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2311 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2312 DEFAULT_wxUSE_POSTSCRIPT=yes
2314 DEFAULT_wxUSE_CLIPBOARD=yes
2315 DEFAULT_wxUSE_TOOLTIPS=yes
2316 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2317 DEFAULT_wxUSE_DRAGIMAGE=yes
2318 DEFAULT_wxUSE_SPLINES=yes
2319 DEFAULT_wxUSE_MOUSEWHEEL=yes
2321 DEFAULT_wxUSE_MDI=yes
2322 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2323 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2324 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2326 DEFAULT_wxUSE_RESOURCES=no
2327 DEFAULT_wxUSE_CONSTRAINTS=yes
2328 DEFAULT_wxUSE_IPC=yes
2329 DEFAULT_wxUSE_HELP=yes
2330 DEFAULT_wxUSE_MS_HTML_HELP=yes
2331 DEFAULT_wxUSE_WXHTML_HELP=yes
2332 DEFAULT_wxUSE_TREELAYOUT=yes
2333 DEFAULT_wxUSE_METAFILE=yes
2334 DEFAULT_wxUSE_MIMETYPE=yes
2335 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2336 DEFAULT_wxUSE_PROTOCOL=yes
2337 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2338 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2339 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2340 DEFAULT_wxUSE_URL=yes
2342 DEFAULT_wxUSE_COMMONDLGS=yes
2343 DEFAULT_wxUSE_CHOICEDLG=yes
2344 DEFAULT_wxUSE_COLOURDLG=yes
2345 DEFAULT_wxUSE_DIRDLG=yes
2346 DEFAULT_wxUSE_FILEDLG=yes
2347 DEFAULT_wxUSE_FINDREPLDLG=yes
2348 DEFAULT_wxUSE_FONTDLG=yes
2349 DEFAULT_wxUSE_MSGDLG=yes
2350 DEFAULT_wxUSE_NUMBERDLG=yes
2351 DEFAULT_wxUSE_TEXTDLG=yes
2352 DEFAULT_wxUSE_SPLASH=yes
2353 DEFAULT_wxUSE_STARTUP_TIPS=yes
2354 DEFAULT_wxUSE_PROGRESSDLG=yes
2355 DEFAULT_wxUSE_WIZARDDLG=yes
2357 DEFAULT_wxUSE_MENUS=yes
2358 DEFAULT_wxUSE_MINIFRAME=yes
2359 DEFAULT_wxUSE_HTML=yes
2360 DEFAULT_wxUSE_RICHTEXT=yes
2361 DEFAULT_wxUSE_XRC=yes
2362 DEFAULT_wxUSE_WEBKIT=yes
2363 DEFAULT_wxUSE_FILESYSTEM=yes
2364 DEFAULT_wxUSE_FS_INET=yes
2365 DEFAULT_wxUSE_FS_ZIP=yes
2366 DEFAULT_wxUSE_BUSYINFO=yes
2367 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2368 DEFAULT_wxUSE_ZIPSTREAM=yes
2369 DEFAULT_wxUSE_VALIDATORS=yes
2371 DEFAULT_wxUSE_ACCEL=yes
2372 DEFAULT_wxUSE_BUTTON=yes
2373 DEFAULT_wxUSE_BMPBUTTON=yes
2374 DEFAULT_wxUSE_CALCTRL=yes
2375 DEFAULT_wxUSE_CARET=yes
2376 DEFAULT_wxUSE_CHECKBOX=yes
2377 DEFAULT_wxUSE_CHECKLST=yes
2378 DEFAULT_wxUSE_CHOICE=yes
2379 DEFAULT_wxUSE_CHOICEBOOK=yes
2380 DEFAULT_wxUSE_COMBOBOX=yes
2381 DEFAULT_wxUSE_DATEPICKCTRL=yes
2382 DEFAULT_wxUSE_DISPLAY=yes
2383 DEFAULT_wxUSE_GAUGE=yes
2384 DEFAULT_wxUSE_GRID=yes
2385 DEFAULT_wxUSE_IMAGLIST=yes
2386 DEFAULT_wxUSE_LISTBOOK=yes
2387 DEFAULT_wxUSE_LISTBOX=yes
2388 DEFAULT_wxUSE_LISTCTRL=yes
2389 DEFAULT_wxUSE_NOTEBOOK=yes
2390 DEFAULT_wxUSE_RADIOBOX=yes
2391 DEFAULT_wxUSE_RADIOBTN=yes
2392 DEFAULT_wxUSE_SASH=yes
2393 DEFAULT_wxUSE_SCROLLBAR=yes
2394 DEFAULT_wxUSE_SLIDER=yes
2395 DEFAULT_wxUSE_SPINBTN=yes
2396 DEFAULT_wxUSE_SPINCTRL=yes
2397 DEFAULT_wxUSE_SPLITTER=yes
2398 DEFAULT_wxUSE_STATBMP=yes
2399 DEFAULT_wxUSE_STATBOX=yes
2400 DEFAULT_wxUSE_STATLINE=yes
2401 DEFAULT_wxUSE_STATTEXT=yes
2402 DEFAULT_wxUSE_STATUSBAR=yes
2403 DEFAULT_wxUSE_TABDIALOG=no
2404 DEFAULT_wxUSE_TEXTCTRL=yes
2405 DEFAULT_wxUSE_TOGGLEBTN=yes
2406 DEFAULT_wxUSE_TOOLBAR=yes
2407 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2408 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2409 DEFAULT_wxUSE_TREEBOOK=yes
2410 DEFAULT_wxUSE_TREECTRL=yes
2411 DEFAULT_wxUSE_POPUPWIN=yes
2412 DEFAULT_wxUSE_TIPWINDOW=yes
2414 DEFAULT_wxUSE_UNICODE=no
2415 DEFAULT_wxUSE_UNICODE_MSLU=yes
2416 DEFAULT_wxUSE_WCSRTOMBS=no
2418 DEFAULT_wxUSE_PALETTE=yes
2419 DEFAULT_wxUSE_IMAGE=yes
2420 DEFAULT_wxUSE_GIF=yes
2421 DEFAULT_wxUSE_PCX=yes
2422 DEFAULT_wxUSE_IFF=no
2423 DEFAULT_wxUSE_PNM=yes
2424 DEFAULT_wxUSE_XPM=yes
2425 DEFAULT_wxUSE_ICO_CUR=yes
2426 DEFAULT_wxUSE_ACCESSIBILITY=no
2428 DEFAULT_wxUSE_MONOLITHIC=no
2429 DEFAULT_wxUSE_PLUGINS=no
2430 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2432 DEFAULT_wxUSE_GTK2=yes
2438 for toolkit in `echo $ALL_TOOLKITS`; do
2439 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 has_toolkit_in_cache=1
2442 eval "DEFAULT_$LINE"
2443 eval "CACHE_$toolkit=1"
2445 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2446 if test "x$LINE" != "x" ; then
2447 eval "DEFAULT_$LINE"
2455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2456 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2458 # Check whether --enable-gui or --disable-gui was given.
2459 if test "${enable_gui+set}" = set; then
2460 enableval="$enable_gui"
2462 if test "$enableval" = yes; then
2463 ac_cv_use_gui='wxUSE_GUI
=yes'
2465 ac_cv_use_gui='wxUSE_GUI
=no
'
2470 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2471 if test "x$LINE" != x ; then
2472 eval "DEFAULT_$LINE"
2477 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2481 eval "$ac_cv_use_gui"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_GUI" = yes; then
2487 echo "$as_me:$LINENO: result: yes" >&5
2488 echo "${ECHO_T}yes" >&6
2490 echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2497 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2499 # Check whether --enable-monolithic or --disable-monolithic was given.
2500 if test "${enable_monolithic+set}" = set; then
2501 enableval="$enable_monolithic"
2503 if test "$enableval" = yes; then
2504 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2506 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2511 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x ; then
2513 eval "DEFAULT_$LINE"
2518 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2522 eval "$ac_cv_use_monolithic"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2527 if test "$wxUSE_MONOLITHIC" = yes; then
2528 echo "$as_me:$LINENO: result: yes" >&5
2529 echo "${ECHO_T}yes" >&6
2531 echo "$as_me:$LINENO: result: no" >&5
2532 echo "${ECHO_T}no" >&6
2537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2538 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2540 # Check whether --enable-plugins or --disable-plugins was given.
2541 if test "${enable_plugins+set}" = set; then
2542 enableval="$enable_plugins"
2544 if test "$enableval" = yes; then
2545 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2547 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2552 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2553 if test "x$LINE" != x ; then
2554 eval "DEFAULT_$LINE"
2559 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2563 eval "$ac_cv_use_plugins"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_PLUGINS" = yes; then
2569 echo "$as_me:$LINENO: result: yes" >&5
2570 echo "${ECHO_T}yes" >&6
2572 echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6
2578 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2579 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2582 # Check whether --with-subdirs or --without-subdirs was given.
2583 if test "${with_subdirs+set}" = set; then
2584 withval="$with_subdirs"
2586 if test "$withval" = yes; then
2587 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2589 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2594 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2601 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2605 eval "$ac_cv_use_subdirs"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2610 if test "$wxWITH_SUBDIRS" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2619 if test "$wxUSE_GUI" = "yes"; then
2623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2624 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2626 # Check whether --enable-universal or --disable-universal was given.
2627 if test "${enable_universal+set}" = set; then
2628 enableval="$enable_universal"
2630 if test "$enableval" = yes; then
2631 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2633 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2638 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x ; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2649 eval "$ac_cv_use_universal"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2654 if test "$wxUSE_UNIVERSAL" = yes; then
2655 echo "$as_me:$LINENO: result: yes" >&5
2656 echo "${ECHO_T}yes" >&6
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2663 # Check whether --with-gtk or --without-gtk was given.
2664 if test "${with_gtk+set}" = set; then
2666 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2669 # Check whether --with-motif or --without-motif was given.
2670 if test "${with_motif+set}" = set; then
2671 withval="$with_motif"
2672 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2675 # Check whether --with-mac or --without-mac was given.
2676 if test "${with_mac+set}" = set; then
2678 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2681 # Check whether --with-cocoa or --without-cocoa was given.
2682 if test "${with_cocoa+set}" = set; then
2683 withval="$with_cocoa"
2684 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2687 # Check whether --with-wine or --without-wine was given.
2688 if test "${with_wine+set}" = set; then
2689 withval="$with_wine"
2690 wxUSE_WINE="$withval" CACHE_WINE=1
2693 # Check whether --with-msw or --without-msw was given.
2694 if test "${with_msw+set}" = set; then
2696 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2699 # Check whether --with-pm or --without-pm was given.
2700 if test "${with_pm+set}" = set; then
2702 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2705 # Check whether --with-mgl or --without-mgl was given.
2706 if test "${with_mgl+set}" = set; then
2708 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2711 # Check whether --with-microwin or --without-microwin was given.
2712 if test "${with_microwin+set}" = set; then
2713 withval="$with_microwin"
2714 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2717 # Check whether --with-x11 or --without-x11 was given.
2718 if test "${with_x11+set}" = set; then
2720 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2725 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2727 # Check whether --enable-nanox or --disable-nanox was given.
2728 if test "${enable_nanox+set}" = set; then
2729 enableval="$enable_nanox"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2734 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2739 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x ; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2750 eval "$ac_cv_use_nanox"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_NANOX" = yes; then
2756 echo "$as_me:$LINENO: result: yes" >&5
2757 echo "${ECHO_T}yes" >&6
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2764 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2765 if test "${enable_gtk2+set}" = set; then
2766 enableval="$enable_gtk2"
2767 wxUSE_GTK2="$enableval"
2771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2772 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2774 # Check whether --enable-gpe or --disable-gpe was given.
2775 if test "${enable_gpe+set}" = set; then
2776 enableval="$enable_gpe"
2778 if test "$enableval" = yes; then
2779 ac_cv_use_gpe='wxUSE_GPE
=yes'
2781 ac_cv_use_gpe='wxUSE_GPE
=no
'
2786 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x ; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2797 eval "$ac_cv_use_gpe"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_GPE" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2812 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2813 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2816 # Check whether --with-libpng or --without-libpng was given.
2817 if test "${with_libpng+set}" = set; then
2818 withval="$with_libpng"
2820 if test "$withval" = yes; then
2821 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2822 elif test "$withval" = no; then
2823 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2824 elif test "$withval" = sys; then
2825 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2826 elif test "$withval" = builtin; then
2827 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2829 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2830 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2831 { (exit 1); exit 1; }; }
2836 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x ; then
2838 eval "DEFAULT_$LINE"
2843 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2847 eval "$ac_cv_use_libpng"
2848 if test "$no_cache" != 1; then
2849 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2852 if test "$wxUSE_LIBPNG" = yes; then
2853 echo "$as_me:$LINENO: result: yes" >&5
2854 echo "${ECHO_T}yes" >&6
2855 elif test "$wxUSE_LIBPNG" = no; then
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2858 elif test "$wxUSE_LIBPNG" = sys; then
2859 echo "$as_me:$LINENO: result: system version" >&5
2860 echo "${ECHO_T}system version" >&6
2861 elif test "$wxUSE_LIBPNG" = builtin; then
2862 echo "$as_me:$LINENO: result: builtin version" >&5
2863 echo "${ECHO_T}builtin version" >&6
2865 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2866 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2867 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2872 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2875 # Check whether --with-libjpeg or --without-libjpeg was given.
2876 if test "${with_libjpeg+set}" = set; then
2877 withval="$with_libjpeg"
2879 if test "$withval" = yes; then
2880 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2881 elif test "$withval" = no; then
2882 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2883 elif test "$withval" = sys; then
2884 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2885 elif test "$withval" = builtin; then
2886 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2895 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x ; then
2897 eval "DEFAULT_$LINE"
2902 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2906 eval "$ac_cv_use_libjpeg"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2911 if test "$wxUSE_LIBJPEG" = yes; then
2912 echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6
2914 elif test "$wxUSE_LIBJPEG" = no; then
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2917 elif test "$wxUSE_LIBJPEG" = sys; then
2918 echo "$as_me:$LINENO: result: system version" >&5
2919 echo "${ECHO_T}system version" >&6
2920 elif test "$wxUSE_LIBJPEG" = builtin; then
2921 echo "$as_me:$LINENO: result: builtin version" >&5
2922 echo "${ECHO_T}builtin version" >&6
2924 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2925 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2926 { (exit 1); exit 1; }; }
2930 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2931 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2934 # Check whether --with-libtiff or --without-libtiff was given.
2935 if test "${with_libtiff+set}" = set; then
2936 withval="$with_libtiff"
2938 if test "$withval" = yes; then
2939 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2940 elif test "$withval" = no; then
2941 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2942 elif test "$withval" = sys; then
2943 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2944 elif test "$withval" = builtin; then
2945 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2954 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2965 eval "$ac_cv_use_libtiff"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_LIBTIFF" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2973 elif test "$wxUSE_LIBTIFF" = no; then
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2976 elif test "$wxUSE_LIBTIFF" = sys; then
2977 echo "$as_me:$LINENO: result: system version" >&5
2978 echo "${ECHO_T}system version" >&6
2979 elif test "$wxUSE_LIBTIFF" = builtin; then
2980 echo "$as_me:$LINENO: result: builtin version" >&5
2981 echo "${ECHO_T}builtin version" >&6
2983 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2984 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2985 { (exit 1); exit 1; }; }
2989 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2990 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2993 # Check whether --with-libxpm or --without-libxpm was given.
2994 if test "${with_libxpm+set}" = set; then
2995 withval="$with_libxpm"
2997 if test "$withval" = yes; then
2998 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2999 elif test "$withval" = no; then
3000 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3001 elif test "$withval" = sys; then
3002 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3003 elif test "$withval" = builtin; then
3004 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3007 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3013 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x ; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3024 eval "$ac_cv_use_libxpm"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_LIBXPM" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3032 elif test "$wxUSE_LIBXPM" = no; then
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3035 elif test "$wxUSE_LIBXPM" = sys; then
3036 echo "$as_me:$LINENO: result: system version" >&5
3037 echo "${ECHO_T}system version" >&6
3038 elif test "$wxUSE_LIBXPM" = builtin; then
3039 echo "$as_me:$LINENO: result: builtin version" >&5
3040 echo "${ECHO_T}builtin version" >&6
3042 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3043 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3044 { (exit 1); exit 1; }; }
3049 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3050 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3053 # Check whether --with-libmspack or --without-libmspack was given.
3054 if test "${with_libmspack+set}" = set; then
3055 withval="$with_libmspack"
3057 if test "$withval" = yes; then
3058 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3060 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3065 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3072 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3076 eval "$ac_cv_use_libmspack"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_LIBMSPACK" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3091 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3092 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3095 # Check whether --with-sdl or --without-sdl was given.
3096 if test "${with_sdl+set}" = set; then
3099 if test "$withval" = yes; then
3100 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3102 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3107 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3118 eval "$ac_cv_use_sdl"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_LIBSDL" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3133 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3134 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3137 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3138 if test "${with_gnomeprint+set}" = set; then
3139 withval="$with_gnomeprint"
3141 if test "$withval" = yes; then
3142 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3144 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3149 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3160 eval "$ac_cv_use_gnomeprint"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3175 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3176 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3179 # Check whether --with-opengl or --without-opengl was given.
3180 if test "${with_opengl+set}" = set; then
3181 withval="$with_opengl"
3183 if test "$withval" = yes; then
3184 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3186 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3191 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x ; then
3193 eval "DEFAULT_$LINE"
3198 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3202 eval "$ac_cv_use_opengl"
3203 if test "$no_cache" != 1; then
3204 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3207 if test "$wxUSE_OPENGL" = yes; then
3208 echo "$as_me:$LINENO: result: yes" >&5
3209 echo "${ECHO_T}yes" >&6
3211 echo "$as_me:$LINENO: result: no" >&5
3212 echo "${ECHO_T}no" >&6
3220 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3221 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3224 # Check whether --with-dmalloc or --without-dmalloc was given.
3225 if test "${with_dmalloc+set}" = set; then
3226 withval="$with_dmalloc"
3228 if test "$withval" = yes; then
3229 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3231 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3236 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3243 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3247 eval "$ac_cv_use_dmalloc"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_DMALLOC" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3261 echo "$as_me:$LINENO: checking for --with-regex" >&5
3262 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3265 # Check whether --with-regex or --without-regex was given.
3266 if test "${with_regex+set}" = set; then
3267 withval="$with_regex"
3269 if test "$withval" = yes; then
3270 ac_cv_use_regex='wxUSE_REGEX
=yes'
3271 elif test "$withval" = no; then
3272 ac_cv_use_regex='wxUSE_REGEX
=no
'
3273 elif test "$withval" = sys; then
3274 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3275 elif test "$withval" = builtin; then
3276 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3280 { (exit 1); exit 1; }; }
3285 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3296 eval "$ac_cv_use_regex"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_REGEX" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3304 elif test "$wxUSE_REGEX" = no; then
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3307 elif test "$wxUSE_REGEX" = sys; then
3308 echo "$as_me:$LINENO: result: system version" >&5
3309 echo "${ECHO_T}system version" >&6
3310 elif test "$wxUSE_REGEX" = builtin; then
3311 echo "$as_me:$LINENO: result: builtin version" >&5
3312 echo "${ECHO_T}builtin version" >&6
3314 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3315 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3316 { (exit 1); exit 1; }; }
3320 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3321 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3324 # Check whether --with-zlib or --without-zlib was given.
3325 if test "${with_zlib+set}" = set; then
3326 withval="$with_zlib"
3328 if test "$withval" = yes; then
3329 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3330 elif test "$withval" = no; then
3331 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3332 elif test "$withval" = sys; then
3333 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3334 elif test "$withval" = builtin; then
3335 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3339 { (exit 1); exit 1; }; }
3344 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3355 eval "$ac_cv_use_zlib"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_ZLIB" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 elif test "$wxUSE_ZLIB" = no; then
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 elif test "$wxUSE_ZLIB" = sys; then
3367 echo "$as_me:$LINENO: result: system version" >&5
3368 echo "${ECHO_T}system version" >&6
3369 elif test "$wxUSE_ZLIB" = builtin; then
3370 echo "$as_me:$LINENO: result: builtin version" >&5
3371 echo "${ECHO_T}builtin version" >&6
3373 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3374 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3375 { (exit 1); exit 1; }; }
3379 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3380 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3383 # Check whether --with-odbc or --without-odbc was given.
3384 if test "${with_odbc+set}" = set; then
3385 withval="$with_odbc"
3387 if test "$withval" = yes; then
3388 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3389 elif test "$withval" = no; then
3390 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3391 elif test "$withval" = sys; then
3392 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3393 elif test "$withval" = builtin; then
3394 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3396 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3397 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3398 { (exit 1); exit 1; }; }
3403 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3414 eval "$ac_cv_use_odbc"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_ODBC" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 elif test "$wxUSE_ODBC" = no; then
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 elif test "$wxUSE_ODBC" = sys; then
3426 echo "$as_me:$LINENO: result: system version" >&5
3427 echo "${ECHO_T}system version" >&6
3428 elif test "$wxUSE_ODBC" = builtin; then
3429 echo "$as_me:$LINENO: result: builtin version" >&5
3430 echo "${ECHO_T}builtin version" >&6
3432 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3433 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3434 { (exit 1); exit 1; }; }
3438 echo "$as_me:$LINENO: checking for --with-expat" >&5
3439 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3442 # Check whether --with-expat or --without-expat was given.
3443 if test "${with_expat+set}" = set; then
3444 withval="$with_expat"
3446 if test "$withval" = yes; then
3447 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3448 elif test "$withval" = no; then
3449 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3450 elif test "$withval" = sys; then
3451 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3452 elif test "$withval" = builtin; then
3453 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3455 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3456 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3457 { (exit 1); exit 1; }; }
3462 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3473 eval "$ac_cv_use_expat"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_EXPAT" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 elif test "$wxUSE_EXPAT" = no; then
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 elif test "$wxUSE_EXPAT" = sys; then
3485 echo "$as_me:$LINENO: result: system version" >&5
3486 echo "${ECHO_T}system version" >&6
3487 elif test "$wxUSE_EXPAT" = builtin; then
3488 echo "$as_me:$LINENO: result: builtin version" >&5
3489 echo "${ECHO_T}builtin version" >&6
3491 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3492 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3493 { (exit 1); exit 1; }; }
3500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3501 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3503 # Check whether --enable-shared or --disable-shared was given.
3504 if test "${enable_shared+set}" = set; then
3505 enableval="$enable_shared"
3507 if test "$enableval" = yes; then
3508 ac_cv_use_shared='wxUSE_SHARED
=yes'
3510 ac_cv_use_shared='wxUSE_SHARED
=no
'
3515 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3522 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3526 eval "$ac_cv_use_shared"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3531 if test "$wxUSE_SHARED" = yes; then
3532 echo "$as_me:$LINENO: result: yes" >&5
3533 echo "${ECHO_T}yes" >&6
3535 echo "$as_me:$LINENO: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3542 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3544 # Check whether --enable-optimise or --disable-optimise was given.
3545 if test "${enable_optimise+set}" = set; then
3546 enableval="$enable_optimise"
3548 if test "$enableval" = yes; then
3549 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3551 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3556 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3557 if test "x$LINE" != x ; then
3558 eval "DEFAULT_$LINE"
3563 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3567 eval "$ac_cv_use_optimise"
3568 if test "$no_cache" != 1; then
3569 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3572 if test "$wxUSE_OPTIMISE" = yes; then
3573 echo "$as_me:$LINENO: result: yes" >&5
3574 echo "${ECHO_T}yes" >&6
3576 echo "$as_me:$LINENO: result: no" >&5
3577 echo "${ECHO_T}no" >&6
3582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3583 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3585 # Check whether --enable-debug or --disable-debug was given.
3586 if test "${enable_debug+set}" = set; then
3587 enableval="$enable_debug"
3589 if test "$enableval" = yes; then
3590 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3592 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3597 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x ; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3608 eval "$ac_cv_use_debug"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3613 if test "$wxUSE_DEBUG" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3624 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3626 # Check whether --enable-stl or --disable-stl was given.
3627 if test "${enable_stl+set}" = set; then
3628 enableval="$enable_stl"
3630 if test "$enableval" = yes; then
3631 ac_cv_use_stl='wxUSE_STL
=yes'
3633 ac_cv_use_stl='wxUSE_STL
=no
'
3638 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3639 if test "x$LINE" != x ; then
3640 eval "DEFAULT_$LINE"
3645 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3649 eval "$ac_cv_use_stl"
3650 if test "$no_cache" != 1; then
3651 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3654 if test "$wxUSE_STL" = yes; then
3655 echo "$as_me:$LINENO: result: yes" >&5
3656 echo "${ECHO_T}yes" >&6
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3662 if test "$USE_OS2" = "1"; then
3663 DEFAULT_wxUSE_OMF=no
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3669 # Check whether --enable-omf or --disable-omf was given.
3670 if test "${enable_omf+set}" = set; then
3671 enableval="$enable_omf"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_omf='wxUSE_OMF
=yes'
3676 ac_cv_use_omf='wxUSE_OMF
=no
'
3681 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3692 eval "$ac_cv_use_omf"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_OMF" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3707 if test "$wxUSE_DEBUG" = "yes"; then
3708 DEFAULT_wxUSE_DEBUG_FLAG=yes
3709 DEFAULT_wxUSE_DEBUG_INFO=yes
3711 elif test "$wxUSE_DEBUG" = "no"; then
3712 DEFAULT_wxUSE_DEBUG_FLAG=no
3713 DEFAULT_wxUSE_DEBUG_INFO=no
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3722 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3723 if test "${enable_debug_flag+set}" = set; then
3724 enableval="$enable_debug_flag"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3729 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3734 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x ; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3745 eval "$ac_cv_use_debug_flag"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_DEBUG_FLAG" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3763 # Check whether --enable-debug_info or --disable-debug_info was given.
3764 if test "${enable_debug_info+set}" = set; then
3765 enableval="$enable_debug_info"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3770 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3775 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x ; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3786 eval "$ac_cv_use_debug_info"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_DEBUG_INFO" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3804 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3805 if test "${enable_debug_gdb+set}" = set; then
3806 enableval="$enable_debug_gdb"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3811 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3816 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3827 eval "$ac_cv_use_debug_gdb"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_DEBUG_GDB" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3845 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3846 if test "${enable_debug_cntxt+set}" = set; then
3847 enableval="$enable_debug_cntxt"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3852 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3857 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3868 eval "$ac_cv_use_debug_cntxt"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3886 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3887 if test "${enable_mem_tracing+set}" = set; then
3888 enableval="$enable_mem_tracing"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3893 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3898 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x ; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3909 eval "$ac_cv_use_mem_tracing"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_MEM_TRACING" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3927 # Check whether --enable-profile or --disable-profile was given.
3928 if test "${enable_profile+set}" = set; then
3929 enableval="$enable_profile"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3934 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3939 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x ; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3950 eval "$ac_cv_use_profile"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_PROFILE" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3968 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3969 if test "${enable_no_rtti+set}" = set; then
3970 enableval="$enable_no_rtti"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3975 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3980 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x ; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3991 eval "$ac_cv_use_no_rtti"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_NO_RTTI" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4009 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4010 if test "${enable_no_exceptions+set}" = set; then
4011 enableval="$enable_no_exceptions"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4016 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4021 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x ; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4032 eval "$ac_cv_use_no_exceptions"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4050 # Check whether --enable-permissive or --disable-permissive was given.
4051 if test "${enable_permissive+set}" = set; then
4052 enableval="$enable_permissive"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4057 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4062 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4073 eval "$ac_cv_use_permissive"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_PERMISSIVE" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4089 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4091 # Check whether --enable-no_deps or --disable-no_deps was given.
4092 if test "${enable_no_deps+set}" = set; then
4093 enableval="$enable_no_deps"
4095 if test "$enableval" = yes; then
4096 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4098 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4103 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4104 if test "x$LINE" != x ; then
4105 eval "DEFAULT_$LINE"
4110 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4114 eval "$ac_cv_use_no_deps"
4115 if test "$no_cache" != 1; then
4116 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4119 if test "$wxUSE_NO_DEPS" = yes; then
4120 echo "$as_me:$LINENO: result: yes" >&5
4121 echo "${ECHO_T}yes" >&6
4123 echo "$as_me:$LINENO: result: no" >&5
4124 echo "${ECHO_T}no" >&6
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval="$enable_compat24"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4145 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4170 enablestring=disable
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4174 # Check whether --enable-compat26 or --disable-compat26 was given.
4175 if test "${enable_compat26+set}" = set; then
4176 enableval="$enable_compat26"
4178 if test "$enableval" = yes; then
4179 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4181 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4186 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x ; then
4188 eval "DEFAULT_$LINE"
4193 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4197 eval "$ac_cv_use_compat26"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4202 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4216 # Check whether --enable-rpath or --disable-rpath was given.
4217 if test "${enable_rpath+set}" = set; then
4218 enableval="$enable_rpath"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4223 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4228 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4239 eval "$ac_cv_use_rpath"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_RPATH" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4260 # Check whether --enable-intl or --disable-intl was given.
4261 if test "${enable_intl+set}" = set; then
4262 enableval="$enable_intl"
4264 if test "$enableval" = yes; then
4265 ac_cv_use_intl='wxUSE_INTL
=yes'
4267 ac_cv_use_intl='wxUSE_INTL
=no
'
4272 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x ; then
4274 eval "DEFAULT_$LINE"
4279 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4283 eval "$ac_cv_use_intl"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_INTL" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4299 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4301 # Check whether --enable-config or --disable-config was given.
4302 if test "${enable_config+set}" = set; then
4303 enableval="$enable_config"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_config='wxUSE_CONFIG
=yes'
4308 ac_cv_use_config='wxUSE_CONFIG
=no
'
4313 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4324 eval "$ac_cv_use_config"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_CONFIG" = yes; then
4330 echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6
4333 echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4343 # Check whether --enable-protocols or --disable-protocols was given.
4344 if test "${enable_protocols+set}" = set; then
4345 enableval="$enable_protocols"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4350 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4355 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4366 eval "$ac_cv_use_protocols"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PROTOCOL" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4384 # Check whether --enable-ftp or --disable-ftp was given.
4385 if test "${enable_ftp+set}" = set; then
4386 enableval="$enable_ftp"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4391 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4396 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4407 eval "$ac_cv_use_ftp"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4425 # Check whether --enable-http or --disable-http was given.
4426 if test "${enable_http+set}" = set; then
4427 enableval="$enable_http"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4432 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4437 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4448 eval "$ac_cv_use_http"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4466 # Check whether --enable-fileproto or --disable-fileproto was given.
4467 if test "${enable_fileproto+set}" = set; then
4468 enableval="$enable_fileproto"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4473 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4478 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x ; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4489 eval "$ac_cv_use_fileproto"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4507 # Check whether --enable-sockets or --disable-sockets was given.
4508 if test "${enable_sockets+set}" = set; then
4509 enableval="$enable_sockets"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4514 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4519 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4530 eval "$ac_cv_use_sockets"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_SOCKETS" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4548 # Check whether --enable-ole or --disable-ole was given.
4549 if test "${enable_ole+set}" = set; then
4550 enableval="$enable_ole"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_ole='wxUSE_OLE
=yes'
4555 ac_cv_use_ole='wxUSE_OLE
=no
'
4560 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4571 eval "$ac_cv_use_ole"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_OLE" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4589 # Check whether --enable-dataobj or --disable-dataobj was given.
4590 if test "${enable_dataobj+set}" = set; then
4591 enableval="$enable_dataobj"
4593 if test "$enableval" = yes; then
4594 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4596 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4601 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4608 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4612 eval "$ac_cv_use_dataobj"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4617 if test "$wxUSE_DATAOBJ" = yes; then
4618 echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4629 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4631 # Check whether --enable-ipc or --disable-ipc was given.
4632 if test "${enable_ipc+set}" = set; then
4633 enableval="$enable_ipc"
4635 if test "$enableval" = yes; then
4636 ac_cv_use_ipc='wxUSE_IPC
=yes'
4638 ac_cv_use_ipc='wxUSE_IPC
=no
'
4643 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4650 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4654 eval "$ac_cv_use_ipc"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_IPC" = yes; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4673 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4674 if test "${enable_apple_ieee+set}" = set; then
4675 enableval="$enable_apple_ieee"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4680 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4685 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4696 eval "$ac_cv_use_apple_ieee"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_APPLE_IEEE" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4714 # Check whether --enable-arcstream or --disable-arcstream was given.
4715 if test "${enable_arcstream+set}" = set; then
4716 enableval="$enable_arcstream"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4721 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4726 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4737 eval "$ac_cv_use_arcstream"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4755 # Check whether --enable-backtrace or --disable-backtrace was given.
4756 if test "${enable_backtrace+set}" = set; then
4757 enableval="$enable_backtrace"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4762 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4767 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4778 eval "$ac_cv_use_backtrace"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_STACKWALKER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4796 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4797 if test "${enable_catch_segvs+set}" = set; then
4798 enableval="$enable_catch_segvs"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4803 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4808 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4819 eval "$ac_cv_use_catch_segvs"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4837 # Check whether --enable-cmdline or --disable-cmdline was given.
4838 if test "${enable_cmdline+set}" = set; then
4839 enableval="$enable_cmdline"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4844 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4849 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4860 eval "$ac_cv_use_cmdline"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4878 # Check whether --enable-datetime or --disable-datetime was given.
4879 if test "${enable_datetime+set}" = set; then
4880 enableval="$enable_datetime"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4885 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4890 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4901 eval "$ac_cv_use_datetime"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_DATETIME" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4919 # Check whether --enable-debugreport or --disable-debugreport was given.
4920 if test "${enable_debugreport+set}" = set; then
4921 enableval="$enable_debugreport"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4926 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4931 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4942 eval "$ac_cv_use_debugreport"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_DEBUGREPORT" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4960 # Check whether --enable-dialupman or --disable-dialupman was given.
4961 if test "${enable_dialupman+set}" = set; then
4962 enableval="$enable_dialupman"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4967 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4972 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4983 eval "$ac_cv_use_dialupman"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5001 # Check whether --enable-dynlib or --disable-dynlib was given.
5002 if test "${enable_dynlib+set}" = set; then
5003 enableval="$enable_dynlib"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5008 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5013 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5024 eval "$ac_cv_use_dynlib"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5042 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5043 if test "${enable_dynamicloader+set}" = set; then
5044 enableval="$enable_dynamicloader"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5049 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5054 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5065 eval "$ac_cv_use_dynamicloader"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5083 # Check whether --enable-exceptions or --disable-exceptions was given.
5084 if test "${enable_exceptions+set}" = set; then
5085 enableval="$enable_exceptions"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5090 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5095 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5106 eval "$ac_cv_use_exceptions"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_EXCEPTIONS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5124 # Check whether --enable-ffile or --disable-ffile was given.
5125 if test "${enable_ffile+set}" = set; then
5126 enableval="$enable_ffile"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5131 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5136 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5147 eval "$ac_cv_use_ffile"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_FFILE" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5165 # Check whether --enable-file or --disable-file was given.
5166 if test "${enable_file+set}" = set; then
5167 enableval="$enable_file"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_file='wxUSE_FILE
=yes'
5172 ac_cv_use_file='wxUSE_FILE
=no
'
5177 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5188 eval "$ac_cv_use_file"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_FILE" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5206 # Check whether --enable-filesystem or --disable-filesystem was given.
5207 if test "${enable_filesystem+set}" = set; then
5208 enableval="$enable_filesystem"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5213 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5218 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5229 eval "$ac_cv_use_filesystem"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_FILESYSTEM" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5247 # Check whether --enable-fontmap or --disable-fontmap was given.
5248 if test "${enable_fontmap+set}" = set; then
5249 enableval="$enable_fontmap"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5254 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5259 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5270 eval "$ac_cv_use_fontmap"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_FONTMAP" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5288 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5289 if test "${enable_fs_inet+set}" = set; then
5290 enableval="$enable_fs_inet"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5295 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5300 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5311 eval "$ac_cv_use_fs_inet"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_FS_INET" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5329 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5330 if test "${enable_fs_zip+set}" = set; then
5331 enableval="$enable_fs_zip"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5336 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5341 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5352 eval "$ac_cv_use_fs_zip"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_FS_ZIP" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5370 # Check whether --enable-geometry or --disable-geometry was given.
5371 if test "${enable_geometry+set}" = set; then
5372 enableval="$enable_geometry"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5377 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5382 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5393 eval "$ac_cv_use_geometry"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_GEOMETRY" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5411 # Check whether --enable-log or --disable-log was given.
5412 if test "${enable_log+set}" = set; then
5413 enableval="$enable_log"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_log='wxUSE_LOG
=yes'
5418 ac_cv_use_log='wxUSE_LOG
=no
'
5423 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5434 eval "$ac_cv_use_log"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_LOG" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5452 # Check whether --enable-longlong or --disable-longlong was given.
5453 if test "${enable_longlong+set}" = set; then
5454 enableval="$enable_longlong"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5459 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5464 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5475 eval "$ac_cv_use_longlong"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_LONGLONG" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5493 # Check whether --enable-mimetype or --disable-mimetype was given.
5494 if test "${enable_mimetype+set}" = set; then
5495 enableval="$enable_mimetype"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5500 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5505 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5516 eval "$ac_cv_use_mimetype"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_MIMETYPE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5534 # Check whether --enable-mslu or --disable-mslu was given.
5535 if test "${enable_mslu+set}" = set; then
5536 enableval="$enable_mslu"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5541 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5546 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5557 eval "$ac_cv_use_mslu"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_UNICODE_MSLU" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5575 # Check whether --enable-snglinst or --disable-snglinst was given.
5576 if test "${enable_snglinst+set}" = set; then
5577 enableval="$enable_snglinst"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5582 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5587 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5598 eval "$ac_cv_use_snglinst"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5616 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5617 if test "${enable_std_iostreams+set}" = set; then
5618 enableval="$enable_std_iostreams"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5623 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5628 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5639 eval "$ac_cv_use_std_iostreams"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_STD_IOSTREAM" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5657 # Check whether --enable-std_string or --disable-std_string was given.
5658 if test "${enable_std_string+set}" = set; then
5659 enableval="$enable_std_string"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5664 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5669 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5680 eval "$ac_cv_use_std_string"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_STD_STRING" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5698 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5699 if test "${enable_stdpaths+set}" = set; then
5700 enableval="$enable_stdpaths"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5705 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5710 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5721 eval "$ac_cv_use_stdpaths"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_STDPATHS" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5739 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5740 if test "${enable_stopwatch+set}" = set; then
5741 enableval="$enable_stopwatch"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5746 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5751 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5762 eval "$ac_cv_use_stopwatch"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_STOPWATCH" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5780 # Check whether --enable-streams or --disable-streams was given.
5781 if test "${enable_streams+set}" = set; then
5782 enableval="$enable_streams"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5787 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5792 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5803 eval "$ac_cv_use_streams"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_STREAMS" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5821 # Check whether --enable-system_options or --disable-system_options was given.
5822 if test "${enable_system_options+set}" = set; then
5823 enableval="$enable_system_options"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5828 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5833 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5844 eval "$ac_cv_use_system_options"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5862 # Check whether --enable-textbuf or --disable-textbuf was given.
5863 if test "${enable_textbuf+set}" = set; then
5864 enableval="$enable_textbuf"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5869 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5874 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5885 eval "$ac_cv_use_textbuf"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_TEXTBUFFER" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5903 # Check whether --enable-textfile or --disable-textfile was given.
5904 if test "${enable_textfile+set}" = set; then
5905 enableval="$enable_textfile"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5910 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5915 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5926 eval "$ac_cv_use_textfile"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_TEXTFILE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5944 # Check whether --enable-timer or --disable-timer was given.
5945 if test "${enable_timer+set}" = set; then
5946 enableval="$enable_timer"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_timer='wxUSE_TIMER
=yes'
5951 ac_cv_use_timer='wxUSE_TIMER
=no
'
5956 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5967 eval "$ac_cv_use_timer"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_TIMER" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5985 # Check whether --enable-unicode or --disable-unicode was given.
5986 if test "${enable_unicode+set}" = set; then
5987 enableval="$enable_unicode"
5989 if test "$enableval" = yes; then
5990 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5992 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5997 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6004 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6008 eval "$ac_cv_use_unicode"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6013 if test "$wxUSE_UNICODE" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6026 # Check whether --enable-sound or --disable-sound was given.
6027 if test "${enable_sound+set}" = set; then
6028 enableval="$enable_sound"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_sound='wxUSE_SOUND
=yes'
6033 ac_cv_use_sound='wxUSE_SOUND
=no
'
6038 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6049 eval "$ac_cv_use_sound"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_SOUND" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6067 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6068 if test "${enable_mediactrl+set}" = set; then
6069 enableval="$enable_mediactrl"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6074 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6079 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6090 eval "$ac_cv_use_mediactrl"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_MEDIACTRL" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6108 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6109 if test "${enable_wxprintfv+set}" = set; then
6110 enableval="$enable_wxprintfv"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6115 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6120 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6131 eval "$ac_cv_use_wxprintfv"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6149 # Check whether --enable-zipstream or --disable-zipstream was given.
6150 if test "${enable_zipstream+set}" = set; then
6151 enableval="$enable_zipstream"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6156 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6161 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6172 eval "$ac_cv_use_zipstream"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_ZIPSTREAM" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6189 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6191 # Check whether --enable-url or --disable-url was given.
6192 if test "${enable_url+set}" = set; then
6193 enableval="$enable_url"
6195 if test "$enableval" = yes; then
6196 ac_cv_use_url='wxUSE_URL
=yes'
6198 ac_cv_use_url='wxUSE_URL
=no
'
6203 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6204 if test "x$LINE" != x ; then
6205 eval "DEFAULT_$LINE"
6210 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6214 eval "$ac_cv_use_url"
6215 if test "$no_cache" != 1; then
6216 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6219 if test "$wxUSE_URL" = yes; then
6220 echo "$as_me:$LINENO: result: yes" >&5
6221 echo "${ECHO_T}yes" >&6
6223 echo "$as_me:$LINENO: result: no" >&5
6224 echo "${ECHO_T}no" >&6
6229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6232 # Check whether --enable-protocol or --disable-protocol was given.
6233 if test "${enable_protocol+set}" = set; then
6234 enableval="$enable_protocol"
6236 if test "$enableval" = yes; then
6237 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6239 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6244 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x ; then
6246 eval "DEFAULT_$LINE"
6251 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6255 eval "$ac_cv_use_protocol"
6256 if test "$no_cache" != 1; then
6257 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6260 if test "$wxUSE_PROTOCOL" = yes; then
6261 echo "$as_me:$LINENO: result: yes" >&5
6262 echo "${ECHO_T}yes" >&6
6264 echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6
6270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6273 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6274 if test "${enable_protocol_http+set}" = set; then
6275 enableval="$enable_protocol_http"
6277 if test "$enableval" = yes; then
6278 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6280 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6285 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6286 if test "x$LINE" != x ; then
6287 eval "DEFAULT_$LINE"
6292 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6296 eval "$ac_cv_use_protocol_http"
6297 if test "$no_cache" != 1; then
6298 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6301 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6302 echo "$as_me:$LINENO: result: yes" >&5
6303 echo "${ECHO_T}yes" >&6
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6312 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6314 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6315 if test "${enable_protocol_ftp+set}" = set; then
6316 enableval="$enable_protocol_ftp"
6318 if test "$enableval" = yes; then
6319 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6321 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6326 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6327 if test "x$LINE" != x ; then
6328 eval "DEFAULT_$LINE"
6333 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6337 eval "$ac_cv_use_protocol_ftp"
6338 if test "$no_cache" != 1; then
6339 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6342 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6343 echo "$as_me:$LINENO: result: yes" >&5
6344 echo "${ECHO_T}yes" >&6
6346 echo "$as_me:$LINENO: result: no" >&5
6347 echo "${ECHO_T}no" >&6
6352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6353 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6355 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6356 if test "${enable_protocol_file+set}" = set; then
6357 enableval="$enable_protocol_file"
6359 if test "$enableval" = yes; then
6360 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6362 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6367 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6368 if test "x$LINE" != x ; then
6369 eval "DEFAULT_$LINE"
6374 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6378 eval "$ac_cv_use_protocol_file"
6379 if test "$no_cache" != 1; then
6380 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6383 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6384 echo "$as_me:$LINENO: result: yes" >&5
6385 echo "${ECHO_T}yes" >&6
6387 echo "$as_me:$LINENO: result: no" >&5
6388 echo "${ECHO_T}no" >&6
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6399 # Check whether --enable-threads or --disable-threads was given.
6400 if test "${enable_threads+set}" = set; then
6401 enableval="$enable_threads"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_threads='wxUSE_THREADS
=yes'
6406 ac_cv_use_threads='wxUSE_THREADS
=no
'
6411 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6422 eval "$ac_cv_use_threads"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6427 if test "$wxUSE_THREADS" = yes; then
6428 echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6
6431 echo "$as_me:$LINENO: result: no" >&5
6432 echo "${ECHO_T}no" >&6
6436 if test "$wxUSE_GUI" = "yes"; then
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6444 # Check whether --enable-docview or --disable-docview was given.
6445 if test "${enable_docview+set}" = set; then
6446 enableval="$enable_docview"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6451 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6456 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6467 eval "$ac_cv_use_docview"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6485 # Check whether --enable-help or --disable-help was given.
6486 if test "${enable_help+set}" = set; then
6487 enableval="$enable_help"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_help='wxUSE_HELP
=yes'
6492 ac_cv_use_help='wxUSE_HELP
=no
'
6497 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x ; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6508 eval "$ac_cv_use_help"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_HELP" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6526 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6527 if test "${enable_mshtmlhelp+set}" = set; then
6528 enableval="$enable_mshtmlhelp"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6533 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6538 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x ; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6549 eval "$ac_cv_use_mshtmlhelp"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_MS_HTML_HELP" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6567 # Check whether --enable-html or --disable-html was given.
6568 if test "${enable_html+set}" = set; then
6569 enableval="$enable_html"
6571 if test "$enableval" = yes; then
6572 ac_cv_use_html='wxUSE_HTML
=yes'
6574 ac_cv_use_html='wxUSE_HTML
=no
'
6579 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x ; then
6581 eval "DEFAULT_$LINE"
6586 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6590 eval "$ac_cv_use_html"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6595 if test "$wxUSE_HTML" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6608 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6609 if test "${enable_htmlhelp+set}" = set; then
6610 enableval="$enable_htmlhelp"
6612 if test "$enableval" = yes; then
6613 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6615 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6620 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x ; then
6622 eval "DEFAULT_$LINE"
6627 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6631 eval "$ac_cv_use_htmlhelp"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_WXHTML_HELP" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6649 # Check whether --enable-xrc or --disable-xrc was given.
6650 if test "${enable_xrc+set}" = set; then
6651 enableval="$enable_xrc"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_xrc='wxUSE_XRC
=yes'
6656 ac_cv_use_xrc='wxUSE_XRC
=no
'
6661 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6672 eval "$ac_cv_use_xrc"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6677 if test "$wxUSE_XRC" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6690 # Check whether --enable-constraints or --disable-constraints was given.
6691 if test "${enable_constraints+set}" = set; then
6692 enableval="$enable_constraints"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6697 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6702 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x ; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6713 eval "$ac_cv_use_constraints"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_CONSTRAINTS" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6731 # Check whether --enable-printarch or --disable-printarch was given.
6732 if test "${enable_printarch+set}" = set; then
6733 enableval="$enable_printarch"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6738 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6743 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x ; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6754 eval "$ac_cv_use_printarch"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6772 # Check whether --enable-mdi or --disable-mdi was given.
6773 if test "${enable_mdi+set}" = set; then
6774 enableval="$enable_mdi"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_mdi='wxUSE_MDI
=yes'
6779 ac_cv_use_mdi='wxUSE_MDI
=no
'
6784 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6795 eval "$ac_cv_use_mdi"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_MDI" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6811 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6813 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6814 if test "${enable_mdidoc+set}" = set; then
6815 enableval="$enable_mdidoc"
6817 if test "$enableval" = yes; then
6818 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6820 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6825 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x ; then
6827 eval "DEFAULT_$LINE"
6832 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6836 eval "$ac_cv_use_mdidoc"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6842 echo "$as_me:$LINENO: result: yes" >&5
6843 echo "${ECHO_T}yes" >&6
6845 echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6
6851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6854 # Check whether --enable-loggui or --disable-loggui was given.
6855 if test "${enable_loggui+set}" = set; then
6856 enableval="$enable_loggui"
6858 if test "$enableval" = yes; then
6859 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6861 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6866 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6867 if test "x$LINE" != x ; then
6868 eval "DEFAULT_$LINE"
6873 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6877 eval "$ac_cv_use_loggui"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6882 if test "$wxUSE_LOGGUI" = yes; then
6883 echo "$as_me:$LINENO: result: yes" >&5
6884 echo "${ECHO_T}yes" >&6
6886 echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6
6892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6895 # Check whether --enable-logwin or --disable-logwin was given.
6896 if test "${enable_logwin+set}" = set; then
6897 enableval="$enable_logwin"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6902 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6907 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6918 eval "$ac_cv_use_logwin"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_LOGWINDOW" = yes; then
6924 echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6927 echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6936 # Check whether --enable-logdialog or --disable-logdialog was given.
6937 if test "${enable_logdialog+set}" = set; then
6938 enableval="$enable_logdialog"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6943 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6948 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6959 eval "$ac_cv_use_logdialog"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_LOGDIALOG" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6977 # Check whether --enable-webkit or --disable-webkit was given.
6978 if test "${enable_webkit+set}" = set; then
6979 enableval="$enable_webkit"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
6984 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
6989 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7000 eval "$ac_cv_use_webkit"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_WEBKIT" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7018 # Check whether --enable-html or --disable-html was given.
7019 if test "${enable_html+set}" = set; then
7020 enableval="$enable_html"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7025 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7030 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7041 eval "$ac_cv_use_html"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_RICHTEXT" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7058 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7060 # Check whether --enable-postscript or --disable-postscript was given.
7061 if test "${enable_postscript+set}" = set; then
7062 enableval="$enable_postscript"
7064 if test "$enableval" = yes; then
7065 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7067 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7072 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7073 if test "x$LINE" != x ; then
7074 eval "DEFAULT_$LINE"
7079 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7083 eval "$ac_cv_use_postscript"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7088 if test "$wxUSE_POSTSCRIPT" = yes; then
7089 echo "$as_me:$LINENO: result: yes" >&5
7090 echo "${ECHO_T}yes" >&6
7092 echo "$as_me:$LINENO: result: no" >&5
7093 echo "${ECHO_T}no" >&6
7101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7102 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7104 # Check whether --enable-prologio or --disable-prologio was given.
7105 if test "${enable_prologio+set}" = set; then
7106 enableval="$enable_prologio"
7108 if test "$enableval" = yes; then
7109 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7111 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7116 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7123 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7127 eval "$ac_cv_use_prologio"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7132 if test "$wxUSE_PROLOGIO" = yes; then
7133 echo "$as_me:$LINENO: result: yes" >&5
7134 echo "${ECHO_T}yes" >&6
7136 echo "$as_me:$LINENO: result: no" >&5
7137 echo "${ECHO_T}no" >&6
7142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7145 # Check whether --enable-resources or --disable-resources was given.
7146 if test "${enable_resources+set}" = set; then
7147 enableval="$enable_resources"
7149 if test "$enableval" = yes; then
7150 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7152 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7157 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x ; then
7159 eval "DEFAULT_$LINE"
7164 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7168 eval "$ac_cv_use_resources"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7173 if test "$wxUSE_RESOURCES" = yes; then
7174 echo "$as_me:$LINENO: result: yes" >&5
7175 echo "${ECHO_T}yes" >&6
7177 echo "$as_me:$LINENO: result: no" >&5
7178 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7188 # Check whether --enable-clipboard or --disable-clipboard was given.
7189 if test "${enable_clipboard+set}" = set; then
7190 enableval="$enable_clipboard"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7195 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7200 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7211 eval "$ac_cv_use_clipboard"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_CLIPBOARD" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7229 # Check whether --enable-dnd or --disable-dnd was given.
7230 if test "${enable_dnd+set}" = set; then
7231 enableval="$enable_dnd"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7236 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7241 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7252 eval "$ac_cv_use_dnd"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7270 # Check whether --enable-metafile or --disable-metafile was given.
7271 if test "${enable_metafile+set}" = set; then
7272 enableval="$enable_metafile"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7277 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7282 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7293 eval "$ac_cv_use_metafile"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_METAFILE" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7314 # Check whether --enable-controls or --disable-controls was given.
7315 if test "${enable_controls+set}" = set; then
7316 enableval="$enable_controls"
7318 if test "$enableval" = yes; then
7319 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7321 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7326 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7333 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7337 eval "$ac_cv_use_controls"
7338 if test "$no_cache" != 1; then
7339 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7342 if test "$wxUSE_CONTROLS" = yes; then
7343 echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6
7346 echo "$as_me:$LINENO: result: no" >&5
7347 echo "${ECHO_T}no" >&6
7351 if test "$wxUSE_CONTROLS" = "yes"; then
7352 DEFAULT_wxUSE_ACCEL=yes
7353 DEFAULT_wxUSE_BMPBUTTON=yes
7354 DEFAULT_wxUSE_BUTTON=yes
7355 DEFAULT_wxUSE_CALCTRL=yes
7356 DEFAULT_wxUSE_CARET=yes
7357 DEFAULT_wxUSE_COMBOBOX=yes
7358 DEFAULT_wxUSE_CHECKBOX=yes
7359 DEFAULT_wxUSE_CHECKLISTBOX=yes
7360 DEFAULT_wxUSE_CHOICE=yes
7361 DEFAULT_wxUSE_CHOICEBOOK=yes
7362 DEFAULT_wxUSE_DATEPICKCTRL=yes
7363 DEFAULT_wxUSE_GAUGE=yes
7364 DEFAULT_wxUSE_GRID=yes
7365 DEFAULT_wxUSE_IMAGLIST=yes
7366 DEFAULT_wxUSE_LISTBOOK=yes
7367 DEFAULT_wxUSE_LISTBOX=yes
7368 DEFAULT_wxUSE_LISTCTRL=yes
7369 DEFAULT_wxUSE_NOTEBOOK=yes
7370 DEFAULT_wxUSE_RADIOBOX=yes
7371 DEFAULT_wxUSE_RADIOBTN=yes
7372 DEFAULT_wxUSE_SASH=yes
7373 DEFAULT_wxUSE_SCROLLBAR=yes
7374 DEFAULT_wxUSE_SLIDER=yes
7375 DEFAULT_wxUSE_SPINBTN=yes
7376 DEFAULT_wxUSE_SPINCTRL=yes
7377 DEFAULT_wxUSE_SPLITTER=yes
7378 DEFAULT_wxUSE_STATBMP=yes
7379 DEFAULT_wxUSE_STATBOX=yes
7380 DEFAULT_wxUSE_STATLINE=yes
7381 DEFAULT_wxUSE_STATUSBAR=yes
7382 DEFAULT_wxUSE_TAB_DIALOG=yes
7383 DEFAULT_wxUSE_TOGGLEBTN=yes
7384 DEFAULT_wxUSE_TOOLBAR=yes
7385 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7386 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7387 DEFAULT_wxUSE_TOOLTIPS=yes
7388 DEFAULT_wxUSE_TREEBOOK=yes
7389 DEFAULT_wxUSE_TREECTRL=yes
7390 DEFAULT_wxUSE_POPUPWIN=yes
7391 DEFAULT_wxUSE_TIPWINDOW=yes
7392 elif test "$wxUSE_CONTROLS" = "no"; then
7393 DEFAULT_wxUSE_ACCEL=no
7394 DEFAULT_wxUSE_BMPBUTTON=no
7395 DEFAULT_wxUSE_BUTTON=no
7396 DEFAULT_wxUSE_CALCTRL=no
7397 DEFAULT_wxUSE_CARET=no
7398 DEFAULT_wxUSE_COMBOBOX=no
7399 DEFAULT_wxUSE_CHECKBOX=no
7400 DEFAULT_wxUSE_CHECKLISTBOX=no
7401 DEFAULT_wxUSE_CHOICE=no
7402 DEFAULT_wxUSE_CHOICEBOOK=no
7403 DEFAULT_wxUSE_DATEPICKCTRL=no
7404 DEFAULT_wxUSE_GAUGE=no
7405 DEFAULT_wxUSE_GRID=no
7406 DEFAULT_wxUSE_IMAGLIST=no
7407 DEFAULT_wxUSE_LISTBOOK=no
7408 DEFAULT_wxUSE_LISTBOX=no
7409 DEFAULT_wxUSE_LISTCTRL=no
7410 DEFAULT_wxUSE_NOTEBOOK=no
7411 DEFAULT_wxUSE_RADIOBOX=no
7412 DEFAULT_wxUSE_RADIOBTN=no
7413 DEFAULT_wxUSE_SASH=no
7414 DEFAULT_wxUSE_SCROLLBAR=no
7415 DEFAULT_wxUSE_SLIDER=no
7416 DEFAULT_wxUSE_SPINBTN=no
7417 DEFAULT_wxUSE_SPINCTRL=no
7418 DEFAULT_wxUSE_SPLITTER=no
7419 DEFAULT_wxUSE_STATBMP=no
7420 DEFAULT_wxUSE_STATBOX=no
7421 DEFAULT_wxUSE_STATLINE=no
7422 DEFAULT_wxUSE_STATUSBAR=no
7423 DEFAULT_wxUSE_TAB_DIALOG=no
7424 DEFAULT_wxUSE_TOGGLEBTN=no
7425 DEFAULT_wxUSE_TOOLBAR=no
7426 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7427 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7428 DEFAULT_wxUSE_TOOLTIPS=no
7429 DEFAULT_wxUSE_TREEBOOK=no
7430 DEFAULT_wxUSE_TREECTRL=no
7431 DEFAULT_wxUSE_POPUPWIN=no
7432 DEFAULT_wxUSE_TIPWINDOW=no
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7440 # Check whether --enable-accel or --disable-accel was given.
7441 if test "${enable_accel+set}" = set; then
7442 enableval="$enable_accel"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7447 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7452 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7463 eval "$ac_cv_use_accel"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_ACCEL" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7481 # Check whether --enable-button or --disable-button was given.
7482 if test "${enable_button+set}" = set; then
7483 enableval="$enable_button"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_button='wxUSE_BUTTON
=yes'
7488 ac_cv_use_button='wxUSE_BUTTON
=no
'
7493 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7504 eval "$ac_cv_use_button"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7509 if test "$wxUSE_BUTTON" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7522 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7523 if test "${enable_bmpbutton+set}" = set; then
7524 enableval="$enable_bmpbutton"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7529 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7534 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7545 eval "$ac_cv_use_bmpbutton"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_BMPBUTTON" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7563 # Check whether --enable-calendar or --disable-calendar was given.
7564 if test "${enable_calendar+set}" = set; then
7565 enableval="$enable_calendar"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7570 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7575 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7586 eval "$ac_cv_use_calendar"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_CALCTRL" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7604 # Check whether --enable-caret or --disable-caret was given.
7605 if test "${enable_caret+set}" = set; then
7606 enableval="$enable_caret"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_caret='wxUSE_CARET
=yes'
7611 ac_cv_use_caret='wxUSE_CARET
=no
'
7616 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7627 eval "$ac_cv_use_caret"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_CARET" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7645 # Check whether --enable-checkbox or --disable-checkbox was given.
7646 if test "${enable_checkbox+set}" = set; then
7647 enableval="$enable_checkbox"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7652 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7657 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x ; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7668 eval "$ac_cv_use_checkbox"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_CHECKBOX" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7686 # Check whether --enable-checklst or --disable-checklst was given.
7687 if test "${enable_checklst+set}" = set; then
7688 enableval="$enable_checklst"
7690 if test "$enableval" = yes; then
7691 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7693 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7698 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x ; then
7700 eval "DEFAULT_$LINE"
7705 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7709 eval "$ac_cv_use_checklst"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_CHECKLST" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7727 # Check whether --enable-choice or --disable-choice was given.
7728 if test "${enable_choice+set}" = set; then
7729 enableval="$enable_choice"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7734 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7739 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x ; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7750 eval "$ac_cv_use_choice"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_CHOICE" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7768 # Check whether --enable-choicebook or --disable-choicebook was given.
7769 if test "${enable_choicebook+set}" = set; then
7770 enableval="$enable_choicebook"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7775 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7780 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7791 eval "$ac_cv_use_choicebook"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7796 if test "$wxUSE_CHOICEBOOK" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7809 # Check whether --enable-combobox or --disable-combobox was given.
7810 if test "${enable_combobox+set}" = set; then
7811 enableval="$enable_combobox"
7813 if test "$enableval" = yes; then
7814 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7816 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7821 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7828 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7832 eval "$ac_cv_use_combobox"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7837 if test "$wxUSE_COMBOBOX" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7850 # Check whether --enable-datepick or --disable-datepick was given.
7851 if test "${enable_datepick+set}" = set; then
7852 enableval="$enable_datepick"
7854 if test "$enableval" = yes; then
7855 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7857 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7862 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x ; then
7864 eval "DEFAULT_$LINE"
7869 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7873 eval "$ac_cv_use_datepick"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7878 if test "$wxUSE_DATEPICKCTRL" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7891 # Check whether --enable-display or --disable-display was given.
7892 if test "${enable_display+set}" = set; then
7893 enableval="$enable_display"
7895 if test "$enableval" = yes; then
7896 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7898 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7903 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x ; then
7905 eval "DEFAULT_$LINE"
7910 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7914 eval "$ac_cv_use_display"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7919 if test "$wxUSE_DISPLAY" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7932 # Check whether --enable-gauge or --disable-gauge was given.
7933 if test "${enable_gauge+set}" = set; then
7934 enableval="$enable_gauge"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7939 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7944 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7955 eval "$ac_cv_use_gauge"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_GAUGE" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7973 # Check whether --enable-grid or --disable-grid was given.
7974 if test "${enable_grid+set}" = set; then
7975 enableval="$enable_grid"
7977 if test "$enableval" = yes; then
7978 ac_cv_use_grid='wxUSE_GRID
=yes'
7980 ac_cv_use_grid='wxUSE_GRID
=no
'
7985 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7992 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7996 eval "$ac_cv_use_grid"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8001 if test "$wxUSE_GRID" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8014 # Check whether --enable-imaglist or --disable-imaglist was given.
8015 if test "${enable_imaglist+set}" = set; then
8016 enableval="$enable_imaglist"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8021 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8026 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8037 eval "$ac_cv_use_imaglist"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8042 if test "$wxUSE_IMAGLIST" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8055 # Check whether --enable-listbook or --disable-listbook was given.
8056 if test "${enable_listbook+set}" = set; then
8057 enableval="$enable_listbook"
8059 if test "$enableval" = yes; then
8060 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8062 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8067 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x ; then
8069 eval "DEFAULT_$LINE"
8074 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8078 eval "$ac_cv_use_listbook"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8083 if test "$wxUSE_LISTBOOK" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8096 # Check whether --enable-listbox or --disable-listbox was given.
8097 if test "${enable_listbox+set}" = set; then
8098 enableval="$enable_listbox"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8103 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8108 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8119 eval "$ac_cv_use_listbox"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8124 if test "$wxUSE_LISTBOX" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8137 # Check whether --enable-listctrl or --disable-listctrl was given.
8138 if test "${enable_listctrl+set}" = set; then
8139 enableval="$enable_listctrl"
8141 if test "$enableval" = yes; then
8142 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8144 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8149 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8156 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8160 eval "$ac_cv_use_listctrl"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_LISTCTRL" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8178 # Check whether --enable-notebook or --disable-notebook was given.
8179 if test "${enable_notebook+set}" = set; then
8180 enableval="$enable_notebook"
8182 if test "$enableval" = yes; then
8183 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8185 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8190 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8197 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8201 eval "$ac_cv_use_notebook"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8206 if test "$wxUSE_NOTEBOOK" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8219 # Check whether --enable-radiobox or --disable-radiobox was given.
8220 if test "${enable_radiobox+set}" = set; then
8221 enableval="$enable_radiobox"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8226 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8231 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x ; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8242 eval "$ac_cv_use_radiobox"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8247 if test "$wxUSE_RADIOBOX" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8260 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8261 if test "${enable_radiobtn+set}" = set; then
8262 enableval="$enable_radiobtn"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8267 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8272 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8283 eval "$ac_cv_use_radiobtn"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8288 if test "$wxUSE_RADIOBTN" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8301 # Check whether --enable-sash or --disable-sash was given.
8302 if test "${enable_sash+set}" = set; then
8303 enableval="$enable_sash"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_sash='wxUSE_SASH
=yes'
8308 ac_cv_use_sash='wxUSE_SASH
=no
'
8313 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8324 eval "$ac_cv_use_sash"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_SASH" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8342 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8343 if test "${enable_scrollbar+set}" = set; then
8344 enableval="$enable_scrollbar"
8346 if test "$enableval" = yes; then
8347 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8349 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8354 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8361 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8365 eval "$ac_cv_use_scrollbar"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_SCROLLBAR" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8383 # Check whether --enable-slider or --disable-slider was given.
8384 if test "${enable_slider+set}" = set; then
8385 enableval="$enable_slider"
8387 if test "$enableval" = yes; then
8388 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8390 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8395 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x ; then
8397 eval "DEFAULT_$LINE"
8402 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8406 eval "$ac_cv_use_slider"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_SLIDER" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8424 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8425 if test "${enable_spinbtn+set}" = set; then
8426 enableval="$enable_spinbtn"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8431 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8436 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8447 eval "$ac_cv_use_spinbtn"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_SPINBTN" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8465 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8466 if test "${enable_spinctrl+set}" = set; then
8467 enableval="$enable_spinctrl"
8469 if test "$enableval" = yes; then
8470 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8472 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8477 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x ; then
8479 eval "DEFAULT_$LINE"
8484 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8488 eval "$ac_cv_use_spinctrl"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8493 if test "$wxUSE_SPINCTRL" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8506 # Check whether --enable-splitter or --disable-splitter was given.
8507 if test "${enable_splitter+set}" = set; then
8508 enableval="$enable_splitter"
8510 if test "$enableval" = yes; then
8511 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8513 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8518 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x ; then
8520 eval "DEFAULT_$LINE"
8525 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8529 eval "$ac_cv_use_splitter"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8534 if test "$wxUSE_SPLITTER" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8547 # Check whether --enable-statbmp or --disable-statbmp was given.
8548 if test "${enable_statbmp+set}" = set; then
8549 enableval="$enable_statbmp"
8551 if test "$enableval" = yes; then
8552 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8554 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8559 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x ; then
8561 eval "DEFAULT_$LINE"
8566 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8570 eval "$ac_cv_use_statbmp"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8575 if test "$wxUSE_STATBMP" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8588 # Check whether --enable-statbox or --disable-statbox was given.
8589 if test "${enable_statbox+set}" = set; then
8590 enableval="$enable_statbox"
8592 if test "$enableval" = yes; then
8593 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8595 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8600 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x ; then
8602 eval "DEFAULT_$LINE"
8607 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8611 eval "$ac_cv_use_statbox"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8616 if test "$wxUSE_STATBOX" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8629 # Check whether --enable-statline or --disable-statline was given.
8630 if test "${enable_statline+set}" = set; then
8631 enableval="$enable_statline"
8633 if test "$enableval" = yes; then
8634 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8636 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8641 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x ; then
8643 eval "DEFAULT_$LINE"
8648 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8652 eval "$ac_cv_use_statline"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8657 if test "$wxUSE_STATLINE" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8670 # Check whether --enable-stattext or --disable-stattext was given.
8671 if test "${enable_stattext+set}" = set; then
8672 enableval="$enable_stattext"
8674 if test "$enableval" = yes; then
8675 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8677 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8682 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x ; then
8684 eval "DEFAULT_$LINE"
8689 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8693 eval "$ac_cv_use_stattext"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8698 if test "$wxUSE_STATTEXT" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8711 # Check whether --enable-statusbar or --disable-statusbar was given.
8712 if test "${enable_statusbar+set}" = set; then
8713 enableval="$enable_statusbar"
8715 if test "$enableval" = yes; then
8716 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8718 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8723 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8730 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8734 eval "$ac_cv_use_statusbar"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8739 if test "$wxUSE_STATUSBAR" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8752 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8753 if test "${enable_tabdialog+set}" = set; then
8754 enableval="$enable_tabdialog"
8756 if test "$enableval" = yes; then
8757 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8759 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8764 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8771 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8775 eval "$ac_cv_use_tabdialog"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8780 if test "$wxUSE_TABDIALOG" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8793 # Check whether --enable-textctrl or --disable-textctrl was given.
8794 if test "${enable_textctrl+set}" = set; then
8795 enableval="$enable_textctrl"
8797 if test "$enableval" = yes; then
8798 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8800 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8805 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8812 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8816 eval "$ac_cv_use_textctrl"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8821 if test "$wxUSE_TEXTCTRL" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8834 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8835 if test "${enable_togglebtn+set}" = set; then
8836 enableval="$enable_togglebtn"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8841 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8846 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8857 eval "$ac_cv_use_togglebtn"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8862 if test "$wxUSE_TOGGLEBTN" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8875 # Check whether --enable-toolbar or --disable-toolbar was given.
8876 if test "${enable_toolbar+set}" = set; then
8877 enableval="$enable_toolbar"
8879 if test "$enableval" = yes; then
8880 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8882 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8887 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8898 eval "$ac_cv_use_toolbar"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8903 if test "$wxUSE_TOOLBAR" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8916 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8917 if test "${enable_tbarnative+set}" = set; then
8918 enableval="$enable_tbarnative"
8920 if test "$enableval" = yes; then
8921 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8923 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8928 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8935 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8939 eval "$ac_cv_use_tbarnative"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8944 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946 echo "${ECHO_T}yes" >&6
8948 echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8955 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8957 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8958 if test "${enable_tbarsmpl+set}" = set; then
8959 enableval="$enable_tbarsmpl"
8961 if test "$enableval" = yes; then
8962 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8964 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8969 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8976 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8980 eval "$ac_cv_use_tbarsmpl"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8985 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987 echo "${ECHO_T}yes" >&6
8989 echo "$as_me:$LINENO: result: no" >&5
8990 echo "${ECHO_T}no" >&6
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
8998 # Check whether --enable-treebook or --disable-treebook was given.
8999 if test "${enable_treebook+set}" = set; then
9000 enableval="$enable_treebook"
9002 if test "$enableval" = yes; then
9003 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9005 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9010 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9017 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9021 eval "$ac_cv_use_treebook"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9026 if test "$wxUSE_TREEBOOK" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028 echo "${ECHO_T}yes" >&6
9030 echo "$as_me:$LINENO: result: no" >&5
9031 echo "${ECHO_T}no" >&6
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9039 # Check whether --enable-treectrl or --disable-treectrl was given.
9040 if test "${enable_treectrl+set}" = set; then
9041 enableval="$enable_treectrl"
9043 if test "$enableval" = yes; then
9044 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9046 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9051 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9058 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9062 eval "$ac_cv_use_treectrl"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9067 if test "$wxUSE_TREECTRL" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069 echo "${ECHO_T}yes" >&6
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9080 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9081 if test "${enable_tipwindow+set}" = set; then
9082 enableval="$enable_tipwindow"
9084 if test "$enableval" = yes; then
9085 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9087 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9092 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9099 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9103 eval "$ac_cv_use_tipwindow"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9108 if test "$wxUSE_TIPWINDOW" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110 echo "${ECHO_T}yes" >&6
9112 echo "$as_me:$LINENO: result: no" >&5
9113 echo "${ECHO_T}no" >&6
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9121 # Check whether --enable-popupwin or --disable-popupwin was given.
9122 if test "${enable_popupwin+set}" = set; then
9123 enableval="$enable_popupwin"
9125 if test "$enableval" = yes; then
9126 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9128 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9133 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9144 eval "$ac_cv_use_popupwin"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9149 if test "$wxUSE_POPUPWIN" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9164 # Check whether --enable-commondlg or --disable-commondlg was given.
9165 if test "${enable_commondlg+set}" = set; then
9166 enableval="$enable_commondlg"
9168 if test "$enableval" = yes; then
9169 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9171 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9176 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9187 eval "$ac_cv_use_commondlg"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9192 if test "$wxUSE_COMMONDLGS" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9205 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9206 if test "${enable_choicedlg+set}" = set; then
9207 enableval="$enable_choicedlg"
9209 if test "$enableval" = yes; then
9210 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9212 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9217 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9228 eval "$ac_cv_use_choicedlg"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9233 if test "$wxUSE_CHOICEDLG" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9246 # Check whether --enable-coldlg or --disable-coldlg was given.
9247 if test "${enable_coldlg+set}" = set; then
9248 enableval="$enable_coldlg"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9253 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9258 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9269 eval "$ac_cv_use_coldlg"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_COLOURDLG" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9287 # Check whether --enable-filedlg or --disable-filedlg was given.
9288 if test "${enable_filedlg+set}" = set; then
9289 enableval="$enable_filedlg"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9294 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9299 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9310 eval "$ac_cv_use_filedlg"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_FILEDLG" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9328 # Check whether --enable-finddlg or --disable-finddlg was given.
9329 if test "${enable_finddlg+set}" = set; then
9330 enableval="$enable_finddlg"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9335 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9340 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9351 eval "$ac_cv_use_finddlg"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_FINDREPLDLG" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9369 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9370 if test "${enable_fontdlg+set}" = set; then
9371 enableval="$enable_fontdlg"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9376 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9381 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9392 eval "$ac_cv_use_fontdlg"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_FONTDLG" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9410 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9411 if test "${enable_dirdlg+set}" = set; then
9412 enableval="$enable_dirdlg"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9417 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9422 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9433 eval "$ac_cv_use_dirdlg"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_DIRDLG" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9451 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9452 if test "${enable_msgdlg+set}" = set; then
9453 enableval="$enable_msgdlg"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9458 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9463 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9474 eval "$ac_cv_use_msgdlg"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_MSGDLG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9492 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9493 if test "${enable_numberdlg+set}" = set; then
9494 enableval="$enable_numberdlg"
9496 if test "$enableval" = yes; then
9497 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9499 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9504 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9511 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9515 eval "$ac_cv_use_numberdlg"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9520 if test "$wxUSE_NUMBERDLG" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9533 # Check whether --enable-splash or --disable-splash was given.
9534 if test "${enable_splash+set}" = set; then
9535 enableval="$enable_splash"
9537 if test "$enableval" = yes; then
9538 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9540 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9545 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9552 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9556 eval "$ac_cv_use_splash"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9561 if test "$wxUSE_SPLASH" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9574 # Check whether --enable-textdlg or --disable-textdlg was given.
9575 if test "${enable_textdlg+set}" = set; then
9576 enableval="$enable_textdlg"
9578 if test "$enableval" = yes; then
9579 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9581 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9586 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9593 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9597 eval "$ac_cv_use_textdlg"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9602 if test "$wxUSE_TEXTDLG" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9615 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9616 if test "${enable_tipdlg+set}" = set; then
9617 enableval="$enable_tipdlg"
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9622 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9627 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9634 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9638 eval "$ac_cv_use_tipdlg"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9643 if test "$wxUSE_STARTUP_TIPS" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9656 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9657 if test "${enable_progressdlg+set}" = set; then
9658 enableval="$enable_progressdlg"
9660 if test "$enableval" = yes; then
9661 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9663 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9668 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9675 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9679 eval "$ac_cv_use_progressdlg"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9684 if test "$wxUSE_PROGRESSDLG" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9697 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9698 if test "${enable_wizarddlg+set}" = set; then
9699 enableval="$enable_wizarddlg"
9701 if test "$enableval" = yes; then
9702 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9704 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9709 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9716 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9720 eval "$ac_cv_use_wizarddlg"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9725 if test "$wxUSE_WIZARDDLG" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9740 # Check whether --enable-menus or --disable-menus was given.
9741 if test "${enable_menus+set}" = set; then
9742 enableval="$enable_menus"
9744 if test "$enableval" = yes; then
9745 ac_cv_use_menus='wxUSE_MENUS
=yes'
9747 ac_cv_use_menus='wxUSE_MENUS
=no
'
9752 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9759 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9763 eval "$ac_cv_use_menus"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_MENUS" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9781 # Check whether --enable-miniframe or --disable-miniframe was given.
9782 if test "${enable_miniframe+set}" = set; then
9783 enableval="$enable_miniframe"
9785 if test "$enableval" = yes; then
9786 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9788 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9793 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9800 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9804 eval "$ac_cv_use_miniframe"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_MINIFRAME" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9822 # Check whether --enable-tooltips or --disable-tooltips was given.
9823 if test "${enable_tooltips+set}" = set; then
9824 enableval="$enable_tooltips"
9826 if test "$enableval" = yes; then
9827 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9829 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9834 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9841 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9845 eval "$ac_cv_use_tooltips"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_TOOLTIPS" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9863 # Check whether --enable-splines or --disable-splines was given.
9864 if test "${enable_splines+set}" = set; then
9865 enableval="$enable_splines"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9870 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9875 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9886 eval "$ac_cv_use_splines"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_SPLINES" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9904 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9905 if test "${enable_mousewheel+set}" = set; then
9906 enableval="$enable_mousewheel"
9908 if test "$enableval" = yes; then
9909 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
9911 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
9916 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9923 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
9927 eval "$ac_cv_use_mousewheel"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_MOUSEWHEEL" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9945 # Check whether --enable-validators or --disable-validators was given.
9946 if test "${enable_validators+set}" = set; then
9947 enableval="$enable_validators"
9949 if test "$enableval" = yes; then
9950 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9952 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9957 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9964 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9968 eval "$ac_cv_use_validators"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_VALIDATORS" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9986 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9987 if test "${enable_busyinfo+set}" = set; then
9988 enableval="$enable_busyinfo"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9993 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9998 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10009 eval "$ac_cv_use_busyinfo"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_BUSYINFO" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10027 # Check whether --enable-joystick or --disable-joystick was given.
10028 if test "${enable_joystick+set}" = set; then
10029 enableval="$enable_joystick"
10031 if test "$enableval" = yes; then
10032 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10034 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10039 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10046 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10050 eval "$ac_cv_use_joystick"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_JOYSTICK" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10068 # Check whether --enable-metafile or --disable-metafile was given.
10069 if test "${enable_metafile+set}" = set; then
10070 enableval="$enable_metafile"
10072 if test "$enableval" = yes; then
10073 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10075 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10080 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10087 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10091 eval "$ac_cv_use_metafile"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_METAFILE" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10109 # Check whether --enable-dragimage or --disable-dragimage was given.
10110 if test "${enable_dragimage+set}" = set; then
10111 enableval="$enable_dragimage"
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10116 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10121 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x ; then
10123 eval "DEFAULT_$LINE"
10128 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10132 eval "$ac_cv_use_dragimage"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10137 if test "$wxUSE_DRAGIMAGE" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10150 # Check whether --enable-accessibility or --disable-accessibility was given.
10151 if test "${enable_accessibility+set}" = set; then
10152 enableval="$enable_accessibility"
10154 if test "$enableval" = yes; then
10155 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10157 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10162 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x ; then
10164 eval "DEFAULT_$LINE"
10169 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10173 eval "$ac_cv_use_accessibility"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10178 if test "$wxUSE_ACCESSIBILITY" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10187 if test "$wxUSE_MSW" = "1"; then
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10193 # Check whether --enable-dccache or --disable-dccache was given.
10194 if test "${enable_dccache+set}" = set; then
10195 enableval="$enable_dccache"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10200 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10205 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10216 eval "$ac_cv_use_dccache"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_DC_CACHEING" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10237 # Check whether --enable-palette or --disable-palette was given.
10238 if test "${enable_palette+set}" = set; then
10239 enableval="$enable_palette"
10241 if test "$enableval" = yes; then
10242 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10244 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10249 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10250 if test "x$LINE" != x ; then
10251 eval "DEFAULT_$LINE"
10256 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10260 eval "$ac_cv_use_palette"
10261 if test "$no_cache" != 1; then
10262 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10265 if test "$wxUSE_PALETTE" = yes; then
10266 echo "$as_me:$LINENO: result: yes" >&5
10267 echo "${ECHO_T}yes" >&6
10269 echo "$as_me:$LINENO: result: no" >&5
10270 echo "${ECHO_T}no" >&6
10275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10276 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10278 # Check whether --enable-image or --disable-image was given.
10279 if test "${enable_image+set}" = set; then
10280 enableval="$enable_image"
10282 if test "$enableval" = yes; then
10283 ac_cv_use_image='wxUSE_IMAGE
=yes'
10285 ac_cv_use_image='wxUSE_IMAGE
=no
'
10290 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10291 if test "x$LINE" != x ; then
10292 eval "DEFAULT_$LINE"
10297 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10301 eval "$ac_cv_use_image"
10302 if test "$no_cache" != 1; then
10303 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10306 if test "$wxUSE_IMAGE" = yes; then
10307 echo "$as_me:$LINENO: result: yes" >&5
10308 echo "${ECHO_T}yes" >&6
10310 echo "$as_me:$LINENO: result: no" >&5
10311 echo "${ECHO_T}no" >&6
10316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10319 # Check whether --enable-gif or --disable-gif was given.
10320 if test "${enable_gif+set}" = set; then
10321 enableval="$enable_gif"
10323 if test "$enableval" = yes; then
10324 ac_cv_use_gif='wxUSE_GIF
=yes'
10326 ac_cv_use_gif='wxUSE_GIF
=no
'
10331 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10332 if test "x$LINE" != x ; then
10333 eval "DEFAULT_$LINE"
10338 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10342 eval "$ac_cv_use_gif"
10343 if test "$no_cache" != 1; then
10344 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10347 if test "$wxUSE_GIF" = yes; then
10348 echo "$as_me:$LINENO: result: yes" >&5
10349 echo "${ECHO_T}yes" >&6
10351 echo "$as_me:$LINENO: result: no" >&5
10352 echo "${ECHO_T}no" >&6
10357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10358 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10360 # Check whether --enable-pcx or --disable-pcx was given.
10361 if test "${enable_pcx+set}" = set; then
10362 enableval="$enable_pcx"
10364 if test "$enableval" = yes; then
10365 ac_cv_use_pcx='wxUSE_PCX
=yes'
10367 ac_cv_use_pcx='wxUSE_PCX
=no
'
10372 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10373 if test "x$LINE" != x ; then
10374 eval "DEFAULT_$LINE"
10379 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10383 eval "$ac_cv_use_pcx"
10384 if test "$no_cache" != 1; then
10385 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10388 if test "$wxUSE_PCX" = yes; then
10389 echo "$as_me:$LINENO: result: yes" >&5
10390 echo "${ECHO_T}yes" >&6
10392 echo "$as_me:$LINENO: result: no" >&5
10393 echo "${ECHO_T}no" >&6
10398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10401 # Check whether --enable-iff or --disable-iff was given.
10402 if test "${enable_iff+set}" = set; then
10403 enableval="$enable_iff"
10405 if test "$enableval" = yes; then
10406 ac_cv_use_iff='wxUSE_IFF
=yes'
10408 ac_cv_use_iff='wxUSE_IFF
=no
'
10413 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10414 if test "x$LINE" != x ; then
10415 eval "DEFAULT_$LINE"
10420 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10424 eval "$ac_cv_use_iff"
10425 if test "$no_cache" != 1; then
10426 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10429 if test "$wxUSE_IFF" = yes; then
10430 echo "$as_me:$LINENO: result: yes" >&5
10431 echo "${ECHO_T}yes" >&6
10433 echo "$as_me:$LINENO: result: no" >&5
10434 echo "${ECHO_T}no" >&6
10439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10440 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10442 # Check whether --enable-pnm or --disable-pnm was given.
10443 if test "${enable_pnm+set}" = set; then
10444 enableval="$enable_pnm"
10446 if test "$enableval" = yes; then
10447 ac_cv_use_pnm='wxUSE_PNM
=yes'
10449 ac_cv_use_pnm='wxUSE_PNM
=no
'
10454 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10455 if test "x$LINE" != x ; then
10456 eval "DEFAULT_$LINE"
10461 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10465 eval "$ac_cv_use_pnm"
10466 if test "$no_cache" != 1; then
10467 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10470 if test "$wxUSE_PNM" = yes; then
10471 echo "$as_me:$LINENO: result: yes" >&5
10472 echo "${ECHO_T}yes" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10481 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10483 # Check whether --enable-xpm or --disable-xpm was given.
10484 if test "${enable_xpm+set}" = set; then
10485 enableval="$enable_xpm"
10487 if test "$enableval" = yes; then
10488 ac_cv_use_xpm='wxUSE_XPM
=yes'
10490 ac_cv_use_xpm='wxUSE_XPM
=no
'
10495 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x ; then
10497 eval "DEFAULT_$LINE"
10502 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10506 eval "$ac_cv_use_xpm"
10507 if test "$no_cache" != 1; then
10508 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10511 if test "$wxUSE_XPM" = yes; then
10512 echo "$as_me:$LINENO: result: yes" >&5
10513 echo "${ECHO_T}yes" >&6
10515 echo "$as_me:$LINENO: result: no" >&5
10516 echo "${ECHO_T}no" >&6
10521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10522 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10524 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10525 if test "${enable_ico_cur+set}" = set; then
10526 enableval="$enable_ico_cur"
10528 if test "$enableval" = yes; then
10529 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10531 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10536 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x ; then
10538 eval "DEFAULT_$LINE"
10543 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10547 eval "$ac_cv_use_ico_cur"
10548 if test "$no_cache" != 1; then
10549 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10552 if test "$wxUSE_ICO_CUR" = yes; then
10553 echo "$as_me:$LINENO: result: yes" >&5
10554 echo "${ECHO_T}yes" >&6
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10565 # Check whether --with-flavour or --without-flavour was given.
10566 if test "${with_flavour+set}" = set; then
10567 withval="$with_flavour"
10568 WX_FLAVOUR="$withval"
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10577 # Check whether --enable-official_build or --disable-official_build was given.
10578 if test "${enable_official_build+set}" = set; then
10579 enableval="$enable_official_build"
10581 if test "$enableval" = yes; then
10582 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10584 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10589 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10596 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10600 eval "$ac_cv_use_official_build"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10605 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10613 # Check whether --enable-vendor or --disable-vendor was given.
10614 if test "${enable_vendor+set}" = set; then
10615 enableval="$enable_vendor"
10616 VENDOR="$enableval"
10618 if test "x$VENDOR" = "x"; then
10625 echo "saving argument cache $wx_arg_cache_file"
10626 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10630 echo "$as_me:$LINENO: checking for toolkit" >&5
10631 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10633 # In Wine, we need to default to MSW, not GTK or MOTIF
10634 if test "$wxUSE_WINE" = "yes"; then
10635 DEFAULT_DEFAULT_wxUSE_GTK=0
10636 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10637 DEFAULT_DEFAULT_wxUSE_MSW=1
10642 if test "$wxUSE_GUI" = "yes"; then
10644 if test "$USE_BEOS" = 1; then
10645 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10646 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10647 { (exit 1); exit 1; }; }
10650 if test "$TOOLKIT_GIVEN" = 1; then
10651 for toolkit in `echo $ALL_TOOLKITS`; do
10653 eval "value=\$${var}"
10654 if test "x$value" = "xno"; then
10656 elif test "x$value" != "x"; then
10660 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10661 eval "wx${toolkit}_VERSION=$value"
10665 for toolkit in `echo $ALL_TOOLKITS`; do
10666 if test "$has_toolkit_in_cache" != 1; then
10667 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10669 var=DEFAULT_wxUSE_$toolkit
10671 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10672 if test "x$version" != "x"; then
10673 eval "wx${toolkit}_VERSION=$version"
10676 eval "wxUSE_$toolkit=\$${var}"
10680 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10681 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10682 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10685 *-pc-os2_emx | *-pc-os2-emx )
10686 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10689 case "$NUM_TOOLKITS" in
10693 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10694 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10695 { (exit 1); exit 1; }; }
10698 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10699 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10700 { (exit 1); exit 1; }; }
10703 # to be removed when --disable-gtk2 isn't needed
10704 if test "x$wxUSE_GTK2" = "xyes"; then
10706 elif test "x$wxUSE_GTK2" = "xno"; then
10710 for toolkit
in `echo $ALL_TOOLKITS`; do
10712 eval "value=\$${var}"
10713 if test "x$value" != x
; then
10714 cache_var
=CACHE_
$toolkit
10715 eval "cache=\$${cache_var}"
10716 if test "$cache" = 1; then
10717 echo "$var=$value" >> ${wx_arg_cache_file}
10718 eval "version=\$wx${toolkit}_VERSION"
10719 if test "x$version" != "x"; then
10720 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10723 if test "$value" = 1; then
10724 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10725 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10726 echo "${ECHO_T}$toolkit_echo" >&6
10731 if test "x$host_alias" != "x"; then
10732 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10733 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10735 echo "$as_me:$LINENO: result: base only" >&5
10736 echo "${ECHO_T}base only" >&6
10741 doesnt_want_win32
=0
10744 if test "$wxUSE_MSW" = 1 ; then
10746 BAKEFILE_FORCE_PLATFORM
=win32
10748 doesnt_want_win32
=1
10756 if test "$wxUSE_WINE" = "yes"; then
10760 LDFLAGS_GUI
="-mwindows"
10763 if test "$wants_win32" = 1 ; then
10766 cat >>confdefs.h
<<\_ACEOF
10767 #define __WIN32__ 1
10770 cat >>confdefs.h
<<\_ACEOF
10771 #define __WIN95__ 1
10774 cat >>confdefs.h
<<\_ACEOF
10775 #define __WINDOWS__ 1
10778 cat >>confdefs.h
<<\_ACEOF
10779 #define __GNUWIN32__ 1
10782 cat >>confdefs.h
<<\_ACEOF
10786 cat >>confdefs.h
<<\_ACEOF
10787 #define WINVER 0x0400
10791 if test "$doesnt_want_win32" = 1 ; then
10796 if test "$USE_UNIX" = 1 ; then
10798 cat >>confdefs.h
<<\_ACEOF
10805 cat >confcache
<<\_ACEOF
10806 # This file is a shell script that caches the results of configure
10807 # tests run on this system so they can be shared between configure
10808 # scripts and configure runs, see configure's option --config-cache.
10809 # It is not useful on other systems. If it contains results you don't
10810 # want to keep, you may remove or edit it.
10812 # config.status only pays attention to the cache file if you give it
10813 # the --recheck option to rerun configure.
10815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10817 # following values.
10821 # The following way of writing the cache mishandles newlines in values,
10822 # but we know of no workaround that is simple, portable, and efficient.
10823 # So, don't put newlines in cache variables' values.
10824 # Ultrix sh set writes to stderr and can't be redirected directly,
10825 # and sets the high bit in the cache file unless we assign to the vars.
10828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10830 # `set' does not quote correctly, so add quotes (double-quote
10831 # substitution turns \\\\ into \\, and sed turns \\ into \).
10834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10837 # `set' quotes correctly as required by POSIX, so do not add quotes.
10839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10850 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10851 if test -w $cache_file; then
10852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10853 cat confcache
>$cache_file
10855 echo "not updating unwritable cache $cache_file"
10865 ac_cpp
='$CPP $CPPFLAGS'
10866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10869 if test -n "$ac_tool_prefix"; then
10870 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10871 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10872 echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10874 if test "${ac_cv_prog_CC+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if test -n "$CC"; then
10878 ac_cv_prog_CC
="$CC" # Let the user override the test.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 if test -n "$CC"; then
10898 echo "$as_me:$LINENO: result: $CC" >&5
10899 echo "${ECHO_T}$CC" >&6
10901 echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6
10906 if test -z "$ac_cv_prog_CC"; then
10908 # Extract the first word of "gcc", so it can be a program name with args.
10909 set dummy gcc
; ac_word
=$2
10910 echo "$as_me:$LINENO: checking for $ac_word" >&5
10911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 if test -n "$ac_ct_CC"; then
10916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10919 for as_dir
in $PATH
10922 test -z "$as_dir" && as_dir
=.
10923 for ac_exec_ext
in '' $ac_executable_extensions; do
10924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10925 ac_cv_prog_ac_ct_CC
="gcc"
10926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10934 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10935 if test -n "$ac_ct_CC"; then
10936 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10937 echo "${ECHO_T}$ac_ct_CC" >&6
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10945 CC
="$ac_cv_prog_CC"
10948 if test -z "$CC"; then
10949 if test -n "$ac_tool_prefix"; then
10950 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10951 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10952 echo "$as_me:$LINENO: checking for $ac_word" >&5
10953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10954 if test "${ac_cv_prog_CC+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 if test -n "$CC"; then
10958 ac_cv_prog_CC
="$CC" # Let the user override the test.
10960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10961 for as_dir
in $PATH
10964 test -z "$as_dir" && as_dir
=.
10965 for ac_exec_ext
in '' $ac_executable_extensions; do
10966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10967 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10977 if test -n "$CC"; then
10978 echo "$as_me:$LINENO: result: $CC" >&5
10979 echo "${ECHO_T}$CC" >&6
10981 echo "$as_me:$LINENO: result: no" >&5
10982 echo "${ECHO_T}no" >&6
10986 if test -z "$ac_cv_prog_CC"; then
10988 # Extract the first word of "cc", so it can be a program name with args.
10989 set dummy cc
; ac_word
=$2
10990 echo "$as_me:$LINENO: checking for $ac_word" >&5
10991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 if test -n "$ac_ct_CC"; then
10996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in $PATH
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_prog_ac_ct_CC
="cc"
11006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11015 if test -n "$ac_ct_CC"; then
11016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11017 echo "${ECHO_T}$ac_ct_CC" >&6
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11025 CC
="$ac_cv_prog_CC"
11029 if test -z "$CC"; then
11030 # Extract the first word of "cc", so it can be a program name with args.
11031 set dummy cc
; ac_word
=$2
11032 echo "$as_me:$LINENO: checking for $ac_word" >&5
11033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11034 if test "${ac_cv_prog_CC+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 if test -n "$CC"; then
11038 ac_cv_prog_CC
="$CC" # Let the user override the test.
11040 ac_prog_rejected
=no
11041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11042 for as_dir
in $PATH
11045 test -z "$as_dir" && as_dir
=.
11046 for ac_exec_ext
in '' $ac_executable_extensions; do
11047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11048 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11049 ac_prog_rejected
=yes
11053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11059 if test $ac_prog_rejected = yes; then
11060 # We found a bogon in the path, so make sure we never use it.
11061 set dummy
$ac_cv_prog_CC
11063 if test $# != 0; then
11064 # We chose a different compiler from the bogus one.
11065 # However, it has the same basename, so the bogon will be chosen
11066 # first if we set CC to just the basename; use the full file name.
11068 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11074 if test -n "$CC"; then
11075 echo "$as_me:$LINENO: result: $CC" >&5
11076 echo "${ECHO_T}$CC" >&6
11078 echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6
11083 if test -z "$CC"; then
11084 if test -n "$ac_tool_prefix"; then
11087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11088 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11089 echo "$as_me:$LINENO: checking for $ac_word" >&5
11090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11091 if test "${ac_cv_prog_CC+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11094 if test -n "$CC"; then
11095 ac_cv_prog_CC
="$CC" # Let the user override the test.
11097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11098 for as_dir
in $PATH
11101 test -z "$as_dir" && as_dir
=.
11102 for ac_exec_ext
in '' $ac_executable_extensions; do
11103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11104 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11114 if test -n "$CC"; then
11115 echo "$as_me:$LINENO: result: $CC" >&5
11116 echo "${ECHO_T}$CC" >&6
11118 echo "$as_me:$LINENO: result: no" >&5
11119 echo "${ECHO_T}no" >&6
11122 test -n "$CC" && break
11125 if test -z "$CC"; then
11129 # Extract the first word of "$ac_prog", so it can be a program name with args.
11130 set dummy
$ac_prog; ac_word
=$2
11131 echo "$as_me:$LINENO: checking for $ac_word" >&5
11132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 if test -n "$ac_ct_CC"; then
11137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11140 for as_dir
in $PATH
11143 test -z "$as_dir" && as_dir
=.
11144 for ac_exec_ext
in '' $ac_executable_extensions; do
11145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11146 ac_cv_prog_ac_ct_CC
="$ac_prog"
11147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11155 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11156 if test -n "$ac_ct_CC"; then
11157 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11158 echo "${ECHO_T}$ac_ct_CC" >&6
11160 echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6
11164 test -n "$ac_ct_CC" && break
11173 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: no acceptable C compiler found in \$PATH
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11179 # Provide some information about the compiler.
11180 echo "$as_me:$LINENO:" \
11181 "checking for C compiler version" >&5
11182 ac_compiler
=`set X $ac_compile; echo $2`
11183 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11184 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }
11188 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11189 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }
11193 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11194 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11214 ac_clean_files_save
=$ac_clean_files
11215 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11216 # Try to create an executable without -o first, disregard a.out.
11217 # It will help us diagnose broken compilers, and finding out an intuition
11219 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11220 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11221 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11223 (eval $ac_link_default) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; then
11227 # Find the output, starting from the most likely. This scheme is
11228 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11231 # Be careful to initialize this variable, since it used to be cached.
11232 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11234 # b.out is created by i960 compilers.
11235 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11237 test -f "$ac_file" || continue
11239 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11242 # This is the source file.
11245 # We found the default executable, but exeext='' is most
11249 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11250 # FIXME: I believe we export ac_cv_exeext for Libtool,
11251 # but it would be cool to find out if it's true. Does anybody
11252 # maintain Libtool? --akim.
11253 export ac_cv_exeext
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.
$ac_ext >&5
11263 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11264 See \`config.log' for more details." >&5
11265 echo "$as_me: error: C compiler cannot create executables
11266 See \`config.log' for more details." >&2;}
11267 { (exit 77); exit 77; }; }
11270 ac_exeext
=$ac_cv_exeext
11271 echo "$as_me:$LINENO: result: $ac_file" >&5
11272 echo "${ECHO_T}$ac_file" >&6
11274 # Check the compiler produces executables we can run. If not, either
11275 # the compiler is broken, or we cross compile.
11276 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11277 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11278 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11279 # If not cross compiling, check that we can run a simple program.
11280 if test "$cross_compiling" != yes; then
11281 if { ac_try
='./$ac_file'
11282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11283 (eval $ac_try) 2>&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); }; }; then
11289 if test "$cross_compiling" = maybe
; then
11290 cross_compiling
=yes
11292 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11293 If you meant to cross compile, use \`--host'.
11294 See \`config.log' for more details." >&5
11295 echo "$as_me: error: cannot run C compiled programs.
11296 If you meant to cross compile, use \`--host'.
11297 See \`config.log' for more details." >&2;}
11298 { (exit 1); exit 1; }; }
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11305 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11306 ac_clean_files
=$ac_clean_files_save
11307 # Check the compiler produces executables we can run. If not, either
11308 # the compiler is broken, or we cross compile.
11309 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11310 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11311 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11312 echo "${ECHO_T}$cross_compiling" >&6
11314 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11315 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317 (eval $ac_link) 2>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; then
11321 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11322 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11323 # work properly (i.e., refer to `conftest.exe'), while it won't with
11325 for ac_file
in conftest.exe conftest conftest.
*; do
11326 test -f "$ac_file" || continue
11328 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11329 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11330 export ac_cv_exeext
11336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11337 See \`config.log' for more details." >&5
11338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11339 See \`config.log' for more details." >&2;}
11340 { (exit 1); exit 1; }; }
11343 rm -f conftest
$ac_cv_exeext
11344 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11345 echo "${ECHO_T}$ac_cv_exeext" >&6
11347 rm -f conftest.
$ac_ext
11348 EXEEXT
=$ac_cv_exeext
11350 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11351 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11352 if test "${ac_cv_objext+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11370 rm -f conftest.o conftest.obj
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; then
11376 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11378 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11379 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11384 echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.
$ac_ext >&5
11387 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11388 See \`config.log' for more details." >&5
11389 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11390 See \`config.log' for more details." >&2;}
11391 { (exit 1); exit 1; }; }
11394 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11396 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11397 echo "${ECHO_T}$ac_cv_objext" >&6
11398 OBJEXT
=$ac_cv_objext
11400 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11401 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11402 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 cat >conftest.
$ac_ext <<_ACEOF
11408 cat confdefs.h
>>conftest.
$ac_ext
11409 cat >>conftest.
$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11423 rm -f conftest.
$ac_objext
11424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11425 (eval $ac_compile) 2>conftest.er1
11427 grep -v '^ *+' conftest.er1
>conftest.err
11429 cat conftest.err
>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } &&
11432 { ac_try
='test -z "$ac_c_werror_flag" || 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
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
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
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
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_RESCOMP+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 if test -n "$RESCOMP"; then
14365 ac_cv_prog_RESCOMP
="$RESCOMP" # 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_RESCOMP
="${ac_tool_prefix}wrc"
14375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14383 RESCOMP
=$ac_cv_prog_RESCOMP
14384 if test -n "$RESCOMP"; then
14385 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14386 echo "${ECHO_T}$RESCOMP" >&6
14388 echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6
14393 if test -z "$ac_cv_prog_RESCOMP"; then
14394 ac_ct_RESCOMP
=$RESCOMP
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_RESCOMP+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 if test -n "$ac_ct_RESCOMP"; then
14403 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # 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_RESCOMP
="wrc"
14413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14422 if test -n "$ac_ct_RESCOMP"; then
14423 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14424 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14426 echo "$as_me:$LINENO: result: no" >&5
14427 echo "${ECHO_T}no" >&6
14430 RESCOMP
=$ac_ct_RESCOMP
14432 RESCOMP
="$ac_cv_prog_RESCOMP"
14437 *-*-cygwin* | *-*-mingw32* )
14438 if test -n "$ac_tool_prefix"; then
14439 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14440 set dummy
${ac_tool_prefix}windres
; 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_RESCOMP+set}" = set; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 if test -n "$RESCOMP"; then
14447 ac_cv_prog_RESCOMP
="$RESCOMP" # 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_RESCOMP
="${ac_tool_prefix}windres"
14457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14465 RESCOMP
=$ac_cv_prog_RESCOMP
14466 if test -n "$RESCOMP"; then
14467 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14468 echo "${ECHO_T}$RESCOMP" >&6
14470 echo "$as_me:$LINENO: result: no" >&5
14471 echo "${ECHO_T}no" >&6
14475 if test -z "$ac_cv_prog_RESCOMP"; then
14476 ac_ct_RESCOMP
=$RESCOMP
14477 # Extract the first word of "windres", so it can be a program name with args.
14478 set dummy windres
; 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_RESCOMP+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 if test -n "$ac_ct_RESCOMP"; then
14485 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # 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_RESCOMP
="windres"
14495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14503 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14504 if test -n "$ac_ct_RESCOMP"; then
14505 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14506 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14508 echo "$as_me:$LINENO: result: no" >&5
14509 echo "${ECHO_T}no" >&6
14512 RESCOMP
=$ac_ct_RESCOMP
14514 RESCOMP
="$ac_cv_prog_RESCOMP"
14517 if test -n "$ac_tool_prefix"; then
14518 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14519 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14520 echo "$as_me:$LINENO: checking for $ac_word" >&5
14521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14522 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14525 if test -n "$DLLTOOL"; then
14526 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14529 for as_dir
in $PATH
14532 test -z "$as_dir" && as_dir
=.
14533 for ac_exec_ext
in '' $ac_executable_extensions; do
14534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14535 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14544 DLLTOOL
=$ac_cv_prog_DLLTOOL
14545 if test -n "$DLLTOOL"; then
14546 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14547 echo "${ECHO_T}$DLLTOOL" >&6
14549 echo "$as_me:$LINENO: result: no" >&5
14550 echo "${ECHO_T}no" >&6
14554 if test -z "$ac_cv_prog_DLLTOOL"; then
14555 ac_ct_DLLTOOL
=$DLLTOOL
14556 # Extract the first word of "dlltool", so it can be a program name with args.
14557 set dummy dlltool
; ac_word
=$2
14558 echo "$as_me:$LINENO: checking for $ac_word" >&5
14559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14560 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 if test -n "$ac_ct_DLLTOOL"; then
14564 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14567 for as_dir
in $PATH
14570 test -z "$as_dir" && as_dir
=.
14571 for ac_exec_ext
in '' $ac_executable_extensions; do
14572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14573 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14582 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14583 if test -n "$ac_ct_DLLTOOL"; then
14584 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14585 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14587 echo "$as_me:$LINENO: result: no" >&5
14588 echo "${ECHO_T}no" >&6
14591 DLLTOOL
=$ac_ct_DLLTOOL
14593 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14600 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14601 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14602 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14607 egrep -s GNU
> /dev
/null
); then
14608 wx_cv_prog_makeisgnu
="yes"
14610 wx_cv_prog_makeisgnu
="no"
14614 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14615 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14617 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14625 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14626 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14627 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14628 if test "${wx_cv_prog_makevpath+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 cat - << EOF > confMake
14638 if test ! -d sub
; then
14641 echo dummy
> sub
/file
14642 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14644 rm -f sub
/file check final_file confMake
14646 if test "$RESULT" = 0; then
14647 wx_cv_prog_makevpath
="yes"
14649 wx_cv_prog_makevpath
="no"
14653 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14654 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14656 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14657 { { echo "$as_me:$LINENO: error:
14658 You need a make-utility that is able to use the variable
14660 If your version of make does not support VPATH correctly,
14661 please install GNU-make (possibly as gmake), and start
14662 configure with the following command:
14663 export MAKE=gmake; ./configure for sh-type shells
14664 setenv MAKE gmake; ./configure for csh-type shells
14665 Also please do remember to use gmake in this case every time
14666 you are trying to compile.
14668 echo "$as_me: error:
14669 You need a make-utility that is able to use the variable
14671 If your version of make does not support VPATH correctly,
14672 please install GNU-make (possibly as gmake), and start
14673 configure with the following command:
14674 export MAKE=gmake; ./configure for sh-type shells
14675 setenv MAKE gmake; ./configure for csh-type shells
14676 Also please do remember to use gmake in this case every time
14677 you are trying to compile.
14679 { (exit 1); exit 1; }; }
14681 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14684 if test "$LN_S" = "ln -s"; then
14685 echo "$as_me:$LINENO: result: yes" >&5
14686 echo "${ECHO_T}yes" >&6
14688 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14689 echo "${ECHO_T}no, using $LN_S" >&6
14693 for ac_prog
in lndir
14695 # Extract the first word of "$ac_prog", so it can be a program name with args.
14696 set dummy
$ac_prog; ac_word
=$2
14697 echo "$as_me:$LINENO: checking for $ac_word" >&5
14698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14699 if test "${ac_cv_prog_LNDIR+set}" = set; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 if test -n "$LNDIR"; then
14703 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14706 for as_dir
in $PATH
14709 test -z "$as_dir" && as_dir
=.
14710 for ac_exec_ext
in '' $ac_executable_extensions; do
14711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14712 ac_cv_prog_LNDIR
="$ac_prog"
14713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14721 LNDIR
=$ac_cv_prog_LNDIR
14722 if test -n "$LNDIR"; then
14723 echo "$as_me:$LINENO: result: $LNDIR" >&5
14724 echo "${ECHO_T}$LNDIR" >&6
14726 echo "$as_me:$LINENO: result: no" >&5
14727 echo "${ECHO_T}no" >&6
14730 test -n "$LNDIR" && break
14732 test -n "$LNDIR" || LNDIR
="cp -pR"
14737 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14738 CXXFLAGS
="$CXXFLAGS -qunique"
14742 powerpc
-*-darwin* )
14743 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14744 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14745 cat >conftest.
$ac_ext <<_ACEOF
14748 cat confdefs.h
>>conftest.
$ac_ext
14749 cat >>conftest.
$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14755 #ifndef __POWERPC__
14756 choke me for lack of PowerPC
14763 rm -f conftest.
$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>conftest.er1
14767 grep -v '^ *+' conftest.er1
>conftest.err
14769 cat conftest.err
>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; } &&
14778 { ac_try
='test -s conftest.$ac_objext'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; }; then
14784 echo "$as_me:$LINENO: result: yes" >&5
14785 echo "${ECHO_T}yes" >&6
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.
$ac_ext >&5
14790 echo "$as_me:$LINENO: result: no" >&5
14791 echo "${ECHO_T}no" >&6
14792 cat >>confdefs.h
<<\_ACEOF
14793 #define __POWERPC__ 1
14798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14804 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14805 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14806 cat >conftest.
$ac_ext <<_ACEOF
14809 cat confdefs.h
>>conftest.
$ac_ext
14810 cat >>conftest.
$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14812 #include <CoreFoundation/CFBase.h>
14822 rm -f conftest.
$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>conftest.er1
14826 grep -v '^ *+' conftest.er1
>conftest.err
14828 cat conftest.err
>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; } &&
14837 { ac_try
='test -s conftest.$ac_objext'
14838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14839 (eval $ac_try) 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }; }; then
14843 echo "$as_me:$LINENO: result: yes" >&5
14844 echo "${ECHO_T}yes" >&6
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.
$ac_ext >&5
14849 echo "$as_me:$LINENO: result: no" >&5
14850 echo "${ECHO_T}no" >&6
14851 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14852 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14853 cat >conftest.
$ac_ext <<_ACEOF
14856 cat confdefs.h
>>conftest.
$ac_ext
14857 cat >>conftest.
$ac_ext <<_ACEOF
14858 /* end confdefs.h. */
14859 #define __CF_USE_FRAMEWORK_INCLUDES__
14860 #include <CoreFoundation/CFBase.h>
14870 rm -f conftest.
$ac_objext
14871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14872 (eval $ac_compile) 2>conftest.er1
14874 grep -v '^ *+' conftest.er1
>conftest.err
14876 cat conftest.err
>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; } &&
14885 { ac_try
='test -s conftest.$ac_objext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 echo "$as_me:$LINENO: result: yes" >&5
14892 echo "${ECHO_T}yes" >&6
14893 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.
$ac_ext >&5
14898 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14899 See \`config.log' for more details." >&5
14900 echo "$as_me: error: no. CoreFoundation not available.
14901 See \`config.log' for more details." >&2;}
14902 { (exit 1); exit 1; }; }
14905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14914 *-pc-os2_emx | *-pc-os2-emx )
14915 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14916 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14917 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14918 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 ac_check_lib_save_LIBS
=$LIBS
14922 LIBS
="-lcExt $LIBS"
14923 cat >conftest.
$ac_ext <<_ACEOF
14926 cat confdefs.h
>>conftest.
$ac_ext
14927 cat >>conftest.
$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14930 /* Override any gcc2 internal prototype to avoid an error. */
14934 /* We use char because int might match the return type of a gcc2
14935 builtin and then its argument prototype would still apply. */
14945 rm -f conftest.
$ac_objext conftest
$ac_exeext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14947 (eval $ac_link) 2>conftest.er1
14949 grep -v '^ *+' conftest.er1
>conftest.err
14951 cat conftest.err
>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; } &&
14960 { ac_try
='test -s conftest$ac_exeext'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 ac_cv_lib_cExt_drand48
=yes
14968 echo "$as_me: failed program was:" >&5
14969 sed 's/^/| /' conftest.
$ac_ext >&5
14971 ac_cv_lib_cExt_drand48
=no
14973 rm -f conftest.err conftest.
$ac_objext \
14974 conftest
$ac_exeext conftest.
$ac_ext
14975 LIBS
=$ac_check_lib_save_LIBS
14977 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14978 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14979 if test $ac_cv_lib_cExt_drand48 = yes; then
14980 LIBS
="$LIBS -lcExt"
14984 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14986 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14987 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14988 if test "${wx_cv_gccversion+set}" = set; then
14989 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 if test "$cross_compiling" = yes; then
14993 wx_cv_gccversion
="EMX2"
14996 cat >conftest.
$ac_ext <<_ACEOF
14999 cat confdefs.h
>>conftest.
$ac_ext
15000 cat >>conftest.
$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15007 FILE *f=fopen("conftestval", "w");
15012 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15014 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15024 rm -f conftest
$ac_exeext
15025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15026 (eval $ac_link) 2>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 wx_cv_gccversion
=`cat conftestval`
15037 echo "$as_me: program exited with status $ac_status" >&5
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.
$ac_ext >&5
15041 ( exit $ac_status )
15042 wx_cv_gccversion
="EMX2"
15044 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15048 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15049 echo "${ECHO_T}$wx_cv_gccversion" >&6
15050 if test "$wx_cv_gccversion" = "EMX2"; then
15051 LIBS
="$LIBS -lstdcpp"
15052 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15054 if test "$wx_cv_gccversion" = "EMX3"; then
15055 LIBS
="$LIBS -lstdcxx -lgcc"
15056 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15058 LIBS
="$LIBS -lstdc++"
15061 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15062 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15063 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15073 ac_cpp
='$CXXCPP $CPPFLAGS'
15074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15079 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15080 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15081 if test "${ac_cv_string_strcasecmp+set}" = set; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 cat >conftest.
$ac_ext <<_ACEOF
15088 cat confdefs.h
>>conftest.
$ac_ext
15089 cat >>conftest.
$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15092 #include <string.h>
15098 strcasecmp("foo", "bar");
15104 rm -f conftest.
$ac_objext conftest
$ac_exeext
15105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15106 (eval $ac_link) 2>conftest.er1
15108 grep -v '^ *+' conftest.er1
>conftest.err
15110 cat conftest.err
>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } &&
15113 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; } &&
15119 { ac_try
='test -s conftest$ac_exeext'
15120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 (eval $ac_try) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; }; then
15125 ac_cv_string_strcasecmp
=yes
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.
$ac_ext >&5
15130 ac_cv_string_strcasecmp
=no
15133 rm -f conftest.err conftest.
$ac_objext \
15134 conftest
$ac_exeext conftest.
$ac_ext
15137 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15138 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15140 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15141 cat >>confdefs.h
<<\_ACEOF
15142 #define HAVE_STRCASECMP_IN_STRING_H 1
15146 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15147 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15148 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15152 cat >conftest.
$ac_ext <<_ACEOF
15155 cat confdefs.h
>>conftest.
$ac_ext
15156 cat >>conftest.
$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15159 #include <strings.h>
15165 strcasecmp("foo", "bar");
15171 rm -f conftest.
$ac_objext conftest
$ac_exeext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15173 (eval $ac_link) 2>conftest.er1
15175 grep -v '^ *+' conftest.er1
>conftest.err
15177 cat conftest.err
>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; } &&
15186 { ac_try
='test -s conftest$ac_exeext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_cv_strings_strcasecmp
=yes
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.
$ac_ext >&5
15197 ac_cv_strings_strcasecmp
=no
15200 rm -f conftest.err conftest.
$ac_objext \
15201 conftest
$ac_exeext conftest.
$ac_ext
15204 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15205 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15207 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15208 cat >>confdefs.h
<<\_ACEOF
15209 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15213 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15214 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15215 { (exit 1); exit 1; }; }
15220 ac_cpp
='$CPP $CPPFLAGS'
15221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15229 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15230 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15231 if test "${ac_cv_header_stdc+set}" = set; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 cat >conftest.
$ac_ext <<_ACEOF
15237 cat confdefs.h
>>conftest.
$ac_ext
15238 cat >>conftest.
$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15240 #include <stdlib.h>
15241 #include <stdarg.h>
15242 #include <string.h>
15253 rm -f conftest.
$ac_objext
15254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>conftest.er1
15257 grep -v '^ *+' conftest.er1
>conftest.err
15259 cat conftest.err
>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; } &&
15268 { ac_try
='test -s conftest.$ac_objext'
15269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15270 (eval $ac_try) 2>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); }; }; then
15274 ac_cv_header_stdc
=yes
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.
$ac_ext >&5
15279 ac_cv_header_stdc
=no
15281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15283 if test $ac_cv_header_stdc = yes; then
15284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15285 cat >conftest.
$ac_ext <<_ACEOF
15288 cat confdefs.h
>>conftest.
$ac_ext
15289 cat >>conftest.
$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15291 #include <string.h>
15294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15295 $EGREP "memchr" >/dev
/null
2>&1; then
15298 ac_cv_header_stdc
=no
15304 if test $ac_cv_header_stdc = yes; then
15305 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15306 cat >conftest.
$ac_ext <<_ACEOF
15309 cat confdefs.h
>>conftest.
$ac_ext
15310 cat >>conftest.
$ac_ext <<_ACEOF
15311 /* end confdefs.h. */
15312 #include <stdlib.h>
15315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15316 $EGREP "free" >/dev
/null
2>&1; then
15319 ac_cv_header_stdc
=no
15325 if test $ac_cv_header_stdc = yes; then
15326 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15327 if test "$cross_compiling" = yes; then
15330 cat >conftest.
$ac_ext <<_ACEOF
15333 cat confdefs.h
>>conftest.
$ac_ext
15334 cat >>conftest.
$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15337 #if ((' ' & 0x0FF) == 0x020)
15338 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15339 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15341 # define ISLOWER(c) \
15342 (('a' <= (c) && (c) <= 'i') \
15343 || ('j' <= (c) && (c) <= 'r') \
15344 || ('s' <= (c) && (c) <= 'z'))
15345 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15348 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15353 for (i = 0; i < 256; i++)
15354 if (XOR (islower (i), ISLOWER (i))
15355 || toupper (i) != TOUPPER (i))
15360 rm -f conftest
$ac_exeext
15361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15362 (eval $ac_link) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; }; then
15373 echo "$as_me: program exited with status $ac_status" >&5
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15377 ( exit $ac_status )
15378 ac_cv_header_stdc
=no
15380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15384 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15385 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15386 if test $ac_cv_header_stdc = yes; then
15388 cat >>confdefs.h
<<\_ACEOF
15389 #define STDC_HEADERS 1
15394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15404 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15405 inttypes.h stdint.h unistd.h
15407 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15408 echo "$as_me:$LINENO: checking for $ac_header" >&5
15409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 cat >conftest.
$ac_ext <<_ACEOF
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 $ac_includes_default
15421 #include <$ac_header>
15423 rm -f conftest.
$ac_objext
15424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15425 (eval $ac_compile) 2>conftest.er1
15427 grep -v '^ *+' conftest.er1
>conftest.err
15429 cat conftest.err
>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } &&
15432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; } &&
15438 { ac_try
='test -s conftest.$ac_objext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15444 eval "$as_ac_Header=yes"
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.
$ac_ext >&5
15449 eval "$as_ac_Header=no"
15451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15456 cat >>confdefs.h
<<_ACEOF
15457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15466 for ac_header
in stdlib.h
15468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15470 echo "$as_me:$LINENO: checking for $ac_header" >&5
15471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15478 # Is the header compilable?
15479 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15481 cat >conftest.
$ac_ext <<_ACEOF
15484 cat confdefs.h
>>conftest.
$ac_ext
15485 cat >>conftest.
$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 $ac_includes_default
15488 #include <$ac_header>
15490 rm -f conftest.
$ac_objext
15491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15492 (eval $ac_compile) 2>conftest.er1
15494 grep -v '^ *+' conftest.er1
>conftest.err
15496 cat conftest.err
>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } &&
15499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; } &&
15505 { ac_try
='test -s conftest.$ac_objext'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; }; then
15511 ac_header_compiler
=yes
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.
$ac_ext >&5
15516 ac_header_compiler
=no
15518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15520 echo "${ECHO_T}$ac_header_compiler" >&6
15522 # Is the header present?
15523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15525 cat >conftest.
$ac_ext <<_ACEOF
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 #include <$ac_header>
15533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15536 grep -v '^ *+' conftest.er1
>conftest.err
15538 cat conftest.err
>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } >/dev
/null
; then
15541 if test -s conftest.err
; then
15542 ac_cpp_err
=$ac_c_preproc_warn_flag
15543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15550 if test -z "$ac_cpp_err"; then
15551 ac_header_preproc
=yes
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.
$ac_ext >&5
15556 ac_header_preproc
=no
15558 rm -f conftest.err conftest.
$ac_ext
15559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15560 echo "${ECHO_T}$ac_header_preproc" >&6
15562 # So? What about this header?
15563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15569 ac_header_preproc
=yes
15572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15586 ## ----------------------------------------- ##
15587 ## Report this to wx-dev@lists.wxwidgets.org ##
15588 ## ----------------------------------------- ##
15591 sed "s/^/$as_me: WARNING: /" >&2
15594 echo "$as_me:$LINENO: checking for $ac_header" >&5
15595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 eval "$as_ac_Header=\$ac_header_preproc"
15601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15606 cat >>confdefs.h
<<_ACEOF
15607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15615 for ac_header
in malloc.h
15617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15619 echo "$as_me:$LINENO: checking for $ac_header" >&5
15620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15627 # Is the header compilable?
15628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15630 cat >conftest.
$ac_ext <<_ACEOF
15633 cat confdefs.h
>>conftest.
$ac_ext
15634 cat >>conftest.
$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 $ac_includes_default
15637 #include <$ac_header>
15639 rm -f conftest.
$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>conftest.er1
15643 grep -v '^ *+' conftest.er1
>conftest.err
15645 cat conftest.err
>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; } &&
15654 { ac_try
='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 ac_header_compiler
=yes
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.
$ac_ext >&5
15665 ac_header_compiler
=no
15667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15669 echo "${ECHO_T}$ac_header_compiler" >&6
15671 # Is the header present?
15672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15674 cat >conftest.
$ac_ext <<_ACEOF
15677 cat confdefs.h
>>conftest.
$ac_ext
15678 cat >>conftest.
$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680 #include <$ac_header>
15682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15685 grep -v '^ *+' conftest.er1
>conftest.err
15687 cat conftest.err
>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } >/dev
/null
; then
15690 if test -s conftest.err
; then
15691 ac_cpp_err
=$ac_c_preproc_warn_flag
15692 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15699 if test -z "$ac_cpp_err"; then
15700 ac_header_preproc
=yes
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.
$ac_ext >&5
15705 ac_header_preproc
=no
15707 rm -f conftest.err conftest.
$ac_ext
15708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15709 echo "${ECHO_T}$ac_header_preproc" >&6
15711 # So? What about this header?
15712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15718 ac_header_preproc
=yes
15721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15735 ## ----------------------------------------- ##
15736 ## Report this to wx-dev@lists.wxwidgets.org ##
15737 ## ----------------------------------------- ##
15740 sed "s/^/$as_me: WARNING: /" >&2
15743 echo "$as_me:$LINENO: checking for $ac_header" >&5
15744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6
15748 eval "$as_ac_Header=\$ac_header_preproc"
15750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15755 cat >>confdefs.h
<<_ACEOF
15756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15764 for ac_header
in unistd.h
15766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15768 echo "$as_me:$LINENO: checking for $ac_header" >&5
15769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15771 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15776 # Is the header compilable?
15777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15779 cat >conftest.
$ac_ext <<_ACEOF
15782 cat confdefs.h
>>conftest.
$ac_ext
15783 cat >>conftest.
$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15785 $ac_includes_default
15786 #include <$ac_header>
15788 rm -f conftest.
$ac_objext
15789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15790 (eval $ac_compile) 2>conftest.er1
15792 grep -v '^ *+' conftest.er1
>conftest.err
15794 cat conftest.err
>&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } &&
15797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; } &&
15803 { ac_try
='test -s conftest.$ac_objext'
15804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15805 (eval $ac_try) 2>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); }; }; then
15809 ac_header_compiler
=yes
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.
$ac_ext >&5
15814 ac_header_compiler
=no
15816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15818 echo "${ECHO_T}$ac_header_compiler" >&6
15820 # Is the header present?
15821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15823 cat >conftest.
$ac_ext <<_ACEOF
15826 cat confdefs.h
>>conftest.
$ac_ext
15827 cat >>conftest.
$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15829 #include <$ac_header>
15831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15834 grep -v '^ *+' conftest.er1
>conftest.err
15836 cat conftest.err
>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } >/dev
/null
; then
15839 if test -s conftest.err
; then
15840 ac_cpp_err
=$ac_c_preproc_warn_flag
15841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15848 if test -z "$ac_cpp_err"; then
15849 ac_header_preproc
=yes
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.
$ac_ext >&5
15854 ac_header_preproc
=no
15856 rm -f conftest.err conftest.
$ac_ext
15857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15858 echo "${ECHO_T}$ac_header_preproc" >&6
15860 # So? What about this header?
15861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15867 ac_header_preproc
=yes
15870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15884 ## ----------------------------------------- ##
15885 ## Report this to wx-dev@lists.wxwidgets.org ##
15886 ## ----------------------------------------- ##
15889 sed "s/^/$as_me: WARNING: /" >&2
15892 echo "$as_me:$LINENO: checking for $ac_header" >&5
15893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15897 eval "$as_ac_Header=\$ac_header_preproc"
15899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15904 cat >>confdefs.h
<<_ACEOF
15905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15913 for ac_header
in wchar.h
15915 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15917 echo "$as_me:$LINENO: checking for $ac_header" >&5
15918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15920 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15925 # Is the header compilable?
15926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15928 cat >conftest.
$ac_ext <<_ACEOF
15931 cat confdefs.h
>>conftest.
$ac_ext
15932 cat >>conftest.
$ac_ext <<_ACEOF
15933 /* end confdefs.h. */
15934 $ac_includes_default
15935 #include <$ac_header>
15937 rm -f conftest.
$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>conftest.er1
15941 grep -v '^ *+' conftest.er1
>conftest.err
15943 cat conftest.err
>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } &&
15952 { ac_try
='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 ac_header_compiler
=yes
15960 echo "$as_me: failed program was:" >&5
15961 sed 's/^/| /' conftest.
$ac_ext >&5
15963 ac_header_compiler
=no
15965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15967 echo "${ECHO_T}$ac_header_compiler" >&6
15969 # Is the header present?
15970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15972 cat >conftest.
$ac_ext <<_ACEOF
15975 cat confdefs.h
>>conftest.
$ac_ext
15976 cat >>conftest.
$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 #include <$ac_header>
15980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15983 grep -v '^ *+' conftest.er1
>conftest.err
15985 cat conftest.err
>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } >/dev
/null
; then
15988 if test -s conftest.err
; then
15989 ac_cpp_err
=$ac_c_preproc_warn_flag
15990 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15997 if test -z "$ac_cpp_err"; then
15998 ac_header_preproc
=yes
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16003 ac_header_preproc
=no
16005 rm -f conftest.err conftest.
$ac_ext
16006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16007 echo "${ECHO_T}$ac_header_preproc" >&6
16009 # So? What about this header?
16010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16016 ac_header_preproc
=yes
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16033 ## ----------------------------------------- ##
16034 ## Report this to wx-dev@lists.wxwidgets.org ##
16035 ## ----------------------------------------- ##
16038 sed "s/^/$as_me: WARNING: /" >&2
16041 echo "$as_me:$LINENO: checking for $ac_header" >&5
16042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 eval "$as_ac_Header=\$ac_header_preproc"
16048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16053 cat >>confdefs.h
<<_ACEOF
16054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16062 if test "$ac_cv_header_wchar_h" != "yes"; then
16064 for ac_header
in wcstr.h
16066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16068 echo "$as_me:$LINENO: checking for $ac_header" >&5
16069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16076 # Is the header compilable?
16077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16079 cat >conftest.
$ac_ext <<_ACEOF
16082 cat confdefs.h
>>conftest.
$ac_ext
16083 cat >>conftest.
$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16085 $ac_includes_default
16086 #include <$ac_header>
16088 rm -f conftest.
$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1
>conftest.err
16094 cat conftest.err
>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; } &&
16103 { ac_try
='test -s conftest.$ac_objext'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; }; then
16109 ac_header_compiler
=yes
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.
$ac_ext >&5
16114 ac_header_compiler
=no
16116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16118 echo "${ECHO_T}$ac_header_compiler" >&6
16120 # Is the header present?
16121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16123 cat >conftest.
$ac_ext <<_ACEOF
16126 cat confdefs.h
>>conftest.
$ac_ext
16127 cat >>conftest.
$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16129 #include <$ac_header>
16131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16134 grep -v '^ *+' conftest.er1
>conftest.err
16136 cat conftest.err
>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } >/dev
/null
; then
16139 if test -s conftest.err
; then
16140 ac_cpp_err
=$ac_c_preproc_warn_flag
16141 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16148 if test -z "$ac_cpp_err"; then
16149 ac_header_preproc
=yes
16151 echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.
$ac_ext >&5
16154 ac_header_preproc
=no
16156 rm -f conftest.err conftest.
$ac_ext
16157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16158 echo "${ECHO_T}$ac_header_preproc" >&6
16160 # So? What about this header?
16161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16167 ac_header_preproc
=yes
16170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16184 ## ----------------------------------------- ##
16185 ## Report this to wx-dev@lists.wxwidgets.org ##
16186 ## ----------------------------------------- ##
16189 sed "s/^/$as_me: WARNING: /" >&2
16192 echo "$as_me:$LINENO: checking for $ac_header" >&5
16193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 eval "$as_ac_Header=\$ac_header_preproc"
16199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16204 cat >>confdefs.h
<<_ACEOF
16205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16215 for ac_header
in fnmatch.h
16217 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16219 echo "$as_me:$LINENO: checking for $ac_header" >&5
16220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16227 # Is the header compilable?
16228 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16230 cat >conftest.
$ac_ext <<_ACEOF
16233 cat confdefs.h
>>conftest.
$ac_ext
16234 cat >>conftest.
$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 $ac_includes_default
16237 #include <$ac_header>
16239 rm -f conftest.
$ac_objext
16240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16241 (eval $ac_compile) 2>conftest.er1
16243 grep -v '^ *+' conftest.er1
>conftest.err
16245 cat conftest.err
>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } &&
16248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; } &&
16254 { ac_try
='test -s conftest.$ac_objext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16260 ac_header_compiler
=yes
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.
$ac_ext >&5
16265 ac_header_compiler
=no
16267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16269 echo "${ECHO_T}$ac_header_compiler" >&6
16271 # Is the header present?
16272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16274 cat >conftest.
$ac_ext <<_ACEOF
16277 cat confdefs.h
>>conftest.
$ac_ext
16278 cat >>conftest.
$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 #include <$ac_header>
16282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16285 grep -v '^ *+' conftest.er1
>conftest.err
16287 cat conftest.err
>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } >/dev
/null
; then
16290 if test -s conftest.err
; then
16291 ac_cpp_err
=$ac_c_preproc_warn_flag
16292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16299 if test -z "$ac_cpp_err"; then
16300 ac_header_preproc
=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 ac_header_preproc
=no
16307 rm -f conftest.err conftest.
$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16309 echo "${ECHO_T}$ac_header_preproc" >&6
16311 # So? What about this header?
16312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16318 ac_header_preproc
=yes
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16335 ## ----------------------------------------- ##
16336 ## Report this to wx-dev@lists.wxwidgets.org ##
16337 ## ----------------------------------------- ##
16340 sed "s/^/$as_me: WARNING: /" >&2
16343 echo "$as_me:$LINENO: checking for $ac_header" >&5
16344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 eval "$as_ac_Header=\$ac_header_preproc"
16350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16355 cat >>confdefs.h
<<_ACEOF
16356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16365 for ac_header
in langinfo.h
16367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16369 echo "$as_me:$LINENO: checking for $ac_header" >&5
16370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16377 # Is the header compilable?
16378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16380 cat >conftest.
$ac_ext <<_ACEOF
16383 cat confdefs.h
>>conftest.
$ac_ext
16384 cat >>conftest.
$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16387 #include <$ac_header>
16389 rm -f conftest.
$ac_objext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16391 (eval $ac_compile) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try
='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 ac_header_compiler
=yes
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 ac_header_compiler
=no
16417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16419 echo "${ECHO_T}$ac_header_compiler" >&6
16421 # Is the header present?
16422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16424 cat >conftest.
$ac_ext <<_ACEOF
16427 cat confdefs.h
>>conftest.
$ac_ext
16428 cat >>conftest.
$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 #include <$ac_header>
16432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16435 grep -v '^ *+' conftest.er1
>conftest.err
16437 cat conftest.err
>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } >/dev
/null
; then
16440 if test -s conftest.err
; then
16441 ac_cpp_err
=$ac_c_preproc_warn_flag
16442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16449 if test -z "$ac_cpp_err"; then
16450 ac_header_preproc
=yes
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.
$ac_ext >&5
16455 ac_header_preproc
=no
16457 rm -f conftest.err conftest.
$ac_ext
16458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16459 echo "${ECHO_T}$ac_header_preproc" >&6
16461 # So? What about this header?
16462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16468 ac_header_preproc
=yes
16471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16485 ## ----------------------------------------- ##
16486 ## Report this to wx-dev@lists.wxwidgets.org ##
16487 ## ----------------------------------------- ##
16490 sed "s/^/$as_me: WARNING: /" >&2
16493 echo "$as_me:$LINENO: checking for $ac_header" >&5
16494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 eval "$as_ac_Header=\$ac_header_preproc"
16500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16505 cat >>confdefs.h
<<_ACEOF
16506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16515 *-pc-os2_emx | *-pc-os2-emx )
16516 if test $ac_cv_header_langinfo_h = "yes" \
16517 -a \
( "$wx_cv_gccversion" = "EMX2" \
16518 -o "$wx_cv_gccversion" = "EMX3" \
16519 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16520 LIBS
="$LIBS -lintl"
16526 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16527 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16528 if test "${ac_cv_c_const+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 cat >conftest.
$ac_ext <<_ACEOF
16534 cat confdefs.h
>>conftest.
$ac_ext
16535 cat >>conftest.
$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16541 /* FIXME: Include the comments suggested by Paul. */
16542 #ifndef __cplusplus
16543 /* Ultrix mips cc rejects this. */
16544 typedef int charset[2];
16546 /* SunOS 4.1.1 cc rejects this. */
16547 char const *const *ccp;
16549 /* NEC SVR4.0.2 mips cc rejects this. */
16550 struct point {int x, y;};
16551 static struct point const zero = {0,0};
16552 /* AIX XL C 1.02.0.0 rejects this.
16553 It does not let you subtract one const X* pointer from another in
16554 an arm of an if-expression whose if-part is not a constant
16556 const char *g = "string";
16557 ccp = &g + (g ? g-g : 0);
16558 /* HPUX 7.0 cc rejects these. */
16561 ccp = (char const *const *) p;
16562 { /* SCO 3.2v4 cc rejects this. */
16564 char const *s = 0 ? (char *) 0 : (char const *) 0;
16568 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16569 int x[] = {25, 17};
16570 const int *foo = &x[0];
16573 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16574 typedef const int *iptr;
16578 { /* AIX XL C 1.02.0.0 rejects this saying
16579 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16580 struct s { int j; const int *ap[3]; };
16581 struct s *b; b->j = 5;
16583 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16584 const int foo = 10;
16592 rm -f conftest.
$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16596 grep -v '^ *+' conftest.er1
>conftest.err
16598 cat conftest.err
>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; } &&
16607 { ac_try
='test -s conftest.$ac_objext'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; }; then
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.
$ac_ext >&5
16620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16622 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16623 echo "${ECHO_T}$ac_cv_c_const" >&6
16624 if test $ac_cv_c_const = no
; then
16626 cat >>confdefs.h
<<\_ACEOF
16632 echo "$as_me:$LINENO: checking for inline" >&5
16633 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16634 if test "${ac_cv_c_inline+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 for ac_kw
in inline __inline__ __inline
; do
16639 cat >conftest.
$ac_ext <<_ACEOF
16642 cat confdefs.h
>>conftest.
$ac_ext
16643 cat >>conftest.
$ac_ext <<_ACEOF
16644 /* end confdefs.h. */
16645 #ifndef __cplusplus
16647 static $ac_kw foo_t static_foo () {return 0; }
16648 $ac_kw foo_t foo () {return 0; }
16652 rm -f conftest.
$ac_objext
16653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16654 (eval $ac_compile) 2>conftest.er1
16656 grep -v '^ *+' conftest.er1
>conftest.err
16658 cat conftest.err
>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try
='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_cv_c_inline
=$ac_kw; break
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.
$ac_ext >&5
16679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16683 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16684 echo "${ECHO_T}$ac_cv_c_inline" >&6
16687 case $ac_cv_c_inline in
16690 case $ac_cv_c_inline in
16692 *) ac_val
=$ac_cv_c_inline;;
16694 cat >>confdefs.h
<<_ACEOF
16695 #ifndef __cplusplus
16696 #define inline $ac_val
16703 echo "$as_me:$LINENO: checking for char" >&5
16704 echo $ECHO_N "checking for char... $ECHO_C" >&6
16705 if test "${ac_cv_type_char+set}" = set; then
16706 echo $ECHO_N "(cached) $ECHO_C" >&6
16708 cat >conftest.
$ac_ext <<_ACEOF
16711 cat confdefs.h
>>conftest.
$ac_ext
16712 cat >>conftest.
$ac_ext <<_ACEOF
16713 /* end confdefs.h. */
16714 $ac_includes_default
16726 rm -f conftest.
$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>conftest.er1
16730 grep -v '^ *+' conftest.er1
>conftest.err
16732 cat conftest.err
>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737 (eval $ac_try) 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; } &&
16741 { ac_try
='test -s conftest.$ac_objext'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; }; then
16747 ac_cv_type_char
=yes
16749 echo "$as_me: failed program was:" >&5
16750 sed 's/^/| /' conftest.
$ac_ext >&5
16754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16756 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16757 echo "${ECHO_T}$ac_cv_type_char" >&6
16759 echo "$as_me:$LINENO: checking size of char" >&5
16760 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16761 if test "${ac_cv_sizeof_char+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 if test "$ac_cv_type_char" = yes; then
16765 # The cast to unsigned long works around a bug in the HP C Compiler
16766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16768 # This bug is HP SR number 8606223364.
16769 if test "$cross_compiling" = yes; then
16770 # Depending upon the size, compute the lo and hi bounds.
16771 cat >conftest.
$ac_ext <<_ACEOF
16774 cat confdefs.h
>>conftest.
$ac_ext
16775 cat >>conftest.
$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16777 $ac_includes_default
16781 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16788 rm -f conftest.
$ac_objext
16789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16790 (eval $ac_compile) 2>conftest.er1
16792 grep -v '^ *+' conftest.er1
>conftest.err
16794 cat conftest.err
>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } &&
16797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try
='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16811 cat >conftest.
$ac_ext <<_ACEOF
16814 cat confdefs.h
>>conftest.
$ac_ext
16815 cat >>conftest.
$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16821 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16828 rm -f conftest.
$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; } &&
16843 { ac_try
='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16849 ac_hi
=$ac_mid; break
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ac_lo
=`expr $ac_mid + 1`
16855 if test $ac_lo -le $ac_mid; then
16859 ac_mid
=`expr 2 '*' $ac_mid + 1`
16861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.
$ac_ext >&5
16867 cat >conftest.
$ac_ext <<_ACEOF
16870 cat confdefs.h
>>conftest.
$ac_ext
16871 cat >>conftest.
$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 $ac_includes_default
16877 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16884 rm -f conftest.
$ac_objext
16885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16886 (eval $ac_compile) 2>conftest.er1
16888 grep -v '^ *+' conftest.er1
>conftest.err
16890 cat conftest.err
>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } &&
16893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try
='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16907 cat >conftest.
$ac_ext <<_ACEOF
16910 cat confdefs.h
>>conftest.
$ac_ext
16911 cat >>conftest.
$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16913 $ac_includes_default
16917 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16924 rm -f conftest.
$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>conftest.er1
16928 grep -v '^ *+' conftest.er1
>conftest.err
16930 cat conftest.err
>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } &&
16933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16935 (eval $ac_try) 2>&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); }; } &&
16939 { ac_try
='test -s conftest.$ac_objext'
16940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16941 (eval $ac_try) 2>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); }; }; then
16945 ac_lo
=$ac_mid; break
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.
$ac_ext >&5
16950 ac_hi
=`expr '(' $ac_mid ')' - 1`
16951 if test $ac_mid -le $ac_hi; then
16955 ac_mid
=`expr 2 '*' $ac_mid`
16957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16968 # Binary search between lo and hi bounds.
16969 while test "x$ac_lo" != "x$ac_hi"; do
16970 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16971 cat >conftest.
$ac_ext <<_ACEOF
16974 cat confdefs.h
>>conftest.
$ac_ext
16975 cat >>conftest.
$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977 $ac_includes_default
16981 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16988 rm -f conftest.
$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16992 grep -v '^ *+' conftest.er1
>conftest.err
16994 cat conftest.err
>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; } &&
17003 { ac_try
='test -s conftest.$ac_objext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 ac_lo
=`expr '(' $ac_mid ')' + 1`
17016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17019 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17020 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17021 See \`config.log' for more details." >&5
17022 echo "$as_me: error: cannot compute sizeof (char), 77
17023 See \`config.log' for more details." >&2;}
17024 { (exit 1); exit 1; }; } ;;
17027 if test "$cross_compiling" = yes; then
17028 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17029 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17030 { (exit 1); exit 1; }; }
17032 cat >conftest.
$ac_ext <<_ACEOF
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17039 long longval () { return (long) (sizeof (char)); }
17040 unsigned long ulongval () { return (long) (sizeof (char)); }
17042 #include <stdlib.h>
17047 FILE *f = fopen ("conftest.val", "w");
17050 if (((long) (sizeof (char))) < 0)
17052 long i = longval ();
17053 if (i != ((long) (sizeof (char))))
17055 fprintf (f, "%ld\n", i);
17059 unsigned long i = ulongval ();
17060 if (i != ((long) (sizeof (char))))
17062 fprintf (f, "%lu\n", i);
17064 exit (ferror (f) || fclose (f) != 0);
17070 rm -f conftest
$ac_exeext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17072 (eval $ac_link) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; }; then
17081 ac_cv_sizeof_char
=`cat conftest.val`
17083 echo "$as_me: program exited with status $ac_status" >&5
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.
$ac_ext >&5
17087 ( exit $ac_status )
17088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17089 See \`config.log' for more details." >&5
17090 echo "$as_me: error: cannot compute sizeof (char), 77
17091 See \`config.log' for more details." >&2;}
17092 { (exit 1); exit 1; }; }
17094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17099 ac_cv_sizeof_char
=0
17102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17103 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17104 cat >>confdefs.h
<<_ACEOF
17105 #define SIZEOF_CHAR $ac_cv_sizeof_char
17109 echo "$as_me:$LINENO: checking for short" >&5
17110 echo $ECHO_N "checking for short... $ECHO_C" >&6
17111 if test "${ac_cv_type_short+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 cat >conftest.
$ac_ext <<_ACEOF
17117 cat confdefs.h
>>conftest.
$ac_ext
17118 cat >>conftest.
$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120 $ac_includes_default
17126 if (sizeof (short))
17132 rm -f conftest.
$ac_objext
17133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17134 (eval $ac_compile) 2>conftest.er1
17136 grep -v '^ *+' conftest.er1
>conftest.err
17138 cat conftest.err
>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } &&
17141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try
='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 ac_cv_type_short
=yes
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 ac_cv_type_short
=no
17160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17163 echo "${ECHO_T}$ac_cv_type_short" >&6
17165 echo "$as_me:$LINENO: checking size of short" >&5
17166 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17167 if test "${ac_cv_sizeof_short+set}" = set; then
17168 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 if test "$ac_cv_type_short" = yes; then
17171 # The cast to unsigned long works around a bug in the HP C Compiler
17172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17174 # This bug is HP SR number 8606223364.
17175 if test "$cross_compiling" = yes; then
17176 # Depending upon the size, compute the lo and hi bounds.
17177 cat >conftest.
$ac_ext <<_ACEOF
17180 cat confdefs.h
>>conftest.
$ac_ext
17181 cat >>conftest.
$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17183 $ac_includes_default
17187 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17194 rm -f conftest.
$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196 (eval $ac_compile) 2>conftest.er1
17198 grep -v '^ *+' conftest.er1
>conftest.err
17200 cat conftest.err
>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } &&
17203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; } &&
17209 { ac_try
='test -s conftest.$ac_objext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17217 cat >conftest.
$ac_ext <<_ACEOF
17220 cat confdefs.h
>>conftest.
$ac_ext
17221 cat >>conftest.
$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 $ac_includes_default
17227 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17234 rm -f conftest.
$ac_objext
17235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17236 (eval $ac_compile) 2>conftest.er1
17238 grep -v '^ *+' conftest.er1
>conftest.err
17240 cat conftest.err
>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); } &&
17243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; } &&
17249 { ac_try
='test -s conftest.$ac_objext'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; }; then
17255 ac_hi
=$ac_mid; break
17257 echo "$as_me: failed program was:" >&5
17258 sed 's/^/| /' conftest.
$ac_ext >&5
17260 ac_lo
=`expr $ac_mid + 1`
17261 if test $ac_lo -le $ac_mid; then
17265 ac_mid
=`expr 2 '*' $ac_mid + 1`
17267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.
$ac_ext >&5
17273 cat >conftest.
$ac_ext <<_ACEOF
17276 cat confdefs.h
>>conftest.
$ac_ext
17277 cat >>conftest.
$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279 $ac_includes_default
17283 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17290 rm -f conftest.
$ac_objext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17292 (eval $ac_compile) 2>conftest.er1
17294 grep -v '^ *+' conftest.er1
>conftest.err
17296 cat conftest.err
>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } &&
17299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; } &&
17305 { ac_try
='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17313 cat >conftest.
$ac_ext <<_ACEOF
17316 cat confdefs.h
>>conftest.
$ac_ext
17317 cat >>conftest.
$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 $ac_includes_default
17323 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17330 rm -f conftest.
$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17334 grep -v '^ *+' conftest.er1
>conftest.err
17336 cat conftest.err
>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17341 (eval $ac_try) 2>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); }; } &&
17345 { ac_try
='test -s conftest.$ac_objext'
17346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17347 (eval $ac_try) 2>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); }; }; then
17351 ac_lo
=$ac_mid; break
17353 echo "$as_me: failed program was:" >&5
17354 sed 's/^/| /' conftest.
$ac_ext >&5
17356 ac_hi
=`expr '(' $ac_mid ')' - 1`
17357 if test $ac_mid -le $ac_hi; then
17361 ac_mid
=`expr 2 '*' $ac_mid`
17363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.
$ac_ext >&5
17371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17374 # Binary search between lo and hi bounds.
17375 while test "x$ac_lo" != "x$ac_hi"; do
17376 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17387 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17394 rm -f conftest.
$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396 (eval $ac_compile) 2>conftest.er1
17398 grep -v '^ *+' conftest.er1
>conftest.err
17400 cat conftest.err
>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try
='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.
$ac_ext >&5
17420 ac_lo
=`expr '(' $ac_mid ')' + 1`
17422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17425 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17426 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17427 See \`config.log' for more details." >&5
17428 echo "$as_me: error: cannot compute sizeof (short), 77
17429 See \`config.log' for more details." >&2;}
17430 { (exit 1); exit 1; }; } ;;
17433 if test "$cross_compiling" = yes; then
17434 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17435 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17436 { (exit 1); exit 1; }; }
17438 cat >conftest.
$ac_ext <<_ACEOF
17441 cat confdefs.h
>>conftest.
$ac_ext
17442 cat >>conftest.
$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444 $ac_includes_default
17445 long longval () { return (long) (sizeof (short)); }
17446 unsigned long ulongval () { return (long) (sizeof (short)); }
17448 #include <stdlib.h>
17453 FILE *f = fopen ("conftest.val", "w");
17456 if (((long) (sizeof (short))) < 0)
17458 long i = longval ();
17459 if (i != ((long) (sizeof (short))))
17461 fprintf (f, "%ld\n", i);
17465 unsigned long i = ulongval ();
17466 if (i != ((long) (sizeof (short))))
17468 fprintf (f, "%lu\n", i);
17470 exit (ferror (f) || fclose (f) != 0);
17476 rm -f conftest
$ac_exeext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17478 (eval $ac_link) 2>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; }; then
17487 ac_cv_sizeof_short
=`cat conftest.val`
17489 echo "$as_me: program exited with status $ac_status" >&5
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.
$ac_ext >&5
17493 ( exit $ac_status )
17494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17495 See \`config.log' for more details." >&5
17496 echo "$as_me: error: cannot compute sizeof (short), 77
17497 See \`config.log' for more details." >&2;}
17498 { (exit 1); exit 1; }; }
17500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17505 ac_cv_sizeof_short
=0
17508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17509 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17510 cat >>confdefs.h
<<_ACEOF
17511 #define SIZEOF_SHORT $ac_cv_sizeof_short
17515 echo "$as_me:$LINENO: checking for void *" >&5
17516 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17517 if test "${ac_cv_type_void_p+set}" = set; then
17518 echo $ECHO_N "(cached) $ECHO_C" >&6
17520 cat >conftest.
$ac_ext <<_ACEOF
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 $ac_includes_default
17532 if (sizeof (void *))
17538 rm -f conftest.
$ac_objext
17539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17540 (eval $ac_compile) 2>conftest.er1
17542 grep -v '^ *+' conftest.er1
>conftest.err
17544 cat conftest.err
>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17549 (eval $ac_try) 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; } &&
17553 { ac_try
='test -s conftest.$ac_objext'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_cv_type_void_p
=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.
$ac_ext >&5
17564 ac_cv_type_void_p
=no
17566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17568 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17569 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17571 echo "$as_me:$LINENO: checking size of void *" >&5
17572 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17573 if test "${ac_cv_sizeof_void_p+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 if test "$ac_cv_type_void_p" = yes; then
17577 # The cast to unsigned long works around a bug in the HP C Compiler
17578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17580 # This bug is HP SR number 8606223364.
17581 if test "$cross_compiling" = yes; then
17582 # Depending upon the size, compute the lo and hi bounds.
17583 cat >conftest.
$ac_ext <<_ACEOF
17586 cat confdefs.h
>>conftest.
$ac_ext
17587 cat >>conftest.
$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 $ac_includes_default
17593 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17600 rm -f conftest.
$ac_objext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17602 (eval $ac_compile) 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; } &&
17615 { ac_try
='test -s conftest.$ac_objext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17623 cat >conftest.
$ac_ext <<_ACEOF
17626 cat confdefs.h
>>conftest.
$ac_ext
17627 cat >>conftest.
$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 $ac_includes_default
17633 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17640 rm -f conftest.
$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 (eval $ac_compile) 2>conftest.er1
17644 grep -v '^ *+' conftest.er1
>conftest.err
17646 cat conftest.err
>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } &&
17649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; } &&
17655 { ac_try
='test -s conftest.$ac_objext'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 ac_hi
=$ac_mid; break
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.
$ac_ext >&5
17666 ac_lo
=`expr $ac_mid + 1`
17667 if test $ac_lo -le $ac_mid; then
17671 ac_mid
=`expr 2 '*' $ac_mid + 1`
17673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.
$ac_ext >&5
17679 cat >conftest.
$ac_ext <<_ACEOF
17682 cat confdefs.h
>>conftest.
$ac_ext
17683 cat >>conftest.
$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17689 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17696 rm -f conftest.
$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17700 grep -v '^ *+' conftest.er1
>conftest.err
17702 cat conftest.err
>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; } &&
17711 { ac_try
='test -s conftest.$ac_objext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17719 cat >conftest.
$ac_ext <<_ACEOF
17722 cat confdefs.h
>>conftest.
$ac_ext
17723 cat >>conftest.
$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17729 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17736 rm -f conftest.
$ac_objext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17738 (eval $ac_compile) 2>conftest.er1
17740 grep -v '^ *+' conftest.er1
>conftest.err
17742 cat conftest.err
>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; } &&
17751 { ac_try
='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 ac_lo
=$ac_mid; break
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.
$ac_ext >&5
17762 ac_hi
=`expr '(' $ac_mid ')' - 1`
17763 if test $ac_mid -le $ac_hi; then
17767 ac_mid
=`expr 2 '*' $ac_mid`
17769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.
$ac_ext >&5
17777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17780 # Binary search between lo and hi bounds.
17781 while test "x$ac_lo" != "x$ac_hi"; do
17782 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17783 cat >conftest.
$ac_ext <<_ACEOF
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17789 $ac_includes_default
17793 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17800 rm -f conftest.
$ac_objext
17801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17802 (eval $ac_compile) 2>conftest.er1
17804 grep -v '^ *+' conftest.er1
>conftest.err
17806 cat conftest.err
>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } &&
17809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811 (eval $ac_try) 2>&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); }; } &&
17815 { ac_try
='test -s conftest.$ac_objext'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; }; then
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.
$ac_ext >&5
17826 ac_lo
=`expr '(' $ac_mid ')' + 1`
17828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17831 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17832 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17833 See \`config.log' for more details." >&5
17834 echo "$as_me: error: cannot compute sizeof (void *), 77
17835 See \`config.log' for more details." >&2;}
17836 { (exit 1); exit 1; }; } ;;
17839 if test "$cross_compiling" = yes; then
17840 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17841 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17842 { (exit 1); exit 1; }; }
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17851 long longval () { return (long) (sizeof (void *)); }
17852 unsigned long ulongval () { return (long) (sizeof (void *)); }
17854 #include <stdlib.h>
17859 FILE *f = fopen ("conftest.val", "w");
17862 if (((long) (sizeof (void *))) < 0)
17864 long i = longval ();
17865 if (i != ((long) (sizeof (void *))))
17867 fprintf (f, "%ld\n", i);
17871 unsigned long i = ulongval ();
17872 if (i != ((long) (sizeof (void *))))
17874 fprintf (f, "%lu\n", i);
17876 exit (ferror (f) || fclose (f) != 0);
17882 rm -f conftest
$ac_exeext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17884 (eval $ac_link) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889 (eval $ac_try) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); }; }; then
17893 ac_cv_sizeof_void_p
=`cat conftest.val`
17895 echo "$as_me: program exited with status $ac_status" >&5
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.
$ac_ext >&5
17899 ( exit $ac_status )
17900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17901 See \`config.log' for more details." >&5
17902 echo "$as_me: error: cannot compute sizeof (void *), 77
17903 See \`config.log' for more details." >&2;}
17904 { (exit 1); exit 1; }; }
17906 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17911 ac_cv_sizeof_void_p
=0
17914 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17915 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17916 cat >>confdefs.h
<<_ACEOF
17917 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17921 echo "$as_me:$LINENO: checking for int" >&5
17922 echo $ECHO_N "checking for int... $ECHO_C" >&6
17923 if test "${ac_cv_type_int+set}" = set; then
17924 echo $ECHO_N "(cached) $ECHO_C" >&6
17926 cat >conftest.
$ac_ext <<_ACEOF
17929 cat confdefs.h
>>conftest.
$ac_ext
17930 cat >>conftest.
$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 $ac_includes_default
17944 rm -f conftest.
$ac_objext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17946 (eval $ac_compile) 2>conftest.er1
17948 grep -v '^ *+' conftest.er1
>conftest.err
17950 cat conftest.err
>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); } &&
17953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; } &&
17959 { ac_try
='test -s conftest.$ac_objext'
17960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17961 (eval $ac_try) 2>&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); }; }; then
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.
$ac_ext >&5
17972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17974 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17975 echo "${ECHO_T}$ac_cv_type_int" >&6
17977 echo "$as_me:$LINENO: checking size of int" >&5
17978 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17979 if test "${ac_cv_sizeof_int+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 if test "$ac_cv_type_int" = yes; then
17983 # The cast to unsigned long works around a bug in the HP C Compiler
17984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17986 # This bug is HP SR number 8606223364.
17987 if test "$cross_compiling" = yes; then
17988 # Depending upon the size, compute the lo and hi bounds.
17989 cat >conftest.
$ac_ext <<_ACEOF
17992 cat confdefs.h
>>conftest.
$ac_ext
17993 cat >>conftest.
$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 $ac_includes_default
17999 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18006 rm -f conftest.
$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18010 grep -v '^ *+' conftest.er1
>conftest.err
18012 cat conftest.err
>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; } &&
18021 { ac_try
='test -s conftest.$ac_objext'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; }; then
18029 cat >conftest.
$ac_ext <<_ACEOF
18032 cat confdefs.h
>>conftest.
$ac_ext
18033 cat >>conftest.
$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 $ac_includes_default
18039 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18046 rm -f conftest.
$ac_objext
18047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18048 (eval $ac_compile) 2>conftest.er1
18050 grep -v '^ *+' conftest.er1
>conftest.err
18052 cat conftest.err
>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } &&
18055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; } &&
18061 { ac_try
='test -s conftest.$ac_objext'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; }; then
18067 ac_hi
=$ac_mid; break
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.
$ac_ext >&5
18072 ac_lo
=`expr $ac_mid + 1`
18073 if test $ac_lo -le $ac_mid; then
18077 ac_mid
=`expr 2 '*' $ac_mid + 1`
18079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.
$ac_ext >&5
18085 cat >conftest.
$ac_ext <<_ACEOF
18088 cat confdefs.h
>>conftest.
$ac_ext
18089 cat >>conftest.
$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18095 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18102 rm -f conftest.
$ac_objext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18104 (eval $ac_compile) 2>conftest.er1
18106 grep -v '^ *+' conftest.er1
>conftest.err
18108 cat conftest.err
>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try
='test -s conftest.$ac_objext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18125 cat >conftest.
$ac_ext <<_ACEOF
18128 cat confdefs.h
>>conftest.
$ac_ext
18129 cat >>conftest.
$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 $ac_includes_default
18135 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18142 rm -f conftest.
$ac_objext
18143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18144 (eval $ac_compile) 2>conftest.er1
18146 grep -v '^ *+' conftest.er1
>conftest.err
18148 cat conftest.err
>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } &&
18151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try
='test -s conftest.$ac_objext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18163 ac_lo
=$ac_mid; break
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.
$ac_ext >&5
18168 ac_hi
=`expr '(' $ac_mid ')' - 1`
18169 if test $ac_mid -le $ac_hi; then
18173 ac_mid
=`expr 2 '*' $ac_mid`
18175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18178 echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.
$ac_ext >&5
18183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18186 # Binary search between lo and hi bounds.
18187 while test "x$ac_lo" != "x$ac_hi"; do
18188 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18189 cat >conftest.
$ac_ext <<_ACEOF
18192 cat confdefs.h
>>conftest.
$ac_ext
18193 cat >>conftest.
$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195 $ac_includes_default
18199 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18206 rm -f conftest.
$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18210 grep -v '^ *+' conftest.er1
>conftest.err
18212 cat conftest.err
>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try
='test -s conftest.$ac_objext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.
$ac_ext >&5
18232 ac_lo
=`expr '(' $ac_mid ')' + 1`
18234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18237 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18239 See \`config.log' for more details." >&5
18240 echo "$as_me: error: cannot compute sizeof (int), 77
18241 See \`config.log' for more details." >&2;}
18242 { (exit 1); exit 1; }; } ;;
18245 if test "$cross_compiling" = yes; then
18246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18248 { (exit 1); exit 1; }; }
18250 cat >conftest.
$ac_ext <<_ACEOF
18253 cat confdefs.h
>>conftest.
$ac_ext
18254 cat >>conftest.
$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18257 long longval () { return (long) (sizeof (int)); }
18258 unsigned long ulongval () { return (long) (sizeof (int)); }
18260 #include <stdlib.h>
18265 FILE *f = fopen ("conftest.val", "w");
18268 if (((long) (sizeof (int))) < 0)
18270 long i = longval ();
18271 if (i != ((long) (sizeof (int))))
18273 fprintf (f, "%ld\n", i);
18277 unsigned long i = ulongval ();
18278 if (i != ((long) (sizeof (int))))
18280 fprintf (f, "%lu\n", i);
18282 exit (ferror (f) || fclose (f) != 0);
18288 rm -f conftest
$ac_exeext
18289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18290 (eval $ac_link) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_sizeof_int
=`cat conftest.val`
18301 echo "$as_me: program exited with status $ac_status" >&5
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.
$ac_ext >&5
18305 ( exit $ac_status )
18306 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18307 See \`config.log' for more details." >&5
18308 echo "$as_me: error: cannot compute sizeof (int), 77
18309 See \`config.log' for more details." >&2;}
18310 { (exit 1); exit 1; }; }
18312 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18320 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18321 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18322 cat >>confdefs.h
<<_ACEOF
18323 #define SIZEOF_INT $ac_cv_sizeof_int
18327 echo "$as_me:$LINENO: checking for long" >&5
18328 echo $ECHO_N "checking for long... $ECHO_C" >&6
18329 if test "${ac_cv_type_long+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18332 cat >conftest.
$ac_ext <<_ACEOF
18335 cat confdefs.h
>>conftest.
$ac_ext
18336 cat >>conftest.
$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18350 rm -f conftest.
$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18354 grep -v '^ *+' conftest.er1
>conftest.err
18356 cat conftest.err
>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try
='test -s conftest.$ac_objext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 ac_cv_type_long
=yes
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18380 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18381 echo "${ECHO_T}$ac_cv_type_long" >&6
18383 echo "$as_me:$LINENO: checking size of long" >&5
18384 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18385 if test "${ac_cv_sizeof_long+set}" = set; then
18386 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 if test "$ac_cv_type_long" = yes; then
18389 # The cast to unsigned long works around a bug in the HP C Compiler
18390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18392 # This bug is HP SR number 8606223364.
18393 if test "$cross_compiling" = yes; then
18394 # Depending upon the size, compute the lo and hi bounds.
18395 cat >conftest.
$ac_ext <<_ACEOF
18398 cat confdefs.h
>>conftest.
$ac_ext
18399 cat >>conftest.
$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 $ac_includes_default
18405 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18412 rm -f conftest.
$ac_objext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18414 (eval $ac_compile) 2>conftest.er1
18416 grep -v '^ *+' conftest.er1
>conftest.err
18418 cat conftest.err
>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } &&
18421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; } &&
18427 { ac_try
='test -s conftest.$ac_objext'
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; }; then
18435 cat >conftest.
$ac_ext <<_ACEOF
18438 cat confdefs.h
>>conftest.
$ac_ext
18439 cat >>conftest.
$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 $ac_includes_default
18445 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18452 rm -f conftest.
$ac_objext
18453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18454 (eval $ac_compile) 2>conftest.er1
18456 grep -v '^ *+' conftest.er1
>conftest.err
18458 cat conftest.err
>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } &&
18461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; } &&
18467 { ac_try
='test -s conftest.$ac_objext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
18473 ac_hi
=$ac_mid; break
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.
$ac_ext >&5
18478 ac_lo
=`expr $ac_mid + 1`
18479 if test $ac_lo -le $ac_mid; then
18483 ac_mid
=`expr 2 '*' $ac_mid + 1`
18485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.
$ac_ext >&5
18491 cat >conftest.
$ac_ext <<_ACEOF
18494 cat confdefs.h
>>conftest.
$ac_ext
18495 cat >>conftest.
$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497 $ac_includes_default
18501 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18508 rm -f conftest.
$ac_objext
18509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18510 (eval $ac_compile) 2>conftest.er1
18512 grep -v '^ *+' conftest.er1
>conftest.err
18514 cat conftest.err
>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } &&
18517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519 (eval $ac_try) 2>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); }; } &&
18523 { ac_try
='test -s conftest.$ac_objext'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; }; then
18531 cat >conftest.
$ac_ext <<_ACEOF
18534 cat confdefs.h
>>conftest.
$ac_ext
18535 cat >>conftest.
$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537 $ac_includes_default
18541 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18548 rm -f conftest.
$ac_objext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18550 (eval $ac_compile) 2>conftest.er1
18552 grep -v '^ *+' conftest.er1
>conftest.err
18554 cat conftest.err
>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; } &&
18563 { ac_try
='test -s conftest.$ac_objext'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; }; then
18569 ac_lo
=$ac_mid; break
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.
$ac_ext >&5
18574 ac_hi
=`expr '(' $ac_mid ')' - 1`
18575 if test $ac_mid -le $ac_hi; then
18579 ac_mid
=`expr 2 '*' $ac_mid`
18581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.
$ac_ext >&5
18589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18592 # Binary search between lo and hi bounds.
18593 while test "x$ac_lo" != "x$ac_hi"; do
18594 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18595 cat >conftest.
$ac_ext <<_ACEOF
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 $ac_includes_default
18605 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18612 rm -f conftest.
$ac_objext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18614 (eval $ac_compile) 2>conftest.er1
18616 grep -v '^ *+' conftest.er1
>conftest.err
18618 cat conftest.err
>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } &&
18621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try
='test -s conftest.$ac_objext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.
$ac_ext >&5
18638 ac_lo
=`expr '(' $ac_mid ')' + 1`
18640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18643 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18644 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18645 See \`config.log' for more details." >&5
18646 echo "$as_me: error: cannot compute sizeof (long), 77
18647 See \`config.log' for more details." >&2;}
18648 { (exit 1); exit 1; }; } ;;
18651 if test "$cross_compiling" = yes; then
18652 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18653 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18654 { (exit 1); exit 1; }; }
18656 cat >conftest.
$ac_ext <<_ACEOF
18659 cat confdefs.h
>>conftest.
$ac_ext
18660 cat >>conftest.
$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 $ac_includes_default
18663 long longval () { return (long) (sizeof (long)); }
18664 unsigned long ulongval () { return (long) (sizeof (long)); }
18666 #include <stdlib.h>
18671 FILE *f = fopen ("conftest.val", "w");
18674 if (((long) (sizeof (long))) < 0)
18676 long i = longval ();
18677 if (i != ((long) (sizeof (long))))
18679 fprintf (f, "%ld\n", i);
18683 unsigned long i = ulongval ();
18684 if (i != ((long) (sizeof (long))))
18686 fprintf (f, "%lu\n", i);
18688 exit (ferror (f) || fclose (f) != 0);
18694 rm -f conftest
$ac_exeext
18695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18696 (eval $ac_link) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 ac_cv_sizeof_long
=`cat conftest.val`
18707 echo "$as_me: program exited with status $ac_status" >&5
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.
$ac_ext >&5
18711 ( exit $ac_status )
18712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18713 See \`config.log' for more details." >&5
18714 echo "$as_me: error: cannot compute sizeof (long), 77
18715 See \`config.log' for more details." >&2;}
18716 { (exit 1); exit 1; }; }
18718 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18723 ac_cv_sizeof_long
=0
18726 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18727 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18728 cat >>confdefs.h
<<_ACEOF
18729 #define SIZEOF_LONG $ac_cv_sizeof_long
18733 echo "$as_me:$LINENO: checking for size_t" >&5
18734 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18735 if test "${ac_cv_type_size_t+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18750 if (sizeof (size_t))
18756 rm -f conftest.
$ac_objext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18758 (eval $ac_compile) 2>conftest.er1
18760 grep -v '^ *+' conftest.er1
>conftest.err
18762 cat conftest.err
>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try
='test -s conftest.$ac_objext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_cv_type_size_t
=yes
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.
$ac_ext >&5
18782 ac_cv_type_size_t
=no
18784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18786 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18787 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18789 echo "$as_me:$LINENO: checking size of size_t" >&5
18790 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18791 if test "${ac_cv_sizeof_size_t+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 if test "$ac_cv_type_size_t" = yes; then
18795 # The cast to unsigned long works around a bug in the HP C Compiler
18796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18798 # This bug is HP SR number 8606223364.
18799 if test "$cross_compiling" = yes; then
18800 # Depending upon the size, compute the lo and hi bounds.
18801 cat >conftest.
$ac_ext <<_ACEOF
18804 cat confdefs.h
>>conftest.
$ac_ext
18805 cat >>conftest.
$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 $ac_includes_default
18811 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18818 rm -f conftest.
$ac_objext
18819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18820 (eval $ac_compile) 2>conftest.er1
18822 grep -v '^ *+' conftest.er1
>conftest.err
18824 cat conftest.err
>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } &&
18827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18829 (eval $ac_try) 2>&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); }; } &&
18833 { ac_try
='test -s conftest.$ac_objext'
18834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18835 (eval $ac_try) 2>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); }; }; then
18841 cat >conftest.
$ac_ext <<_ACEOF
18844 cat confdefs.h
>>conftest.
$ac_ext
18845 cat >>conftest.
$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 $ac_includes_default
18851 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18858 rm -f conftest.
$ac_objext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18860 (eval $ac_compile) 2>conftest.er1
18862 grep -v '^ *+' conftest.er1
>conftest.err
18864 cat conftest.err
>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } &&
18867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; } &&
18873 { ac_try
='test -s conftest.$ac_objext'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; }; then
18879 ac_hi
=$ac_mid; break
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.
$ac_ext >&5
18884 ac_lo
=`expr $ac_mid + 1`
18885 if test $ac_lo -le $ac_mid; then
18889 ac_mid
=`expr 2 '*' $ac_mid + 1`
18891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18894 echo "$as_me: failed program was:" >&5
18895 sed 's/^/| /' conftest.
$ac_ext >&5
18897 cat >conftest.
$ac_ext <<_ACEOF
18900 cat confdefs.h
>>conftest.
$ac_ext
18901 cat >>conftest.
$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 $ac_includes_default
18907 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18914 rm -f conftest.
$ac_objext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18916 (eval $ac_compile) 2>conftest.er1
18918 grep -v '^ *+' conftest.er1
>conftest.err
18920 cat conftest.err
>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; } &&
18929 { ac_try
='test -s conftest.$ac_objext'
18930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931 (eval $ac_try) 2>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; }; then
18937 cat >conftest.
$ac_ext <<_ACEOF
18940 cat confdefs.h
>>conftest.
$ac_ext
18941 cat >>conftest.
$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 $ac_includes_default
18947 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18954 rm -f conftest.
$ac_objext
18955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18956 (eval $ac_compile) 2>conftest.er1
18958 grep -v '^ *+' conftest.er1
>conftest.err
18960 cat conftest.err
>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } &&
18963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965 (eval $ac_try) 2>&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); }; } &&
18969 { ac_try
='test -s conftest.$ac_objext'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; }; then
18975 ac_lo
=$ac_mid; break
18977 echo "$as_me: failed program was:" >&5
18978 sed 's/^/| /' conftest.
$ac_ext >&5
18980 ac_hi
=`expr '(' $ac_mid ')' - 1`
18981 if test $ac_mid -le $ac_hi; then
18985 ac_mid
=`expr 2 '*' $ac_mid`
18987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.
$ac_ext >&5
18995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18998 # Binary search between lo and hi bounds.
18999 while test "x$ac_lo" != "x$ac_hi"; do
19000 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19011 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19018 rm -f conftest.
$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1
>conftest.err
19024 cat conftest.err
>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try
='test -s conftest.$ac_objext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.
$ac_ext >&5
19044 ac_lo
=`expr '(' $ac_mid ')' + 1`
19046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19049 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19051 See \`config.log' for more details." >&5
19052 echo "$as_me: error: cannot compute sizeof (size_t), 77
19053 See \`config.log' for more details." >&2;}
19054 { (exit 1); exit 1; }; } ;;
19057 if test "$cross_compiling" = yes; then
19058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19060 { (exit 1); exit 1; }; }
19062 cat >conftest.
$ac_ext <<_ACEOF
19065 cat confdefs.h
>>conftest.
$ac_ext
19066 cat >>conftest.
$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 $ac_includes_default
19069 long longval () { return (long) (sizeof (size_t)); }
19070 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19072 #include <stdlib.h>
19077 FILE *f = fopen ("conftest.val", "w");
19080 if (((long) (sizeof (size_t))) < 0)
19082 long i = longval ();
19083 if (i != ((long) (sizeof (size_t))))
19085 fprintf (f, "%ld\n", i);
19089 unsigned long i = ulongval ();
19090 if (i != ((long) (sizeof (size_t))))
19092 fprintf (f, "%lu\n", i);
19094 exit (ferror (f) || fclose (f) != 0);
19100 rm -f conftest
$ac_exeext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19102 (eval $ac_link) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_cv_sizeof_size_t
=`cat conftest.val`
19113 echo "$as_me: program exited with status $ac_status" >&5
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.
$ac_ext >&5
19117 ( exit $ac_status )
19118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19119 See \`config.log' for more details." >&5
19120 echo "$as_me: error: cannot compute sizeof (size_t), 77
19121 See \`config.log' for more details." >&2;}
19122 { (exit 1); exit 1; }; }
19124 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19129 ac_cv_sizeof_size_t
=0
19132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19133 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19134 cat >>confdefs.h
<<_ACEOF
19135 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19142 echo "$as_me:$LINENO: checking for long long" >&5
19143 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19144 if test "${ac_cv_type_long_long+set}" = set; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 cat >conftest.
$ac_ext <<_ACEOF
19150 cat confdefs.h
>>conftest.
$ac_ext
19151 cat >>conftest.
$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19157 if ((long long *) 0)
19159 if (sizeof (long long))
19165 rm -f conftest.
$ac_objext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19167 (eval $ac_compile) 2>conftest.er1
19169 grep -v '^ *+' conftest.er1
>conftest.err
19171 cat conftest.err
>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try
='test -s conftest.$ac_objext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 ac_cv_type_long_long
=yes
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.
$ac_ext >&5
19191 ac_cv_type_long_long
=no
19193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19195 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19196 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19198 echo "$as_me:$LINENO: checking size of long long" >&5
19199 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19200 if test "${ac_cv_sizeof_long_long+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 if test "$ac_cv_type_long_long" = yes; then
19204 # The cast to unsigned long works around a bug in the HP C Compiler
19205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19206 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19207 # This bug is HP SR number 8606223364.
19208 if test "$cross_compiling" = yes; then
19209 # Depending upon the size, compute the lo and hi bounds.
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 $ac_includes_default
19220 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19227 rm -f conftest.
$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; } &&
19242 { ac_try
='test -s conftest.$ac_objext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19250 cat >conftest.
$ac_ext <<_ACEOF
19253 cat confdefs.h
>>conftest.
$ac_ext
19254 cat >>conftest.
$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256 $ac_includes_default
19260 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19267 rm -f conftest.
$ac_objext
19268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19269 (eval $ac_compile) 2>conftest.er1
19271 grep -v '^ *+' conftest.er1
>conftest.err
19273 cat conftest.err
>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } &&
19276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; } &&
19282 { ac_try
='test -s conftest.$ac_objext'
19283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 (eval $ac_try) 2>&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; }; then
19288 ac_hi
=$ac_mid; break
19290 echo "$as_me: failed program was:" >&5
19291 sed 's/^/| /' conftest.
$ac_ext >&5
19293 ac_lo
=`expr $ac_mid + 1`
19294 if test $ac_lo -le $ac_mid; then
19298 ac_mid
=`expr 2 '*' $ac_mid + 1`
19300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.
$ac_ext >&5
19306 cat >conftest.
$ac_ext <<_ACEOF
19309 cat confdefs.h
>>conftest.
$ac_ext
19310 cat >>conftest.
$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 $ac_includes_default
19316 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19323 rm -f conftest.
$ac_objext
19324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19325 (eval $ac_compile) 2>conftest.er1
19327 grep -v '^ *+' conftest.er1
>conftest.err
19329 cat conftest.err
>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } &&
19332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; } &&
19338 { ac_try
='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19346 cat >conftest.
$ac_ext <<_ACEOF
19349 cat confdefs.h
>>conftest.
$ac_ext
19350 cat >>conftest.
$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 $ac_includes_default
19356 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19363 rm -f conftest.
$ac_objext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19365 (eval $ac_compile) 2>conftest.er1
19367 grep -v '^ *+' conftest.er1
>conftest.err
19369 cat conftest.err
>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try
='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_lo
=$ac_mid; break
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 ac_hi
=`expr '(' $ac_mid ')' - 1`
19390 if test $ac_mid -le $ac_hi; then
19394 ac_mid
=`expr 2 '*' $ac_mid`
19396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.
$ac_ext >&5
19404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19407 # Binary search between lo and hi bounds.
19408 while test "x$ac_lo" != "x$ac_hi"; do
19409 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19410 cat >conftest.
$ac_ext <<_ACEOF
19413 cat confdefs.h
>>conftest.
$ac_ext
19414 cat >>conftest.
$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19420 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19427 rm -f conftest.
$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19431 grep -v '^ *+' conftest.er1
>conftest.err
19433 cat conftest.err
>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try
='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.
$ac_ext >&5
19453 ac_lo
=`expr '(' $ac_mid ')' + 1`
19455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19458 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19459 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19460 See \`config.log' for more details." >&5
19461 echo "$as_me: error: cannot compute sizeof (long long), 77
19462 See \`config.log' for more details." >&2;}
19463 { (exit 1); exit 1; }; } ;;
19466 if test "$cross_compiling" = yes; then
19467 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19468 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19469 { (exit 1); exit 1; }; }
19471 cat >conftest.
$ac_ext <<_ACEOF
19474 cat confdefs.h
>>conftest.
$ac_ext
19475 cat >>conftest.
$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 $ac_includes_default
19478 long longval () { return (long) (sizeof (long long)); }
19479 unsigned long ulongval () { return (long) (sizeof (long long)); }
19481 #include <stdlib.h>
19486 FILE *f = fopen ("conftest.val", "w");
19489 if (((long) (sizeof (long long))) < 0)
19491 long i = longval ();
19492 if (i != ((long) (sizeof (long long))))
19494 fprintf (f, "%ld\n", i);
19498 unsigned long i = ulongval ();
19499 if (i != ((long) (sizeof (long long))))
19501 fprintf (f, "%lu\n", i);
19503 exit (ferror (f) || fclose (f) != 0);
19509 rm -f conftest
$ac_exeext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19511 (eval $ac_link) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19520 ac_cv_sizeof_long_long
=`cat conftest.val`
19522 echo "$as_me: program exited with status $ac_status" >&5
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.
$ac_ext >&5
19526 ( exit $ac_status )
19527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19528 See \`config.log' for more details." >&5
19529 echo "$as_me: error: cannot compute sizeof (long long), 77
19530 See \`config.log' for more details." >&2;}
19531 { (exit 1); exit 1; }; }
19533 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19538 ac_cv_sizeof_long_long
=0
19541 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19542 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19543 cat >>confdefs.h
<<_ACEOF
19544 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19550 echo "$as_me:$LINENO: checking for long long" >&5
19551 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19552 if test "${ac_cv_type_long_long+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 cat >conftest.
$ac_ext <<_ACEOF
19558 cat confdefs.h
>>conftest.
$ac_ext
19559 cat >>conftest.
$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 $ac_includes_default
19565 if ((long long *) 0)
19567 if (sizeof (long long))
19573 rm -f conftest.
$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575 (eval $ac_compile) 2>conftest.er1
19577 grep -v '^ *+' conftest.er1
>conftest.err
19579 cat conftest.err
>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try
='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 ac_cv_type_long_long
=yes
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.
$ac_ext >&5
19599 ac_cv_type_long_long
=no
19601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19603 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19604 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19606 echo "$as_me:$LINENO: checking size of long long" >&5
19607 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19608 if test "${ac_cv_sizeof_long_long+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 if test "$ac_cv_type_long_long" = yes; then
19612 # The cast to unsigned long works around a bug in the HP C Compiler
19613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19615 # This bug is HP SR number 8606223364.
19616 if test "$cross_compiling" = yes; then
19617 # Depending upon the size, compute the lo and hi bounds.
19618 cat >conftest.
$ac_ext <<_ACEOF
19621 cat confdefs.h
>>conftest.
$ac_ext
19622 cat >>conftest.
$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_includes_default
19628 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19635 rm -f conftest.
$ac_objext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19637 (eval $ac_compile) 2>conftest.er1
19639 grep -v '^ *+' conftest.er1
>conftest.err
19641 cat conftest.err
>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } &&
19644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646 (eval $ac_try) 2>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; } &&
19650 { ac_try
='test -s conftest.$ac_objext'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; }; then
19658 cat >conftest.
$ac_ext <<_ACEOF
19661 cat confdefs.h
>>conftest.
$ac_ext
19662 cat >>conftest.
$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19668 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19675 rm -f conftest.
$ac_objext
19676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19677 (eval $ac_compile) 2>conftest.er1
19679 grep -v '^ *+' conftest.er1
>conftest.err
19681 cat conftest.err
>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try
='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 ac_hi
=$ac_mid; break
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.
$ac_ext >&5
19701 ac_lo
=`expr $ac_mid + 1`
19702 if test $ac_lo -le $ac_mid; then
19706 ac_mid
=`expr 2 '*' $ac_mid + 1`
19708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19711 echo "$as_me: failed program was:" >&5
19712 sed 's/^/| /' conftest.
$ac_ext >&5
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19724 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19731 rm -f conftest.
$ac_objext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19754 cat >conftest.
$ac_ext <<_ACEOF
19757 cat confdefs.h
>>conftest.
$ac_ext
19758 cat >>conftest.
$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 $ac_includes_default
19764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19771 rm -f conftest.
$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try
='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_lo
=$ac_mid; break
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.
$ac_ext >&5
19797 ac_hi
=`expr '(' $ac_mid ')' - 1`
19798 if test $ac_mid -le $ac_hi; then
19802 ac_mid
=`expr 2 '*' $ac_mid`
19804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.
$ac_ext >&5
19812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19815 # Binary search between lo and hi bounds.
19816 while test "x$ac_lo" != "x$ac_hi"; do
19817 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19835 rm -f conftest.
$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; } &&
19850 { ac_try
='test -s conftest.$ac_objext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.
$ac_ext >&5
19861 ac_lo
=`expr '(' $ac_mid ')' + 1`
19863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19866 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19867 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19868 See \`config.log' for more details." >&5
19869 echo "$as_me: error: cannot compute sizeof (long long), 77
19870 See \`config.log' for more details." >&2;}
19871 { (exit 1); exit 1; }; } ;;
19874 if test "$cross_compiling" = yes; then
19875 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19876 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19877 { (exit 1); exit 1; }; }
19879 cat >conftest.
$ac_ext <<_ACEOF
19882 cat confdefs.h
>>conftest.
$ac_ext
19883 cat >>conftest.
$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19886 long longval () { return (long) (sizeof (long long)); }
19887 unsigned long ulongval () { return (long) (sizeof (long long)); }
19889 #include <stdlib.h>
19894 FILE *f = fopen ("conftest.val", "w");
19897 if (((long) (sizeof (long long))) < 0)
19899 long i = longval ();
19900 if (i != ((long) (sizeof (long long))))
19902 fprintf (f, "%ld\n", i);
19906 unsigned long i = ulongval ();
19907 if (i != ((long) (sizeof (long long))))
19909 fprintf (f, "%lu\n", i);
19911 exit (ferror (f) || fclose (f) != 0);
19917 rm -f conftest
$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_cv_sizeof_long_long
=`cat conftest.val`
19930 echo "$as_me: program exited with status $ac_status" >&5
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.
$ac_ext >&5
19934 ( exit $ac_status )
19935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19936 See \`config.log' for more details." >&5
19937 echo "$as_me: error: cannot compute sizeof (long long), 77
19938 See \`config.log' for more details." >&2;}
19939 { (exit 1); exit 1; }; }
19941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19946 ac_cv_sizeof_long_long
=0
19949 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19950 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19951 cat >>confdefs.h
<<_ACEOF
19952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19956 if test "$ac_cv_sizeof_long_long" != "0"; then
19957 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19961 echo "$as_me:$LINENO: checking for long long" >&5
19962 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19963 if test "${ac_cv_type_long_long+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 cat >conftest.
$ac_ext <<_ACEOF
19969 cat confdefs.h
>>conftest.
$ac_ext
19970 cat >>conftest.
$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 $ac_includes_default
19976 if ((long long *) 0)
19978 if (sizeof (long long))
19984 rm -f conftest.
$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19988 grep -v '^ *+' conftest.er1
>conftest.err
19990 cat conftest.err
>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try
='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 ac_cv_type_long_long
=yes
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.
$ac_ext >&5
20010 ac_cv_type_long_long
=no
20012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20014 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20015 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20017 echo "$as_me:$LINENO: checking size of long long" >&5
20018 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20019 if test "${ac_cv_sizeof_long_long+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 if test "$ac_cv_type_long_long" = yes; then
20023 # The cast to unsigned long works around a bug in the HP C Compiler
20024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20026 # This bug is HP SR number 8606223364.
20027 if test "$cross_compiling" = yes; then
20028 # Depending upon the size, compute the lo and hi bounds.
20029 cat >conftest.
$ac_ext <<_ACEOF
20032 cat confdefs.h
>>conftest.
$ac_ext
20033 cat >>conftest.
$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 $ac_includes_default
20039 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20046 rm -f conftest.
$ac_objext
20047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20048 (eval $ac_compile) 2>conftest.er1
20050 grep -v '^ *+' conftest.er1
>conftest.err
20052 cat conftest.err
>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } &&
20055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; } &&
20061 { ac_try
='test -s conftest.$ac_objext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20069 cat >conftest.
$ac_ext <<_ACEOF
20072 cat confdefs.h
>>conftest.
$ac_ext
20073 cat >>conftest.
$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20079 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20086 rm -f conftest.
$ac_objext
20087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20088 (eval $ac_compile) 2>conftest.er1
20090 grep -v '^ *+' conftest.er1
>conftest.err
20092 cat conftest.err
>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } &&
20095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try
='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 ac_hi
=$ac_mid; break
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.
$ac_ext >&5
20112 ac_lo
=`expr $ac_mid + 1`
20113 if test $ac_lo -le $ac_mid; then
20117 ac_mid
=`expr 2 '*' $ac_mid + 1`
20119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.
$ac_ext >&5
20125 cat >conftest.
$ac_ext <<_ACEOF
20128 cat confdefs.h
>>conftest.
$ac_ext
20129 cat >>conftest.
$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 $ac_includes_default
20135 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20142 rm -f conftest.
$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20146 grep -v '^ *+' conftest.er1
>conftest.err
20148 cat conftest.err
>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try
='test -s conftest.$ac_objext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20165 cat >conftest.
$ac_ext <<_ACEOF
20168 cat confdefs.h
>>conftest.
$ac_ext
20169 cat >>conftest.
$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 $ac_includes_default
20175 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20182 rm -f conftest.
$ac_objext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20184 (eval $ac_compile) 2>conftest.er1
20186 grep -v '^ *+' conftest.er1
>conftest.err
20188 cat conftest.err
>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; } &&
20197 { ac_try
='test -s conftest.$ac_objext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 ac_lo
=$ac_mid; break
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.
$ac_ext >&5
20208 ac_hi
=`expr '(' $ac_mid ')' - 1`
20209 if test $ac_mid -le $ac_hi; then
20213 ac_mid
=`expr 2 '*' $ac_mid`
20215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.
$ac_ext >&5
20223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20226 # Binary search between lo and hi bounds.
20227 while test "x$ac_lo" != "x$ac_hi"; do
20228 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20229 cat >conftest.
$ac_ext <<_ACEOF
20232 cat confdefs.h
>>conftest.
$ac_ext
20233 cat >>conftest.
$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20235 $ac_includes_default
20239 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20246 rm -f conftest.
$ac_objext
20247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20248 (eval $ac_compile) 2>conftest.er1
20250 grep -v '^ *+' conftest.er1
>conftest.err
20252 cat conftest.err
>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } &&
20255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20257 (eval $ac_try) 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); }; } &&
20261 { ac_try
='test -s conftest.$ac_objext'
20262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20263 (eval $ac_try) 2>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); }; }; then
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.
$ac_ext >&5
20272 ac_lo
=`expr '(' $ac_mid ')' + 1`
20274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20277 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20278 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20279 See \`config.log' for more details." >&5
20280 echo "$as_me: error: cannot compute sizeof (long long), 77
20281 See \`config.log' for more details." >&2;}
20282 { (exit 1); exit 1; }; } ;;
20285 if test "$cross_compiling" = yes; then
20286 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20287 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20288 { (exit 1); exit 1; }; }
20290 cat >conftest.
$ac_ext <<_ACEOF
20293 cat confdefs.h
>>conftest.
$ac_ext
20294 cat >>conftest.
$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 long longval () { return (long) (sizeof (long long)); }
20298 unsigned long ulongval () { return (long) (sizeof (long long)); }
20300 #include <stdlib.h>
20305 FILE *f = fopen ("conftest.val", "w");
20308 if (((long) (sizeof (long long))) < 0)
20310 long i = longval ();
20311 if (i != ((long) (sizeof (long long))))
20313 fprintf (f, "%ld\n", i);
20317 unsigned long i = ulongval ();
20318 if (i != ((long) (sizeof (long long))))
20320 fprintf (f, "%lu\n", i);
20322 exit (ferror (f) || fclose (f) != 0);
20328 rm -f conftest
$ac_exeext
20329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20330 (eval $ac_link) 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20335 (eval $ac_try) 2>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); }; }; then
20339 ac_cv_sizeof_long_long
=`cat conftest.val`
20341 echo "$as_me: program exited with status $ac_status" >&5
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.
$ac_ext >&5
20345 ( exit $ac_status )
20346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20347 See \`config.log' for more details." >&5
20348 echo "$as_me: error: cannot compute sizeof (long long), 77
20349 See \`config.log' for more details." >&2;}
20350 { (exit 1); exit 1; }; }
20352 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20357 ac_cv_sizeof_long_long
=0
20360 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20361 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20362 cat >>confdefs.h
<<_ACEOF
20363 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20369 echo "$as_me:$LINENO: checking for wchar_t" >&5
20370 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20371 if test "${ac_cv_type_wchar_t+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 cat >conftest.
$ac_ext <<_ACEOF
20377 cat confdefs.h
>>conftest.
$ac_ext
20378 cat >>conftest.
$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20381 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20382 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20383 # error "fake wchar_t"
20385 #ifdef HAVE_WCHAR_H
20387 # include <stddef.h>
20389 # include <wchar.h>
20391 #ifdef HAVE_STDLIB_H
20392 # include <stdlib.h>
20403 if (sizeof (wchar_t))
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
20430 ac_cv_type_wchar_t
=yes
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.
$ac_ext >&5
20435 ac_cv_type_wchar_t
=no
20437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20439 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20440 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20442 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20443 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20444 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 if test "$ac_cv_type_wchar_t" = yes; then
20448 # The cast to unsigned long works around a bug in the HP C Compiler
20449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20451 # This bug is HP SR number 8606223364.
20452 if test "$cross_compiling" = yes; then
20453 # Depending upon the size, compute the lo and hi bounds.
20454 cat >conftest.
$ac_ext <<_ACEOF
20457 cat confdefs.h
>>conftest.
$ac_ext
20458 cat >>conftest.
$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20461 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20462 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20463 # error "fake wchar_t"
20465 #ifdef HAVE_WCHAR_H
20467 # include <stddef.h>
20469 # include <wchar.h>
20471 #ifdef HAVE_STDLIB_H
20472 # include <stdlib.h>
20481 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20488 rm -f conftest.
$ac_objext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20490 (eval $ac_compile) 2>conftest.er1
20492 grep -v '^ *+' conftest.er1
>conftest.err
20494 cat conftest.err
>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20499 (eval $ac_try) 2>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); }; } &&
20503 { ac_try
='test -s conftest.$ac_objext'
20504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20505 (eval $ac_try) 2>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }; }; then
20511 cat >conftest.
$ac_ext <<_ACEOF
20514 cat confdefs.h
>>conftest.
$ac_ext
20515 cat >>conftest.
$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20518 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20519 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20520 # error "fake wchar_t"
20522 #ifdef HAVE_WCHAR_H
20524 # include <stddef.h>
20526 # include <wchar.h>
20528 #ifdef HAVE_STDLIB_H
20529 # include <stdlib.h>
20538 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20545 rm -f conftest.
$ac_objext
20546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20547 (eval $ac_compile) 2>conftest.er1
20549 grep -v '^ *+' conftest.er1
>conftest.err
20551 cat conftest.err
>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } &&
20554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; } &&
20560 { ac_try
='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_hi
=$ac_mid; break
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.
$ac_ext >&5
20571 ac_lo
=`expr $ac_mid + 1`
20572 if test $ac_lo -le $ac_mid; then
20576 ac_mid
=`expr 2 '*' $ac_mid + 1`
20578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20581 echo "$as_me: failed program was:" >&5
20582 sed 's/^/| /' conftest.
$ac_ext >&5
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20591 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20592 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20593 # error "fake wchar_t"
20595 #ifdef HAVE_WCHAR_H
20597 # include <stddef.h>
20599 # include <wchar.h>
20601 #ifdef HAVE_STDLIB_H
20602 # include <stdlib.h>
20611 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20618 rm -f conftest.
$ac_objext
20619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20620 (eval $ac_compile) 2>conftest.er1
20622 grep -v '^ *+' conftest.er1
>conftest.err
20624 cat conftest.err
>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); } &&
20627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; } &&
20633 { ac_try
='test -s conftest.$ac_objext'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; }; then
20641 cat >conftest.
$ac_ext <<_ACEOF
20644 cat confdefs.h
>>conftest.
$ac_ext
20645 cat >>conftest.
$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20650 # error "fake wchar_t"
20652 #ifdef HAVE_WCHAR_H
20654 # include <stddef.h>
20656 # include <wchar.h>
20658 #ifdef HAVE_STDLIB_H
20659 # include <stdlib.h>
20668 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20675 rm -f conftest.
$ac_objext
20676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>conftest.er1
20679 grep -v '^ *+' conftest.er1
>conftest.err
20681 cat conftest.err
>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try
='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696 ac_lo
=$ac_mid; break
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.
$ac_ext >&5
20701 ac_hi
=`expr '(' $ac_mid ')' - 1`
20702 if test $ac_mid -le $ac_hi; then
20706 ac_mid
=`expr 2 '*' $ac_mid`
20708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20711 echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.
$ac_ext >&5
20716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20719 # Binary search between lo and hi bounds.
20720 while test "x$ac_lo" != "x$ac_hi"; do
20721 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20722 cat >conftest.
$ac_ext <<_ACEOF
20725 cat confdefs.h
>>conftest.
$ac_ext
20726 cat >>conftest.
$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20729 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20730 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20731 # error "fake wchar_t"
20733 #ifdef HAVE_WCHAR_H
20735 # include <stddef.h>
20737 # include <wchar.h>
20739 #ifdef HAVE_STDLIB_H
20740 # include <stdlib.h>
20749 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20756 rm -f conftest.
$ac_objext
20757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20758 (eval $ac_compile) 2>conftest.er1
20760 grep -v '^ *+' conftest.er1
>conftest.err
20762 cat conftest.err
>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } &&
20765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; } &&
20771 { ac_try
='test -s conftest.$ac_objext'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; }; then
20779 echo "$as_me: failed program was:" >&5
20780 sed 's/^/| /' conftest.
$ac_ext >&5
20782 ac_lo
=`expr '(' $ac_mid ')' + 1`
20784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20787 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20788 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20789 See \`config.log' for more details." >&5
20790 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20791 See \`config.log' for more details." >&2;}
20792 { (exit 1); exit 1; }; } ;;
20795 if test "$cross_compiling" = yes; then
20796 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20797 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20798 { (exit 1); exit 1; }; }
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20809 # error "fake wchar_t"
20811 #ifdef HAVE_WCHAR_H
20813 # include <stddef.h>
20815 # include <wchar.h>
20817 #ifdef HAVE_STDLIB_H
20818 # include <stdlib.h>
20824 long longval () { return (long) (sizeof (wchar_t)); }
20825 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20827 #include <stdlib.h>
20832 FILE *f = fopen ("conftest.val", "w");
20835 if (((long) (sizeof (wchar_t))) < 0)
20837 long i = longval ();
20838 if (i != ((long) (sizeof (wchar_t))))
20840 fprintf (f, "%ld\n", i);
20844 unsigned long i = ulongval ();
20845 if (i != ((long) (sizeof (wchar_t))))
20847 fprintf (f, "%lu\n", i);
20849 exit (ferror (f) || fclose (f) != 0);
20855 rm -f conftest
$ac_exeext
20856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20857 (eval $ac_link) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20866 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20868 echo "$as_me: program exited with status $ac_status" >&5
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.
$ac_ext >&5
20872 ( exit $ac_status )
20873 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20874 See \`config.log' for more details." >&5
20875 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20876 See \`config.log' for more details." >&2;}
20877 { (exit 1); exit 1; }; }
20879 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20884 ac_cv_sizeof_wchar_t
=0
20887 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20888 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20889 cat >>confdefs.h
<<_ACEOF
20890 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20894 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20900 echo "$as_me:$LINENO: checking for va_copy" >&5
20901 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20902 if test "${wx_cv_func_va_copy+set}" = set; then
20903 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 cat >conftest.
$ac_ext <<_ACEOF
20908 #include <stdarg.h>
20909 void foo(char *f, ...)
20923 rm -f conftest.
$ac_objext conftest
$ac_exeext
20924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20925 (eval $ac_link) 2>conftest.er1
20927 grep -v '^ *+' conftest.er1
>conftest.err
20929 cat conftest.err
>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } &&
20932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; } &&
20938 { ac_try
='test -s conftest$ac_exeext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 wx_cv_func_va_copy
=yes
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.
$ac_ext >&5
20949 wx_cv_func_va_copy
=no
20952 rm -f conftest.err conftest.
$ac_objext \
20953 conftest
$ac_exeext conftest.
$ac_ext
20957 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20958 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20960 if test $wx_cv_func_va_copy = "yes"; then
20961 cat >>confdefs.h
<<\_ACEOF
20962 #define HAVE_VA_COPY 1
20966 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20967 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20968 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 if test "$cross_compiling" = yes; then
20973 wx_cv_type_va_list_lvalue
=yes
20976 cat >conftest.
$ac_ext <<_ACEOF
20978 #include <stdarg.h>
20979 int foo(char *f, ...)
20984 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20992 return foo("hi", 17);
20995 rm -f conftest
$ac_exeext
20996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20997 (eval $ac_link) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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 wx_cv_type_va_list_lvalue
=yes
21008 echo "$as_me: program exited with status $ac_status" >&5
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.
$ac_ext >&5
21012 ( exit $ac_status )
21013 wx_cv_type_va_list_lvalue
=no
21015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21020 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21021 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21023 if test $wx_cv_type_va_list_lvalue != "yes"; then
21024 cat >>confdefs.h
<<\_ACEOF
21025 #define VA_LIST_IS_ARRAY 1
21031 # Check whether --enable-largefile or --disable-largefile was given.
21032 if test "${enable_largefile+set}" = set; then
21033 enableval
="$enable_largefile"
21036 if test "$enable_largefile" != no
; then
21039 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21040 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21041 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21042 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 cat >conftest.
$ac_ext <<_ACEOF
21048 cat confdefs.h
>>conftest.
$ac_ext
21049 cat >>conftest.
$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051 #define _FILE_OFFSET_BITS 64
21052 #include <sys/types.h>
21057 unsigned int field: sizeof(off_t) == 8;
21064 rm -f conftest.
$ac_objext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21066 (eval $ac_compile) 2>conftest.er1
21068 grep -v '^ *+' conftest.er1
>conftest.err
21070 cat conftest.err
>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } &&
21073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try
='test -s conftest.$ac_objext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_sys_file_offset_bits
=64
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.
$ac_ext >&5
21090 ac_cv_sys_file_offset_bits
=no
21092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21096 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21097 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21099 if test "$ac_cv_sys_file_offset_bits" != no
; then
21101 cat >>confdefs.h
<<_ACEOF
21102 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21107 if test "x$wx_largefile" != "xyes"; then
21109 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21110 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21111 if test "${ac_cv_sys_large_files+set}" = set; then
21112 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21121 #define _LARGE_FILES 1
21122 #include <sys/types.h>
21127 unsigned int field: sizeof(off_t) == 8;
21134 rm -f conftest.
$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1
>conftest.err
21140 cat conftest.err
>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try
='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_sys_large_files
=1
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.
$ac_ext >&5
21160 ac_cv_sys_large_files
=no
21162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21166 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21167 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21169 if test "$ac_cv_sys_large_files" != no
; then
21171 cat >>confdefs.h
<<_ACEOF
21172 #define _LARGE_FILES $ac_cv_sys_large_files
21179 echo "$as_me:$LINENO: checking if large file support is available" >&5
21180 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21181 if test "x$wx_largefile" = "xyes"; then
21182 cat >>confdefs.h
<<\_ACEOF
21183 #define HAVE_LARGEFILE_SUPPORT 1
21187 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21188 echo "${ECHO_T}$wx_largefile" >&6
21192 if test "x$wx_largefile" = "xyes"; then
21193 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21194 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21196 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21197 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21198 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21199 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 ac_cpp
='$CXXCPP $CPPFLAGS'
21207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21211 cat >conftest.
$ac_ext <<_ACEOF
21214 cat confdefs.h
>>conftest.
$ac_ext
21215 cat >>conftest.
$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21222 #ifndef __STDC_EXT__
21230 rm -f conftest.
$ac_objext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21232 (eval $ac_compile) 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try
='test -s conftest.$ac_objext'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; }; then
21251 wx_cv_STDC_EXT_required
=no
21253 echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.
$ac_ext >&5
21256 wx_cv_STDC_EXT_required
=yes
21259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21261 ac_cpp
='$CPP $CPPFLAGS'
21262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21269 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21270 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21271 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21272 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21276 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21278 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21279 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21280 if test "${ac_cv_sys_largefile_source+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 ac_cv_sys_largefile_source
=no
21285 cat >conftest.
$ac_ext <<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21300 rm -f conftest.
$ac_objext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21302 (eval $ac_compile) 2>conftest.er1
21304 grep -v '^ *+' conftest.er1
>conftest.err
21306 cat conftest.err
>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest.$ac_objext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21328 cat >conftest.
$ac_ext <<_ACEOF
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 #define _LARGEFILE_SOURCE 1
21344 rm -f conftest.
$ac_objext
21345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21346 (eval $ac_compile) 2>conftest.er1
21348 grep -v '^ *+' conftest.er1
>conftest.err
21350 cat conftest.err
>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } &&
21353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21355 (eval $ac_try) 2>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); }; } &&
21359 { ac_try
='test -s conftest.$ac_objext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 ac_cv_sys_largefile_source
=1; break
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.
$ac_ext >&5
21371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21375 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21376 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21377 if test "$ac_cv_sys_largefile_source" != no
; then
21379 cat >>confdefs.h
<<_ACEOF
21380 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21386 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21387 # in glibc 2.1.3, but that breaks too many other things.
21388 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21389 echo "$as_me:$LINENO: checking for fseeko" >&5
21390 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21391 if test "${ac_cv_func_fseeko+set}" = set; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6
21394 cat >conftest.
$ac_ext <<_ACEOF
21397 cat confdefs.h
>>conftest.
$ac_ext
21398 cat >>conftest.
$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21404 return fseeko && fseeko (stdin, 0, 0);
21409 rm -f conftest.
$ac_objext conftest
$ac_exeext
21410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21411 (eval $ac_link) 2>conftest.er1
21413 grep -v '^ *+' conftest.er1
>conftest.err
21415 cat conftest.err
>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } &&
21418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21420 (eval $ac_try) 2>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); }; } &&
21424 { ac_try
='test -s conftest$ac_exeext'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; }; then
21430 ac_cv_func_fseeko
=yes
21432 echo "$as_me: failed program was:" >&5
21433 sed 's/^/| /' conftest.
$ac_ext >&5
21435 ac_cv_func_fseeko
=no
21437 rm -f conftest.err conftest.
$ac_objext \
21438 conftest
$ac_exeext conftest.
$ac_ext
21440 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21441 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21442 if test $ac_cv_func_fseeko = yes; then
21444 cat >>confdefs.h
<<\_ACEOF
21445 #define HAVE_FSEEKO 1
21450 if test "$ac_cv_sys_largefile_source" != no
; then
21451 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21455 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21456 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21457 if test "${ac_cv_c_bigendian+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 ac_cv_c_bigendian
=unknown
21461 # See if sys/param.h defines the BYTE_ORDER macro.
21462 cat >conftest.
$ac_ext <<_ACEOF
21465 cat confdefs.h
>>conftest.
$ac_ext
21466 cat >>conftest.
$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 #include <sys/types.h>
21469 #include <sys/param.h>
21474 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21475 bogus endian macros
21481 rm -f conftest.
$ac_objext
21482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21483 (eval $ac_compile) 2>conftest.er1
21485 grep -v '^ *+' conftest.er1
>conftest.err
21487 cat conftest.err
>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } &&
21490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; } &&
21496 { ac_try
='test -s conftest.$ac_objext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 # It does; now see whether it defined to BIG_ENDIAN or not.
21503 cat >conftest.
$ac_ext <<_ACEOF
21506 cat confdefs.h
>>conftest.
$ac_ext
21507 cat >>conftest.
$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 #include <sys/types.h>
21510 #include <sys/param.h>
21515 #if BYTE_ORDER != BIG_ENDIAN
21522 rm -f conftest.
$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21526 grep -v '^ *+' conftest.er1
>conftest.err
21528 cat conftest.err
>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try
='test -s conftest.$ac_objext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_cv_c_bigendian
=yes
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.
$ac_ext >&5
21548 ac_cv_c_bigendian
=no
21550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.
$ac_ext >&5
21556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21557 if test $ac_cv_c_bigendian = unknown
; then
21558 if test "$cross_compiling" = yes; then
21559 ac_cv_c_bigendian
=unknown
21561 cat >conftest.
$ac_ext <<_ACEOF
21564 cat confdefs.h
>>conftest.
$ac_ext
21565 cat >>conftest.
$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21568 /* Are we little or big endian? From Harbison&Steele. */
21572 char c[sizeof (long)];
21575 exit (u.c[sizeof (long) - 1] == 1);
21578 rm -f conftest
$ac_exeext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21580 (eval $ac_link) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_c_bigendian
=no
21591 echo "$as_me: program exited with status $ac_status" >&5
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.
$ac_ext >&5
21595 ( exit $ac_status )
21596 ac_cv_c_bigendian
=yes
21598 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21602 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21603 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21604 if test $ac_cv_c_bigendian = unknown
; then
21605 { 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
21606 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;}
21608 if test $ac_cv_c_bigendian = yes; then
21609 cat >>confdefs.h
<<\_ACEOF
21610 #define WORDS_BIGENDIAN 1
21617 ac_cpp
='$CXXCPP $CPPFLAGS'
21618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21621 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21622 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21623 if test -z "$CXXCPP"; then
21624 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 # Double quotes because CXXCPP needs to be expanded
21628 for CXXCPP
in "$CXX -E" "/lib/cpp"
21630 ac_preproc_ok
=false
21631 for ac_cxx_preproc_warn_flag
in '' yes
21633 # Use a header file that comes with gcc, so configuring glibc
21634 # with a fresh cross-compiler works.
21635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21636 # <limits.h> exists even on freestanding compilers.
21637 # On the NeXT, cc -E runs the code through the compiler's parser,
21638 # not just through cpp. "Syntax error" is here to catch this case.
21639 cat >conftest.
$ac_ext <<_ACEOF
21642 cat confdefs.h
>>conftest.
$ac_ext
21643 cat >>conftest.
$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21646 # include <limits.h>
21648 # include <assert.h>
21652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21655 grep -v '^ *+' conftest.er1
>conftest.err
21657 cat conftest.err
>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } >/dev
/null
; then
21660 if test -s conftest.err
; then
21661 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21662 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21669 if test -z "$ac_cpp_err"; then
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21675 # Broken: fails on valid input.
21678 rm -f conftest.err conftest.
$ac_ext
21680 # OK, works on sane cases. Now check whether non-existent headers
21681 # can be detected and how.
21682 cat >conftest.
$ac_ext <<_ACEOF
21685 cat confdefs.h
>>conftest.
$ac_ext
21686 cat >>conftest.
$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21688 #include <ac_nonexistent.h>
21690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21691 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21693 grep -v '^ *+' conftest.er1
>conftest.err
21695 cat conftest.err
>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } >/dev
/null
; then
21698 if test -s conftest.err
; then
21699 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21700 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21707 if test -z "$ac_cpp_err"; then
21708 # Broken: success on invalid input.
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.
$ac_ext >&5
21714 # Passes both tests.
21718 rm -f conftest.err conftest.
$ac_ext
21721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21722 rm -f conftest.err conftest.
$ac_ext
21723 if $ac_preproc_ok; then
21728 ac_cv_prog_CXXCPP
=$CXXCPP
21731 CXXCPP
=$ac_cv_prog_CXXCPP
21733 ac_cv_prog_CXXCPP
=$CXXCPP
21735 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21736 echo "${ECHO_T}$CXXCPP" >&6
21737 ac_preproc_ok
=false
21738 for ac_cxx_preproc_warn_flag
in '' yes
21740 # Use a header file that comes with gcc, so configuring glibc
21741 # with a fresh cross-compiler works.
21742 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21743 # <limits.h> exists even on freestanding compilers.
21744 # On the NeXT, cc -E runs the code through the compiler's parser,
21745 # not just through cpp. "Syntax error" is here to catch this case.
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21753 # include <limits.h>
21755 # include <assert.h>
21759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21762 grep -v '^ *+' conftest.er1
>conftest.err
21764 cat conftest.err
>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } >/dev
/null
; then
21767 if test -s conftest.err
; then
21768 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21769 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21776 if test -z "$ac_cpp_err"; then
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.
$ac_ext >&5
21782 # Broken: fails on valid input.
21785 rm -f conftest.err conftest.
$ac_ext
21787 # OK, works on sane cases. Now check whether non-existent headers
21788 # can be detected and how.
21789 cat >conftest.
$ac_ext <<_ACEOF
21792 cat confdefs.h
>>conftest.
$ac_ext
21793 cat >>conftest.
$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21795 #include <ac_nonexistent.h>
21797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21800 grep -v '^ *+' conftest.er1
>conftest.err
21802 cat conftest.err
>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } >/dev
/null
; then
21805 if test -s conftest.err
; then
21806 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21807 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21814 if test -z "$ac_cpp_err"; then
21815 # Broken: success on invalid input.
21818 echo "$as_me: failed program was:" >&5
21819 sed 's/^/| /' conftest.
$ac_ext >&5
21821 # Passes both tests.
21825 rm -f conftest.err conftest.
$ac_ext
21828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21829 rm -f conftest.err conftest.
$ac_ext
21830 if $ac_preproc_ok; then
21833 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21834 See \`config.log' for more details." >&5
21835 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21836 See \`config.log' for more details." >&2;}
21837 { (exit 1); exit 1; }; }
21841 ac_cpp
='$CXXCPP $CPPFLAGS'
21842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21851 ac_cpp
='$CXXCPP $CPPFLAGS'
21852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21858 for ac_header
in iostream
21860 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21862 echo "$as_me:$LINENO: checking for $ac_header" >&5
21863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21870 # Is the header compilable?
21871 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21873 cat >conftest.
$ac_ext <<_ACEOF
21876 cat confdefs.h
>>conftest.
$ac_ext
21877 cat >>conftest.
$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 $ac_includes_default
21880 #include <$ac_header>
21882 rm -f conftest.
$ac_objext
21883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21884 (eval $ac_compile) 2>conftest.er1
21886 grep -v '^ *+' conftest.er1
>conftest.err
21888 cat conftest.err
>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } &&
21891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; } &&
21897 { ac_try
='test -s conftest.$ac_objext'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; }; then
21903 ac_header_compiler
=yes
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.
$ac_ext >&5
21908 ac_header_compiler
=no
21910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21912 echo "${ECHO_T}$ac_header_compiler" >&6
21914 # Is the header present?
21915 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21916 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 #include <$ac_header>
21925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21926 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21928 grep -v '^ *+' conftest.er1
>conftest.err
21930 cat conftest.err
>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } >/dev
/null
; then
21933 if test -s conftest.err
; then
21934 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21935 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21942 if test -z "$ac_cpp_err"; then
21943 ac_header_preproc
=yes
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.
$ac_ext >&5
21948 ac_header_preproc
=no
21950 rm -f conftest.err conftest.
$ac_ext
21951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21952 echo "${ECHO_T}$ac_header_preproc" >&6
21954 # So? What about this header?
21955 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21960 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21961 ac_header_preproc
=yes
21964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21968 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21969 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21970 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21971 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21974 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21975 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21978 ## ----------------------------------------- ##
21979 ## Report this to wx-dev@lists.wxwidgets.org ##
21980 ## ----------------------------------------- ##
21983 sed "s/^/$as_me: WARNING: /" >&2
21986 echo "$as_me:$LINENO: checking for $ac_header" >&5
21987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21991 eval "$as_ac_Header=\$ac_header_preproc"
21993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21998 cat >>confdefs.h
<<_ACEOF
21999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22007 if test "$ac_cv_header_iostream" = "yes" ; then
22010 cat >>confdefs.h
<<\_ACEOF
22011 #define wxUSE_IOSTREAMH 1
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
22025 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22026 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22027 if test "${wx_cv_cpp_bool+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 ac_cpp
='$CXXCPP $CPPFLAGS'
22035 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22040 cat >conftest.
$ac_ext <<_ACEOF
22043 cat confdefs.h
>>conftest.
$ac_ext
22044 cat >>conftest.
$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22060 rm -f conftest.
$ac_objext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22062 (eval $ac_compile) 2>conftest.er1
22064 grep -v '^ *+' conftest.er1
>conftest.err
22066 cat conftest.err
>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try
='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22085 echo "$as_me: failed program was:" >&5
22086 sed 's/^/| /' conftest.
$ac_ext >&5
22093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 ac_cpp
='$CPP $CPPFLAGS'
22097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22103 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22104 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22106 if test "$wx_cv_cpp_bool" = "yes"; then
22107 cat >>confdefs.h
<<\_ACEOF
22108 #define HAVE_BOOL 1
22115 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22116 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22117 if test "${wx_cv_explicit+set}" = set; then
22118 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 ac_cpp
='$CXXCPP $CPPFLAGS'
22125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22130 cat >conftest.
$ac_ext <<_ACEOF
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22137 class Foo { public: explicit Foo(int) {} };
22149 rm -f conftest.
$ac_objext
22150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22151 (eval $ac_compile) 2>conftest.er1
22153 grep -v '^ *+' conftest.er1
>conftest.err
22155 cat conftest.err
>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } &&
22158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; } &&
22164 { ac_try
='test -s conftest.$ac_objext'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; }; then
22171 cat >conftest.
$ac_ext <<_ACEOF
22174 cat confdefs.h
>>conftest.
$ac_ext
22175 cat >>conftest.
$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22178 class Foo { public: explicit Foo(int) {} };
22179 static void TakeFoo(const Foo& foo) { }
22192 rm -f conftest.
$ac_objext
22193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22194 (eval $ac_compile) 2>conftest.er1
22196 grep -v '^ *+' conftest.er1
>conftest.err
22198 cat conftest.err
>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } &&
22201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22203 (eval $ac_try) 2>&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; } &&
22207 { ac_try
='test -s conftest.$ac_objext'
22208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22209 (eval $ac_try) 2>&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); }; }; then
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.
$ac_ext >&5
22221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22224 echo "$as_me: failed program was:" >&5
22225 sed 's/^/| /' conftest.
$ac_ext >&5
22230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22233 ac_cpp
='$CPP $CPPFLAGS'
22234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22240 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22241 echo "${ECHO_T}$wx_cv_explicit" >&6
22243 if test "$wx_cv_explicit" = "yes"; then
22244 cat >>confdefs.h
<<\_ACEOF
22245 #define HAVE_EXPLICIT 1
22251 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22252 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22253 if test "${ac_cv_cxx_const_cast+set}" = set; then
22254 echo $ECHO_N "(cached) $ECHO_C" >&6
22259 ac_cpp
='$CXXCPP $CPPFLAGS'
22260 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22264 cat >conftest.
$ac_ext <<_ACEOF
22267 cat confdefs.h
>>conftest.
$ac_ext
22268 cat >>conftest.
$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22274 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22279 rm -f conftest.
$ac_objext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22281 (eval $ac_compile) 2>conftest.er1
22283 grep -v '^ *+' conftest.er1
>conftest.err
22285 cat conftest.err
>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } &&
22288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; } &&
22294 { ac_try
='test -s conftest.$ac_objext'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; }; then
22300 ac_cv_cxx_const_cast
=yes
22302 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.
$ac_ext >&5
22305 ac_cv_cxx_const_cast
=no
22307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22309 ac_cpp
='$CPP $CPPFLAGS'
22310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22316 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22317 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22318 if test "$ac_cv_cxx_const_cast" = yes; then
22320 cat >>confdefs.h
<<\_ACEOF
22321 #define HAVE_CONST_CAST
22326 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22327 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22328 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 ac_cpp
='$CXXCPP $CPPFLAGS'
22335 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22339 cat >conftest.
$ac_ext <<_ACEOF
22342 cat confdefs.h
>>conftest.
$ac_ext
22343 cat >>conftest.
$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22345 #include <typeinfo>
22346 class Base { public : Base () {} virtual void f () = 0;};
22347 class Derived : public Base { public : Derived () {} virtual void f () {} };
22348 class Unrelated { public : Unrelated () {} };
22349 int g (Unrelated&) { return 0; }
22354 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
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_reinterpret_cast
=yes
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.
$ac_ext >&5
22385 ac_cv_cxx_reinterpret_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_reinterpret_cast" >&5
22397 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22398 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22400 cat >>confdefs.h
<<\_ACEOF
22401 #define HAVE_REINTERPRET_CAST
22406 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22407 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22408 if test "${ac_cv_cxx_static_cast+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 ac_cpp
='$CXXCPP $CPPFLAGS'
22415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22419 cat >conftest.
$ac_ext <<_ACEOF
22422 cat confdefs.h
>>conftest.
$ac_ext
22423 cat >>conftest.
$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #include <typeinfo>
22426 class Base { public : Base () {} virtual void f () = 0; };
22427 class Derived : public Base { public : Derived () {} virtual void f () {} };
22428 int g (Derived&) { return 0; }
22433 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22438 rm -f conftest.
$ac_objext
22439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22440 (eval $ac_compile) 2>conftest.er1
22442 grep -v '^ *+' conftest.er1
>conftest.err
22444 cat conftest.err
>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } &&
22447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22449 (eval $ac_try) 2>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); }; } &&
22453 { ac_try
='test -s conftest.$ac_objext'
22454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22455 (eval $ac_try) 2>&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); }; }; then
22459 ac_cv_cxx_static_cast
=yes
22461 echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.
$ac_ext >&5
22464 ac_cv_cxx_static_cast
=no
22466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22468 ac_cpp
='$CPP $CPPFLAGS'
22469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22475 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22476 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22477 if test "$ac_cv_cxx_static_cast" = yes; then
22479 cat >>confdefs.h
<<\_ACEOF
22480 #define HAVE_STATIC_CAST
22486 if test "x$SUNCXX" = xyes
; then
22487 CXXFLAGS
="$CXXFLAGS -features=tmplife"
22490 if test "x$SUNCC" = xyes
; then
22491 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22494 if test "x$SGICC" = "xyes"; then
22495 CFLAGS
="$CFLAGS -woff 3970"
22497 if test "x$SGICXX" = "xyes"; then
22498 CXXFLAGS
="$CXXFLAGS -woff 3970"
22501 if test "x$HPCC" = "xyes"; then
22502 CFLAGS
="$CFLAGS +W 2011,2450"
22504 if test "x$HPCXX" = "xyes"; then
22505 CXXFLAGS
="$CXXFLAGS +W 2340"
22508 if test "x$COMPAQCXX" = "xyes"; then
22509 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22512 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22514 ac_cpp
='$CXXCPP $CPPFLAGS'
22515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22520 if test "$wxUSE_UNICODE" = "yes"; then
22521 std_string
="std::wstring"
22522 char_type
="wchar_t"
22524 std_string
="std::string"
22528 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22529 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22530 cat >conftest.
$ac_ext <<_ACEOF
22533 cat confdefs.h
>>conftest.
$ac_ext
22534 cat >>conftest.
$ac_ext <<_ACEOF
22535 /* end confdefs.h. */
22545 rm -f conftest.
$ac_objext
22546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22547 (eval $ac_compile) 2>conftest.er1
22549 grep -v '^ *+' conftest.er1
>conftest.err
22551 cat conftest.err
>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } &&
22554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 (eval $ac_try) 2>&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); }; } &&
22560 { ac_try
='test -s conftest.$ac_objext'
22561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22562 (eval $ac_try) 2>&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; }; then
22566 echo "$as_me:$LINENO: result: yes" >&5
22567 echo "${ECHO_T}yes" >&6
22568 cat >>confdefs.h
<<\_ACEOF
22569 #define HAVE_STD_WSTRING 1
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.
$ac_ext >&5
22576 echo "$as_me:$LINENO: result: no" >&5
22577 echo "${ECHO_T}no" >&6
22578 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22579 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22580 cat >conftest.
$ac_ext <<_ACEOF
22583 cat confdefs.h
>>conftest.
$ac_ext
22584 cat >>conftest.
$ac_ext <<_ACEOF
22585 /* end confdefs.h. */
22587 #ifdef HAVE_WCHAR_H
22589 # include <stddef.h>
22591 # include <wchar.h>
22593 #ifdef HAVE_STDLIB_H
22594 # include <stdlib.h>
22602 std::basic_string<$char_type> foo;
22603 const $char_type* dummy = foo.c_str();
22608 rm -f conftest.
$ac_objext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22610 (eval $ac_compile) 2>conftest.er1
22612 grep -v '^ *+' conftest.er1
>conftest.err
22614 cat conftest.err
>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } &&
22617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; } &&
22623 { ac_try
='test -s conftest.$ac_objext'
22624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625 (eval $ac_try) 2>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; }; then
22629 echo "$as_me:$LINENO: result: yes" >&5
22630 echo "${ECHO_T}yes" >&6
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.
$ac_ext >&5
22635 echo "$as_me:$LINENO: result: no" >&5
22636 echo "${ECHO_T}no" >&6
22637 if test "$wxUSE_STL" = "yes"; then
22638 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22639 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22640 { (exit 1); exit 1; }; }
22641 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22642 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22643 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22644 { (exit 1); exit 1; }; }
22646 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22647 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22648 wxUSE_STD_STRING
=no
22653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22659 ac_cpp
='$CPP $CPPFLAGS'
22660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22666 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22668 ac_cpp
='$CXXCPP $CPPFLAGS'
22669 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22674 echo "$as_me:$LINENO: checking for std::istream" >&5
22675 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22676 if test "${ac_cv_type_std__istream+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 cat >conftest.
$ac_ext <<_ACEOF
22682 cat confdefs.h
>>conftest.
$ac_ext
22683 cat >>conftest.
$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 #include <iostream>
22690 if ((std::istream *) 0)
22692 if (sizeof (std::istream))
22698 rm -f conftest.
$ac_objext
22699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22700 (eval $ac_compile) 2>conftest.er1
22702 grep -v '^ *+' conftest.er1
>conftest.err
22704 cat conftest.err
>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; } &&
22713 { ac_try
='test -s conftest.$ac_objext'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 ac_cv_type_std__istream
=yes
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.
$ac_ext >&5
22724 ac_cv_type_std__istream
=no
22726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22728 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22729 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22730 if test $ac_cv_type_std__istream = yes; then
22732 cat >>confdefs.h
<<_ACEOF
22733 #define HAVE_STD__ISTREAM 1
22738 wxUSE_STD_IOSTREAM
=no
22740 echo "$as_me:$LINENO: checking for std::ostream" >&5
22741 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22742 if test "${ac_cv_type_std__ostream+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 cat >conftest.
$ac_ext <<_ACEOF
22748 cat confdefs.h
>>conftest.
$ac_ext
22749 cat >>conftest.
$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22751 #include <iostream>
22756 if ((std::ostream *) 0)
22758 if (sizeof (std::ostream))
22764 rm -f conftest.
$ac_objext
22765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22766 (eval $ac_compile) 2>conftest.er1
22768 grep -v '^ *+' conftest.er1
>conftest.err
22770 cat conftest.err
>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } &&
22773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; } &&
22779 { ac_try
='test -s conftest.$ac_objext'
22780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22781 (eval $ac_try) 2>&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); }; }; then
22785 ac_cv_type_std__ostream
=yes
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.
$ac_ext >&5
22790 ac_cv_type_std__ostream
=no
22792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22794 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22795 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22796 if test $ac_cv_type_std__ostream = yes; then
22798 cat >>confdefs.h
<<_ACEOF
22799 #define HAVE_STD__OSTREAM 1
22804 wxUSE_STD_IOSTREAM
=no
22808 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22809 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22810 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22811 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22812 { (exit 1); exit 1; }; }
22814 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22815 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22820 ac_cpp
='$CPP $CPPFLAGS'
22821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22827 if test "$wxUSE_STL" = "yes"; then
22829 ac_cpp
='$CXXCPP $CPPFLAGS'
22830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22835 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22836 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22837 cat >conftest.
$ac_ext <<_ACEOF
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 #include <functional>
22845 #include <algorithm>
22851 std::vector<int> moo;
22852 std::list<int> foo;
22853 std::vector<int>::iterator it =
22854 std::find_if(moo.begin(), moo.end(),
22855 std::bind2nd(std::less<int>(), 3));
22860 rm -f conftest.
$ac_objext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22862 (eval $ac_compile) 2>conftest.er1
22864 grep -v '^ *+' conftest.er1
>conftest.err
22866 cat conftest.err
>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; } &&
22875 { ac_try
='test -s conftest.$ac_objext'
22876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877 (eval $ac_try) 2>&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; }; then
22881 echo "$as_me:$LINENO: result: yes" >&5
22882 echo "${ECHO_T}yes" >&6
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.
$ac_ext >&5
22887 echo "$as_me:$LINENO: result: no" >&5
22888 echo "${ECHO_T}no" >&6
22889 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22890 echo "$as_me: error: Basic STL functionality missing" >&2;}
22891 { (exit 1); exit 1; }; }
22893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22895 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22896 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22897 cat >conftest.
$ac_ext <<_ACEOF
22900 cat confdefs.h
>>conftest.
$ac_ext
22901 cat >>conftest.
$ac_ext <<_ACEOF
22902 /* end confdefs.h. */
22907 std::string foo, bar;
22909 foo.compare(1, 1, bar);
22910 foo.compare(1, 1, bar, 1, 1);
22912 foo.compare(1, 1, "");
22913 foo.compare(1, 1, "", 2);
22918 rm -f conftest.
$ac_objext
22919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22920 (eval $ac_compile) 2>conftest.er1
22922 grep -v '^ *+' conftest.er1
>conftest.err
22924 cat conftest.err
>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } &&
22927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try
='test -s conftest.$ac_objext'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 echo "$as_me:$LINENO: result: yes" >&5
22940 echo "${ECHO_T}yes" >&6
22941 cat >>confdefs.h
<<\_ACEOF
22942 #define HAVE_STD_STRING_COMPARE 1
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.
$ac_ext >&5
22949 echo "$as_me:$LINENO: result: no" >&5
22950 echo "${ECHO_T}no" >&6
22952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22954 if test "${ac_cv_header_hash_map+set}" = set; then
22955 echo "$as_me:$LINENO: checking for hash_map" >&5
22956 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22957 if test "${ac_cv_header_hash_map+set}" = set; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22961 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22963 # Is the header compilable?
22964 echo "$as_me:$LINENO: checking hash_map usability" >&5
22965 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22966 cat >conftest.
$ac_ext <<_ACEOF
22969 cat confdefs.h
>>conftest.
$ac_ext
22970 cat >>conftest.
$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 $ac_includes_default
22973 #include <hash_map>
22975 rm -f conftest.
$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try
='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_header_compiler
=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.
$ac_ext >&5
23001 ac_header_compiler
=no
23003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23005 echo "${ECHO_T}$ac_header_compiler" >&6
23007 # Is the header present?
23008 echo "$as_me:$LINENO: checking hash_map presence" >&5
23009 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23010 cat >conftest.
$ac_ext <<_ACEOF
23013 cat confdefs.h
>>conftest.
$ac_ext
23014 cat >>conftest.
$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 #include <hash_map>
23018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23021 grep -v '^ *+' conftest.er1
>conftest.err
23023 cat conftest.err
>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } >/dev
/null
; then
23026 if test -s conftest.err
; then
23027 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23028 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23035 if test -z "$ac_cpp_err"; then
23036 ac_header_preproc
=yes
23038 echo "$as_me: failed program was:" >&5
23039 sed 's/^/| /' conftest.
$ac_ext >&5
23041 ac_header_preproc
=no
23043 rm -f conftest.err conftest.
$ac_ext
23044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23045 echo "${ECHO_T}$ac_header_preproc" >&6
23047 # So? What about this header?
23048 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23050 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23051 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23052 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23053 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23054 ac_header_preproc
=yes
23057 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23058 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23060 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23062 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23064 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23066 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23068 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23071 ## ----------------------------------------- ##
23072 ## Report this to wx-dev@lists.wxwidgets.org ##
23073 ## ----------------------------------------- ##
23076 sed "s/^/$as_me: WARNING: /" >&2
23079 echo "$as_me:$LINENO: checking for hash_map" >&5
23080 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23081 if test "${ac_cv_header_hash_map+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23084 ac_cv_header_hash_map
=$ac_header_preproc
23086 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23087 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23090 if test $ac_cv_header_hash_map = yes; then
23091 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23092 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23093 cat >conftest.
$ac_ext <<_ACEOF
23096 cat confdefs.h
>>conftest.
$ac_ext
23097 cat >>conftest.
$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #include <hash_map>
23100 #include <hash_set>
23104 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23105 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23110 rm -f conftest.
$ac_objext
23111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23112 (eval $ac_compile) 2>conftest.er1
23114 grep -v '^ *+' conftest.er1
>conftest.err
23116 cat conftest.err
>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } &&
23119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23121 (eval $ac_try) 2>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); }; } &&
23125 { ac_try
='test -s conftest.$ac_objext'
23126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127 (eval $ac_try) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; }; then
23131 echo "$as_me:$LINENO: result: yes" >&5
23132 echo "${ECHO_T}yes" >&6
23133 cat >>confdefs.h
<<\_ACEOF
23134 #define HAVE_HASH_MAP 1
23137 cat >>confdefs.h
<<\_ACEOF
23138 #define HAVE_STD_HASH_MAP 1
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.
$ac_ext >&5
23145 echo "$as_me:$LINENO: result: no" >&5
23146 echo "${ECHO_T}no" >&6
23148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23154 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23155 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23156 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23157 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23161 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23163 # Is the header compilable?
23164 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23165 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23166 cat >conftest.
$ac_ext <<_ACEOF
23169 cat confdefs.h
>>conftest.
$ac_ext
23170 cat >>conftest.
$ac_ext <<_ACEOF
23171 /* end confdefs.h. */
23172 $ac_includes_default
23173 #include <ext/hash_map>
23175 rm -f conftest.
$ac_objext
23176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23177 (eval $ac_compile) 2>conftest.er1
23179 grep -v '^ *+' conftest.er1
>conftest.err
23181 cat conftest.err
>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } &&
23184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; } &&
23190 { ac_try
='test -s conftest.$ac_objext'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; }; then
23196 ac_header_compiler
=yes
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.
$ac_ext >&5
23201 ac_header_compiler
=no
23203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23205 echo "${ECHO_T}$ac_header_compiler" >&6
23207 # Is the header present?
23208 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23209 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23210 cat >conftest.
$ac_ext <<_ACEOF
23213 cat confdefs.h
>>conftest.
$ac_ext
23214 cat >>conftest.
$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216 #include <ext/hash_map>
23218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23221 grep -v '^ *+' conftest.er1
>conftest.err
23223 cat conftest.err
>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } >/dev
/null
; then
23226 if test -s conftest.err
; then
23227 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23228 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23235 if test -z "$ac_cpp_err"; then
23236 ac_header_preproc
=yes
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.
$ac_ext >&5
23241 ac_header_preproc
=no
23243 rm -f conftest.err conftest.
$ac_ext
23244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23245 echo "${ECHO_T}$ac_header_preproc" >&6
23247 # So? What about this header?
23248 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23250 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23251 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23252 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23253 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23254 ac_header_preproc
=yes
23257 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23258 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23259 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23260 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23261 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23262 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23263 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23264 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23265 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23266 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23267 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23268 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23271 ## ----------------------------------------- ##
23272 ## Report this to wx-dev@lists.wxwidgets.org ##
23273 ## ----------------------------------------- ##
23276 sed "s/^/$as_me: WARNING: /" >&2
23279 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23280 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23281 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 ac_cv_header_ext_hash_map
=$ac_header_preproc
23286 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23287 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23290 if test $ac_cv_header_ext_hash_map = yes; then
23291 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23292 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23293 cat >conftest.
$ac_ext <<_ACEOF
23296 cat confdefs.h
>>conftest.
$ac_ext
23297 cat >>conftest.
$ac_ext <<_ACEOF
23298 /* end confdefs.h. */
23299 #include <ext/hash_map>
23300 #include <ext/hash_set>
23304 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23305 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23310 rm -f conftest.
$ac_objext
23311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23312 (eval $ac_compile) 2>conftest.er1
23314 grep -v '^ *+' conftest.er1
>conftest.err
23316 cat conftest.err
>&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } &&
23319 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23321 (eval $ac_try) 2>&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); }; } &&
23325 { ac_try
='test -s conftest.$ac_objext'
23326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23327 (eval $ac_try) 2>&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); }; }; then
23331 echo "$as_me:$LINENO: result: yes" >&5
23332 echo "${ECHO_T}yes" >&6
23333 cat >>confdefs.h
<<\_ACEOF
23334 #define HAVE_EXT_HASH_MAP 1
23337 cat >>confdefs.h
<<\_ACEOF
23338 #define HAVE_GNU_CXX_HASH_MAP 1
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.
$ac_ext >&5
23345 echo "$as_me:$LINENO: result: no" >&5
23346 echo "${ECHO_T}no" >&6
23348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23355 ac_cpp
='$CPP $CPPFLAGS'
23356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23364 /usr/local/include \
23366 /usr/Motif-2.1/include \
23367 /usr/Motif-1.2/include \
23368 /usr/include/Motif1.2 \
23371 /usr/openwin/include \
23375 /usr/X11R6/include \
23376 /usr/X11R6.4/include \
23377 /usr/X11R5/include \
23378 /usr/X11R4/include \
23380 /usr/include/X11R6 \
23381 /usr/include/X11R5 \
23382 /usr/include/X11R4 \
23384 /usr/local/X11R6/include \
23385 /usr/local/X11R5/include \
23386 /usr/local/X11R4/include \
23388 /usr/local/include/X11R6 \
23389 /usr/local/include/X11R5 \
23390 /usr/local/include/X11R4 \
23394 /usr/local/X11/include \
23395 /usr/local/include/X11 \
23397 /usr/XFree86/include/X11 \
23400 /usr/openwin/share/include"
23402 echo "$as_me:$LINENO: checking for libraries directory" >&5
23403 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23407 if test "${wx_cv_std_libpath+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23411 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23412 for e
in a so sl dylib dll.a
; do
23414 if test -f $libc; then
23417 cat >conftest.
$ac_ext <<_ACEOF
23418 int main() { return 0; }
23420 rm -f conftest.
$ac_objext conftest
$ac_exeext
23421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23422 (eval $ac_link) 2>conftest.er1
23424 grep -v '^ *+' conftest.er1
>conftest.err
23426 cat conftest.err
>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } &&
23429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431 (eval $ac_try) 2>&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); }; } &&
23435 { ac_try
='test -s conftest$ac_exeext'
23436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437 (eval $ac_try) 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.
$ac_ext >&5
23447 rm -f conftest.err conftest.
$ac_objext \
23448 conftest
$ac_exeext conftest.
$ac_ext
23450 if test "x$wx_cv_std_libpath" != "x"; then
23456 if test "x$wx_cv_std_libpath" = "x"; then
23457 wx_cv_std_libpath
="lib"
23466 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23467 wx_cv_std_libpath
="lib/64"
23469 wx_cv_std_libpath
="lib"
23474 if test "$ac_cv_sizeof_void_p" = 8 -a \
23475 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23476 wx_cv_std_libpath
="lib64"
23478 wx_cv_std_libpath
="lib"
23483 wx_cv_std_libpath
="lib";
23487 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23488 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23490 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23492 if test "$build" != "$host" -a "$GCC" = yes; then
23493 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23494 cross_root
=`dirname $cross_root`
23495 cross_root
=`dirname $cross_root`
23497 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23498 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23499 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23501 if test -z "$PKG_CONFIG_PATH"; then
23502 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23503 export PKG_CONFIG_PATH
23506 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23509 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23511 if test -f "$ac_dir/X11/Intrinsic.h"; then
23512 ac_find_includes
=$ac_dir
23517 x_includes
=$ac_find_includes
23519 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23522 for ac_dir
in $SEARCH_LIB;
23524 for ac_extension
in a so sl dylib dll.a
; do
23525 if test -f "$ac_dir/libXt.$ac_extension"; then
23526 ac_find_libraries
=$ac_dir
23532 x_libraries
=$ac_find_libraries
23538 cat >confcache
<<\_ACEOF
23539 # This file is a shell script that caches the results of configure
23540 # tests run on this system so they can be shared between configure
23541 # scripts and configure runs, see configure's option --config-cache.
23542 # It is not useful on other systems. If it contains results you don't
23543 # want to keep, you may remove or edit it.
23545 # config.status only pays attention to the cache file if you give it
23546 # the --recheck option to rerun configure.
23548 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23549 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23550 # following values.
23554 # The following way of writing the cache mishandles newlines in values,
23555 # but we know of no workaround that is simple, portable, and efficient.
23556 # So, don't put newlines in cache variables' values.
23557 # Ultrix sh set writes to stderr and can't be redirected directly,
23558 # and sets the high bit in the cache file unless we assign to the vars.
23561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23563 # `set' does not quote correctly, so add quotes (double-quote
23564 # substitution turns \\\\ into \\, and sed turns \\ into \).
23567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23570 # `set' quotes correctly as required by POSIX, so do not add quotes.
23572 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23579 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23581 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23583 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23584 if test -w $cache_file; then
23585 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23586 cat confcache
>$cache_file
23588 echo "not updating unwritable cache $cache_file"
23593 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23594 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23595 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23596 if test "${wx_cv_lib_glibc21+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 cat >conftest.
$ac_ext <<_ACEOF
23603 cat confdefs.h
>>conftest.
$ac_ext
23604 cat >>conftest.
$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23606 #include <features.h>
23611 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23619 rm -f conftest.
$ac_objext
23620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23621 (eval $ac_compile) 2>conftest.er1
23623 grep -v '^ *+' conftest.er1
>conftest.err
23625 cat conftest.err
>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } &&
23628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630 (eval $ac_try) 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; } &&
23634 { ac_try
='test -s conftest.$ac_objext'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23641 wx_cv_lib_glibc21
=yes
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.
$ac_ext >&5
23648 wx_cv_lib_glibc21
=no
23652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23655 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23656 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23657 if test "$wx_cv_lib_glibc21" = "yes"; then
23658 cat >>confdefs.h
<<\_ACEOF
23659 #define wxHAVE_GLIBC2 1
23665 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23666 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23667 cat >>confdefs.h
<<\_ACEOF
23668 #define _GNU_SOURCE 1
23676 if test "$wxUSE_REGEX" != "no"; then
23677 cat >>confdefs.h
<<\_ACEOF
23678 #define wxUSE_REGEX 1
23682 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23683 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23684 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23685 wxUSE_REGEX
=builtin
23688 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23689 if test "${ac_cv_header_regex_h+set}" = set; then
23690 echo "$as_me:$LINENO: checking for regex.h" >&5
23691 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23692 if test "${ac_cv_header_regex_h+set}" = set; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23696 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23698 # Is the header compilable?
23699 echo "$as_me:$LINENO: checking regex.h usability" >&5
23700 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23701 cat >conftest.
$ac_ext <<_ACEOF
23704 cat confdefs.h
>>conftest.
$ac_ext
23705 cat >>conftest.
$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707 $ac_includes_default
23710 rm -f conftest.
$ac_objext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23712 (eval $ac_compile) 2>conftest.er1
23714 grep -v '^ *+' conftest.er1
>conftest.err
23716 cat conftest.err
>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } &&
23719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; } &&
23725 { ac_try
='test -s conftest.$ac_objext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 ac_header_compiler
=yes
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.
$ac_ext >&5
23736 ac_header_compiler
=no
23738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23740 echo "${ECHO_T}$ac_header_compiler" >&6
23742 # Is the header present?
23743 echo "$as_me:$LINENO: checking regex.h presence" >&5
23744 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23756 grep -v '^ *+' conftest.er1
>conftest.err
23758 cat conftest.err
>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } >/dev
/null
; then
23761 if test -s conftest.err
; then
23762 ac_cpp_err
=$ac_c_preproc_warn_flag
23763 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23770 if test -z "$ac_cpp_err"; then
23771 ac_header_preproc
=yes
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.
$ac_ext >&5
23776 ac_header_preproc
=no
23778 rm -f conftest.err conftest.
$ac_ext
23779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23780 echo "${ECHO_T}$ac_header_preproc" >&6
23782 # So? What about this header?
23783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23785 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23786 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23787 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23788 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23789 ac_header_preproc
=yes
23792 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23793 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23794 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23795 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23796 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23797 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23798 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23799 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23800 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23801 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23802 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23803 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23806 ## ----------------------------------------- ##
23807 ## Report this to wx-dev@lists.wxwidgets.org ##
23808 ## ----------------------------------------- ##
23811 sed "s/^/$as_me: WARNING: /" >&2
23814 echo "$as_me:$LINENO: checking for regex.h" >&5
23815 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23816 if test "${ac_cv_header_regex_h+set}" = set; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 ac_cv_header_regex_h
=$ac_header_preproc
23821 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23822 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23825 if test $ac_cv_header_regex_h = yes; then
23828 for ac_func
in regcomp re_search
23830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23831 echo "$as_me:$LINENO: checking for $ac_func" >&5
23832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23833 if eval "test \"\${$as_ac_var+set}\" = set"; then
23834 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 cat >conftest.
$ac_ext <<_ACEOF
23839 cat confdefs.h
>>conftest.
$ac_ext
23840 cat >>conftest.
$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23844 #define $ac_func innocuous_$ac_func
23846 /* System header to define __stub macros and hopefully few prototypes,
23847 which can conflict with char $ac_func (); below.
23848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23849 <limits.h> exists even on freestanding compilers. */
23852 # include <limits.h>
23854 # include <assert.h>
23859 /* Override any gcc2 internal prototype to avoid an error. */
23864 /* We use char because int might match the return type of a gcc2
23865 builtin and then its argument prototype would still apply. */
23867 /* The GNU C library defines this for functions which it implements
23868 to always fail with ENOSYS. Some functions are actually named
23869 something starting with __ and the normal name is an alias. */
23870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23873 char (*f) () = $ac_func;
23882 return f != $ac_func;
23887 rm -f conftest.
$ac_objext conftest
$ac_exeext
23888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23889 (eval $ac_link) 2>conftest.er1
23891 grep -v '^ *+' conftest.er1
>conftest.err
23893 cat conftest.err
>&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } &&
23896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898 (eval $ac_try) 2>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; } &&
23902 { ac_try
='test -s conftest$ac_exeext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23908 eval "$as_ac_var=yes"
23910 echo "$as_me: failed program was:" >&5
23911 sed 's/^/| /' conftest.
$ac_ext >&5
23913 eval "$as_ac_var=no"
23915 rm -f conftest.err conftest.
$ac_objext \
23916 conftest
$ac_exeext conftest.
$ac_ext
23918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23920 if test `eval echo '${'$as_ac_var'}'` = yes; then
23921 cat >>confdefs.h
<<_ACEOF
23922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23932 if test "x$ac_cv_func_regcomp" != "xyes"; then
23933 if test "$wxUSE_REGEX" = "sys" ; then
23934 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23935 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23936 { (exit 1); exit 1; }; }
23938 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23939 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23940 wxUSE_REGEX
=builtin
23944 cat >>confdefs.h
<<\_ACEOF
23945 #define WX_NO_REGEX_ADVANCED 1
23954 if test "$wxUSE_ZLIB" != "no" ; then
23955 cat >>confdefs.h
<<\_ACEOF
23956 #define wxUSE_ZLIB 1
23960 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23961 if test "$USE_DARWIN" = 1; then
23962 system_zlib_h_ok
="yes"
23964 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23965 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23966 if test "${ac_cv_header_zlib_h+set}" = set; then
23967 echo $ECHO_N "(cached) $ECHO_C" >&6
23969 if test "$cross_compiling" = yes; then
23970 unset ac_cv_header_zlib_h
23973 cat >conftest.
$ac_ext <<_ACEOF
23976 cat confdefs.h
>>conftest.
$ac_ext
23977 cat >>conftest.
$ac_ext <<_ACEOF
23978 /* end confdefs.h. */
23985 FILE *f=fopen("conftestval", "w");
23988 ZLIB_VERSION[0] == '1' &&
23989 (ZLIB_VERSION[2] > '1' ||
23990 (ZLIB_VERSION[2] == '1' &&
23991 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23996 rm -f conftest
$ac_exeext
23997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23998 (eval $ac_link) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 ac_cv_header_zlib_h
=`cat conftestval`
24009 echo "$as_me: program exited with status $ac_status" >&5
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.
$ac_ext >&5
24013 ( exit $ac_status )
24014 ac_cv_header_zlib_h
=no
24016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24020 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24021 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24022 if test "${ac_cv_header_zlib_h+set}" = set; then
24023 echo "$as_me:$LINENO: checking for zlib.h" >&5
24024 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24025 if test "${ac_cv_header_zlib_h+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24029 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24031 # Is the header compilable?
24032 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24033 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24034 cat >conftest.
$ac_ext <<_ACEOF
24037 cat confdefs.h
>>conftest.
$ac_ext
24038 cat >>conftest.
$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 $ac_includes_default
24043 rm -f conftest.
$ac_objext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24045 (eval $ac_compile) 2>conftest.er1
24047 grep -v '^ *+' conftest.er1
>conftest.err
24049 cat conftest.err
>&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); } &&
24052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24054 (eval $ac_try) 2>&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); }; } &&
24058 { ac_try
='test -s conftest.$ac_objext'
24059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24060 (eval $ac_try) 2>&5
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); }; }; then
24064 ac_header_compiler
=yes
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.
$ac_ext >&5
24069 ac_header_compiler
=no
24071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24073 echo "${ECHO_T}$ac_header_compiler" >&6
24075 # Is the header present?
24076 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24077 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24078 cat >conftest.
$ac_ext <<_ACEOF
24081 cat confdefs.h
>>conftest.
$ac_ext
24082 cat >>conftest.
$ac_ext <<_ACEOF
24083 /* end confdefs.h. */
24086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24087 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24089 grep -v '^ *+' conftest.er1
>conftest.err
24091 cat conftest.err
>&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } >/dev
/null
; then
24094 if test -s conftest.err
; then
24095 ac_cpp_err
=$ac_c_preproc_warn_flag
24096 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24103 if test -z "$ac_cpp_err"; then
24104 ac_header_preproc
=yes
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.
$ac_ext >&5
24109 ac_header_preproc
=no
24111 rm -f conftest.err conftest.
$ac_ext
24112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24113 echo "${ECHO_T}$ac_header_preproc" >&6
24115 # So? What about this header?
24116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24118 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24119 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24120 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24121 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24122 ac_header_preproc
=yes
24125 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24126 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24127 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24128 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24129 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24130 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24131 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24132 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24133 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24134 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24135 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24136 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24139 ## ----------------------------------------- ##
24140 ## Report this to wx-dev@lists.wxwidgets.org ##
24141 ## ----------------------------------------- ##
24144 sed "s/^/$as_me: WARNING: /" >&2
24147 echo "$as_me:$LINENO: checking for zlib.h" >&5
24148 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24149 if test "${ac_cv_header_zlib_h+set}" = set; then
24150 echo $ECHO_N "(cached) $ECHO_C" >&6
24152 ac_cv_header_zlib_h
=$ac_header_preproc
24154 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24155 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24161 system_zlib_h_ok
=$ac_cv_header_zlib_h
24164 if test "$system_zlib_h_ok" = "yes"; then
24165 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24166 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24167 if test "${ac_cv_lib_z_deflate+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 ac_check_lib_save_LIBS
=$LIBS
24172 cat >conftest.
$ac_ext <<_ACEOF
24175 cat confdefs.h
>>conftest.
$ac_ext
24176 cat >>conftest.
$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24179 /* Override any gcc2 internal prototype to avoid an error. */
24183 /* We use char because int might match the return type of a gcc2
24184 builtin and then its argument prototype would still apply. */
24194 rm -f conftest.
$ac_objext conftest
$ac_exeext
24195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24196 (eval $ac_link) 2>conftest.er1
24198 grep -v '^ *+' conftest.er1
>conftest.err
24200 cat conftest.err
>&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } &&
24203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; } &&
24209 { ac_try
='test -s conftest$ac_exeext'
24210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24211 (eval $ac_try) 2>&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); }; }; then
24215 ac_cv_lib_z_deflate
=yes
24217 echo "$as_me: failed program was:" >&5
24218 sed 's/^/| /' conftest.
$ac_ext >&5
24220 ac_cv_lib_z_deflate
=no
24222 rm -f conftest.err conftest.
$ac_objext \
24223 conftest
$ac_exeext conftest.
$ac_ext
24224 LIBS
=$ac_check_lib_save_LIBS
24226 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24227 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24228 if test $ac_cv_lib_z_deflate = yes; then
24234 if test "x$ZLIB_LINK" = "x" ; then
24235 if test "$wxUSE_ZLIB" = "sys" ; then
24236 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24237 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24238 { (exit 1); exit 1; }; }
24240 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24241 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24252 if test "$wxUSE_LIBPNG" != "no" ; then
24253 cat >>confdefs.h
<<\_ACEOF
24254 #define wxUSE_LIBPNG 1
24258 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24259 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24260 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24264 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24265 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24266 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24267 wxUSE_LIBPNG
=builtin
24270 if test "$wxUSE_MGL" != 1 ; then
24271 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24272 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24273 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24274 if test "${ac_cv_header_png_h+set}" = set; then
24275 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 if test "$cross_compiling" = yes; then
24278 unset ac_cv_header_png_h
24281 cat >conftest.
$ac_ext <<_ACEOF
24284 cat confdefs.h
>>conftest.
$ac_ext
24285 cat >>conftest.
$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24293 FILE *f=fopen("conftestval", "w");
24296 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24301 rm -f conftest
$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303 (eval $ac_link) 2>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 ac_cv_header_png_h
=`cat conftestval`
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.
$ac_ext >&5
24318 ( exit $ac_status )
24319 ac_cv_header_png_h
=no
24321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24326 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24327 if test "${ac_cv_header_png_h+set}" = set; then
24328 echo "$as_me:$LINENO: checking for png.h" >&5
24329 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24330 if test "${ac_cv_header_png_h+set}" = set; then
24331 echo $ECHO_N "(cached) $ECHO_C" >&6
24333 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24334 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24336 # Is the header compilable?
24337 echo "$as_me:$LINENO: checking png.h usability" >&5
24338 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24339 cat >conftest.
$ac_ext <<_ACEOF
24342 cat confdefs.h
>>conftest.
$ac_ext
24343 cat >>conftest.
$ac_ext <<_ACEOF
24344 /* end confdefs.h. */
24345 $ac_includes_default
24348 rm -f conftest.
$ac_objext
24349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24350 (eval $ac_compile) 2>conftest.er1
24352 grep -v '^ *+' conftest.er1
>conftest.err
24354 cat conftest.err
>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } &&
24357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24359 (eval $ac_try) 2>&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); }; } &&
24363 { ac_try
='test -s conftest.$ac_objext'
24364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24365 (eval $ac_try) 2>&5
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); }; }; then
24369 ac_header_compiler
=yes
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.
$ac_ext >&5
24374 ac_header_compiler
=no
24376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24378 echo "${ECHO_T}$ac_header_compiler" >&6
24380 # Is the header present?
24381 echo "$as_me:$LINENO: checking png.h presence" >&5
24382 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24383 cat >conftest.
$ac_ext <<_ACEOF
24386 cat confdefs.h
>>conftest.
$ac_ext
24387 cat >>conftest.
$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24394 grep -v '^ *+' conftest.er1
>conftest.err
24396 cat conftest.err
>&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } >/dev
/null
; then
24399 if test -s conftest.err
; then
24400 ac_cpp_err
=$ac_c_preproc_warn_flag
24401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24408 if test -z "$ac_cpp_err"; then
24409 ac_header_preproc
=yes
24411 echo "$as_me: failed program was:" >&5
24412 sed 's/^/| /' conftest.
$ac_ext >&5
24414 ac_header_preproc
=no
24416 rm -f conftest.err conftest.
$ac_ext
24417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24418 echo "${ECHO_T}$ac_header_preproc" >&6
24420 # So? What about this header?
24421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24423 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24424 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24425 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24426 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24427 ac_header_preproc
=yes
24430 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24431 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24432 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24433 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24434 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24435 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24436 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24437 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24438 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24439 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24440 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24441 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24444 ## ----------------------------------------- ##
24445 ## Report this to wx-dev@lists.wxwidgets.org ##
24446 ## ----------------------------------------- ##
24449 sed "s/^/$as_me: WARNING: /" >&2
24452 echo "$as_me:$LINENO: checking for png.h" >&5
24453 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24454 if test "${ac_cv_header_png_h+set}" = set; then
24455 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 ac_cv_header_png_h
=$ac_header_preproc
24459 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24460 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24466 if test "$ac_cv_header_png_h" = "yes"; then
24467 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24468 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24469 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24470 echo $ECHO_N "(cached) $ECHO_C" >&6
24472 ac_check_lib_save_LIBS
=$LIBS
24473 LIBS
="-lpng -lz -lm $LIBS"
24474 cat >conftest.
$ac_ext <<_ACEOF
24477 cat confdefs.h
>>conftest.
$ac_ext
24478 cat >>conftest.
$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24481 /* Override any gcc2 internal prototype to avoid an error. */
24485 /* We use char because int might match the return type of a gcc2
24486 builtin and then its argument prototype would still apply. */
24487 char png_check_sig ();
24496 rm -f conftest.
$ac_objext conftest
$ac_exeext
24497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24498 (eval $ac_link) 2>conftest.er1
24500 grep -v '^ *+' conftest.er1
>conftest.err
24502 cat conftest.err
>&5
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); } &&
24505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24507 (eval $ac_try) 2>&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); }; } &&
24511 { ac_try
='test -s conftest$ac_exeext'
24512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24513 (eval $ac_try) 2>&5
24515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24516 (exit $ac_status); }; }; then
24517 ac_cv_lib_png_png_check_sig
=yes
24519 echo "$as_me: failed program was:" >&5
24520 sed 's/^/| /' conftest.
$ac_ext >&5
24522 ac_cv_lib_png_png_check_sig
=no
24524 rm -f conftest.err conftest.
$ac_objext \
24525 conftest
$ac_exeext conftest.
$ac_ext
24526 LIBS
=$ac_check_lib_save_LIBS
24528 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24529 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24530 if test $ac_cv_lib_png_png_check_sig = yes; then
24531 PNG_LINK
=" -lpng -lz"
24536 if test "x$PNG_LINK" = "x" ; then
24537 if test "$wxUSE_LIBPNG" = "sys" ; then
24538 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24539 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24540 { (exit 1); exit 1; }; }
24542 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24543 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24544 wxUSE_LIBPNG
=builtin
24552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24557 if test "$wxUSE_LIBJPEG" != "no" ; then
24558 cat >>confdefs.h
<<\_ACEOF
24559 #define wxUSE_LIBJPEG 1
24563 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24564 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24565 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24569 if test "$wxUSE_MGL" != 1 ; then
24570 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24571 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24572 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24573 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24574 echo $ECHO_N "(cached) $ECHO_C" >&6
24576 cat >conftest.
$ac_ext <<_ACEOF
24579 cat confdefs.h
>>conftest.
$ac_ext
24580 cat >>conftest.
$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24583 #undef HAVE_STDLIB_H
24585 #include <jpeglib.h>
24596 rm -f conftest.
$ac_objext
24597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24598 (eval $ac_compile) 2>conftest.er1
24600 grep -v '^ *+' conftest.er1
>conftest.err
24602 cat conftest.err
>&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } &&
24605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24607 (eval $ac_try) 2>&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); }; } &&
24611 { ac_try
='test -s conftest.$ac_objext'
24612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613 (eval $ac_try) 2>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; }; then
24617 ac_cv_header_jpeglib_h
=yes
24619 echo "$as_me: failed program was:" >&5
24620 sed 's/^/| /' conftest.
$ac_ext >&5
24622 ac_cv_header_jpeglib_h
=no
24625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24629 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24630 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24632 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24633 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24634 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24635 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24636 echo $ECHO_N "(cached) $ECHO_C" >&6
24638 ac_check_lib_save_LIBS
=$LIBS
24639 LIBS
="-ljpeg $LIBS"
24640 cat >conftest.
$ac_ext <<_ACEOF
24643 cat confdefs.h
>>conftest.
$ac_ext
24644 cat >>conftest.
$ac_ext <<_ACEOF
24645 /* end confdefs.h. */
24647 /* Override any gcc2 internal prototype to avoid an error. */
24651 /* We use char because int might match the return type of a gcc2
24652 builtin and then its argument prototype would still apply. */
24653 char jpeg_read_header ();
24657 jpeg_read_header ();
24662 rm -f conftest.
$ac_objext conftest
$ac_exeext
24663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24664 (eval $ac_link) 2>conftest.er1
24666 grep -v '^ *+' conftest.er1
>conftest.err
24668 cat conftest.err
>&5
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); } &&
24671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24673 (eval $ac_try) 2>&5
24675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676 (exit $ac_status); }; } &&
24677 { ac_try
='test -s conftest$ac_exeext'
24678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24679 (eval $ac_try) 2>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); }; }; then
24683 ac_cv_lib_jpeg_jpeg_read_header
=yes
24685 echo "$as_me: failed program was:" >&5
24686 sed 's/^/| /' conftest.
$ac_ext >&5
24688 ac_cv_lib_jpeg_jpeg_read_header
=no
24690 rm -f conftest.err conftest.
$ac_objext \
24691 conftest
$ac_exeext conftest.
$ac_ext
24692 LIBS
=$ac_check_lib_save_LIBS
24694 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24695 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24696 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24697 JPEG_LINK
=" -ljpeg"
24702 if test "x$JPEG_LINK" = "x" ; then
24703 if test "$wxUSE_LIBJPEG" = "sys" ; then
24704 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24705 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24706 { (exit 1); exit 1; }; }
24708 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24709 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24710 wxUSE_LIBJPEG
=builtin
24721 TIFF_PREREQ_LINKS
=-lm
24722 if test "$wxUSE_LIBTIFF" != "no" ; then
24723 cat >>confdefs.h
<<\_ACEOF
24724 #define wxUSE_LIBTIFF 1
24728 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24729 if test "$wxUSE_LIBJPEG" = "sys"; then
24730 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24732 if test "$wxUSE_ZLIB" = "sys"; then
24733 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24735 if test "${ac_cv_header_tiffio_h+set}" = set; then
24736 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24737 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24738 if test "${ac_cv_header_tiffio_h+set}" = set; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24741 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24742 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24744 # Is the header compilable?
24745 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24746 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24747 cat >conftest.
$ac_ext <<_ACEOF
24750 cat confdefs.h
>>conftest.
$ac_ext
24751 cat >>conftest.
$ac_ext <<_ACEOF
24752 /* end confdefs.h. */
24753 $ac_includes_default
24754 #include <tiffio.h>
24756 rm -f conftest.
$ac_objext
24757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24758 (eval $ac_compile) 2>conftest.er1
24760 grep -v '^ *+' conftest.er1
>conftest.err
24762 cat conftest.err
>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); } &&
24765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; } &&
24771 { ac_try
='test -s conftest.$ac_objext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 ac_header_compiler
=yes
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.
$ac_ext >&5
24782 ac_header_compiler
=no
24784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24786 echo "${ECHO_T}$ac_header_compiler" >&6
24788 # Is the header present?
24789 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24790 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24791 cat >conftest.
$ac_ext <<_ACEOF
24794 cat confdefs.h
>>conftest.
$ac_ext
24795 cat >>conftest.
$ac_ext <<_ACEOF
24796 /* end confdefs.h. */
24797 #include <tiffio.h>
24799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24802 grep -v '^ *+' conftest.er1
>conftest.err
24804 cat conftest.err
>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } >/dev
/null
; then
24807 if test -s conftest.err
; then
24808 ac_cpp_err
=$ac_c_preproc_warn_flag
24809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24816 if test -z "$ac_cpp_err"; then
24817 ac_header_preproc
=yes
24819 echo "$as_me: failed program was:" >&5
24820 sed 's/^/| /' conftest.
$ac_ext >&5
24822 ac_header_preproc
=no
24824 rm -f conftest.err conftest.
$ac_ext
24825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24826 echo "${ECHO_T}$ac_header_preproc" >&6
24828 # So? What about this header?
24829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24831 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24832 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24833 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24834 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24835 ac_header_preproc
=yes
24838 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24839 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24840 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24841 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24842 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24843 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24844 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24845 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24846 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24847 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24848 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24849 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24852 ## ----------------------------------------- ##
24853 ## Report this to wx-dev@lists.wxwidgets.org ##
24854 ## ----------------------------------------- ##
24857 sed "s/^/$as_me: WARNING: /" >&2
24860 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24861 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24862 if test "${ac_cv_header_tiffio_h+set}" = set; then
24863 echo $ECHO_N "(cached) $ECHO_C" >&6
24865 ac_cv_header_tiffio_h
=$ac_header_preproc
24867 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24868 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24871 if test $ac_cv_header_tiffio_h = yes; then
24873 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24874 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24875 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24876 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 ac_check_lib_save_LIBS
=$LIBS
24879 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24880 cat >conftest.
$ac_ext <<_ACEOF
24883 cat confdefs.h
>>conftest.
$ac_ext
24884 cat >>conftest.
$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24887 /* Override any gcc2 internal prototype to avoid an error. */
24891 /* We use char because int might match the return type of a gcc2
24892 builtin and then its argument prototype would still apply. */
24902 rm -f conftest.
$ac_objext conftest
$ac_exeext
24903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24904 (eval $ac_link) 2>conftest.er1
24906 grep -v '^ *+' conftest.er1
>conftest.err
24908 cat conftest.err
>&5
24909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910 (exit $ac_status); } &&
24911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24913 (eval $ac_try) 2>&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); }; } &&
24917 { ac_try
='test -s conftest$ac_exeext'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; }; then
24923 ac_cv_lib_tiff_TIFFError
=yes
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.
$ac_ext >&5
24928 ac_cv_lib_tiff_TIFFError
=no
24930 rm -f conftest.err conftest.
$ac_objext \
24931 conftest
$ac_exeext conftest.
$ac_ext
24932 LIBS
=$ac_check_lib_save_LIBS
24934 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24935 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24936 if test $ac_cv_lib_tiff_TIFFError = yes; then
24937 TIFF_LINK
=" -ltiff"
24946 if test "x$TIFF_LINK" = "x" ; then
24947 if test "$wxUSE_LIBTIFF" = "sys" ; then
24948 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24949 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24950 { (exit 1); exit 1; }; }
24952 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24953 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24954 wxUSE_LIBTIFF
=builtin
24963 if test "$wxUSE_WCHAR_T" != "yes"; then
24964 if test "$wxUSE_EXPAT" != "no"; then
24965 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24966 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24969 if test "$wxUSE_XML" != "no"; then
24970 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24971 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24976 if test "$wxUSE_EXPAT" != "no"; then
24978 cat >>confdefs.h
<<\_ACEOF
24979 #define wxUSE_EXPAT 1
24982 cat >>confdefs.h
<<\_ACEOF
24983 #define wxUSE_XML 1
24987 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24988 if test "${ac_cv_header_expat_h+set}" = set; then
24989 echo "$as_me:$LINENO: checking for expat.h" >&5
24990 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24991 if test "${ac_cv_header_expat_h+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24995 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24997 # Is the header compilable?
24998 echo "$as_me:$LINENO: checking expat.h usability" >&5
24999 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25000 cat >conftest.
$ac_ext <<_ACEOF
25003 cat confdefs.h
>>conftest.
$ac_ext
25004 cat >>conftest.
$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25006 $ac_includes_default
25009 rm -f conftest.
$ac_objext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25011 (eval $ac_compile) 2>conftest.er1
25013 grep -v '^ *+' conftest.er1
>conftest.err
25015 cat conftest.err
>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; } &&
25024 { ac_try
='test -s conftest.$ac_objext'
25025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25026 (eval $ac_try) 2>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); }; }; then
25030 ac_header_compiler
=yes
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.
$ac_ext >&5
25035 ac_header_compiler
=no
25037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25039 echo "${ECHO_T}$ac_header_compiler" >&6
25041 # Is the header present?
25042 echo "$as_me:$LINENO: checking expat.h presence" >&5
25043 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25044 cat >conftest.
$ac_ext <<_ACEOF
25047 cat confdefs.h
>>conftest.
$ac_ext
25048 cat >>conftest.
$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25055 grep -v '^ *+' conftest.er1
>conftest.err
25057 cat conftest.err
>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } >/dev
/null
; then
25060 if test -s conftest.err
; then
25061 ac_cpp_err
=$ac_c_preproc_warn_flag
25062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25069 if test -z "$ac_cpp_err"; then
25070 ac_header_preproc
=yes
25072 echo "$as_me: failed program was:" >&5
25073 sed 's/^/| /' conftest.
$ac_ext >&5
25075 ac_header_preproc
=no
25077 rm -f conftest.err conftest.
$ac_ext
25078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25079 echo "${ECHO_T}$ac_header_preproc" >&6
25081 # So? What about this header?
25082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25084 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25085 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25086 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25087 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25088 ac_header_preproc
=yes
25091 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25092 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25093 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25094 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25095 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25096 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25097 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25098 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25099 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25100 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25101 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25102 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25105 ## ----------------------------------------- ##
25106 ## Report this to wx-dev@lists.wxwidgets.org ##
25107 ## ----------------------------------------- ##
25110 sed "s/^/$as_me: WARNING: /" >&2
25113 echo "$as_me:$LINENO: checking for expat.h" >&5
25114 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25115 if test "${ac_cv_header_expat_h+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25118 ac_cv_header_expat_h
=$ac_header_preproc
25120 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25121 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25124 if test $ac_cv_header_expat_h = yes; then
25129 if test "x$found_expat_h" = "x1"; then
25130 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25131 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25132 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 ac_cpp
='$CXXCPP $CPPFLAGS'
25140 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25144 cat >conftest.
$ac_ext <<_ACEOF
25147 cat confdefs.h
>>conftest.
$ac_ext
25148 cat >>conftest.
$ac_ext <<_ACEOF
25149 /* end confdefs.h. */
25159 rm -f conftest.
$ac_objext
25160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25161 (eval $ac_compile) 2>conftest.er1
25163 grep -v '^ *+' conftest.er1
>conftest.err
25165 cat conftest.err
>&5
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); } &&
25168 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; } &&
25174 { ac_try
='test -s conftest.$ac_objext'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; }; then
25180 wx_cv_expat_is_not_broken
=yes
25182 echo "$as_me: failed program was:" >&5
25183 sed 's/^/| /' conftest.
$ac_ext >&5
25185 wx_cv_expat_is_not_broken
=no
25188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25190 ac_cpp
='$CPP $CPPFLAGS'
25191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25198 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25199 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25200 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25201 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25202 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25203 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25204 echo $ECHO_N "(cached) $ECHO_C" >&6
25206 ac_check_lib_save_LIBS
=$LIBS
25207 LIBS
="-lexpat $LIBS"
25208 cat >conftest.
$ac_ext <<_ACEOF
25211 cat confdefs.h
>>conftest.
$ac_ext
25212 cat >>conftest.
$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25215 /* Override any gcc2 internal prototype to avoid an error. */
25219 /* We use char because int might match the return type of a gcc2
25220 builtin and then its argument prototype would still apply. */
25221 char XML_ParserCreate ();
25225 XML_ParserCreate ();
25230 rm -f conftest.
$ac_objext conftest
$ac_exeext
25231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25232 (eval $ac_link) 2>conftest.er1
25234 grep -v '^ *+' conftest.er1
>conftest.err
25236 cat conftest.err
>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); } &&
25239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25241 (eval $ac_try) 2>&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); }; } &&
25245 { ac_try
='test -s conftest$ac_exeext'
25246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25247 (eval $ac_try) 2>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); }; }; then
25251 ac_cv_lib_expat_XML_ParserCreate
=yes
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.
$ac_ext >&5
25256 ac_cv_lib_expat_XML_ParserCreate
=no
25258 rm -f conftest.err conftest.
$ac_objext \
25259 conftest
$ac_exeext conftest.
$ac_ext
25260 LIBS
=$ac_check_lib_save_LIBS
25262 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25263 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25264 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25265 EXPAT_LINK
=" -lexpat"
25270 if test "x$EXPAT_LINK" = "x" ; then
25271 if test "$wxUSE_EXPAT" = "sys" ; then
25272 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25273 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25274 { (exit 1); exit 1; }; }
25276 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25277 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25278 wxUSE_EXPAT
=builtin
25284 if test "$wxUSE_EXPAT" = "builtin" ; then
25287 subdirs
="$subdirs src/expat"
25294 if test "$wxUSE_LIBMSPACK" != "no"; then
25295 if test "${ac_cv_header_mspack_h+set}" = set; then
25296 echo "$as_me:$LINENO: checking for mspack.h" >&5
25297 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25298 if test "${ac_cv_header_mspack_h+set}" = set; then
25299 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25302 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25304 # Is the header compilable?
25305 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25306 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25307 cat >conftest.
$ac_ext <<_ACEOF
25310 cat confdefs.h
>>conftest.
$ac_ext
25311 cat >>conftest.
$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25313 $ac_includes_default
25314 #include <mspack.h>
25316 rm -f conftest.
$ac_objext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25318 (eval $ac_compile) 2>conftest.er1
25320 grep -v '^ *+' conftest.er1
>conftest.err
25322 cat conftest.err
>&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); } &&
25325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; } &&
25331 { ac_try
='test -s conftest.$ac_objext'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; }; then
25337 ac_header_compiler
=yes
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.
$ac_ext >&5
25342 ac_header_compiler
=no
25344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25346 echo "${ECHO_T}$ac_header_compiler" >&6
25348 # Is the header present?
25349 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25350 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25351 cat >conftest.
$ac_ext <<_ACEOF
25354 cat confdefs.h
>>conftest.
$ac_ext
25355 cat >>conftest.
$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <mspack.h>
25359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25362 grep -v '^ *+' conftest.er1
>conftest.err
25364 cat conftest.err
>&5
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); } >/dev
/null
; then
25367 if test -s conftest.err
; then
25368 ac_cpp_err
=$ac_c_preproc_warn_flag
25369 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25376 if test -z "$ac_cpp_err"; then
25377 ac_header_preproc
=yes
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.
$ac_ext >&5
25382 ac_header_preproc
=no
25384 rm -f conftest.err conftest.
$ac_ext
25385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25386 echo "${ECHO_T}$ac_header_preproc" >&6
25388 # So? What about this header?
25389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25391 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25392 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25393 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25394 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25395 ac_header_preproc
=yes
25398 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25399 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25400 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25401 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25402 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25403 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25404 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25405 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25406 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25407 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25408 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25409 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25412 ## ----------------------------------------- ##
25413 ## Report this to wx-dev@lists.wxwidgets.org ##
25414 ## ----------------------------------------- ##
25417 sed "s/^/$as_me: WARNING: /" >&2
25420 echo "$as_me:$LINENO: checking for mspack.h" >&5
25421 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25422 if test "${ac_cv_header_mspack_h+set}" = set; then
25423 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 ac_cv_header_mspack_h
=$ac_header_preproc
25427 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25428 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25431 if test $ac_cv_header_mspack_h = yes; then
25436 if test "x$found_mspack_h" = "x1"; then
25437 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25438 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25439 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 ac_check_lib_save_LIBS
=$LIBS
25443 LIBS
="-lmspack $LIBS"
25444 cat >conftest.
$ac_ext <<_ACEOF
25447 cat confdefs.h
>>conftest.
$ac_ext
25448 cat >>conftest.
$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25451 /* Override any gcc2 internal prototype to avoid an error. */
25455 /* We use char because int might match the return type of a gcc2
25456 builtin and then its argument prototype would still apply. */
25457 char mspack_create_chm_decompressor ();
25461 mspack_create_chm_decompressor ();
25466 rm -f conftest.
$ac_objext conftest
$ac_exeext
25467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25468 (eval $ac_link) 2>conftest.er1
25470 grep -v '^ *+' conftest.er1
>conftest.err
25472 cat conftest.err
>&5
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); } &&
25475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; } &&
25481 { ac_try
='test -s conftest$ac_exeext'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; }; then
25487 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25489 echo "$as_me: failed program was:" >&5
25490 sed 's/^/| /' conftest.
$ac_ext >&5
25492 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25494 rm -f conftest.err conftest.
$ac_objext \
25495 conftest
$ac_exeext conftest.
$ac_ext
25496 LIBS
=$ac_check_lib_save_LIBS
25498 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25499 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25500 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25501 MSPACK_LINK
=" -lmspack"
25505 if test "x$MSPACK_LINK" = "x" ; then
25510 if test "$wxUSE_LIBMSPACK" != "no"; then
25511 cat >>confdefs.h
<<\_ACEOF
25512 #define wxUSE_LIBMSPACK 1
25526 if test "$USE_WIN32" = 1 ; then
25528 for ac_header
in w32api.h
25530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25532 echo "$as_me:$LINENO: checking for $ac_header" >&5
25533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25535 echo $ECHO_N "(cached) $ECHO_C" >&6
25537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25540 # Is the header compilable?
25541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25543 cat >conftest.
$ac_ext <<_ACEOF
25546 cat confdefs.h
>>conftest.
$ac_ext
25547 cat >>conftest.
$ac_ext <<_ACEOF
25548 /* end confdefs.h. */
25549 $ac_includes_default
25550 #include <$ac_header>
25552 rm -f conftest.
$ac_objext
25553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25554 (eval $ac_compile) 2>conftest.er1
25556 grep -v '^ *+' conftest.er1
>conftest.err
25558 cat conftest.err
>&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } &&
25561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; } &&
25567 { ac_try
='test -s conftest.$ac_objext'
25568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569 (eval $ac_try) 2>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); }; }; then
25573 ac_header_compiler
=yes
25575 echo "$as_me: failed program was:" >&5
25576 sed 's/^/| /' conftest.
$ac_ext >&5
25578 ac_header_compiler
=no
25580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25582 echo "${ECHO_T}$ac_header_compiler" >&6
25584 # Is the header present?
25585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25587 cat >conftest.
$ac_ext <<_ACEOF
25590 cat confdefs.h
>>conftest.
$ac_ext
25591 cat >>conftest.
$ac_ext <<_ACEOF
25592 /* end confdefs.h. */
25593 #include <$ac_header>
25595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25596 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25598 grep -v '^ *+' conftest.er1
>conftest.err
25600 cat conftest.err
>&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); } >/dev
/null
; then
25603 if test -s conftest.err
; then
25604 ac_cpp_err
=$ac_c_preproc_warn_flag
25605 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25612 if test -z "$ac_cpp_err"; then
25613 ac_header_preproc
=yes
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.
$ac_ext >&5
25618 ac_header_preproc
=no
25620 rm -f conftest.err conftest.
$ac_ext
25621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25622 echo "${ECHO_T}$ac_header_preproc" >&6
25624 # So? What about this header?
25625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25631 ac_header_preproc
=yes
25634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25648 ## ----------------------------------------- ##
25649 ## Report this to wx-dev@lists.wxwidgets.org ##
25650 ## ----------------------------------------- ##
25653 sed "s/^/$as_me: WARNING: /" >&2
25656 echo "$as_me:$LINENO: checking for $ac_header" >&5
25657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 eval "$as_ac_Header=\$ac_header_preproc"
25663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25668 cat >>confdefs.h
<<_ACEOF
25669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25676 if test "${ac_cv_header_windows_h+set}" = set; then
25677 echo "$as_me:$LINENO: checking for windows.h" >&5
25678 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25679 if test "${ac_cv_header_windows_h+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25683 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25685 # Is the header compilable?
25686 echo "$as_me:$LINENO: checking windows.h usability" >&5
25687 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25688 cat >conftest.
$ac_ext <<_ACEOF
25691 cat confdefs.h
>>conftest.
$ac_ext
25692 cat >>conftest.
$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 $ac_includes_default
25695 #include <windows.h>
25697 rm -f conftest.
$ac_objext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>conftest.er1
25701 grep -v '^ *+' conftest.er1
>conftest.err
25703 cat conftest.err
>&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; } &&
25712 { ac_try
='test -s conftest.$ac_objext'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; }; then
25718 ac_header_compiler
=yes
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.
$ac_ext >&5
25723 ac_header_compiler
=no
25725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25727 echo "${ECHO_T}$ac_header_compiler" >&6
25729 # Is the header present?
25730 echo "$as_me:$LINENO: checking windows.h presence" >&5
25731 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25732 cat >conftest.
$ac_ext <<_ACEOF
25735 cat confdefs.h
>>conftest.
$ac_ext
25736 cat >>conftest.
$ac_ext <<_ACEOF
25737 /* end confdefs.h. */
25738 #include <windows.h>
25740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25743 grep -v '^ *+' conftest.er1
>conftest.err
25745 cat conftest.err
>&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); } >/dev
/null
; then
25748 if test -s conftest.err
; then
25749 ac_cpp_err
=$ac_c_preproc_warn_flag
25750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25757 if test -z "$ac_cpp_err"; then
25758 ac_header_preproc
=yes
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.
$ac_ext >&5
25763 ac_header_preproc
=no
25765 rm -f conftest.err conftest.
$ac_ext
25766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25767 echo "${ECHO_T}$ac_header_preproc" >&6
25769 # So? What about this header?
25770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25772 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25773 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25774 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25775 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25776 ac_header_preproc
=yes
25779 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25780 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25781 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25782 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25783 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25784 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25785 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25786 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25787 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25788 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25789 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25790 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25793 ## ----------------------------------------- ##
25794 ## Report this to wx-dev@lists.wxwidgets.org ##
25795 ## ----------------------------------------- ##
25798 sed "s/^/$as_me: WARNING: /" >&2
25801 echo "$as_me:$LINENO: checking for windows.h" >&5
25802 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25803 if test "${ac_cv_header_windows_h+set}" = set; then
25804 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 ac_cv_header_windows_h
=$ac_header_preproc
25808 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25809 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25812 if test $ac_cv_header_windows_h = yes; then
25816 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25817 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25818 { (exit 1); exit 1; }; }
25824 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25826 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25827 LIBS
="$LIBS -loleacc"
25832 LIBS
="$LIBS -lkernel32 -luser32"
25835 if test "$wxUSE_ODBC" = "sys" ; then
25838 if test "$wxUSE_ODBC" = "yes" ; then
25839 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25840 cat >>confdefs.h
<<\_ACEOF
25841 #define wxUSE_ODBC 1
25846 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25847 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25849 WXCONFIG_RESFLAGS
="--include-dir \$includedir --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25851 WIN32INSTALL
=win32install
25854 if test "$wxUSE_GUI" = "yes"; then
25864 if test "$wxUSE_COCOA" = 1 ; then
25865 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25866 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25867 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25868 wxUSE_PRINTING_ARCHITECTURE
=no
25870 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25871 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25872 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25873 wxUSE_DRAG_AND_DROP
=no
25875 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25876 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25877 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25882 if test "$wxUSE_MSW" = 1 ; then
25888 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25892 if test "$wxUSE_GTK" = 1; then
25893 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25894 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25896 gtk_version_cached
=1
25897 if test "${wx_cv_lib_gtk+set}" = set; then
25898 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 gtk_version_cached
=0
25902 echo "$as_me:$LINENO: result: " >&5
25903 echo "${ECHO_T}" >&6
25906 if test "$wxUSE_THREADS" = "yes"; then
25907 GTK_MODULES
=gthread
25911 if test "x$wxGTK_VERSION" != "x1"
25915 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25920 # Check whether --enable-gtktest or --disable-gtktest was given.
25921 if test "${enable_gtktest+set}" = set; then
25922 enableval
="$enable_gtktest"
25928 pkg_config_args
=gtk
+-2.0
25929 for module
in .
$GTK_MODULES
25933 pkg_config_args
="$pkg_config_args gthread-2.0"
25940 # Extract the first word of "pkg-config", so it can be a program name with args.
25941 set dummy pkg
-config; ac_word
=$2
25942 echo "$as_me:$LINENO: checking for $ac_word" >&5
25943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25944 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25945 echo $ECHO_N "(cached) $ECHO_C" >&6
25947 case $PKG_CONFIG in
25949 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25953 for as_dir
in $PATH
25956 test -z "$as_dir" && as_dir
=.
25957 for ac_exec_ext
in '' $ac_executable_extensions; do
25958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25959 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25966 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25970 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25972 if test -n "$PKG_CONFIG"; then
25973 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25974 echo "${ECHO_T}$PKG_CONFIG" >&6
25976 echo "$as_me:$LINENO: result: no" >&5
25977 echo "${ECHO_T}no" >&6
25981 if test x
$PKG_CONFIG != xno
; then
25982 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25985 echo "*** pkg-config too old; version 0.7 or better required."
25993 min_gtk_version
=2.0.0
25994 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25995 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25997 if test x
$PKG_CONFIG != xno
; then
25998 ## don't try to run the test against uninstalled libtool libs
25999 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26000 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26004 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26011 if test x
"$no_gtk" = x
; then
26012 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26013 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26014 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26016 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26018 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26020 if test "x$enable_gtktest" = "xyes" ; then
26021 ac_save_CFLAGS
="$CFLAGS"
26022 ac_save_LIBS
="$LIBS"
26023 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26024 LIBS
="$GTK_LIBS $LIBS"
26026 if test "$cross_compiling" = yes; then
26027 echo $ac_n "cross compiling; assumed OK... $ac_c"
26029 cat >conftest.
$ac_ext <<_ACEOF
26032 cat confdefs.h
>>conftest.
$ac_ext
26033 cat >>conftest.
$ac_ext <<_ACEOF
26034 /* end confdefs.h. */
26036 #include <gtk/gtk.h>
26038 #include <stdlib.h>
26043 int major, minor, micro;
26046 system ("touch conf.gtktest");
26048 /* HP/UX 9 (%@#!) writes to sscanf strings */
26049 tmp_version = g_strdup("$min_gtk_version");
26050 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26051 printf("%s, bad version string\n", "$min_gtk_version");
26055 if ((gtk_major_version != $gtk_config_major_version) ||
26056 (gtk_minor_version != $gtk_config_minor_version) ||
26057 (gtk_micro_version != $gtk_config_micro_version))
26059 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26060 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26061 gtk_major_version, gtk_minor_version, gtk_micro_version);
26062 printf ("*** was found! If pkg-config was correct, then it is best\n");
26063 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26064 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26065 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26066 printf("*** required on your system.\n");
26067 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26068 printf("*** to point to the correct configuration files\n");
26070 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26071 (gtk_minor_version != GTK_MINOR_VERSION) ||
26072 (gtk_micro_version != GTK_MICRO_VERSION))
26074 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26075 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26076 printf("*** library (version %d.%d.%d)\n",
26077 gtk_major_version, gtk_minor_version, gtk_micro_version);
26081 if ((gtk_major_version > major) ||
26082 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26083 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26089 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26090 gtk_major_version, gtk_minor_version, gtk_micro_version);
26091 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26092 major, minor, micro);
26093 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26095 printf("*** If you have already installed a sufficiently new version, this error\n");
26096 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26097 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26098 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26099 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26100 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26101 printf("*** so that the correct libraries are found at run-time))\n");
26108 rm -f conftest
$ac_exeext
26109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26110 (eval $ac_link) 2>&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; }; then
26121 echo "$as_me: program exited with status $ac_status" >&5
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.
$ac_ext >&5
26125 ( exit $ac_status )
26128 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26130 CFLAGS
="$ac_save_CFLAGS"
26131 LIBS
="$ac_save_LIBS"
26134 if test "x$no_gtk" = x
; then
26135 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26136 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26139 echo "$as_me:$LINENO: result: no" >&5
26140 echo "${ECHO_T}no" >&6
26141 if test "$PKG_CONFIG" = "no" ; then
26142 echo "*** A new enough version of pkg-config was not found."
26143 echo "*** See http://pkgconfig.sourceforge.net"
26145 if test -f conf.gtktest
; then
26148 echo "*** Could not run GTK+ test program, checking why..."
26149 ac_save_CFLAGS
="$CFLAGS"
26150 ac_save_LIBS
="$LIBS"
26151 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26152 LIBS
="$LIBS $GTK_LIBS"
26153 cat >conftest.
$ac_ext <<_ACEOF
26156 cat confdefs.h
>>conftest.
$ac_ext
26157 cat >>conftest.
$ac_ext <<_ACEOF
26158 /* end confdefs.h. */
26160 #include <gtk/gtk.h>
26166 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26171 rm -f conftest.
$ac_objext conftest
$ac_exeext
26172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26173 (eval $ac_link) 2>conftest.er1
26175 grep -v '^ *+' conftest.er1
>conftest.err
26177 cat conftest.err
>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; } &&
26186 { ac_try
='test -s conftest$ac_exeext'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 echo "*** The test program compiled, but did not run. This usually means"
26193 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26194 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26195 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26196 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26197 echo "*** is required on your system"
26199 echo "*** If you have an old version installed, it is best to remove it, although"
26200 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.
$ac_ext >&5
26205 echo "*** The test program failed to compile or link. See the file config.log for the"
26206 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26208 rm -f conftest.err conftest.
$ac_objext \
26209 conftest
$ac_exeext conftest.
$ac_ext
26210 CFLAGS
="$ac_save_CFLAGS"
26211 LIBS
="$ac_save_LIBS"
26225 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26226 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26227 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26229 if test "$wxUSE_SHARED" != "yes"; then
26230 GTK_LIBS
="$GTK_LIBS -lX11"
26235 if test -z "$wx_cv_lib_gtk"; then
26236 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26238 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26239 if test "${with_gtk_prefix+set}" = set; then
26240 withval
="$with_gtk_prefix"
26241 gtk_config_prefix
="$withval"
26243 gtk_config_prefix
=""
26246 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26247 if test "${with_gtk_exec_prefix+set}" = set; then
26248 withval
="$with_gtk_exec_prefix"
26249 gtk_config_exec_prefix
="$withval"
26251 gtk_config_exec_prefix
=""
26253 # Check whether --enable-gtktest or --disable-gtktest was given.
26254 if test "${enable_gtktest+set}" = set; then
26255 enableval
="$enable_gtktest"
26261 for module
in .
$GTK_MODULES
26265 gtk_config_args
="$gtk_config_args gthread"
26270 if test x
$gtk_config_exec_prefix != x
; then
26271 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26272 if test x
${GTK_CONFIG+set} != xset
; then
26273 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26276 if test x
$gtk_config_prefix != x
; then
26277 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26278 if test x
${GTK_CONFIG+set} != xset
; then
26279 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26283 # Extract the first word of "gtk-config", so it can be a program name with args.
26284 set dummy gtk
-config; ac_word
=$2
26285 echo "$as_me:$LINENO: checking for $ac_word" >&5
26286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26287 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26288 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 case $GTK_CONFIG in
26292 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26296 for as_dir
in $PATH
26299 test -z "$as_dir" && as_dir
=.
26300 for ac_exec_ext
in '' $ac_executable_extensions; do
26301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26302 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26309 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26313 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26315 if test -n "$GTK_CONFIG"; then
26316 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26317 echo "${ECHO_T}$GTK_CONFIG" >&6
26319 echo "$as_me:$LINENO: result: no" >&5
26320 echo "${ECHO_T}no" >&6
26323 min_gtk_version
=1.2.7
26324 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26325 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26327 if test "$GTK_CONFIG" = "no" ; then
26330 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26331 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26332 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26334 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26335 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26336 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26337 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26338 if test "x$enable_gtktest" = "xyes" ; then
26339 ac_save_CFLAGS
="$CFLAGS"
26340 ac_save_LIBS
="$LIBS"
26341 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26342 LIBS
="$GTK_LIBS $LIBS"
26344 if test "$cross_compiling" = yes; then
26345 echo $ac_n "cross compiling; assumed OK... $ac_c"
26347 cat >conftest.
$ac_ext <<_ACEOF
26350 cat confdefs.h
>>conftest.
$ac_ext
26351 cat >>conftest.
$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26354 #include <gtk/gtk.h>
26356 #include <stdlib.h>
26361 int major, minor, micro;
26364 system ("touch conf.gtktest");
26366 /* HP/UX 9 (%@#!) writes to sscanf strings */
26367 tmp_version = g_strdup("$min_gtk_version");
26368 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26369 printf("%s, bad version string\n", "$min_gtk_version");
26373 if ((gtk_major_version != $gtk_config_major_version) ||
26374 (gtk_minor_version != $gtk_config_minor_version) ||
26375 (gtk_micro_version != $gtk_config_micro_version))
26377 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26378 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26379 gtk_major_version, gtk_minor_version, gtk_micro_version);
26380 printf ("*** was found! If gtk-config was correct, then it is best\n");
26381 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26382 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26383 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26384 printf("*** required on your system.\n");
26385 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26386 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26387 printf("*** before re-running configure\n");
26389 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26390 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26391 (gtk_minor_version != GTK_MINOR_VERSION) ||
26392 (gtk_micro_version != GTK_MICRO_VERSION))
26394 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26395 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26396 printf("*** library (version %d.%d.%d)\n",
26397 gtk_major_version, gtk_minor_version, gtk_micro_version);
26399 #endif /* defined (GTK_MAJOR_VERSION) ... */
26402 if ((gtk_major_version > major) ||
26403 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26404 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26410 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26411 gtk_major_version, gtk_minor_version, gtk_micro_version);
26412 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26413 major, minor, micro);
26414 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26416 printf("*** If you have already installed a sufficiently new version, this error\n");
26417 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26418 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26419 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26420 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26421 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26422 printf("*** so that the correct libraries are found at run-time))\n");
26429 rm -f conftest
$ac_exeext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26442 echo "$as_me: program exited with status $ac_status" >&5
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.
$ac_ext >&5
26446 ( exit $ac_status )
26449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26451 CFLAGS
="$ac_save_CFLAGS"
26452 LIBS
="$ac_save_LIBS"
26455 if test "x$no_gtk" = x
; then
26456 echo "$as_me:$LINENO: result: yes" >&5
26457 echo "${ECHO_T}yes" >&6
26458 wx_cv_lib_gtk
=1.2.7
26460 echo "$as_me:$LINENO: result: no" >&5
26461 echo "${ECHO_T}no" >&6
26462 if test "$GTK_CONFIG" = "no" ; then
26463 echo "*** The gtk-config script installed by GTK could not be found"
26464 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26465 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26466 echo "*** full path to gtk-config."
26468 if test -f conf.gtktest
; then
26471 echo "*** Could not run GTK test program, checking why..."
26472 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26473 LIBS
="$LIBS $GTK_LIBS"
26474 cat >conftest.
$ac_ext <<_ACEOF
26477 cat confdefs.h
>>conftest.
$ac_ext
26478 cat >>conftest.
$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26481 #include <gtk/gtk.h>
26487 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26492 rm -f conftest.
$ac_objext conftest
$ac_exeext
26493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26494 (eval $ac_link) 2>conftest.er1
26496 grep -v '^ *+' conftest.er1
>conftest.err
26498 cat conftest.err
>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; } &&
26507 { ac_try
='test -s conftest$ac_exeext'
26508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26509 (eval $ac_try) 2>&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); }; }; then
26513 echo "*** The test program compiled, but did not run. This usually means"
26514 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26515 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26516 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26517 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26518 echo "*** is required on your system"
26520 echo "*** If you have an old version installed, it is best to remove it, although"
26521 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26523 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26524 echo "*** came with the system with the command"
26526 echo "*** rpm --erase --nodeps gtk gtk-devel"
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.
$ac_ext >&5
26531 echo "*** The test program failed to compile or link. See the file config.log for the"
26532 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26533 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26534 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26536 rm -f conftest.err conftest.
$ac_objext \
26537 conftest
$ac_exeext conftest.
$ac_ext
26538 CFLAGS
="$ac_save_CFLAGS"
26539 LIBS
="$ac_save_LIBS"
26551 if test -z "$wx_cv_lib_gtk"; then
26553 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26554 if test "${with_gtk_prefix+set}" = set; then
26555 withval
="$with_gtk_prefix"
26556 gtk_config_prefix
="$withval"
26558 gtk_config_prefix
=""
26561 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26562 if test "${with_gtk_exec_prefix+set}" = set; then
26563 withval
="$with_gtk_exec_prefix"
26564 gtk_config_exec_prefix
="$withval"
26566 gtk_config_exec_prefix
=""
26568 # Check whether --enable-gtktest or --disable-gtktest was given.
26569 if test "${enable_gtktest+set}" = set; then
26570 enableval
="$enable_gtktest"
26576 for module
in .
$GTK_MODULES
26580 gtk_config_args
="$gtk_config_args gthread"
26585 if test x
$gtk_config_exec_prefix != x
; then
26586 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26587 if test x
${GTK_CONFIG+set} != xset
; then
26588 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26591 if test x
$gtk_config_prefix != x
; then
26592 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26593 if test x
${GTK_CONFIG+set} != xset
; then
26594 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26598 # Extract the first word of "gtk-config", so it can be a program name with args.
26599 set dummy gtk
-config; ac_word
=$2
26600 echo "$as_me:$LINENO: checking for $ac_word" >&5
26601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26602 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26603 echo $ECHO_N "(cached) $ECHO_C" >&6
26605 case $GTK_CONFIG in
26607 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26611 for as_dir
in $PATH
26614 test -z "$as_dir" && as_dir
=.
26615 for ac_exec_ext
in '' $ac_executable_extensions; do
26616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26617 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26624 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26628 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26630 if test -n "$GTK_CONFIG"; then
26631 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26632 echo "${ECHO_T}$GTK_CONFIG" >&6
26634 echo "$as_me:$LINENO: result: no" >&5
26635 echo "${ECHO_T}no" >&6
26638 min_gtk_version
=1.2.3
26639 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26640 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26642 if test "$GTK_CONFIG" = "no" ; then
26645 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26646 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26647 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26649 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26651 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26652 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26653 if test "x$enable_gtktest" = "xyes" ; then
26654 ac_save_CFLAGS
="$CFLAGS"
26655 ac_save_LIBS
="$LIBS"
26656 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26657 LIBS
="$GTK_LIBS $LIBS"
26659 if test "$cross_compiling" = yes; then
26660 echo $ac_n "cross compiling; assumed OK... $ac_c"
26662 cat >conftest.
$ac_ext <<_ACEOF
26665 cat confdefs.h
>>conftest.
$ac_ext
26666 cat >>conftest.
$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26669 #include <gtk/gtk.h>
26671 #include <stdlib.h>
26676 int major, minor, micro;
26679 system ("touch conf.gtktest");
26681 /* HP/UX 9 (%@#!) writes to sscanf strings */
26682 tmp_version = g_strdup("$min_gtk_version");
26683 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26684 printf("%s, bad version string\n", "$min_gtk_version");
26688 if ((gtk_major_version != $gtk_config_major_version) ||
26689 (gtk_minor_version != $gtk_config_minor_version) ||
26690 (gtk_micro_version != $gtk_config_micro_version))
26692 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26693 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26694 gtk_major_version, gtk_minor_version, gtk_micro_version);
26695 printf ("*** was found! If gtk-config was correct, then it is best\n");
26696 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26697 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26698 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26699 printf("*** required on your system.\n");
26700 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26701 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26702 printf("*** before re-running configure\n");
26704 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26705 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26706 (gtk_minor_version != GTK_MINOR_VERSION) ||
26707 (gtk_micro_version != GTK_MICRO_VERSION))
26709 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26710 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26711 printf("*** library (version %d.%d.%d)\n",
26712 gtk_major_version, gtk_minor_version, gtk_micro_version);
26714 #endif /* defined (GTK_MAJOR_VERSION) ... */
26717 if ((gtk_major_version > major) ||
26718 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26719 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26725 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26726 gtk_major_version, gtk_minor_version, gtk_micro_version);
26727 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26728 major, minor, micro);
26729 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26731 printf("*** If you have already installed a sufficiently new version, this error\n");
26732 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26733 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26734 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26735 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26736 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26737 printf("*** so that the correct libraries are found at run-time))\n");
26744 rm -f conftest
$ac_exeext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; }; then
26757 echo "$as_me: program exited with status $ac_status" >&5
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.
$ac_ext >&5
26761 ( exit $ac_status )
26764 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26766 CFLAGS
="$ac_save_CFLAGS"
26767 LIBS
="$ac_save_LIBS"
26770 if test "x$no_gtk" = x
; then
26771 echo "$as_me:$LINENO: result: yes" >&5
26772 echo "${ECHO_T}yes" >&6
26773 wx_cv_lib_gtk
=1.2.3
26775 echo "$as_me:$LINENO: result: no" >&5
26776 echo "${ECHO_T}no" >&6
26777 if test "$GTK_CONFIG" = "no" ; then
26778 echo "*** The gtk-config script installed by GTK could not be found"
26779 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26780 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26781 echo "*** full path to gtk-config."
26783 if test -f conf.gtktest
; then
26786 echo "*** Could not run GTK test program, checking why..."
26787 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26788 LIBS
="$LIBS $GTK_LIBS"
26789 cat >conftest.
$ac_ext <<_ACEOF
26792 cat confdefs.h
>>conftest.
$ac_ext
26793 cat >>conftest.
$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26796 #include <gtk/gtk.h>
26802 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26807 rm -f conftest.
$ac_objext conftest
$ac_exeext
26808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26809 (eval $ac_link) 2>conftest.er1
26811 grep -v '^ *+' conftest.er1
>conftest.err
26813 cat conftest.err
>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; } &&
26822 { ac_try
='test -s conftest$ac_exeext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26828 echo "*** The test program compiled, but did not run. This usually means"
26829 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26830 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26831 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26832 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26833 echo "*** is required on your system"
26835 echo "*** If you have an old version installed, it is best to remove it, although"
26836 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26838 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26839 echo "*** came with the system with the command"
26841 echo "*** rpm --erase --nodeps gtk gtk-devel"
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.
$ac_ext >&5
26846 echo "*** The test program failed to compile or link. See the file config.log for the"
26847 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26848 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26849 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26851 rm -f conftest.err conftest.
$ac_objext \
26852 conftest
$ac_exeext conftest.
$ac_ext
26853 CFLAGS
="$ac_save_CFLAGS"
26854 LIBS
="$ac_save_LIBS"
26869 if test -z "$wx_cv_lib_gtk"; then
26872 wx_cv_cflags_gtk
=$GTK_CFLAGS
26873 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26880 if test "$gtk_version_cached" = 1; then
26881 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26882 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26885 case "$wx_cv_lib_gtk" in
26894 *) { { echo "$as_me:$LINENO: error:
26895 The development files for GTK+ were not found. For GTK+ 2, please
26896 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26897 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26898 and that the version is 1.2.3 or above. Also check that the
26899 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26900 --libs' are in the LD_LIBRARY_PATH or equivalent.
26902 echo "$as_me: error:
26903 The development files for GTK+ were not found. For GTK+ 2, please
26904 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26905 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26906 and that the version is 1.2.3 or above. Also check that the
26907 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26908 --libs' are in the LD_LIBRARY_PATH or equivalent.
26910 { (exit 1); exit 1; }; }
26914 if test "$WXGTK20" = 1; then
26915 save_CFLAGS
="$CFLAGS"
26917 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26918 LIBS
="$LIBS $wx_cv_libs_gtk"
26920 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26921 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26922 cat >conftest.
$ac_ext <<_ACEOF
26925 cat confdefs.h
>>conftest.
$ac_ext
26926 cat >>conftest.
$ac_ext <<_ACEOF
26927 /* end confdefs.h. */
26929 #include <gtk/gtk.h>
26935 void *f = gtk_icon_size_lookup;
26941 rm -f conftest.
$ac_objext
26942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26943 (eval $ac_compile) 2>conftest.er1
26945 grep -v '^ *+' conftest.er1
>conftest.err
26947 cat conftest.err
>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); } &&
26950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26952 (eval $ac_try) 2>&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); }; } &&
26956 { ac_try
='test -s conftest.$ac_objext'
26957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26958 (eval $ac_try) 2>&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); }; }; then
26963 echo "$as_me:$LINENO: result: no" >&5
26964 echo "${ECHO_T}no" >&6
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.
$ac_ext >&5
26971 cat >>confdefs.h
<<\_ACEOF
26972 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26975 echo "$as_me:$LINENO: result: yes" >&5
26976 echo "${ECHO_T}yes" >&6
26979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26981 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26982 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26983 cat >conftest.
$ac_ext <<_ACEOF
26986 cat confdefs.h
>>conftest.
$ac_ext
26987 cat >>conftest.
$ac_ext <<_ACEOF
26988 /* end confdefs.h. */
26990 #include <gtk/gtk.h>
26996 #if !GTK_CHECK_VERSION(2,4,0)
27004 rm -f conftest.
$ac_objext
27005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27006 (eval $ac_compile) 2>conftest.er1
27008 grep -v '^ *+' conftest.er1
>conftest.err
27010 cat conftest.err
>&5
27011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27012 (exit $ac_status); } &&
27013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; } &&
27019 { ac_try
='test -s conftest.$ac_objext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27026 cat >>confdefs.h
<<\_ACEOF
27027 #define __WXGTK24__ 1
27030 echo "$as_me:$LINENO: result: yes" >&5
27031 echo "${ECHO_T}yes" >&6
27034 echo "$as_me: failed program was:" >&5
27035 sed 's/^/| /' conftest.
$ac_ext >&5
27038 echo "$as_me:$LINENO: result: no" >&5
27039 echo "${ECHO_T}no" >&6
27042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27044 CFLAGS
="$save_CFLAGS"
27047 if test "$wxUSE_UNICODE" = "yes"; then
27048 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27049 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27054 if test "$USE_DARWIN" != 1; then
27056 for ac_func
in poll
27058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27059 echo "$as_me:$LINENO: checking for $ac_func" >&5
27060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27061 if eval "test \"\${$as_ac_var+set}\" = set"; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 cat >conftest.
$ac_ext <<_ACEOF
27067 cat confdefs.h
>>conftest.
$ac_ext
27068 cat >>conftest.
$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27072 #define $ac_func innocuous_$ac_func
27074 /* System header to define __stub macros and hopefully few prototypes,
27075 which can conflict with char $ac_func (); below.
27076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27077 <limits.h> exists even on freestanding compilers. */
27080 # include <limits.h>
27082 # include <assert.h>
27087 /* Override any gcc2 internal prototype to avoid an error. */
27092 /* We use char because int might match the return type of a gcc2
27093 builtin and then its argument prototype would still apply. */
27095 /* The GNU C library defines this for functions which it implements
27096 to always fail with ENOSYS. Some functions are actually named
27097 something starting with __ and the normal name is an alias. */
27098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27101 char (*f) () = $ac_func;
27110 return f != $ac_func;
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 eval "$as_ac_var=yes"
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.
$ac_ext >&5
27141 eval "$as_ac_var=no"
27143 rm -f conftest.err conftest.
$ac_objext \
27144 conftest
$ac_exeext conftest.
$ac_ext
27146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27148 if test `eval echo '${'$as_ac_var'}'` = yes; then
27149 cat >>confdefs.h
<<_ACEOF
27150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27158 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27159 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27161 AFMINSTALL
=afminstall
27165 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27166 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27167 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27168 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 ac_check_lib_save_LIBS
=$LIBS
27172 cat >conftest.
$ac_ext <<_ACEOF
27175 cat confdefs.h
>>conftest.
$ac_ext
27176 cat >>conftest.
$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27179 /* Override any gcc2 internal prototype to avoid an error. */
27183 /* We use char because int might match the return type of a gcc2
27184 builtin and then its argument prototype would still apply. */
27185 char gdk_im_open ();
27194 rm -f conftest.
$ac_objext conftest
$ac_exeext
27195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27196 (eval $ac_link) 2>conftest.er1
27198 grep -v '^ *+' conftest.er1
>conftest.err
27200 cat conftest.err
>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } &&
27203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; } &&
27209 { ac_try
='test -s conftest$ac_exeext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27215 ac_cv_lib_gdk_gdk_im_open
=yes
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.
$ac_ext >&5
27220 ac_cv_lib_gdk_gdk_im_open
=no
27222 rm -f conftest.err conftest.
$ac_objext \
27223 conftest
$ac_exeext conftest.
$ac_ext
27224 LIBS
=$ac_check_lib_save_LIBS
27226 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27227 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27228 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27229 cat >>confdefs.h
<<\_ACEOF
27237 if test "$wxUSE_GPE" = "yes"; then
27238 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27239 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27242 for ac_dir
in $SEARCH_LIB;
27244 for ac_extension
in a so sl dylib dll.a
; do
27245 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27246 ac_find_libraries
=$ac_dir
27252 if test "$ac_find_libraries" != "" ; then
27254 if test "$ac_find_libraries" = "default location"; then
27257 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27259 if test $result = 0; then
27262 ac_path_to_link
=" -L$ac_find_libraries"
27266 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27268 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27269 echo "${ECHO_T}found in $ac_find_libraries" >&6
27271 echo "$as_me:$LINENO: result: not found" >&5
27272 echo "${ECHO_T}not found" >&6
27278 if test "$wxUSE_MGL" = 1; then
27279 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27280 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27281 if test "x$MGL_ROOT" = x
; then
27282 echo "$as_me:$LINENO: result: not found" >&5
27283 echo "${ECHO_T}not found" >&6
27284 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27285 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27286 { (exit 1); exit 1; }; }
27288 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27289 echo "${ECHO_T}$MGL_ROOT" >&6
27292 echo "$as_me:$LINENO: checking for libmgl location" >&5
27293 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27296 if test "x$wxUSE_SHARED" = xyes
; then
27297 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27299 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27303 mgl_os_candidates
="dos32/dj2"
27306 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27307 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27308 { (exit 1); exit 1; }; }
27314 for mgl_os_i
in $mgl_os_candidates ; do
27315 if test "x$mgl_os" = x
; then
27316 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27317 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27318 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27323 if test "x$mgl_lib_type" = x
; then
27324 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27325 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27326 mgl_lib_type
=release
27333 if test "x$mgl_os" = x
; then
27334 echo "$as_me:$LINENO: result: not found" >&5
27335 echo "${ECHO_T}not found" >&6
27336 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27337 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27338 { (exit 1); exit 1; }; }
27340 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27341 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27343 wxUSE_UNIVERSAL
="yes"
27345 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27346 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27348 AFMINSTALL
=afminstall
27353 if test "$wxUSE_MICROWIN" = 1; then
27354 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27355 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27356 if test "x$MICROWINDOWS" = x
; then
27357 echo "$as_me:$LINENO: result: not found" >&5
27358 echo "${ECHO_T}not found" >&6
27359 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27360 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27361 { (exit 1); exit 1; }; }
27363 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27364 echo "${ECHO_T}$MICROWINDOWS" >&6
27367 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27368 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27369 echo "${ECHO_T}MicroWindows' libraries found." >&6
27371 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27372 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27373 { (exit 1); exit 1; }; }
27376 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27377 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27379 wxUSE_UNIVERSAL
="yes"
27381 AFMINSTALL
=afminstall
27383 GUIDIST
=MICROWIN_DIST
27385 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27388 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27390 if test "x$ac_path_x_has_been_run" != xyes
; then
27391 echo "$as_me:$LINENO: checking for X" >&5
27392 echo $ECHO_N "checking for X... $ECHO_C" >&6
27394 ac_path_x_has_been_run
=yes
27396 # Check whether --with-x or --without-x was given.
27397 if test "${with_x+set}" = set; then
27401 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27402 if test "x$with_x" = xno
; then
27403 # The user explicitly disabled X.
27406 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27407 # Both variables are already set.
27410 if test "${ac_cv_have_x+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 # One or both of the vars are not set, and there is no cached value.
27414 ac_x_includes
=no ac_x_libraries
=no
27415 rm -fr conftest.dir
27416 if mkdir conftest.dir
; then
27418 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27419 cat >Imakefile
<<'_ACEOF'
27421 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27423 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27425 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27426 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27427 for ac_extension
in a so sl
; do
27428 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27429 test -f $ac_im_libdir/libX11.
$ac_extension; then
27430 ac_im_usrlibdir
=$ac_im_libdir; break
27433 # Screen out bogus values from the imake configuration. They are
27434 # bogus both because they are the default anyway, and because
27435 # using them would break gcc on systems where it needs fixed includes.
27436 case $ac_im_incroot in
27438 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27440 case $ac_im_usrlibdir in
27441 /usr
/lib
| /lib
) ;;
27442 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27446 rm -fr conftest.dir
27449 # Standard set of common directories for X headers.
27450 # Check X11 before X11Rn because it is often a symlink to the current release.
27462 /usr/local/X11/include
27463 /usr/local/X11R6/include
27464 /usr/local/X11R5/include
27465 /usr/local/X11R4/include
27467 /usr/local/include/X11
27468 /usr/local/include/X11R6
27469 /usr/local/include/X11R5
27470 /usr/local/include/X11R4
27474 /usr/XFree86/include/X11
27478 /usr/unsupported/include
27479 /usr/athena/include
27480 /usr/local/x11r5/include
27481 /usr/lpp/Xamples/include
27483 /usr/openwin/include
27484 /usr/openwin/share/include'
27486 if test "$ac_x_includes" = no
; then
27487 # Guess where to find include files, by looking for a specified header file.
27488 # First, try using that file with no special directory specified.
27489 cat >conftest.
$ac_ext <<_ACEOF
27492 cat confdefs.h
>>conftest.
$ac_ext
27493 cat >>conftest.
$ac_ext <<_ACEOF
27494 /* end confdefs.h. */
27495 #include <X11/Xlib.h>
27497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27500 grep -v '^ *+' conftest.er1
>conftest.err
27502 cat conftest.err
>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } >/dev
/null
; then
27505 if test -s conftest.err
; then
27506 ac_cpp_err
=$ac_c_preproc_warn_flag
27507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27514 if test -z "$ac_cpp_err"; then
27515 # We can compile using X headers with no special include directory.
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.
$ac_ext >&5
27521 for ac_dir
in $ac_x_header_dirs; do
27522 if test -r "$ac_dir/X11/Xlib.h"; then
27523 ac_x_includes
=$ac_dir
27528 rm -f conftest.err conftest.
$ac_ext
27529 fi # $ac_x_includes = no
27531 if test "$ac_x_libraries" = no
; then
27532 # Check for the libraries.
27533 # See if we find them without any special options.
27534 # Don't add to $LIBS permanently.
27537 cat >conftest.
$ac_ext <<_ACEOF
27540 cat confdefs.h
>>conftest.
$ac_ext
27541 cat >>conftest.
$ac_ext <<_ACEOF
27542 /* end confdefs.h. */
27543 #include <X11/Xlib.h>
27552 rm -f conftest.
$ac_objext conftest
$ac_exeext
27553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27554 (eval $ac_link) 2>conftest.er1
27556 grep -v '^ *+' conftest.er1
>conftest.err
27558 cat conftest.err
>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); } &&
27561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563 (eval $ac_try) 2>&5
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); }; } &&
27567 { ac_try
='test -s conftest$ac_exeext'
27568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27569 (eval $ac_try) 2>&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); }; }; then
27574 # We can link X programs with no special library path.
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.
$ac_ext >&5
27581 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27583 # Don't even attempt the hair of trying to link an X program!
27584 for ac_extension
in a so sl
; do
27585 if test -r $ac_dir/libX11.
$ac_extension; then
27586 ac_x_libraries
=$ac_dir
27592 rm -f conftest.err conftest.
$ac_objext \
27593 conftest
$ac_exeext conftest.
$ac_ext
27594 fi # $ac_x_libraries = no
27596 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27597 # Didn't find X anywhere. Cache the known absence of X.
27598 ac_cv_have_x
="have_x=no"
27600 # Record where we found X for the cache.
27601 ac_cv_have_x
="have_x=yes \
27602 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27607 eval "$ac_cv_have_x"
27610 if test "$have_x" != yes; then
27611 echo "$as_me:$LINENO: result: $have_x" >&5
27612 echo "${ECHO_T}$have_x" >&6
27615 # If each of the values was on the command line, it overrides each guess.
27616 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27617 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27618 # Update the cache value to reflect the command line values.
27619 ac_cv_have_x
="have_x=yes \
27620 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27621 # It might be that x_includes is empty (headers are found in the
27622 # standard search path. Then output the corresponding message
27623 ac_out_x_includes
=$x_includes
27624 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
27625 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27626 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27630 if test "$no_x" = yes; then
27631 # Not all programs may use this symbol, but it does not hurt to define it.
27633 cat >>confdefs.h
<<\_ACEOF
27634 #define X_DISPLAY_MISSING 1
27637 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27639 if test -n "$x_includes"; then
27640 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27643 # It would also be nice to do this for all -L options, not just this one.
27644 if test -n "$x_libraries"; then
27645 X_LIBS
="$X_LIBS -L$x_libraries"
27646 # For Solaris; some versions of Sun CC require a space after -R and
27647 # others require no space. Words are not sufficient . . . .
27648 case `(uname -sr) 2>/dev/null` in
27650 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27651 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27652 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27653 cat >conftest.
$ac_ext <<_ACEOF
27656 cat confdefs.h
>>conftest.
$ac_ext
27657 cat >>conftest.
$ac_ext <<_ACEOF
27658 /* end confdefs.h. */
27668 rm -f conftest.
$ac_objext conftest
$ac_exeext
27669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27670 (eval $ac_link) 2>conftest.er1
27672 grep -v '^ *+' conftest.er1
>conftest.err
27674 cat conftest.err
>&5
27675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676 (exit $ac_status); } &&
27677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27679 (eval $ac_try) 2>&5
27681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27682 (exit $ac_status); }; } &&
27683 { ac_try
='test -s conftest$ac_exeext'
27684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27685 (eval $ac_try) 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; }; then
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.
$ac_ext >&5
27696 rm -f conftest.err conftest.
$ac_objext \
27697 conftest
$ac_exeext conftest.
$ac_ext
27698 if test $ac_R_nospace = yes; then
27699 echo "$as_me:$LINENO: result: no" >&5
27700 echo "${ECHO_T}no" >&6
27701 X_LIBS
="$X_LIBS -R$x_libraries"
27703 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27704 cat >conftest.
$ac_ext <<_ACEOF
27707 cat confdefs.h
>>conftest.
$ac_ext
27708 cat >>conftest.
$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27719 rm -f conftest.
$ac_objext conftest
$ac_exeext
27720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27721 (eval $ac_link) 2>conftest.er1
27723 grep -v '^ *+' conftest.er1
>conftest.err
27725 cat conftest.err
>&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); } &&
27728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27730 (eval $ac_try) 2>&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); }; } &&
27734 { ac_try
='test -s conftest$ac_exeext'
27735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27736 (eval $ac_try) 2>&5
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); }; }; then
27742 echo "$as_me: failed program was:" >&5
27743 sed 's/^/| /' conftest.
$ac_ext >&5
27747 rm -f conftest.err conftest.
$ac_objext \
27748 conftest
$ac_exeext conftest.
$ac_ext
27749 if test $ac_R_space = yes; then
27750 echo "$as_me:$LINENO: result: yes" >&5
27751 echo "${ECHO_T}yes" >&6
27752 X_LIBS
="$X_LIBS -R $x_libraries"
27754 echo "$as_me:$LINENO: result: neither works" >&5
27755 echo "${ECHO_T}neither works" >&6
27758 LIBS
=$ac_xsave_LIBS
27762 # Check for system-dependent libraries X programs must link with.
27763 # Do this before checking for the system-independent R6 libraries
27764 # (-lICE), since we may need -lsocket or whatever for X linking.
27766 if test "$ISC" = yes; then
27767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27769 # Martyn Johnson says this is needed for Ultrix, if the X
27770 # libraries were built with DECnet support. And Karl Berry says
27771 # the Alpha needs dnet_stub (dnet does not exist).
27772 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27773 cat >conftest.
$ac_ext <<_ACEOF
27776 cat confdefs.h
>>conftest.
$ac_ext
27777 cat >>conftest.
$ac_ext <<_ACEOF
27778 /* end confdefs.h. */
27780 /* Override any gcc2 internal prototype to avoid an error. */
27784 /* We use char because int might match the return type of a gcc2
27785 builtin and then its argument prototype would still apply. */
27786 char XOpenDisplay ();
27795 rm -f conftest.
$ac_objext conftest
$ac_exeext
27796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27797 (eval $ac_link) 2>conftest.er1
27799 grep -v '^ *+' conftest.er1
>conftest.err
27801 cat conftest.err
>&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } &&
27804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; } &&
27810 { ac_try
='test -s conftest$ac_exeext'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.
$ac_ext >&5
27821 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27822 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27823 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27824 echo $ECHO_N "(cached) $ECHO_C" >&6
27826 ac_check_lib_save_LIBS
=$LIBS
27827 LIBS
="-ldnet $LIBS"
27828 cat >conftest.
$ac_ext <<_ACEOF
27831 cat confdefs.h
>>conftest.
$ac_ext
27832 cat >>conftest.
$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27835 /* Override any gcc2 internal prototype to avoid an error. */
27839 /* We use char because int might match the return type of a gcc2
27840 builtin and then its argument prototype would still apply. */
27850 rm -f conftest.
$ac_objext conftest
$ac_exeext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27852 (eval $ac_link) 2>conftest.er1
27854 grep -v '^ *+' conftest.er1
>conftest.err
27856 cat conftest.err
>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; } &&
27865 { ac_try
='test -s conftest$ac_exeext'
27866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27867 (eval $ac_try) 2>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; }; then
27871 ac_cv_lib_dnet_dnet_ntoa
=yes
27873 echo "$as_me: failed program was:" >&5
27874 sed 's/^/| /' conftest.
$ac_ext >&5
27876 ac_cv_lib_dnet_dnet_ntoa
=no
27878 rm -f conftest.err conftest.
$ac_objext \
27879 conftest
$ac_exeext conftest.
$ac_ext
27880 LIBS
=$ac_check_lib_save_LIBS
27882 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27883 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27884 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27885 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27888 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27889 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27890 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27891 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27892 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 ac_check_lib_save_LIBS
=$LIBS
27895 LIBS
="-ldnet_stub $LIBS"
27896 cat >conftest.
$ac_ext <<_ACEOF
27899 cat confdefs.h
>>conftest.
$ac_ext
27900 cat >>conftest.
$ac_ext <<_ACEOF
27901 /* end confdefs.h. */
27903 /* Override any gcc2 internal prototype to avoid an error. */
27907 /* We use char because int might match the return type of a gcc2
27908 builtin and then its argument prototype would still apply. */
27918 rm -f conftest.
$ac_objext conftest
$ac_exeext
27919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27920 (eval $ac_link) 2>conftest.er1
27922 grep -v '^ *+' conftest.er1
>conftest.err
27924 cat conftest.err
>&5
27925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926 (exit $ac_status); } &&
27927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27929 (eval $ac_try) 2>&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); }; } &&
27933 { ac_try
='test -s conftest$ac_exeext'
27934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27935 (eval $ac_try) 2>&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; }; then
27939 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27941 echo "$as_me: failed program was:" >&5
27942 sed 's/^/| /' conftest.
$ac_ext >&5
27944 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27946 rm -f conftest.err conftest.
$ac_objext \
27947 conftest
$ac_exeext conftest.
$ac_ext
27948 LIBS
=$ac_check_lib_save_LIBS
27950 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27951 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27952 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27958 rm -f conftest.err conftest.
$ac_objext \
27959 conftest
$ac_exeext conftest.
$ac_ext
27960 LIBS
="$ac_xsave_LIBS"
27962 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27963 # to get the SysV transport functions.
27964 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27966 # The nsl library prevents programs from opening the X display
27967 # on Irix 5.2, according to T.E. Dickey.
27968 # The functions gethostbyname, getservbyname, and inet_addr are
27969 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27970 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27971 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27972 if test "${ac_cv_func_gethostbyname+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27975 cat >conftest.
$ac_ext <<_ACEOF
27978 cat confdefs.h
>>conftest.
$ac_ext
27979 cat >>conftest.
$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27981 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27983 #define gethostbyname innocuous_gethostbyname
27985 /* System header to define __stub macros and hopefully few prototypes,
27986 which can conflict with char gethostbyname (); below.
27987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27988 <limits.h> exists even on freestanding compilers. */
27991 # include <limits.h>
27993 # include <assert.h>
27996 #undef gethostbyname
27998 /* Override any gcc2 internal prototype to avoid an error. */
28003 /* We use char because int might match the return type of a gcc2
28004 builtin and then its argument prototype would still apply. */
28005 char gethostbyname ();
28006 /* The GNU C library defines this for functions which it implements
28007 to always fail with ENOSYS. Some functions are actually named
28008 something starting with __ and the normal name is an alias. */
28009 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28012 char (*f) () = gethostbyname;
28021 return f != gethostbyname;
28026 rm -f conftest.
$ac_objext conftest
$ac_exeext
28027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28028 (eval $ac_link) 2>conftest.er1
28030 grep -v '^ *+' conftest.er1
>conftest.err
28032 cat conftest.err
>&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); } &&
28035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28037 (eval $ac_try) 2>&5
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); }; } &&
28041 { ac_try
='test -s conftest$ac_exeext'
28042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28043 (eval $ac_try) 2>&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); }; }; then
28047 ac_cv_func_gethostbyname
=yes
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.
$ac_ext >&5
28052 ac_cv_func_gethostbyname
=no
28054 rm -f conftest.err conftest.
$ac_objext \
28055 conftest
$ac_exeext conftest.
$ac_ext
28057 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28058 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28060 if test $ac_cv_func_gethostbyname = no
; then
28061 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28062 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28063 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28064 echo $ECHO_N "(cached) $ECHO_C" >&6
28066 ac_check_lib_save_LIBS
=$LIBS
28068 cat >conftest.
$ac_ext <<_ACEOF
28071 cat confdefs.h
>>conftest.
$ac_ext
28072 cat >>conftest.
$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28075 /* Override any gcc2 internal prototype to avoid an error. */
28079 /* We use char because int might match the return type of a gcc2
28080 builtin and then its argument prototype would still apply. */
28081 char gethostbyname ();
28090 rm -f conftest.
$ac_objext conftest
$ac_exeext
28091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28092 (eval $ac_link) 2>conftest.er1
28094 grep -v '^ *+' conftest.er1
>conftest.err
28096 cat conftest.err
>&5
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; } &&
28105 { ac_try
='test -s conftest$ac_exeext'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; }; then
28111 ac_cv_lib_nsl_gethostbyname
=yes
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.
$ac_ext >&5
28116 ac_cv_lib_nsl_gethostbyname
=no
28118 rm -f conftest.err conftest.
$ac_objext \
28119 conftest
$ac_exeext conftest.
$ac_ext
28120 LIBS
=$ac_check_lib_save_LIBS
28122 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28123 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28124 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28125 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28128 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28129 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28130 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28131 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 ac_check_lib_save_LIBS
=$LIBS
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28143 /* Override any gcc2 internal prototype to avoid an error. */
28147 /* We use char because int might match the return type of a gcc2
28148 builtin and then its argument prototype would still apply. */
28149 char gethostbyname ();
28158 rm -f conftest.
$ac_objext conftest
$ac_exeext
28159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28160 (eval $ac_link) 2>conftest.er1
28162 grep -v '^ *+' conftest.er1
>conftest.err
28164 cat conftest.err
>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); } &&
28167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; } &&
28173 { ac_try
='test -s conftest$ac_exeext'
28174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28175 (eval $ac_try) 2>&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); }; }; then
28179 ac_cv_lib_bsd_gethostbyname
=yes
28181 echo "$as_me: failed program was:" >&5
28182 sed 's/^/| /' conftest.
$ac_ext >&5
28184 ac_cv_lib_bsd_gethostbyname
=no
28186 rm -f conftest.err conftest.
$ac_objext \
28187 conftest
$ac_exeext conftest.
$ac_ext
28188 LIBS
=$ac_check_lib_save_LIBS
28190 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28191 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28192 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28193 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28199 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28200 # socket/setsockopt and other routines are undefined under SCO ODT
28201 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28202 # on later versions), says Simon Leinen: it contains gethostby*
28203 # variants that don't use the name server (or something). -lsocket
28204 # must be given before -lnsl if both are needed. We assume that
28205 # if connect needs -lnsl, so does gethostbyname.
28206 echo "$as_me:$LINENO: checking for connect" >&5
28207 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28208 if test "${ac_cv_func_connect+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 cat >conftest.
$ac_ext <<_ACEOF
28214 cat confdefs.h
>>conftest.
$ac_ext
28215 cat >>conftest.
$ac_ext <<_ACEOF
28216 /* end confdefs.h. */
28217 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28219 #define connect innocuous_connect
28221 /* System header to define __stub macros and hopefully few prototypes,
28222 which can conflict with char connect (); below.
28223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28224 <limits.h> exists even on freestanding compilers. */
28227 # include <limits.h>
28229 # include <assert.h>
28234 /* Override any gcc2 internal prototype to avoid an error. */
28239 /* We use char because int might match the return type of a gcc2
28240 builtin and then its argument prototype would still apply. */
28242 /* The GNU C library defines this for functions which it implements
28243 to always fail with ENOSYS. Some functions are actually named
28244 something starting with __ and the normal name is an alias. */
28245 #if defined (__stub_connect) || defined (__stub___connect)
28248 char (*f) () = connect;
28257 return f != connect;
28262 rm -f conftest.
$ac_objext conftest
$ac_exeext
28263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28264 (eval $ac_link) 2>conftest.er1
28266 grep -v '^ *+' conftest.er1
>conftest.err
28268 cat conftest.err
>&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); } &&
28271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28273 (eval $ac_try) 2>&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); }; } &&
28277 { ac_try
='test -s conftest$ac_exeext'
28278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28279 (eval $ac_try) 2>&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); }; }; then
28283 ac_cv_func_connect
=yes
28285 echo "$as_me: failed program was:" >&5
28286 sed 's/^/| /' conftest.
$ac_ext >&5
28288 ac_cv_func_connect
=no
28290 rm -f conftest.err conftest.
$ac_objext \
28291 conftest
$ac_exeext conftest.
$ac_ext
28293 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28294 echo "${ECHO_T}$ac_cv_func_connect" >&6
28296 if test $ac_cv_func_connect = no
; then
28297 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28298 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28299 if test "${ac_cv_lib_socket_connect+set}" = set; then
28300 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 ac_check_lib_save_LIBS
=$LIBS
28303 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28304 cat >conftest.
$ac_ext <<_ACEOF
28307 cat confdefs.h
>>conftest.
$ac_ext
28308 cat >>conftest.
$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28311 /* Override any gcc2 internal prototype to avoid an error. */
28315 /* We use char because int might match the return type of a gcc2
28316 builtin and then its argument prototype would still apply. */
28326 rm -f conftest.
$ac_objext conftest
$ac_exeext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28328 (eval $ac_link) 2>conftest.er1
28330 grep -v '^ *+' conftest.er1
>conftest.err
28332 cat conftest.err
>&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); } &&
28335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28337 (eval $ac_try) 2>&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); }; } &&
28341 { ac_try
='test -s conftest$ac_exeext'
28342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28343 (eval $ac_try) 2>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); }; }; then
28347 ac_cv_lib_socket_connect
=yes
28349 echo "$as_me: failed program was:" >&5
28350 sed 's/^/| /' conftest.
$ac_ext >&5
28352 ac_cv_lib_socket_connect
=no
28354 rm -f conftest.err conftest.
$ac_objext \
28355 conftest
$ac_exeext conftest.
$ac_ext
28356 LIBS
=$ac_check_lib_save_LIBS
28358 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28359 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28360 if test $ac_cv_lib_socket_connect = yes; then
28361 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28366 # Guillermo Gomez says -lposix is necessary on A/UX.
28367 echo "$as_me:$LINENO: checking for remove" >&5
28368 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28369 if test "${ac_cv_func_remove+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28372 cat >conftest.
$ac_ext <<_ACEOF
28375 cat confdefs.h
>>conftest.
$ac_ext
28376 cat >>conftest.
$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28380 #define remove innocuous_remove
28382 /* System header to define __stub macros and hopefully few prototypes,
28383 which can conflict with char remove (); below.
28384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28385 <limits.h> exists even on freestanding compilers. */
28388 # include <limits.h>
28390 # include <assert.h>
28395 /* Override any gcc2 internal prototype to avoid an error. */
28400 /* We use char because int might match the return type of a gcc2
28401 builtin and then its argument prototype would still apply. */
28403 /* The GNU C library defines this for functions which it implements
28404 to always fail with ENOSYS. Some functions are actually named
28405 something starting with __ and the normal name is an alias. */
28406 #if defined (__stub_remove) || defined (__stub___remove)
28409 char (*f) () = remove;
28418 return f != remove;
28423 rm -f conftest.
$ac_objext conftest
$ac_exeext
28424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28425 (eval $ac_link) 2>conftest.er1
28427 grep -v '^ *+' conftest.er1
>conftest.err
28429 cat conftest.err
>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); } &&
28432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; } &&
28438 { ac_try
='test -s conftest$ac_exeext'
28439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28440 (eval $ac_try) 2>&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); }; }; then
28444 ac_cv_func_remove
=yes
28446 echo "$as_me: failed program was:" >&5
28447 sed 's/^/| /' conftest.
$ac_ext >&5
28449 ac_cv_func_remove
=no
28451 rm -f conftest.err conftest.
$ac_objext \
28452 conftest
$ac_exeext conftest.
$ac_ext
28454 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28455 echo "${ECHO_T}$ac_cv_func_remove" >&6
28457 if test $ac_cv_func_remove = no
; then
28458 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28459 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28460 if test "${ac_cv_lib_posix_remove+set}" = set; then
28461 echo $ECHO_N "(cached) $ECHO_C" >&6
28463 ac_check_lib_save_LIBS
=$LIBS
28464 LIBS
="-lposix $LIBS"
28465 cat >conftest.
$ac_ext <<_ACEOF
28468 cat confdefs.h
>>conftest.
$ac_ext
28469 cat >>conftest.
$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28472 /* Override any gcc2 internal prototype to avoid an error. */
28476 /* We use char because int might match the return type of a gcc2
28477 builtin and then its argument prototype would still apply. */
28487 rm -f conftest.
$ac_objext conftest
$ac_exeext
28488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28489 (eval $ac_link) 2>conftest.er1
28491 grep -v '^ *+' conftest.er1
>conftest.err
28493 cat conftest.err
>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } &&
28496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498 (eval $ac_try) 2>&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); }; } &&
28502 { ac_try
='test -s conftest$ac_exeext'
28503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28504 (eval $ac_try) 2>&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); }; }; then
28508 ac_cv_lib_posix_remove
=yes
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.
$ac_ext >&5
28513 ac_cv_lib_posix_remove
=no
28515 rm -f conftest.err conftest.
$ac_objext \
28516 conftest
$ac_exeext conftest.
$ac_ext
28517 LIBS
=$ac_check_lib_save_LIBS
28519 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28520 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28521 if test $ac_cv_lib_posix_remove = yes; then
28522 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28527 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28528 echo "$as_me:$LINENO: checking for shmat" >&5
28529 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28530 if test "${ac_cv_func_shmat+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 cat >conftest.
$ac_ext <<_ACEOF
28536 cat confdefs.h
>>conftest.
$ac_ext
28537 cat >>conftest.
$ac_ext <<_ACEOF
28538 /* end confdefs.h. */
28539 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28541 #define shmat innocuous_shmat
28543 /* System header to define __stub macros and hopefully few prototypes,
28544 which can conflict with char shmat (); below.
28545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28546 <limits.h> exists even on freestanding compilers. */
28549 # include <limits.h>
28551 # include <assert.h>
28556 /* Override any gcc2 internal prototype to avoid an error. */
28561 /* We use char because int might match the return type of a gcc2
28562 builtin and then its argument prototype would still apply. */
28564 /* The GNU C library defines this for functions which it implements
28565 to always fail with ENOSYS. Some functions are actually named
28566 something starting with __ and the normal name is an alias. */
28567 #if defined (__stub_shmat) || defined (__stub___shmat)
28570 char (*f) () = shmat;
28584 rm -f conftest.
$ac_objext conftest
$ac_exeext
28585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28586 (eval $ac_link) 2>conftest.er1
28588 grep -v '^ *+' conftest.er1
>conftest.err
28590 cat conftest.err
>&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); } &&
28593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28595 (eval $ac_try) 2>&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); }; } &&
28599 { ac_try
='test -s conftest$ac_exeext'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; }; then
28605 ac_cv_func_shmat
=yes
28607 echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.
$ac_ext >&5
28610 ac_cv_func_shmat
=no
28612 rm -f conftest.err conftest.
$ac_objext \
28613 conftest
$ac_exeext conftest.
$ac_ext
28615 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28616 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28618 if test $ac_cv_func_shmat = no
; then
28619 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28620 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28621 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28622 echo $ECHO_N "(cached) $ECHO_C" >&6
28624 ac_check_lib_save_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. */
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_ipc_shmat
=yes
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.
$ac_ext >&5
28674 ac_cv_lib_ipc_shmat
=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_ipc_shmat" >&5
28681 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28682 if test $ac_cv_lib_ipc_shmat = yes; then
28683 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28689 # Check for libraries that X11R6 Xt/Xaw programs need.
28690 ac_save_LDFLAGS
=$LDFLAGS
28691 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28692 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28693 # check for ICE first), but we must link in the order -lSM -lICE or
28694 # we get undefined symbols. So assume we have SM if we have ICE.
28695 # These have to be linked with before -lX11, unlike the other
28696 # libraries we check for below, so use a different variable.
28697 # John Interrante, Karl Berry
28698 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28699 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28700 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28701 echo $ECHO_N "(cached) $ECHO_C" >&6
28703 ac_check_lib_save_LIBS
=$LIBS
28704 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28705 cat >conftest.
$ac_ext <<_ACEOF
28708 cat confdefs.h
>>conftest.
$ac_ext
28709 cat >>conftest.
$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28712 /* Override any gcc2 internal prototype to avoid an error. */
28716 /* We use char because int might match the return type of a gcc2
28717 builtin and then its argument prototype would still apply. */
28718 char IceConnectionNumber ();
28722 IceConnectionNumber ();
28727 rm -f conftest.
$ac_objext conftest
$ac_exeext
28728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28729 (eval $ac_link) 2>conftest.er1
28731 grep -v '^ *+' conftest.er1
>conftest.err
28733 cat conftest.err
>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } &&
28736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; } &&
28742 { ac_try
='test -s conftest$ac_exeext'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; }; then
28748 ac_cv_lib_ICE_IceConnectionNumber
=yes
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.
$ac_ext >&5
28753 ac_cv_lib_ICE_IceConnectionNumber
=no
28755 rm -f conftest.err conftest.
$ac_objext \
28756 conftest
$ac_exeext conftest.
$ac_ext
28757 LIBS
=$ac_check_lib_save_LIBS
28759 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28760 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28761 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28762 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28765 LDFLAGS
=$ac_save_LDFLAGS
28770 if test "$no_x" = "yes"; then
28771 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28772 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28773 { (exit 1); exit 1; }; }
28776 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28777 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28778 AFMINSTALL
=afminstall
28779 COMPILED_X_PROGRAM
=0
28783 if test "$wxUSE_X11" = 1; then
28784 if test "$wxUSE_NANOX" = "yes"; then
28785 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28786 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28787 if test "x$MICROWIN" = x
; then
28788 echo "$as_me:$LINENO: result: not found" >&5
28789 echo "${ECHO_T}not found" >&6
28790 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28791 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28792 { (exit 1); exit 1; }; }
28794 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28795 echo "${ECHO_T}$MICROWIN" >&6
28796 cat >>confdefs.h
<<\_ACEOF
28797 #define wxUSE_NANOX 1
28803 if test "$wxUSE_UNICODE" = "yes"; then
28807 if test -z "$PKG_CONFIG"; then
28808 # Extract the first word of "pkg-config", so it can be a program name with args.
28809 set dummy pkg
-config; ac_word
=$2
28810 echo "$as_me:$LINENO: checking for $ac_word" >&5
28811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28812 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28815 case $PKG_CONFIG in
28817 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28821 for as_dir
in $PATH
28824 test -z "$as_dir" && as_dir
=.
28825 for ac_exec_ext
in '' $ac_executable_extensions; do
28826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28827 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28834 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28838 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28840 if test -n "$PKG_CONFIG"; then
28841 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28842 echo "${ECHO_T}$PKG_CONFIG" >&6
28844 echo "$as_me:$LINENO: result: no" >&5
28845 echo "${ECHO_T}no" >&6
28850 if test "$PKG_CONFIG" = "no" ; then
28851 echo "*** The pkg-config script could not be found. Make sure it is"
28852 echo "*** in your path, or set the PKG_CONFIG environment variable"
28853 echo "*** to the full path to pkg-config."
28854 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28856 PKG_CONFIG_MIN_VERSION
=0.9.0
28857 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28858 echo "$as_me:$LINENO: checking for pangox" >&5
28859 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28861 if $PKG_CONFIG --exists "pangox" ; then
28862 echo "$as_me:$LINENO: result: yes" >&5
28863 echo "${ECHO_T}yes" >&6
28866 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28867 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28868 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28869 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28870 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28872 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28873 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28874 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28875 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28876 echo "${ECHO_T}$PANGOX_LIBS" >&6
28880 ## If we have a custom action on failure, don't print errors, but
28881 ## do set a variable so people can do so.
28882 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28889 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28890 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28894 if test $succeeded = yes; then
28896 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28897 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28901 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28902 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28903 { (exit 1); exit 1; }; }
28911 if test -z "$PKG_CONFIG"; then
28912 # Extract the first word of "pkg-config", so it can be a program name with args.
28913 set dummy pkg
-config; ac_word
=$2
28914 echo "$as_me:$LINENO: checking for $ac_word" >&5
28915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28916 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 case $PKG_CONFIG in
28921 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28925 for as_dir
in $PATH
28928 test -z "$as_dir" && as_dir
=.
28929 for ac_exec_ext
in '' $ac_executable_extensions; do
28930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28931 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28938 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28942 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28944 if test -n "$PKG_CONFIG"; then
28945 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28946 echo "${ECHO_T}$PKG_CONFIG" >&6
28948 echo "$as_me:$LINENO: result: no" >&5
28949 echo "${ECHO_T}no" >&6
28954 if test "$PKG_CONFIG" = "no" ; then
28955 echo "*** The pkg-config script could not be found. Make sure it is"
28956 echo "*** in your path, or set the PKG_CONFIG environment variable"
28957 echo "*** to the full path to pkg-config."
28958 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28960 PKG_CONFIG_MIN_VERSION
=0.9.0
28961 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28962 echo "$as_me:$LINENO: checking for pangoft2" >&5
28963 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28965 if $PKG_CONFIG --exists "pangoft2" ; then
28966 echo "$as_me:$LINENO: result: yes" >&5
28967 echo "${ECHO_T}yes" >&6
28970 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28971 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28972 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28973 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28974 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28976 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28977 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28978 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28979 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28980 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28984 ## If we have a custom action on failure, don't print errors, but
28985 ## do set a variable so people can do so.
28986 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28993 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28994 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28998 if test $succeeded = yes; then
29000 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
29001 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29005 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29006 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29007 wxUSE_PRINTING_ARCHITECTURE
="no"
29015 if test -z "$PKG_CONFIG"; then
29016 # Extract the first word of "pkg-config", so it can be a program name with args.
29017 set dummy pkg
-config; ac_word
=$2
29018 echo "$as_me:$LINENO: checking for $ac_word" >&5
29019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29020 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29021 echo $ECHO_N "(cached) $ECHO_C" >&6
29023 case $PKG_CONFIG in
29025 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29029 for as_dir
in $PATH
29032 test -z "$as_dir" && as_dir
=.
29033 for ac_exec_ext
in '' $ac_executable_extensions; do
29034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29035 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29042 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29046 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29048 if test -n "$PKG_CONFIG"; then
29049 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29050 echo "${ECHO_T}$PKG_CONFIG" >&6
29052 echo "$as_me:$LINENO: result: no" >&5
29053 echo "${ECHO_T}no" >&6
29058 if test "$PKG_CONFIG" = "no" ; then
29059 echo "*** The pkg-config script could not be found. Make sure it is"
29060 echo "*** in your path, or set the PKG_CONFIG environment variable"
29061 echo "*** to the full path to pkg-config."
29062 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29064 PKG_CONFIG_MIN_VERSION
=0.9.0
29065 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29066 echo "$as_me:$LINENO: checking for pangoxft" >&5
29067 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29069 if $PKG_CONFIG --exists "pangoxft" ; then
29070 echo "$as_me:$LINENO: result: yes" >&5
29071 echo "${ECHO_T}yes" >&6
29074 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29075 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29076 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29077 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29078 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29080 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29081 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29082 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29083 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29084 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29088 ## If we have a custom action on failure, don't print errors, but
29089 ## do set a variable so people can do so.
29090 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29097 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29098 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29102 if test $succeeded = yes; then
29104 cat >>confdefs.h
<<\_ACEOF
29105 #define HAVE_PANGO_XFT 1
29108 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
29109 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29113 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29114 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29119 save_CFLAGS
="$CFLAGS"
29121 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
29122 LIBS
="$LIBS $PANGOX_LIBS"
29124 for ac_func
in pango_font_family_is_monospace
29126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29127 echo "$as_me:$LINENO: checking for $ac_func" >&5
29128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29129 if eval "test \"\${$as_ac_var+set}\" = set"; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29132 cat >conftest.
$ac_ext <<_ACEOF
29135 cat confdefs.h
>>conftest.
$ac_ext
29136 cat >>conftest.
$ac_ext <<_ACEOF
29137 /* end confdefs.h. */
29138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29140 #define $ac_func innocuous_$ac_func
29142 /* System header to define __stub macros and hopefully few prototypes,
29143 which can conflict with char $ac_func (); below.
29144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29145 <limits.h> exists even on freestanding compilers. */
29148 # include <limits.h>
29150 # include <assert.h>
29155 /* Override any gcc2 internal prototype to avoid an error. */
29160 /* We use char because int might match the return type of a gcc2
29161 builtin and then its argument prototype would still apply. */
29163 /* The GNU C library defines this for functions which it implements
29164 to always fail with ENOSYS. Some functions are actually named
29165 something starting with __ and the normal name is an alias. */
29166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29169 char (*f) () = $ac_func;
29178 return f != $ac_func;
29183 rm -f conftest.
$ac_objext conftest
$ac_exeext
29184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29185 (eval $ac_link) 2>conftest.er1
29187 grep -v '^ *+' conftest.er1
>conftest.err
29189 cat conftest.err
>&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); } &&
29192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; } &&
29198 { ac_try
='test -s conftest$ac_exeext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 eval "$as_ac_var=yes"
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.
$ac_ext >&5
29209 eval "$as_ac_var=no"
29211 rm -f conftest.err conftest.
$ac_objext \
29212 conftest
$ac_exeext conftest.
$ac_ext
29214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29216 if test `eval echo '${'$as_ac_var'}'` = yes; then
29217 cat >>confdefs.h
<<_ACEOF
29218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29224 CFLAGS
="$save_CFLAGS"
29228 wxUSE_UNIVERSAL
="yes"
29230 if test "$wxUSE_NANOX" = "yes"; then
29231 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29232 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"
29233 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29235 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29242 if test "$wxUSE_MOTIF" = 1; then
29243 if test "$wxUSE_UNICODE" = "yes"; then
29244 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29245 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29246 { (exit 1); exit 1; }; }
29249 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29250 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29253 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29255 if test -f "$ac_dir/Xm/Xm.h"; then
29256 ac_find_includes
=$ac_dir
29261 if test "$ac_find_includes" != "" ; then
29262 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29263 echo "${ECHO_T}found in $ac_find_includes" >&6
29265 if test "x$ac_find_includes" = "x/usr/include"; then
29266 ac_path_to_include
=""
29268 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29270 if test $result = 0; then
29271 ac_path_to_include
=""
29273 ac_path_to_include
=" -I$ac_find_includes"
29277 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29279 save_CFLAGS
=$CFLAGS
29280 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29282 cat >conftest.
$ac_ext <<_ACEOF
29285 cat confdefs.h
>>conftest.
$ac_ext
29286 cat >>conftest.
$ac_ext <<_ACEOF
29287 /* end confdefs.h. */
29296 version = xmUseVersion;
29302 rm -f conftest.
$ac_objext
29303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29304 (eval $ac_compile) 2>conftest.er1
29306 grep -v '^ *+' conftest.er1
>conftest.err
29308 cat conftest.err
>&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } &&
29311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; } &&
29317 { ac_try
='test -s conftest.$ac_objext'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; }; then
29324 echo "$as_me:$LINENO: result: found in default search path" >&5
29325 echo "${ECHO_T}found in default search path" >&6
29326 COMPILED_X_PROGRAM
=1
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.
$ac_ext >&5
29333 echo "$as_me:$LINENO: result: no" >&5
29334 echo "${ECHO_T}no" >&6
29335 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29336 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29337 { (exit 1); exit 1; }; }
29341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29343 CFLAGS
=$save_CFLAGS
29347 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29348 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29351 for ac_dir
in $SEARCH_LIB;
29353 for ac_extension
in a so sl dylib dll.a
; do
29354 if test -f "$ac_dir/libXm.$ac_extension"; then
29355 ac_find_libraries
=$ac_dir
29362 if test "x$ac_find_libraries" != "x" ; then
29363 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29364 echo "${ECHO_T}found in $ac_find_libraries" >&6
29367 if test "$ac_find_libraries" = "default location"; then
29370 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29372 if test $result = 0; then
29375 ac_path_to_link
=" -L$ac_find_libraries"
29379 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29381 save_CFLAGS
=$CFLAGS
29382 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29384 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29386 cat >conftest.
$ac_ext <<_ACEOF
29389 cat confdefs.h
>>conftest.
$ac_ext
29390 cat >>conftest.
$ac_ext <<_ACEOF
29391 /* end confdefs.h. */
29400 version = xmUseVersion;
29406 rm -f conftest.
$ac_objext conftest
$ac_exeext
29407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29408 (eval $ac_link) 2>conftest.er1
29410 grep -v '^ *+' conftest.er1
>conftest.err
29412 cat conftest.err
>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } &&
29415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; } &&
29421 { ac_try
='test -s conftest$ac_exeext'
29422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29423 (eval $ac_try) 2>&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); }; }; then
29428 echo "$as_me:$LINENO: result: found in default search path" >&5
29429 echo "${ECHO_T}found in default search path" >&6
29430 COMPILED_X_PROGRAM
=1
29433 echo "$as_me: failed program was:" >&5
29434 sed 's/^/| /' conftest.
$ac_ext >&5
29437 echo "$as_me:$LINENO: result: no" >&5
29438 echo "${ECHO_T}no" >&6
29439 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29440 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29441 { (exit 1); exit 1; }; }
29445 rm -f conftest.err conftest.
$ac_objext \
29446 conftest
$ac_exeext conftest.
$ac_ext
29448 CFLAGS
=$save_CFLAGS
29452 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29453 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29457 for libp
in "" " -lXp"; do
29458 if test "$libs_found" = "0"; then
29459 for libsm_ice
in "" " -lSM -lICE"; do
29460 if test "$libs_found" = "0"; then
29462 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29463 save_CFLAGS
=$CFLAGS
29464 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29466 cat >conftest.
$ac_ext <<_ACEOF
29469 cat confdefs.h
>>conftest.
$ac_ext
29470 cat >>conftest.
$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29474 #include <Xm/List.h>
29480 XmString string = NULL;
29483 XmListAddItem(w, string, position);
29489 rm -f conftest.
$ac_objext conftest
$ac_exeext
29490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>conftest.er1
29493 grep -v '^ *+' conftest.er1
>conftest.err
29495 cat conftest.err
>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); } &&
29498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try
='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29512 libsm_ice_link
="$libsm_ice"
29513 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29514 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29518 echo "$as_me: failed program was:" >&5
29519 sed 's/^/| /' conftest.
$ac_ext >&5
29524 rm -f conftest.err conftest.
$ac_objext \
29525 conftest
$ac_exeext conftest.
$ac_ext
29528 CFLAGS
=$save_CFLAGS
29534 if test "$libs_found" = "0"; then
29535 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29536 echo "${ECHO_T}can't find the right libraries" >&6
29537 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29538 echo "$as_me: error: can't link a simple motif program" >&2;}
29539 { (exit 1); exit 1; }; }
29542 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29543 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29544 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 ac_check_lib_save_LIBS
=$LIBS
29549 cat >conftest.
$ac_ext <<_ACEOF
29552 cat confdefs.h
>>conftest.
$ac_ext
29553 cat >>conftest.
$ac_ext <<_ACEOF
29554 /* end confdefs.h. */
29556 /* Override any gcc2 internal prototype to avoid an error. */
29560 /* We use char because int might match the return type of a gcc2
29561 builtin and then its argument prototype would still apply. */
29562 char SgCreateList ();
29571 rm -f conftest.
$ac_objext conftest
$ac_exeext
29572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29573 (eval $ac_link) 2>conftest.er1
29575 grep -v '^ *+' conftest.er1
>conftest.err
29577 cat conftest.err
>&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } &&
29580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582 (eval $ac_try) 2>&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); }; } &&
29586 { ac_try
='test -s conftest$ac_exeext'
29587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588 (eval $ac_try) 2>&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); }; }; then
29592 ac_cv_lib_Sgm_SgCreateList
=yes
29594 echo "$as_me: failed program was:" >&5
29595 sed 's/^/| /' conftest.
$ac_ext >&5
29597 ac_cv_lib_Sgm_SgCreateList
=no
29599 rm -f conftest.err conftest.
$ac_objext \
29600 conftest
$ac_exeext conftest.
$ac_ext
29601 LIBS
=$ac_check_lib_save_LIBS
29603 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29604 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29605 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29606 libsgm_link
=" -lSgm"
29610 save_CFLAGS
=$CFLAGS
29611 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29613 echo "$as_me:$LINENO: checking for Motif 2" >&5
29614 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29615 if test "${wx_cv_lib_motif2+set}" = set; then
29616 echo $ECHO_N "(cached) $ECHO_C" >&6
29618 cat >conftest.
$ac_ext <<_ACEOF
29621 cat confdefs.h
>>conftest.
$ac_ext
29622 cat >>conftest.
$ac_ext <<_ACEOF
29623 /* end confdefs.h. */
29631 #if XmVersion < 2000
29639 rm -f conftest.
$ac_objext
29640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29641 (eval $ac_compile) 2>conftest.er1
29643 grep -v '^ *+' conftest.er1
>conftest.err
29645 cat conftest.err
>&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } &&
29648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29650 (eval $ac_try) 2>&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); }; } &&
29654 { ac_try
='test -s conftest.$ac_objext'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660 wx_cv_lib_motif2
="yes"
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.
$ac_ext >&5
29665 wx_cv_lib_motif2
="no"
29667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29669 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29670 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29671 if test "$wx_cv_lib_motif2" = "yes"; then
29672 cat >>confdefs.h
<<\_ACEOF
29673 #define __WXMOTIF20__ 1
29677 cat >>confdefs.h
<<\_ACEOF
29678 #define __WXMOTIF20__ 0
29683 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29684 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29685 if test "${wx_cv_lib_lesstif+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 cat >conftest.
$ac_ext <<_ACEOF
29691 cat confdefs.h
>>conftest.
$ac_ext
29692 cat >>conftest.
$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29701 #if !defined(LesstifVersion) || LesstifVersion <= 0
29709 rm -f conftest.
$ac_objext
29710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29711 (eval $ac_compile) 2>conftest.er1
29713 grep -v '^ *+' conftest.er1
>conftest.err
29715 cat conftest.err
>&5
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); } &&
29718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try
='test -s conftest.$ac_objext'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 wx_cv_lib_lesstif
="yes"
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.
$ac_ext >&5
29735 wx_cv_lib_lesstif
="no"
29737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29740 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29741 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29742 if test "$wx_cv_lib_lesstif" = "yes"; then
29743 cat >>confdefs.h
<<\_ACEOF
29744 #define __WXLESSTIF__ 1
29748 cat >>confdefs.h
<<\_ACEOF
29749 #define __WXLESSTIF__ 0
29754 CFLAGS
=$save_CFLAGS
29756 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29761 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29762 if test "$wxUSE_LIBXPM" = "sys"; then
29763 echo "$as_me:$LINENO: checking for Xpm library" >&5
29764 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29767 for ac_dir
in $SEARCH_LIB;
29769 for ac_extension
in a so sl dylib dll.a
; do
29770 if test -f "$ac_dir/libXpm.$ac_extension"; then
29771 ac_find_libraries
=$ac_dir
29777 if test "$ac_find_libraries" != "" ; then
29779 if test "$ac_find_libraries" = "default location"; then
29782 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29784 if test $result = 0; then
29787 ac_path_to_link
=" -L$ac_find_libraries"
29791 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29792 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29793 echo "${ECHO_T}found in $ac_find_libraries" >&6
29795 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29796 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29797 if test "${wx_cv_x11_xpm_h+set}" = set; then
29798 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 save_CFLAGS
=$CFLAGS
29802 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29804 cat >conftest.
$ac_ext <<_ACEOF
29807 cat confdefs.h
>>conftest.
$ac_ext
29808 cat >>conftest.
$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29811 #include <X11/xpm.h>
29818 version = XpmLibraryVersion();
29824 rm -f conftest.
$ac_objext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29826 (eval $ac_compile) 2>conftest.er1
29828 grep -v '^ *+' conftest.er1
>conftest.err
29830 cat conftest.err
>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } &&
29833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; } &&
29839 { ac_try
='test -s conftest.$ac_objext'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }; then
29845 wx_cv_x11_xpm_h
=yes
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.
$ac_ext >&5
29853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29855 CFLAGS
=$save_CFLAGS
29859 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29860 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29862 if test $wx_cv_x11_xpm_h = "yes"; then
29863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29864 cat >>confdefs.h
<<\_ACEOF
29865 #define wxHAVE_LIB_XPM 1
29869 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29870 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29876 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29877 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29878 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29879 echo $ECHO_N "(cached) $ECHO_C" >&6
29881 ac_check_lib_save_LIBS
=$LIBS
29882 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29883 cat >conftest.
$ac_ext <<_ACEOF
29886 cat confdefs.h
>>conftest.
$ac_ext
29887 cat >>conftest.
$ac_ext <<_ACEOF
29888 /* end confdefs.h. */
29890 /* Override any gcc2 internal prototype to avoid an error. */
29894 /* We use char because int might match the return type of a gcc2
29895 builtin and then its argument prototype would still apply. */
29896 char XShapeQueryExtension ();
29900 XShapeQueryExtension ();
29905 rm -f conftest.
$ac_objext conftest
$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29909 grep -v '^ *+' conftest.er1
>conftest.err
29911 cat conftest.err
>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29916 (eval $ac_try) 2>&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; } &&
29920 { ac_try
='test -s conftest$ac_exeext'
29921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922 (eval $ac_try) 2>&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); }; }; then
29926 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.
$ac_ext >&5
29931 ac_cv_lib_Xext_XShapeQueryExtension
=no
29933 rm -f conftest.err conftest.
$ac_objext \
29934 conftest
$ac_exeext conftest.
$ac_ext
29935 LIBS
=$ac_check_lib_save_LIBS
29937 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29938 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29939 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29941 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29947 if test "$wxHAVE_XEXT_LIB" = 1; then
29948 save_CFLAGS
="$CFLAGS"
29949 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29951 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29952 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29953 cat >conftest.
$ac_ext <<_ACEOF
29956 cat confdefs.h
>>conftest.
$ac_ext
29957 cat >>conftest.
$ac_ext <<_ACEOF
29958 /* end confdefs.h. */
29960 #include <X11/Xlib.h>
29961 #include <X11/extensions/shape.h>
29967 int dummy1, dummy2;
29968 XShapeQueryExtension((Display*)NULL,
29969 (int*)NULL, (int*)NULL);
29975 rm -f conftest.
$ac_objext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29977 (eval $ac_compile) 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; } &&
29990 { ac_try
='test -s conftest.$ac_objext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29997 cat >>confdefs.h
<<\_ACEOF
29998 #define HAVE_XSHAPE 1
30001 echo "$as_me:$LINENO: result: found" >&5
30002 echo "${ECHO_T}found" >&6
30005 echo "$as_me: failed program was:" >&5
30006 sed 's/^/| /' conftest.
$ac_ext >&5
30009 echo "$as_me:$LINENO: result: not found" >&5
30010 echo "${ECHO_T}not found" >&6
30013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30014 CFLAGS
="$save_CFLAGS"
30019 if test "$wxUSE_MAC" = 1; then
30020 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30021 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30022 if test "$GCC" = yes; then
30023 echo "$as_me:$LINENO: result: gcc" >&5
30024 echo "${ECHO_T}gcc" >&6
30025 CPPFLAGS_PASCAL
="-fpascal-strings"
30026 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30027 echo "$as_me:$LINENO: result: xlc" >&5
30028 echo "${ECHO_T}xlc" >&6
30029 CPPFLAGS_PASCAL
="-qmacpstr"
30031 echo "$as_me:$LINENO: result: none" >&5
30032 echo "${ECHO_T}none" >&6
30035 if test "x$wxUSE_UNIX" = "xyes"; then
30036 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
30038 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
30043 WXBASEPORT
="_carbon"
30046 if test "$wxUSE_COCOA" = 1; then
30051 if test "$wxUSE_PM" = 1; then
30054 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30055 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30056 if test "${wx_cv_spbcdata+set}" = set; then
30057 echo $ECHO_N "(cached) $ECHO_C" >&6
30060 cat >conftest.
$ac_ext <<_ACEOF
30063 cat confdefs.h
>>conftest.
$ac_ext
30064 cat >>conftest.
$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30080 rm -f conftest.
$ac_objext
30081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30082 (eval $ac_compile) 2>conftest.er1
30084 grep -v '^ *+' conftest.er1
>conftest.err
30086 cat conftest.err
>&5
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); } &&
30089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30091 (eval $ac_try) 2>&5
30093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30094 (exit $ac_status); }; } &&
30095 { ac_try
='test -s conftest.$ac_objext'
30096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30097 (eval $ac_try) 2>&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); }; }; then
30103 echo "$as_me: failed program was:" >&5
30104 sed 's/^/| /' conftest.
$ac_ext >&5
30109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30113 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30114 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30116 if test $wx_cv_spbcdata = "yes"; then
30117 cat >>confdefs.h
<<\_ACEOF
30118 #define HAVE_SPBCDATA 1
30124 if test "$TOOLKIT" = "PM" ; then
30127 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30130 if test "$wxUSE_UNIVERSAL" = "yes"; then
30131 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30135 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30136 DISTDIR
="wx\$(TOOLKIT)"
30142 if test "$USE_WIN32" = 1 ; then
30146 GUIDIST
="BASE_DIST"
30151 if test "$wxUSE_GUI" = "yes"; then
30152 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30154 for ac_header
in X
11/Xlib.h
30156 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30158 echo "$as_me:$LINENO: checking for $ac_header" >&5
30159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30161 echo $ECHO_N "(cached) $ECHO_C" >&6
30163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30164 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30166 # Is the header compilable?
30167 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30168 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30169 cat >conftest.
$ac_ext <<_ACEOF
30172 cat confdefs.h
>>conftest.
$ac_ext
30173 cat >>conftest.
$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30175 $ac_includes_default
30176 #include <$ac_header>
30178 rm -f conftest.
$ac_objext
30179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30180 (eval $ac_compile) 2>conftest.er1
30182 grep -v '^ *+' conftest.er1
>conftest.err
30184 cat conftest.err
>&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); } &&
30187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; } &&
30193 { ac_try
='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199 ac_header_compiler
=yes
30201 echo "$as_me: failed program was:" >&5
30202 sed 's/^/| /' conftest.
$ac_ext >&5
30204 ac_header_compiler
=no
30206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30208 echo "${ECHO_T}$ac_header_compiler" >&6
30210 # Is the header present?
30211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30213 cat >conftest.
$ac_ext <<_ACEOF
30216 cat confdefs.h
>>conftest.
$ac_ext
30217 cat >>conftest.
$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30219 #include <$ac_header>
30221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30224 grep -v '^ *+' conftest.er1
>conftest.err
30226 cat conftest.err
>&5
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); } >/dev
/null
; then
30229 if test -s conftest.err
; then
30230 ac_cpp_err
=$ac_c_preproc_warn_flag
30231 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30238 if test -z "$ac_cpp_err"; then
30239 ac_header_preproc
=yes
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.
$ac_ext >&5
30244 ac_header_preproc
=no
30246 rm -f conftest.err conftest.
$ac_ext
30247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30248 echo "${ECHO_T}$ac_header_preproc" >&6
30250 # So? What about this header?
30251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30257 ac_header_preproc
=yes
30260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30274 ## ----------------------------------------- ##
30275 ## Report this to wx-dev@lists.wxwidgets.org ##
30276 ## ----------------------------------------- ##
30279 sed "s/^/$as_me: WARNING: /" >&2
30282 echo "$as_me:$LINENO: checking for $ac_header" >&5
30283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 eval "$as_ac_Header=\$ac_header_preproc"
30289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30294 cat >>confdefs.h
<<_ACEOF
30295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30303 for ac_header
in X
11/XKBlib.h
30305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30306 echo "$as_me:$LINENO: checking for $ac_header" >&5
30307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30309 echo $ECHO_N "(cached) $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. */
30318 #if HAVE_X11_XLIB_H
30319 #include <X11/Xlib.h>
30323 #include <$ac_header>
30325 rm -f conftest.
$ac_objext
30326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30327 (eval $ac_compile) 2>conftest.er1
30329 grep -v '^ *+' conftest.er1
>conftest.err
30331 cat conftest.err
>&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); } &&
30334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30336 (eval $ac_try) 2>&5
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; } &&
30340 { ac_try
='test -s conftest.$ac_objext'
30341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30342 (eval $ac_try) 2>&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); }; }; then
30346 eval "$as_ac_Header=yes"
30348 echo "$as_me: failed program was:" >&5
30349 sed 's/^/| /' conftest.
$ac_ext >&5
30351 eval "$as_ac_Header=no"
30353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30358 cat >>confdefs.h
<<_ACEOF
30359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30374 if test "$TOOLKIT" != "MSW" ; then
30376 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30378 if test "${ac_cv_header_sql_h+set}" = set; then
30379 echo "$as_me:$LINENO: checking for sql.h" >&5
30380 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30381 if test "${ac_cv_header_sql_h+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30385 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30387 # Is the header compilable?
30388 echo "$as_me:$LINENO: checking sql.h usability" >&5
30389 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30390 cat >conftest.
$ac_ext <<_ACEOF
30393 cat confdefs.h
>>conftest.
$ac_ext
30394 cat >>conftest.
$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30396 $ac_includes_default
30399 rm -f conftest.
$ac_objext
30400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30401 (eval $ac_compile) 2>conftest.er1
30403 grep -v '^ *+' conftest.er1
>conftest.err
30405 cat conftest.err
>&5
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); } &&
30408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410 (eval $ac_try) 2>&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); }; } &&
30414 { ac_try
='test -s conftest.$ac_objext'
30415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30416 (eval $ac_try) 2>&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); }; }; then
30420 ac_header_compiler
=yes
30422 echo "$as_me: failed program was:" >&5
30423 sed 's/^/| /' conftest.
$ac_ext >&5
30425 ac_header_compiler
=no
30427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30429 echo "${ECHO_T}$ac_header_compiler" >&6
30431 # Is the header present?
30432 echo "$as_me:$LINENO: checking sql.h presence" >&5
30433 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30434 cat >conftest.
$ac_ext <<_ACEOF
30437 cat confdefs.h
>>conftest.
$ac_ext
30438 cat >>conftest.
$ac_ext <<_ACEOF
30439 /* end confdefs.h. */
30442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30443 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30445 grep -v '^ *+' conftest.er1
>conftest.err
30447 cat conftest.err
>&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); } >/dev
/null
; then
30450 if test -s conftest.err
; then
30451 ac_cpp_err
=$ac_c_preproc_warn_flag
30452 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30459 if test -z "$ac_cpp_err"; then
30460 ac_header_preproc
=yes
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.
$ac_ext >&5
30465 ac_header_preproc
=no
30467 rm -f conftest.err conftest.
$ac_ext
30468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30469 echo "${ECHO_T}$ac_header_preproc" >&6
30471 # So? What about this header?
30472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30474 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30475 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30476 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30477 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30478 ac_header_preproc
=yes
30481 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30482 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30483 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30484 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30485 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30486 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30487 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30488 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30489 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30490 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30491 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30492 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30495 ## ----------------------------------------- ##
30496 ## Report this to wx-dev@lists.wxwidgets.org ##
30497 ## ----------------------------------------- ##
30500 sed "s/^/$as_me: WARNING: /" >&2
30503 echo "$as_me:$LINENO: checking for sql.h" >&5
30504 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30505 if test "${ac_cv_header_sql_h+set}" = set; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 ac_cv_header_sql_h
=$ac_header_preproc
30510 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30511 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30514 if test $ac_cv_header_sql_h = yes; then
30519 if test "x$found_sql_h" = "x1" ; then
30520 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30521 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30522 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 ac_check_lib_save_LIBS
=$LIBS
30526 LIBS
="-liodbc $LIBS"
30527 cat >conftest.
$ac_ext <<_ACEOF
30530 cat confdefs.h
>>conftest.
$ac_ext
30531 cat >>conftest.
$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30534 /* Override any gcc2 internal prototype to avoid an error. */
30538 /* We use char because int might match the return type of a gcc2
30539 builtin and then its argument prototype would still apply. */
30540 char SQLAllocEnv ();
30549 rm -f conftest.
$ac_objext conftest
$ac_exeext
30550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30551 (eval $ac_link) 2>conftest.er1
30553 grep -v '^ *+' conftest.er1
>conftest.err
30555 cat conftest.err
>&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30560 (eval $ac_try) 2>&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); }; } &&
30564 { ac_try
='test -s conftest$ac_exeext'
30565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30566 (eval $ac_try) 2>&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); }; }; then
30570 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30572 echo "$as_me: failed program was:" >&5
30573 sed 's/^/| /' conftest.
$ac_ext >&5
30575 ac_cv_lib_iodbc_SQLAllocEnv
=no
30577 rm -f conftest.err conftest.
$ac_objext \
30578 conftest
$ac_exeext conftest.
$ac_ext
30579 LIBS
=$ac_check_lib_save_LIBS
30581 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30582 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30583 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30584 ODBC_LINK
=" -liodbc"
30587 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30588 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30589 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 ac_check_lib_save_LIBS
=$LIBS
30593 LIBS
="-lunixodbc $LIBS"
30594 cat >conftest.
$ac_ext <<_ACEOF
30597 cat confdefs.h
>>conftest.
$ac_ext
30598 cat >>conftest.
$ac_ext <<_ACEOF
30599 /* end confdefs.h. */
30601 /* Override any gcc2 internal prototype to avoid an error. */
30605 /* We use char because int might match the return type of a gcc2
30606 builtin and then its argument prototype would still apply. */
30607 char SQLAllocEnv ();
30616 rm -f conftest.
$ac_objext conftest
$ac_exeext
30617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30618 (eval $ac_link) 2>conftest.er1
30620 grep -v '^ *+' conftest.er1
>conftest.err
30622 cat conftest.err
>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } &&
30625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try
='test -s conftest$ac_exeext'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; }; then
30637 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.
$ac_ext >&5
30642 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30644 rm -f conftest.err conftest.
$ac_objext \
30645 conftest
$ac_exeext conftest.
$ac_ext
30646 LIBS
=$ac_check_lib_save_LIBS
30648 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30649 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30650 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30651 ODBC_LINK
=" -lunixodbc"
30654 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30655 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30656 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30657 echo $ECHO_N "(cached) $ECHO_C" >&6
30659 ac_check_lib_save_LIBS
=$LIBS
30660 LIBS
="-lodbc $LIBS"
30661 cat >conftest.
$ac_ext <<_ACEOF
30664 cat confdefs.h
>>conftest.
$ac_ext
30665 cat >>conftest.
$ac_ext <<_ACEOF
30666 /* end confdefs.h. */
30668 /* Override any gcc2 internal prototype to avoid an error. */
30672 /* We use char because int might match the return type of a gcc2
30673 builtin and then its argument prototype would still apply. */
30674 char SQLAllocEnv ();
30683 rm -f conftest.
$ac_objext conftest
$ac_exeext
30684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30685 (eval $ac_link) 2>conftest.er1
30687 grep -v '^ *+' conftest.er1
>conftest.err
30689 cat conftest.err
>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } &&
30692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30694 (eval $ac_try) 2>&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); }; } &&
30698 { ac_try
='test -s conftest$ac_exeext'
30699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30700 (eval $ac_try) 2>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); }; }; then
30704 ac_cv_lib_odbc_SQLAllocEnv
=yes
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.
$ac_ext >&5
30709 ac_cv_lib_odbc_SQLAllocEnv
=no
30711 rm -f conftest.err conftest.
$ac_objext \
30712 conftest
$ac_exeext conftest.
$ac_ext
30713 LIBS
=$ac_check_lib_save_LIBS
30715 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30716 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30717 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30718 ODBC_LINK
=" -lodbc"
30728 if test "x$ODBC_LINK" = "x" ; then
30729 if test "$wxUSE_ODBC" = "sys" ; then
30730 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30731 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30732 { (exit 1); exit 1; }; }
30734 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30735 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30743 if test "$wxUSE_ODBC" = "builtin" ; then
30744 cat >>confdefs.h
<<\_ACEOF
30745 #define wxUSE_BUILTIN_IODBC 1
30751 if test "$wxUSE_ODBC" != "no" ; then
30752 cat >>confdefs.h
<<\_ACEOF
30753 #define wxUSE_ODBC 1
30756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30758 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
30762 if test "$wxUSE_DISPLAY" = "yes"; then
30763 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30764 echo "$as_me:$LINENO: checking for Xinerama" >&5
30765 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30768 for ac_dir
in $SEARCH_LIB;
30770 for ac_extension
in a so sl dylib dll.a
; do
30771 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30772 ac_find_libraries
=$ac_dir
30778 if test "$ac_find_libraries" != "" ; then
30780 if test "$ac_find_libraries" = "default location"; then
30783 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30785 if test $result = 0; then
30788 ac_path_to_link
=" -L$ac_find_libraries"
30792 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30793 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30795 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30796 echo "$as_me:$LINENO: result: yes" >&5
30797 echo "${ECHO_T}yes" >&6
30799 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30800 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30803 for ac_dir
in $SEARCH_LIB;
30805 for ac_extension
in a so sl dylib dll.a
; do
30806 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30807 ac_find_libraries
=$ac_dir
30813 if test "$ac_find_libraries" != "" ; then
30814 echo "$as_me:$LINENO: result: yes" >&5
30815 echo "${ECHO_T}yes" >&6
30817 for ac_header
in X
11/extensions
/xf86vmode.h
30819 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30820 echo "$as_me:$LINENO: checking for $ac_header" >&5
30821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30823 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 cat >conftest.
$ac_ext <<_ACEOF
30828 cat confdefs.h
>>conftest.
$ac_ext
30829 cat >>conftest.
$ac_ext <<_ACEOF
30830 /* end confdefs.h. */
30832 #if HAVE_X11_XLIB_H
30833 #include <X11/Xlib.h>
30837 #include <$ac_header>
30839 rm -f conftest.
$ac_objext
30840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30841 (eval $ac_compile) 2>conftest.er1
30843 grep -v '^ *+' conftest.er1
>conftest.err
30845 cat conftest.err
>&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); } &&
30848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; } &&
30854 { ac_try
='test -s conftest.$ac_objext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 eval "$as_ac_Header=yes"
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.
$ac_ext >&5
30865 eval "$as_ac_Header=no"
30867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30872 cat >>confdefs.h
<<_ACEOF
30873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30876 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30883 echo "$as_me:$LINENO: result: no" >&5
30884 echo "${ECHO_T}no" >&6
30888 echo "$as_me:$LINENO: result: no" >&5
30889 echo "${ECHO_T}no" >&6
30890 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30891 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30894 elif test "$wxUSE_MSW" = 1; then
30897 for ac_header
in multimon.h ddraw.h
30899 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30900 echo "$as_me:$LINENO: checking for $ac_header" >&5
30901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30903 echo $ECHO_N "(cached) $ECHO_C" >&6
30905 cat >conftest.
$ac_ext <<_ACEOF
30908 cat confdefs.h
>>conftest.
$ac_ext
30909 cat >>conftest.
$ac_ext <<_ACEOF
30910 /* end confdefs.h. */
30911 #include <windows.h>
30913 #include <$ac_header>
30915 rm -f conftest.
$ac_objext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30917 (eval $ac_compile) 2>conftest.er1
30919 grep -v '^ *+' conftest.er1
>conftest.err
30921 cat conftest.err
>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } &&
30924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; } &&
30930 { ac_try
='test -s conftest.$ac_objext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30936 eval "$as_ac_Header=yes"
30938 echo "$as_me: failed program was:" >&5
30939 sed 's/^/| /' conftest.
$ac_ext >&5
30941 eval "$as_ac_Header=no"
30943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30948 cat >>confdefs.h
<<_ACEOF
30949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30955 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30956 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30967 if test "$wxUSE_OPENGL" = "yes"; then
30968 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30969 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30970 elif test "$wxUSE_MSW" = 1; then
30971 OPENGL_LIBS
="-lopengl32 -lglu32"
30976 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30978 if test -f "$ac_dir/GL/gl.h"; then
30979 ac_find_includes
=$ac_dir
30984 if test "$ac_find_includes" != "" ; then
30985 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30986 echo "${ECHO_T}found in $ac_find_includes" >&6
30988 if test "x$ac_find_includes" = "x/usr/include"; then
30989 ac_path_to_include
=""
30991 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30993 if test $result = 0; then
30994 ac_path_to_include
=""
30996 ac_path_to_include
=" -I$ac_find_includes"
31000 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
31003 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31004 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31005 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31006 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31007 echo $ECHO_N "(cached) $ECHO_C" >&6
31009 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31010 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31012 # Is the header compilable?
31013 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31014 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31015 cat >conftest.
$ac_ext <<_ACEOF
31018 cat confdefs.h
>>conftest.
$ac_ext
31019 cat >>conftest.
$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31021 $ac_includes_default
31024 rm -f conftest.
$ac_objext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31026 (eval $ac_compile) 2>conftest.er1
31028 grep -v '^ *+' conftest.er1
>conftest.err
31030 cat conftest.err
>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } &&
31033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; } &&
31039 { ac_try
='test -s conftest.$ac_objext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 ac_header_compiler
=yes
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.
$ac_ext >&5
31050 ac_header_compiler
=no
31052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31054 echo "${ECHO_T}$ac_header_compiler" >&6
31056 # Is the header present?
31057 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31058 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31059 cat >conftest.
$ac_ext <<_ACEOF
31062 cat confdefs.h
>>conftest.
$ac_ext
31063 cat >>conftest.
$ac_ext <<_ACEOF
31064 /* end confdefs.h. */
31067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31070 grep -v '^ *+' conftest.er1
>conftest.err
31072 cat conftest.err
>&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } >/dev
/null
; then
31075 if test -s conftest.err
; then
31076 ac_cpp_err
=$ac_c_preproc_warn_flag
31077 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31084 if test -z "$ac_cpp_err"; then
31085 ac_header_preproc
=yes
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.
$ac_ext >&5
31090 ac_header_preproc
=no
31092 rm -f conftest.err conftest.
$ac_ext
31093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31094 echo "${ECHO_T}$ac_header_preproc" >&6
31096 # So? What about this header?
31097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31099 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31100 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31101 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31102 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31103 ac_header_preproc
=yes
31106 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31107 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31108 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31109 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31110 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31111 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31112 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31113 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31114 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31115 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31116 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31117 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31120 ## ----------------------------------------- ##
31121 ## Report this to wx-dev@lists.wxwidgets.org ##
31122 ## ----------------------------------------- ##
31125 sed "s/^/$as_me: WARNING: /" >&2
31128 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31129 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31130 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31131 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 ac_cv_header_GL_gl_h
=$ac_header_preproc
31135 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31136 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31139 if test $ac_cv_header_GL_gl_h = yes; then
31143 echo "$as_me:$LINENO: checking for -lGL" >&5
31144 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31147 for ac_dir
in $SEARCH_LIB;
31149 for ac_extension
in a so sl dylib dll.a
; do
31150 if test -f "$ac_dir/libGL.$ac_extension"; then
31151 ac_find_libraries
=$ac_dir
31157 if test "$ac_find_libraries" != "" ; then
31158 echo "$as_me:$LINENO: result: yes" >&5
31159 echo "${ECHO_T}yes" >&6
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 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31175 LDFLAGS_GL
="$ac_path_to_link"
31178 echo "$as_me:$LINENO: checking for -lGLU" >&5
31179 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31182 for ac_dir
in $SEARCH_LIB;
31184 for ac_extension
in a so sl dylib dll.a
; do
31185 if test -f "$ac_dir/libGLU.$ac_extension"; then
31186 ac_find_libraries
=$ac_dir
31192 if test "$ac_find_libraries" != "" ; then
31194 if test "$ac_find_libraries" = "default location"; then
31197 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31199 if test $result = 0; then
31202 ac_path_to_link
=" -L$ac_find_libraries"
31206 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31207 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31208 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31212 OPENGL_LIBS
="-lGL -lGLU"
31213 echo "$as_me:$LINENO: result: yes" >&5
31214 echo "${ECHO_T}yes" >&6
31216 echo "$as_me:$LINENO: result: no" >&5
31217 echo "${ECHO_T}no" >&6
31220 echo "$as_me:$LINENO: result: no" >&5
31221 echo "${ECHO_T}no" >&6
31224 if test "$found_gl" != 1; then
31225 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31226 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31229 for ac_dir
in $SEARCH_LIB;
31231 for ac_extension
in a so sl dylib dll.a
; do
31232 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31233 ac_find_libraries
=$ac_dir
31239 if test "$ac_find_libraries" != "" ; then
31241 if test "$ac_find_libraries" = "default location"; then
31244 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31246 if test $result = 0; then
31249 ac_path_to_link
=" -L$ac_find_libraries"
31253 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31254 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31255 echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6
31258 echo "$as_me:$LINENO: result: no" >&5
31259 echo "${ECHO_T}no" >&6
31267 if test "x$OPENGL_LIBS" = "x"; then
31268 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31269 echo "$as_me: error: OpenGL libraries not available" >&2;}
31270 { (exit 1); exit 1; }; }
31274 if test "$wxUSE_OPENGL" = "yes"; then
31276 cat >>confdefs.h
<<\_ACEOF
31277 #define wxUSE_OPENGL 1
31280 cat >>confdefs.h
<<\_ACEOF
31281 #define wxUSE_GLCANVAS 1
31284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31289 if test -n "$TOOLKIT" ; then
31290 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31295 if test "$wxUSE_SHARED" = "yes"; then
31299 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31300 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31305 if test "$wxUSE_SHARED" = "yes"; then
31308 found_versioning
=no
31311 if test $found_versioning = no
; then
31312 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31313 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31314 if test "${wx_cv_version_script+set}" = set; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31318 echo "VER_1 { *; };" >conftest.sym
31319 echo "int main() { return 0; }" >conftest.cpp
31322 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31323 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; } ; then
31329 if test -s conftest.stderr
; then
31330 wx_cv_version_script
=no
31332 wx_cv_version_script
=yes
31335 wx_cv_version_script
=no
31338 if test $wx_cv_version_script = yes
31340 echo "struct B { virtual ~B() { } }; \
31341 struct D : public B { }; \
31342 void F() { D d; }" > conftest.cpp
31345 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31346 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31348 (eval $ac_try) 2>&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; } &&
31353 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31354 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
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); }; }
31362 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31363 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365 (eval $ac_try) 2>&5
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); }; }
31370 wx_cv_version_script
=yes
31372 wx_cv_version_script
=no
31377 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31378 rm -f conftest1.output conftest2.output conftest3.output
31381 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31382 echo "${ECHO_T}$wx_cv_version_script" >&6
31383 if test $wx_cv_version_script = yes ; then
31384 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31390 *-*-linux* | *-*-gnu* )
31391 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31392 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31396 if test "$GCC" = yes ; then
31397 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
31399 saveLdflags
="$LDFLAGS"
31400 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31401 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31402 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31403 cat >conftest.
$ac_ext <<_ACEOF
31406 cat confdefs.h
>>conftest.
$ac_ext
31407 cat >>conftest.
$ac_ext <<_ACEOF
31408 /* end confdefs.h. */
31418 rm -f conftest.
$ac_objext conftest
$ac_exeext
31419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31420 (eval $ac_link) 2>conftest.er1
31422 grep -v '^ *+' conftest.er1
>conftest.err
31424 cat conftest.err
>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } &&
31427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429 (eval $ac_try) 2>&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; } &&
31433 { ac_try
='test -s conftest$ac_exeext'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; }; then
31440 echo "$as_me:$LINENO: result: yes" >&5
31441 echo "${ECHO_T}yes" >&6
31442 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31443 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31446 echo "$as_me: failed program was:" >&5
31447 sed 's/^/| /' conftest.
$ac_ext >&5
31450 echo "$as_me:$LINENO: result: no" >&5
31451 echo "${ECHO_T}no" >&6
31452 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31453 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31454 LDFLAGS
="$saveLdflags -Wl,-R,/"
31455 cat >conftest.
$ac_ext <<_ACEOF
31458 cat confdefs.h
>>conftest.
$ac_ext
31459 cat >>conftest.
$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31470 rm -f conftest.
$ac_objext conftest
$ac_exeext
31471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31472 (eval $ac_link) 2>conftest.er1
31474 grep -v '^ *+' conftest.er1
>conftest.err
31476 cat conftest.err
>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } &&
31479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; } &&
31485 { ac_try
='test -s conftest$ac_exeext'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; }; then
31492 echo "$as_me:$LINENO: result: yes" >&5
31493 echo "${ECHO_T}yes" >&6
31494 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31495 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.
$ac_ext >&5
31502 echo "$as_me:$LINENO: result: no" >&5
31503 echo "${ECHO_T}no" >&6
31506 rm -f conftest.err conftest.
$ac_objext \
31507 conftest
$ac_exeext conftest.
$ac_ext
31510 rm -f conftest.err conftest.
$ac_objext \
31511 conftest
$ac_exeext conftest.
$ac_ext
31512 LDFLAGS
="$saveLdflags"
31514 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31515 WXCONFIG_RPATH
="-R\$libdir"
31520 install_name_tool
=`which install_name_tool`
31521 if test "$install_name_tool" -a -x "$install_name_tool"; then
31522 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31523 cat <<EOF >change-install-names
31525 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31526 inst_cmd="install_name_tool "
31527 for i in \${libnames} ; do
31528 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31532 chmod +x change
-install-names
31536 *-*-cygwin* | *-*-mingw32* )
31537 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31541 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31542 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31547 if test $wxUSE_RPATH = "no"; then
31548 SAMPLES_RPATH_FLAG
=''
31549 SAMPLES_RPATH_POSTLINK
=''
31557 config_linkage_component
="-static"
31564 lib_unicode_suffix
=
31566 if test "$wxUSE_UNICODE" = "yes"; then
31567 lib_unicode_suffix
=u
31568 WX_CHARTYPE
="unicode"
31573 WX_DEBUGTYPE
="release"
31575 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31577 WX_DEBUGTYPE
="debug"
31581 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31582 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31585 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31589 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31591 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31593 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31595 if test "$cross_compiling" = "yes"; then
31596 HOST_SUFFIX
="-$host_alias"
31597 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31598 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31601 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31602 if test "${TOOLKIT_DIR}" = "os2"; then
31603 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31605 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31610 if test "$wxUSE_COCOA" = 1; then
31614 ac_cpp
='$CPP $CPPFLAGS'
31615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31621 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31622 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31623 cat >conftest.
$ac_ext <<_ACEOF
31626 cat confdefs.h
>>conftest.
$ac_ext
31627 cat >>conftest.
$ac_ext <<_ACEOF
31628 /* end confdefs.h. */
31629 #include <AppKit/NSEvent.h>
31630 #include <CoreFoundation/CoreFoundation.h>
31640 rm -f conftest.
$ac_objext
31641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31642 (eval $ac_compile) 2>conftest.er1
31644 grep -v '^ *+' conftest.er1
>conftest.err
31646 cat conftest.err
>&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); } &&
31649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651 (eval $ac_try) 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; } &&
31655 { ac_try
='test -s conftest.$ac_objext'
31656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 (eval $ac_try) 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; }; then
31661 echo "$as_me:$LINENO: result: no" >&5
31662 echo "${ECHO_T}no" >&6
31664 echo "$as_me: failed program was:" >&5
31665 sed 's/^/| /' conftest.
$ac_ext >&5
31667 echo "$as_me:$LINENO: result: yes" >&5
31668 echo "${ECHO_T}yes" >&6
31669 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31670 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31671 cat >conftest.
$ac_ext <<_ACEOF
31674 cat confdefs.h
>>conftest.
$ac_ext
31675 cat >>conftest.
$ac_ext <<_ACEOF
31676 /* end confdefs.h. */
31677 #define __Point__ 1
31678 #include <AppKit/NSEvent.h>
31679 #include <CoreFoundation/CoreFoundation.h>
31689 rm -f conftest.
$ac_objext
31690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31691 (eval $ac_compile) 2>conftest.er1
31693 grep -v '^ *+' conftest.er1
>conftest.err
31695 cat conftest.err
>&5
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); } &&
31698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31700 (eval $ac_try) 2>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); }; } &&
31704 { ac_try
='test -s conftest.$ac_objext'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; }; then
31710 echo "$as_me:$LINENO: result: yes" >&5
31711 echo "${ECHO_T}yes" >&6
31712 cat >>confdefs.h
<<\_ACEOF
31713 #define __Point__ 1
31718 echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.
$ac_ext >&5
31721 { { echo "$as_me:$LINENO: error: no
31722 See \`config.log' for more details." >&5
31723 echo "$as_me: error: no
31724 See \`config.log' for more details." >&2;}
31725 { (exit 1); exit 1; }; }
31728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31733 ac_cpp
='$CPP $CPPFLAGS'
31734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31740 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31741 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31742 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31744 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31746 # Extract the first word of "Rez", so it can be a program name with args.
31747 set dummy Rez
; ac_word
=$2
31748 echo "$as_me:$LINENO: checking for $ac_word" >&5
31749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31750 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 if test -n "$RESCOMP"; then
31754 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31757 for as_dir
in $PATH
31760 test -z "$as_dir" && as_dir
=.
31761 for ac_exec_ext
in '' $ac_executable_extensions; do
31762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31763 ac_cv_prog_RESCOMP
="Rez"
31764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31770 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31773 RESCOMP
=$ac_cv_prog_RESCOMP
31774 if test -n "$RESCOMP"; then
31775 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31776 echo "${ECHO_T}$RESCOMP" >&6
31778 echo "$as_me:$LINENO: result: no" >&5
31779 echo "${ECHO_T}no" >&6
31782 # Extract the first word of "DeRez", so it can be a program name with args.
31783 set dummy DeRez
; ac_word
=$2
31784 echo "$as_me:$LINENO: checking for $ac_word" >&5
31785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31786 if test "${ac_cv_prog_DEREZ+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 if test -n "$DEREZ"; then
31790 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31793 for as_dir
in $PATH
31796 test -z "$as_dir" && as_dir
=.
31797 for ac_exec_ext
in '' $ac_executable_extensions; do
31798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31799 ac_cv_prog_DEREZ
="DeRez"
31800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31806 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31809 DEREZ
=$ac_cv_prog_DEREZ
31810 if test -n "$DEREZ"; then
31811 echo "$as_me:$LINENO: result: $DEREZ" >&5
31812 echo "${ECHO_T}$DEREZ" >&6
31814 echo "$as_me:$LINENO: result: no" >&5
31815 echo "${ECHO_T}no" >&6
31818 # Extract the first word of "SetFile", so it can be a program name with args.
31819 set dummy SetFile
; ac_word
=$2
31820 echo "$as_me:$LINENO: checking for $ac_word" >&5
31821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31822 if test "${ac_cv_prog_SETFILE+set}" = set; then
31823 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 if test -n "$SETFILE"; then
31826 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31829 for as_dir
in $PATH
31832 test -z "$as_dir" && as_dir
=.
31833 for ac_exec_ext
in '' $ac_executable_extensions; do
31834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31835 ac_cv_prog_SETFILE
="SetFile"
31836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31842 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31845 SETFILE
=$ac_cv_prog_SETFILE
31846 if test -n "$SETFILE"; then
31847 echo "$as_me:$LINENO: result: $SETFILE" >&5
31848 echo "${ECHO_T}$SETFILE" >&6
31850 echo "$as_me:$LINENO: result: no" >&5
31851 echo "${ECHO_T}no" >&6
31855 MACSETFILE
="\$(SETFILE)"
31857 if test "$wxUSE_MAC" = 1; then
31858 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31860 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31862 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31863 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31867 MACRESWXCONFIG
="@true"
31869 if test "$wxUSE_PM" = 1; then
31870 MACRESCOMP
="emxbind -ep"
31878 echo "$as_me:$LINENO: checking for mode_t" >&5
31879 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31880 if test "${ac_cv_type_mode_t+set}" = set; then
31881 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 cat >conftest.
$ac_ext <<_ACEOF
31886 cat confdefs.h
>>conftest.
$ac_ext
31887 cat >>conftest.
$ac_ext <<_ACEOF
31888 /* end confdefs.h. */
31889 $ac_includes_default
31895 if (sizeof (mode_t))
31901 rm -f conftest.
$ac_objext
31902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31903 (eval $ac_compile) 2>conftest.er1
31905 grep -v '^ *+' conftest.er1
>conftest.err
31907 cat conftest.err
>&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } &&
31910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912 (eval $ac_try) 2>&5
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); }; } &&
31916 { ac_try
='test -s conftest.$ac_objext'
31917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31918 (eval $ac_try) 2>&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); }; }; then
31922 ac_cv_type_mode_t
=yes
31924 echo "$as_me: failed program was:" >&5
31925 sed 's/^/| /' conftest.
$ac_ext >&5
31927 ac_cv_type_mode_t
=no
31929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31931 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31932 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31933 if test $ac_cv_type_mode_t = yes; then
31937 cat >>confdefs.h
<<_ACEOF
31943 echo "$as_me:$LINENO: checking for off_t" >&5
31944 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31945 if test "${ac_cv_type_off_t+set}" = set; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 cat >conftest.
$ac_ext <<_ACEOF
31951 cat confdefs.h
>>conftest.
$ac_ext
31952 cat >>conftest.
$ac_ext <<_ACEOF
31953 /* end confdefs.h. */
31954 $ac_includes_default
31960 if (sizeof (off_t))
31966 rm -f conftest.
$ac_objext
31967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31968 (eval $ac_compile) 2>conftest.er1
31970 grep -v '^ *+' conftest.er1
>conftest.err
31972 cat conftest.err
>&5
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); } &&
31975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31977 (eval $ac_try) 2>&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); }; } &&
31981 { ac_try
='test -s conftest.$ac_objext'
31982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31983 (eval $ac_try) 2>&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); }; }; then
31987 ac_cv_type_off_t
=yes
31989 echo "$as_me: failed program was:" >&5
31990 sed 's/^/| /' conftest.
$ac_ext >&5
31992 ac_cv_type_off_t
=no
31994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31996 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31997 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31998 if test $ac_cv_type_off_t = yes; then
32002 cat >>confdefs.h
<<_ACEOF
32008 echo "$as_me:$LINENO: checking for pid_t" >&5
32009 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32010 if test "${ac_cv_type_pid_t+set}" = set; then
32011 echo $ECHO_N "(cached) $ECHO_C" >&6
32013 cat >conftest.
$ac_ext <<_ACEOF
32016 cat confdefs.h
>>conftest.
$ac_ext
32017 cat >>conftest.
$ac_ext <<_ACEOF
32018 /* end confdefs.h. */
32019 $ac_includes_default
32025 if (sizeof (pid_t))
32031 rm -f conftest.
$ac_objext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32033 (eval $ac_compile) 2>conftest.er1
32035 grep -v '^ *+' conftest.er1
>conftest.err
32037 cat conftest.err
>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; } &&
32046 { ac_try
='test -s conftest.$ac_objext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052 ac_cv_type_pid_t
=yes
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.
$ac_ext >&5
32057 ac_cv_type_pid_t
=no
32059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32061 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32062 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32063 if test $ac_cv_type_pid_t = yes; then
32067 cat >>confdefs.h
<<_ACEOF
32073 echo "$as_me:$LINENO: checking for size_t" >&5
32074 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32075 if test "${ac_cv_type_size_t+set}" = set; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32078 cat >conftest.
$ac_ext <<_ACEOF
32081 cat confdefs.h
>>conftest.
$ac_ext
32082 cat >>conftest.
$ac_ext <<_ACEOF
32083 /* end confdefs.h. */
32084 $ac_includes_default
32090 if (sizeof (size_t))
32096 rm -f conftest.
$ac_objext
32097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32098 (eval $ac_compile) 2>conftest.er1
32100 grep -v '^ *+' conftest.er1
>conftest.err
32102 cat conftest.err
>&5
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); } &&
32105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; } &&
32111 { ac_try
='test -s conftest.$ac_objext'
32112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32113 (eval $ac_try) 2>&5
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); }; }; then
32117 ac_cv_type_size_t
=yes
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.
$ac_ext >&5
32122 ac_cv_type_size_t
=no
32124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32126 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32127 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32128 if test $ac_cv_type_size_t = yes; then
32132 cat >>confdefs.h
<<_ACEOF
32133 #define size_t unsigned
32138 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32139 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32140 if test "${ac_cv_type_uid_t+set}" = set; then
32141 echo $ECHO_N "(cached) $ECHO_C" >&6
32143 cat >conftest.
$ac_ext <<_ACEOF
32146 cat confdefs.h
>>conftest.
$ac_ext
32147 cat >>conftest.
$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32149 #include <sys/types.h>
32152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32153 $EGREP "uid_t" >/dev
/null
2>&1; then
32154 ac_cv_type_uid_t
=yes
32156 ac_cv_type_uid_t
=no
32161 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32162 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32163 if test $ac_cv_type_uid_t = no
; then
32165 cat >>confdefs.h
<<\_ACEOF
32170 cat >>confdefs.h
<<\_ACEOF
32177 echo "$as_me:$LINENO: checking for ssize_t" >&5
32178 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32179 if test "${ac_cv_type_ssize_t+set}" = set; then
32180 echo $ECHO_N "(cached) $ECHO_C" >&6
32182 cat >conftest.
$ac_ext <<_ACEOF
32185 cat confdefs.h
>>conftest.
$ac_ext
32186 cat >>conftest.
$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32188 $ac_includes_default
32194 if (sizeof (ssize_t))
32200 rm -f conftest.
$ac_objext
32201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32202 (eval $ac_compile) 2>conftest.er1
32204 grep -v '^ *+' conftest.er1
>conftest.err
32206 cat conftest.err
>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } &&
32209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; } &&
32215 { ac_try
='test -s conftest.$ac_objext'
32216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32217 (eval $ac_try) 2>&5
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); }; }; then
32221 ac_cv_type_ssize_t
=yes
32223 echo "$as_me: failed program was:" >&5
32224 sed 's/^/| /' conftest.
$ac_ext >&5
32226 ac_cv_type_ssize_t
=no
32228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32230 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32231 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32232 if test $ac_cv_type_ssize_t = yes; then
32234 cat >>confdefs.h
<<_ACEOF
32235 #define HAVE_SSIZE_T 1
32245 ac_cpp
='$CXXCPP $CPPFLAGS'
32246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32250 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32251 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32252 if test "${wx_cv_size_t_is_uint+set}" = set; then
32253 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 cat >conftest.
$ac_ext <<_ACEOF
32259 cat confdefs.h
>>conftest.
$ac_ext
32260 cat >>conftest.
$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262 #include <stddef.h>
32269 struct Foo { void foo(size_t); void foo(unsigned int); };
32277 rm -f conftest.
$ac_objext
32278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32279 (eval $ac_compile) 2>conftest.er1
32281 grep -v '^ *+' conftest.er1
>conftest.err
32283 cat conftest.err
>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } &&
32286 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try
='test -s conftest.$ac_objext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 wx_cv_size_t_is_uint
=no
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.
$ac_ext >&5
32303 wx_cv_size_t_is_uint
=yes
32306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32310 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32311 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32313 if test "$wx_cv_size_t_is_uint" = "yes"; then
32314 cat >>confdefs.h
<<\_ACEOF
32315 #define wxSIZE_T_IS_UINT 1
32319 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32320 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32321 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 cat >conftest.
$ac_ext <<_ACEOF
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330 #include <stddef.h>
32337 struct Foo { void foo(size_t); void foo(unsigned long); };
32345 rm -f conftest.
$ac_objext
32346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32347 (eval $ac_compile) 2>conftest.er1
32349 grep -v '^ *+' conftest.er1
>conftest.err
32351 cat conftest.err
>&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; } &&
32360 { ac_try
='test -s conftest.$ac_objext'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; }; then
32366 wx_cv_size_t_is_ulong
=no
32368 echo "$as_me: failed program was:" >&5
32369 sed 's/^/| /' conftest.
$ac_ext >&5
32371 wx_cv_size_t_is_ulong
=yes
32374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32377 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32378 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32380 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32381 cat >>confdefs.h
<<\_ACEOF
32382 #define wxSIZE_T_IS_ULONG 1
32389 ac_cpp
='$CPP $CPPFLAGS'
32390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32396 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32397 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32398 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32402 cat >conftest.
$ac_ext <<_ACEOF
32405 cat confdefs.h
>>conftest.
$ac_ext
32406 cat >>conftest.
$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32421 rm -f conftest.
$ac_objext
32422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32423 (eval $ac_compile) 2>conftest.er1
32425 grep -v '^ *+' conftest.er1
>conftest.err
32427 cat conftest.err
>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); } &&
32430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; } &&
32436 { ac_try
='test -s conftest.$ac_objext'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; }; then
32443 wx_cv_struct_pw_gecos
=yes
32446 echo "$as_me: failed program was:" >&5
32447 sed 's/^/| /' conftest.
$ac_ext >&5
32450 wx_cv_struct_pw_gecos
=no
32454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32458 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32459 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32461 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32462 cat >>confdefs.h
<<\_ACEOF
32463 #define HAVE_PW_GECOS 1
32469 if test "$wxUSE_WCHAR_T" = "yes"; then
32470 cat >>confdefs.h
<<\_ACEOF
32471 #define wxUSE_WCHAR_T 1
32478 for ac_func
in wcslen
32480 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32481 echo "$as_me:$LINENO: checking for $ac_func" >&5
32482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32483 if eval "test \"\${$as_ac_var+set}\" = set"; then
32484 echo $ECHO_N "(cached) $ECHO_C" >&6
32486 cat >conftest.
$ac_ext <<_ACEOF
32489 cat confdefs.h
>>conftest.
$ac_ext
32490 cat >>conftest.
$ac_ext <<_ACEOF
32491 /* end confdefs.h. */
32492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32494 #define $ac_func innocuous_$ac_func
32496 /* System header to define __stub macros and hopefully few prototypes,
32497 which can conflict with char $ac_func (); below.
32498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32499 <limits.h> exists even on freestanding compilers. */
32502 # include <limits.h>
32504 # include <assert.h>
32509 /* Override any gcc2 internal prototype to avoid an error. */
32514 /* We use char because int might match the return type of a gcc2
32515 builtin and then its argument prototype would still apply. */
32517 /* The GNU C library defines this for functions which it implements
32518 to always fail with ENOSYS. Some functions are actually named
32519 something starting with __ and the normal name is an alias. */
32520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32523 char (*f) () = $ac_func;
32532 return f != $ac_func;
32537 rm -f conftest.
$ac_objext conftest
$ac_exeext
32538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32539 (eval $ac_link) 2>conftest.er1
32541 grep -v '^ *+' conftest.er1
>conftest.err
32543 cat conftest.err
>&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); } &&
32546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32552 { ac_try
='test -s conftest$ac_exeext'
32553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32554 (eval $ac_try) 2>&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); }; }; then
32558 eval "$as_ac_var=yes"
32560 echo "$as_me: failed program was:" >&5
32561 sed 's/^/| /' conftest.
$ac_ext >&5
32563 eval "$as_ac_var=no"
32565 rm -f conftest.err conftest.
$ac_objext \
32566 conftest
$ac_exeext conftest.
$ac_ext
32568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32570 if test `eval echo '${'$as_ac_var'}'` = yes; then
32571 cat >>confdefs.h
<<_ACEOF
32572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32579 if test "$WCSLEN_FOUND" = 0; then
32580 if test "$TOOLKIT" = "MSW"; then
32581 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32582 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32583 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 ac_check_lib_save_LIBS
=$LIBS
32587 LIBS
="-lmsvcrt $LIBS"
32588 cat >conftest.
$ac_ext <<_ACEOF
32591 cat confdefs.h
>>conftest.
$ac_ext
32592 cat >>conftest.
$ac_ext <<_ACEOF
32593 /* end confdefs.h. */
32595 /* Override any gcc2 internal prototype to avoid an error. */
32599 /* We use char because int might match the return type of a gcc2
32600 builtin and then its argument prototype would still apply. */
32610 rm -f conftest.
$ac_objext conftest
$ac_exeext
32611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32612 (eval $ac_link) 2>conftest.er1
32614 grep -v '^ *+' conftest.er1
>conftest.err
32616 cat conftest.err
>&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } &&
32619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; } &&
32625 { ac_try
='test -s conftest$ac_exeext'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32631 ac_cv_lib_msvcrt_wcslen
=yes
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.
$ac_ext >&5
32636 ac_cv_lib_msvcrt_wcslen
=no
32638 rm -f conftest.err conftest.
$ac_objext \
32639 conftest
$ac_exeext conftest.
$ac_ext
32640 LIBS
=$ac_check_lib_save_LIBS
32642 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32643 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32644 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32649 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32650 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32651 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32654 ac_check_lib_save_LIBS
=$LIBS
32656 cat >conftest.
$ac_ext <<_ACEOF
32659 cat confdefs.h
>>conftest.
$ac_ext
32660 cat >>conftest.
$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32663 /* Override any gcc2 internal prototype to avoid an error. */
32667 /* We use char because int might match the return type of a gcc2
32668 builtin and then its argument prototype would still apply. */
32678 rm -f conftest.
$ac_objext conftest
$ac_exeext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32680 (eval $ac_link) 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_exeext'
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_lib_w_wcslen
=yes
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.
$ac_ext >&5
32704 ac_cv_lib_w_wcslen
=no
32706 rm -f conftest.err conftest.
$ac_objext \
32707 conftest
$ac_exeext conftest.
$ac_ext
32708 LIBS
=$ac_check_lib_save_LIBS
32710 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32711 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32712 if test $ac_cv_lib_w_wcslen = yes; then
32722 if test "$WCSLEN_FOUND" = 1; then
32723 cat >>confdefs.h
<<\_ACEOF
32724 #define HAVE_WCSLEN 1
32729 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32730 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32733 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32734 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32735 if test "${ac_cv_type_mbstate_t+set}" = set; then
32736 echo $ECHO_N "(cached) $ECHO_C" >&6
32738 cat >conftest.
$ac_ext <<_ACEOF
32741 cat confdefs.h
>>conftest.
$ac_ext
32742 cat >>conftest.
$ac_ext <<_ACEOF
32743 /* end confdefs.h. */
32749 if ((mbstate_t *) 0)
32751 if (sizeof (mbstate_t))
32757 rm -f conftest.
$ac_objext
32758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32759 (eval $ac_compile) 2>conftest.er1
32761 grep -v '^ *+' conftest.er1
>conftest.err
32763 cat conftest.err
>&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } &&
32766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; } &&
32772 { ac_try
='test -s conftest.$ac_objext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 ac_cv_type_mbstate_t
=yes
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.
$ac_ext >&5
32783 ac_cv_type_mbstate_t
=no
32785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32787 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32788 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32789 if test $ac_cv_type_mbstate_t = yes; then
32791 cat >>confdefs.h
<<_ACEOF
32792 #define HAVE_MBSTATE_T 1
32796 for ac_func
in wcsrtombs
32798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32799 echo "$as_me:$LINENO: checking for $ac_func" >&5
32800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32801 if eval "test \"\${$as_ac_var+set}\" = set"; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 cat >conftest.
$ac_ext <<_ACEOF
32807 cat confdefs.h
>>conftest.
$ac_ext
32808 cat >>conftest.
$ac_ext <<_ACEOF
32809 /* end confdefs.h. */
32810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32812 #define $ac_func innocuous_$ac_func
32814 /* System header to define __stub macros and hopefully few prototypes,
32815 which can conflict with char $ac_func (); below.
32816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32817 <limits.h> exists even on freestanding compilers. */
32820 # include <limits.h>
32822 # include <assert.h>
32827 /* Override any gcc2 internal prototype to avoid an error. */
32832 /* We use char because int might match the return type of a gcc2
32833 builtin and then its argument prototype would still apply. */
32835 /* The GNU C library defines this for functions which it implements
32836 to always fail with ENOSYS. Some functions are actually named
32837 something starting with __ and the normal name is an alias. */
32838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32841 char (*f) () = $ac_func;
32850 return f != $ac_func;
32855 rm -f conftest.
$ac_objext conftest
$ac_exeext
32856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32857 (eval $ac_link) 2>conftest.er1
32859 grep -v '^ *+' conftest.er1
>conftest.err
32861 cat conftest.err
>&5
32862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863 (exit $ac_status); } &&
32864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866 (eval $ac_try) 2>&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); }; } &&
32870 { ac_try
='test -s conftest$ac_exeext'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; }; then
32876 eval "$as_ac_var=yes"
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.
$ac_ext >&5
32881 eval "$as_ac_var=no"
32883 rm -f conftest.err conftest.
$ac_objext \
32884 conftest
$ac_exeext conftest.
$ac_ext
32886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32888 if test `eval echo '${'$as_ac_var'}'` = yes; then
32889 cat >>confdefs.h
<<_ACEOF
32890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32899 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32900 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32906 ac_cpp
='$CXXCPP $CPPFLAGS'
32907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32914 for ac_func
in snprintf vsnprintf
32916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32917 echo "$as_me:$LINENO: checking for $ac_func" >&5
32918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32919 if eval "test \"\${$as_ac_var+set}\" = set"; then
32920 echo $ECHO_N "(cached) $ECHO_C" >&6
32922 cat >conftest.
$ac_ext <<_ACEOF
32925 cat confdefs.h
>>conftest.
$ac_ext
32926 cat >>conftest.
$ac_ext <<_ACEOF
32927 /* end confdefs.h. */
32928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32930 #define $ac_func innocuous_$ac_func
32932 /* System header to define __stub macros and hopefully few prototypes,
32933 which can conflict with char $ac_func (); below.
32934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32935 <limits.h> exists even on freestanding compilers. */
32938 # include <limits.h>
32940 # include <assert.h>
32945 /* Override any gcc2 internal prototype to avoid an error. */
32950 /* We use char because int might match the return type of a gcc2
32951 builtin and then its argument prototype would still apply. */
32953 /* The GNU C library defines this for functions which it implements
32954 to always fail with ENOSYS. Some functions are actually named
32955 something starting with __ and the normal name is an alias. */
32956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32959 char (*f) () = $ac_func;
32968 return f != $ac_func;
32973 rm -f conftest.
$ac_objext conftest
$ac_exeext
32974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32975 (eval $ac_link) 2>conftest.er1
32977 grep -v '^ *+' conftest.er1
>conftest.err
32979 cat conftest.err
>&5
32980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32981 (exit $ac_status); } &&
32982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; } &&
32988 { ac_try
='test -s conftest$ac_exeext'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; }; then
32994 eval "$as_ac_var=yes"
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.
$ac_ext >&5
32999 eval "$as_ac_var=no"
33001 rm -f conftest.err conftest.
$ac_objext \
33002 conftest
$ac_exeext conftest.
$ac_ext
33004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33006 if test `eval echo '${'$as_ac_var'}'` = yes; then
33007 cat >>confdefs.h
<<_ACEOF
33008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33015 if test "$ac_cv_func_vsnprintf" = "yes"; then
33016 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33017 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33018 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33019 echo $ECHO_N "(cached) $ECHO_C" >&6
33022 cat >conftest.
$ac_ext <<_ACEOF
33025 cat confdefs.h
>>conftest.
$ac_ext
33026 cat >>conftest.
$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33030 #include <stdarg.h>
33032 #if __MSL__ >= 0x6000
33034 using namespace std;
33044 vsnprintf(buf, 10u, "%s", ap);
33050 rm -f conftest.
$ac_objext
33051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33052 (eval $ac_compile) 2>conftest.er1
33054 grep -v '^ *+' conftest.er1
>conftest.err
33056 cat conftest.err
>&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } &&
33059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; } &&
33065 { ac_try
='test -s conftest.$ac_objext'
33066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33067 (eval $ac_try) 2>&5
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); }; }; then
33071 wx_cv_func_vsnprintf_decl
=yes
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.
$ac_ext >&5
33076 wx_cv_func_vsnprintf_decl
=no
33079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33083 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33084 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33086 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33087 cat >>confdefs.h
<<\_ACEOF
33088 #define HAVE_VSNPRINTF_DECL 1
33092 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33093 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33094 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33098 cat >conftest.
$ac_ext <<_ACEOF
33101 cat confdefs.h
>>conftest.
$ac_ext
33102 cat >>conftest.
$ac_ext <<_ACEOF
33103 /* end confdefs.h. */
33106 #include <stdarg.h>
33108 #if __MSL__ >= 0x6000
33110 using namespace std;
33120 const char *fmt = "%s";
33121 vsnprintf(buf, 10u, fmt, ap);
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_broken_vsnprintf_decl
=no
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.
$ac_ext >&5
33153 wx_cv_func_broken_vsnprintf_decl
=yes
33156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33160 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33161 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33163 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33164 cat >>confdefs.h
<<\_ACEOF
33165 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33172 if test "$ac_cv_func_snprintf" = "yes"; then
33173 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33174 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33175 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.
$ac_ext <<_ACEOF
33182 cat confdefs.h
>>conftest.
$ac_ext
33183 cat >>conftest.
$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33187 #include <stdarg.h>
33189 #if __MSL__ >= 0x6000
33191 using namespace std;
33200 snprintf(buf, 10u, "%s", "wx");
33206 rm -f conftest.
$ac_objext
33207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33208 (eval $ac_compile) 2>conftest.er1
33210 grep -v '^ *+' conftest.er1
>conftest.err
33212 cat conftest.err
>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); } &&
33215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217 (eval $ac_try) 2>&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); }; } &&
33221 { ac_try
='test -s conftest.$ac_objext'
33222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33223 (eval $ac_try) 2>&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); }; }; then
33227 wx_cv_func_snprintf_decl
=yes
33229 echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.
$ac_ext >&5
33232 wx_cv_func_snprintf_decl
=no
33235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33239 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33240 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33242 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define HAVE_SNPRINTF_DECL 1
33248 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33249 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33250 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33254 cat >conftest.
$ac_ext <<_ACEOF
33257 cat confdefs.h
>>conftest.
$ac_ext
33258 cat >>conftest.
$ac_ext <<_ACEOF
33259 /* end confdefs.h. */
33262 #include <stdarg.h>
33264 #if __MSL__ >= 0x6000
33266 using namespace std;
33275 const char *fmt = "%s";
33276 snprintf(buf, 10u, fmt, "wx");
33282 rm -f conftest.
$ac_objext
33283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33284 (eval $ac_compile) 2>conftest.er1
33286 grep -v '^ *+' conftest.er1
>conftest.err
33288 cat conftest.err
>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); } &&
33291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; } &&
33297 { ac_try
='test -s conftest.$ac_objext'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; }; then
33303 wx_cv_func_broken_snprintf_decl
=no
33305 echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.
$ac_ext >&5
33308 wx_cv_func_broken_snprintf_decl
=yes
33311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33315 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33316 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33318 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33319 cat >>confdefs.h
<<\_ACEOF
33320 #define HAVE_BROKEN_SNPRINTF_DECL 1
33327 if test "$wxUSE_UNICODE" = yes; then
33334 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33336 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33337 echo "$as_me:$LINENO: checking for $ac_func" >&5
33338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33339 if eval "test \"\${$as_ac_var+set}\" = set"; then
33340 echo $ECHO_N "(cached) $ECHO_C" >&6
33342 cat >conftest.
$ac_ext <<_ACEOF
33345 cat confdefs.h
>>conftest.
$ac_ext
33346 cat >>conftest.
$ac_ext <<_ACEOF
33347 /* end confdefs.h. */
33348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33350 #define $ac_func innocuous_$ac_func
33352 /* System header to define __stub macros and hopefully few prototypes,
33353 which can conflict with char $ac_func (); below.
33354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33355 <limits.h> exists even on freestanding compilers. */
33358 # include <limits.h>
33360 # include <assert.h>
33365 /* Override any gcc2 internal prototype to avoid an error. */
33370 /* We use char because int might match the return type of a gcc2
33371 builtin and then its argument prototype would still apply. */
33373 /* The GNU C library defines this for functions which it implements
33374 to always fail with ENOSYS. Some functions are actually named
33375 something starting with __ and the normal name is an alias. */
33376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33379 char (*f) () = $ac_func;
33388 return f != $ac_func;
33393 rm -f conftest.
$ac_objext conftest
$ac_exeext
33394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33395 (eval $ac_link) 2>conftest.er1
33397 grep -v '^ *+' conftest.er1
>conftest.err
33399 cat conftest.err
>&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); } &&
33402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404 (eval $ac_try) 2>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; } &&
33408 { ac_try
='test -s conftest$ac_exeext'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 eval "$as_ac_var=yes"
33416 echo "$as_me: failed program was:" >&5
33417 sed 's/^/| /' conftest.
$ac_ext >&5
33419 eval "$as_ac_var=no"
33421 rm -f conftest.err conftest.
$ac_objext \
33422 conftest
$ac_exeext conftest.
$ac_ext
33424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426 if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h
<<_ACEOF
33428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33435 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33436 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33437 cat >conftest.
$ac_ext <<_ACEOF
33440 cat confdefs.h
>>conftest.
$ac_ext
33441 cat >>conftest.
$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33452 rm -f conftest.
$ac_objext
33453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33454 (eval $ac_compile) 2>conftest.er1
33456 grep -v '^ *+' conftest.er1
>conftest.err
33458 cat conftest.err
>&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); } &&
33461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try
='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33473 echo "$as_me:$LINENO: result: yes" >&5
33474 echo "${ECHO_T}yes" >&6
33475 cat >>confdefs.h
<<\_ACEOF
33476 #define HAVE__VSNWPRINTF 1
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.
$ac_ext >&5
33483 echo "$as_me:$LINENO: result: no" >&5
33484 echo "${ECHO_T}no" >&6
33486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33490 ac_cpp
='$CPP $CPPFLAGS'
33491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33496 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33498 for ac_func
in fnmatch
33500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33501 echo "$as_me:$LINENO: checking for $ac_func" >&5
33502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33503 if eval "test \"\${$as_ac_var+set}\" = set"; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33506 cat >conftest.
$ac_ext <<_ACEOF
33509 cat confdefs.h
>>conftest.
$ac_ext
33510 cat >>conftest.
$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33514 #define $ac_func innocuous_$ac_func
33516 /* System header to define __stub macros and hopefully few prototypes,
33517 which can conflict with char $ac_func (); below.
33518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33519 <limits.h> exists even on freestanding compilers. */
33522 # include <limits.h>
33524 # include <assert.h>
33529 /* Override any gcc2 internal prototype to avoid an error. */
33534 /* We use char because int might match the return type of a gcc2
33535 builtin and then its argument prototype would still apply. */
33537 /* The GNU C library defines this for functions which it implements
33538 to always fail with ENOSYS. Some functions are actually named
33539 something starting with __ and the normal name is an alias. */
33540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33543 char (*f) () = $ac_func;
33552 return f != $ac_func;
33557 rm -f conftest.
$ac_objext conftest
$ac_exeext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33559 (eval $ac_link) 2>conftest.er1
33561 grep -v '^ *+' conftest.er1
>conftest.err
33563 cat conftest.err
>&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); } &&
33566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; } &&
33572 { ac_try
='test -s conftest$ac_exeext'
33573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33574 (eval $ac_try) 2>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); }; }; then
33578 eval "$as_ac_var=yes"
33580 echo "$as_me: failed program was:" >&5
33581 sed 's/^/| /' conftest.
$ac_ext >&5
33583 eval "$as_ac_var=no"
33585 rm -f conftest.err conftest.
$ac_objext \
33586 conftest
$ac_exeext conftest.
$ac_ext
33588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33590 if test `eval echo '${'$as_ac_var'}'` = yes; then
33591 cat >>confdefs.h
<<_ACEOF
33592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33600 if test "$wxUSE_FILE" = "yes"; then
33602 for ac_func
in fsync
33604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33605 echo "$as_me:$LINENO: checking for $ac_func" >&5
33606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33607 if eval "test \"\${$as_ac_var+set}\" = set"; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33610 cat >conftest.
$ac_ext <<_ACEOF
33613 cat confdefs.h
>>conftest.
$ac_ext
33614 cat >>conftest.
$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33618 #define $ac_func innocuous_$ac_func
33620 /* System header to define __stub macros and hopefully few prototypes,
33621 which can conflict with char $ac_func (); below.
33622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33623 <limits.h> exists even on freestanding compilers. */
33626 # include <limits.h>
33628 # include <assert.h>
33633 /* Override any gcc2 internal prototype to avoid an error. */
33638 /* We use char because int might match the return type of a gcc2
33639 builtin and then its argument prototype would still apply. */
33641 /* The GNU C library defines this for functions which it implements
33642 to always fail with ENOSYS. Some functions are actually named
33643 something starting with __ and the normal name is an alias. */
33644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33647 char (*f) () = $ac_func;
33656 return f != $ac_func;
33661 rm -f conftest.
$ac_objext conftest
$ac_exeext
33662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33663 (eval $ac_link) 2>conftest.er1
33665 grep -v '^ *+' conftest.er1
>conftest.err
33667 cat conftest.err
>&5
33668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33669 (exit $ac_status); } &&
33670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33672 (eval $ac_try) 2>&5
33674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675 (exit $ac_status); }; } &&
33676 { ac_try
='test -s conftest$ac_exeext'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; }; then
33682 eval "$as_ac_var=yes"
33684 echo "$as_me: failed program was:" >&5
33685 sed 's/^/| /' conftest.
$ac_ext >&5
33687 eval "$as_ac_var=no"
33689 rm -f conftest.err conftest.
$ac_objext \
33690 conftest
$ac_exeext conftest.
$ac_ext
33692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33694 if test `eval echo '${'$as_ac_var'}'` = yes; then
33695 cat >>confdefs.h
<<_ACEOF
33696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33705 if test "$TOOLKIT" != "MSW"; then
33711 ac_cpp
='$CXXCPP $CPPFLAGS'
33712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33719 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33720 if test "${with_libiconv_prefix+set}" = set; then
33721 withval
="$with_libiconv_prefix"
33723 for dir
in `echo "$withval" | tr : ' '`; do
33724 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33725 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33730 echo "$as_me:$LINENO: checking for iconv" >&5
33731 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33732 if test "${am_cv_func_iconv+set}" = set; then
33733 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 am_cv_func_iconv
="no, consider installing GNU libiconv"
33738 cat >conftest.
$ac_ext <<_ACEOF
33741 cat confdefs.h
>>conftest.
$ac_ext
33742 cat >>conftest.
$ac_ext <<_ACEOF
33743 /* end confdefs.h. */
33744 #include <stdlib.h>
33749 iconv_t cd = iconv_open("","");
33750 iconv(cd,NULL,NULL,NULL,NULL);
33756 rm -f conftest.
$ac_objext conftest
$ac_exeext
33757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33758 (eval $ac_link) 2>conftest.er1
33760 grep -v '^ *+' conftest.er1
>conftest.err
33762 cat conftest.err
>&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); } &&
33765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33767 (eval $ac_try) 2>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); }; } &&
33771 { ac_try
='test -s conftest$ac_exeext'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; }; then
33777 am_cv_func_iconv
=yes
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.
$ac_ext >&5
33783 rm -f conftest.err conftest.
$ac_objext \
33784 conftest
$ac_exeext conftest.
$ac_ext
33785 if test "$am_cv_func_iconv" != yes; then
33786 am_save_LIBS
="$LIBS"
33787 LIBS
="$LIBS -liconv"
33788 cat >conftest.
$ac_ext <<_ACEOF
33791 cat confdefs.h
>>conftest.
$ac_ext
33792 cat >>conftest.
$ac_ext <<_ACEOF
33793 /* end confdefs.h. */
33794 #include <stdlib.h>
33799 iconv_t cd = iconv_open("","");
33800 iconv(cd,NULL,NULL,NULL,NULL);
33806 rm -f conftest.
$ac_objext conftest
$ac_exeext
33807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33808 (eval $ac_link) 2>conftest.er1
33810 grep -v '^ *+' conftest.er1
>conftest.err
33812 cat conftest.err
>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); } &&
33815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33817 (eval $ac_try) 2>&5
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); }; } &&
33821 { ac_try
='test -s conftest$ac_exeext'
33822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33823 (eval $ac_try) 2>&5
33825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33826 (exit $ac_status); }; }; then
33827 am_cv_lib_iconv
=yes
33828 am_cv_func_iconv
=yes
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.
$ac_ext >&5
33834 rm -f conftest.err conftest.
$ac_objext \
33835 conftest
$ac_exeext conftest.
$ac_ext
33836 LIBS
="$am_save_LIBS"
33840 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33841 echo "${ECHO_T}$am_cv_func_iconv" >&6
33842 if test "$am_cv_func_iconv" = yes; then
33844 cat >>confdefs.h
<<\_ACEOF
33845 #define HAVE_ICONV 1
33848 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33849 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33850 if test "${wx_cv_func_iconv_const+set}" = set; then
33851 echo $ECHO_N "(cached) $ECHO_C" >&6
33853 cat >conftest.
$ac_ext <<_ACEOF
33856 cat confdefs.h
>>conftest.
$ac_ext
33857 cat >>conftest.
$ac_ext <<_ACEOF
33858 /* end confdefs.h. */
33860 #include <stdlib.h>
33866 #if defined(__STDC__) || defined(__cplusplus)
33867 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33880 rm -f conftest.
$ac_objext
33881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33882 (eval $ac_compile) 2>conftest.er1
33884 grep -v '^ *+' conftest.er1
>conftest.err
33886 cat conftest.err
>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); } &&
33889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; } &&
33895 { ac_try
='test -s conftest.$ac_objext'
33896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33897 (eval $ac_try) 2>&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); }; }; then
33901 wx_cv_func_iconv_const
="no"
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.
$ac_ext >&5
33906 wx_cv_func_iconv_const
="yes"
33909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33912 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33913 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33916 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33917 iconv_const
="const"
33921 cat >>confdefs.h
<<_ACEOF
33922 #define ICONV_CONST $iconv_const
33927 if test "$am_cv_lib_iconv" = yes; then
33932 LIBS
="$LIBICONV $LIBS"
33934 ac_cpp
='$CPP $CPPFLAGS'
33935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33940 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33942 for ac_func
in sigaction
33944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33945 echo "$as_me:$LINENO: checking for $ac_func" >&5
33946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33947 if eval "test \"\${$as_ac_var+set}\" = set"; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 cat >conftest.
$ac_ext <<_ACEOF
33953 cat confdefs.h
>>conftest.
$ac_ext
33954 cat >>conftest.
$ac_ext <<_ACEOF
33955 /* end confdefs.h. */
33956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33958 #define $ac_func innocuous_$ac_func
33960 /* System header to define __stub macros and hopefully few prototypes,
33961 which can conflict with char $ac_func (); below.
33962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33963 <limits.h> exists even on freestanding compilers. */
33966 # include <limits.h>
33968 # include <assert.h>
33973 /* Override any gcc2 internal prototype to avoid an error. */
33978 /* We use char because int might match the return type of a gcc2
33979 builtin and then its argument prototype would still apply. */
33981 /* The GNU C library defines this for functions which it implements
33982 to always fail with ENOSYS. Some functions are actually named
33983 something starting with __ and the normal name is an alias. */
33984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33987 char (*f) () = $ac_func;
33996 return f != $ac_func;
34001 rm -f conftest.
$ac_objext conftest
$ac_exeext
34002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34003 (eval $ac_link) 2>conftest.er1
34005 grep -v '^ *+' conftest.er1
>conftest.err
34007 cat conftest.err
>&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); } &&
34010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; } &&
34016 { ac_try
='test -s conftest$ac_exeext'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; }; then
34022 eval "$as_ac_var=yes"
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.
$ac_ext >&5
34027 eval "$as_ac_var=no"
34029 rm -f conftest.err conftest.
$ac_objext \
34030 conftest
$ac_exeext conftest.
$ac_ext
34032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34034 if test `eval echo '${'$as_ac_var'}'` = yes; then
34035 cat >>confdefs.h
<<_ACEOF
34036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34043 if test "$ac_cv_func_sigaction" = "no"; then
34044 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34045 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34046 wxUSE_ON_FATAL_EXCEPTION
=no
34049 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34053 ac_cpp
='$CXXCPP $CPPFLAGS'
34054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34059 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34060 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34061 if test "${wx_cv_type_sa_handler+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34065 cat >conftest.
$ac_ext <<_ACEOF
34068 cat confdefs.h
>>conftest.
$ac_ext
34069 cat >>conftest.
$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34071 #include <signal.h>
34076 extern void testSigHandler(int);
34078 struct sigaction sa;
34079 sa.sa_handler = testSigHandler;
34085 rm -f conftest.
$ac_objext
34086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34087 (eval $ac_compile) 2>conftest.er1
34089 grep -v '^ *+' conftest.er1
>conftest.err
34091 cat conftest.err
>&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } &&
34094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34096 (eval $ac_try) 2>&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); }; } &&
34100 { ac_try
='test -s conftest.$ac_objext'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; }; then
34107 wx_cv_type_sa_handler
=int
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.
$ac_ext >&5
34114 wx_cv_type_sa_handler
=void
34117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34120 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34121 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34124 ac_cpp
='$CPP $CPPFLAGS'
34125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34130 cat >>confdefs.h
<<_ACEOF
34131 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34137 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34141 ac_cpp
='$CXXCPP $CPPFLAGS'
34142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34147 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34148 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34149 if test "${wx_cv_func_backtrace+set}" = set; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34153 cat >conftest.
$ac_ext <<_ACEOF
34156 cat confdefs.h
>>conftest.
$ac_ext
34157 cat >>conftest.
$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34159 #include <execinfo.h>
34167 backtrace(trace, 1);
34168 messages = backtrace_symbols(trace, 1);
34174 rm -f conftest.
$ac_objext
34175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34176 (eval $ac_compile) 2>conftest.er1
34178 grep -v '^ *+' conftest.er1
>conftest.err
34180 cat conftest.err
>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); } &&
34183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; } &&
34189 { ac_try
='test -s conftest.$ac_objext'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; }; then
34195 wx_cv_func_backtrace
=yes
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.
$ac_ext >&5
34200 wx_cv_func_backtrace
=no
34203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34207 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34208 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34211 if test "$wx_cv_func_backtrace" = "no"; then
34212 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34213 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34214 wxUSE_STACKWALKER
=no
34216 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34217 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34218 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34219 echo $ECHO_N "(cached) $ECHO_C" >&6
34222 cat >conftest.
$ac_ext <<_ACEOF
34225 cat confdefs.h
>>conftest.
$ac_ext
34226 cat >>conftest.
$ac_ext <<_ACEOF
34227 /* end confdefs.h. */
34228 #include <cxxabi.h>
34234 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34240 rm -f conftest.
$ac_objext conftest
$ac_exeext
34241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34242 (eval $ac_link) 2>conftest.er1
34244 grep -v '^ *+' conftest.er1
>conftest.err
34246 cat conftest.err
>&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); } &&
34249 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34251 (eval $ac_try) 2>&5
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); }; } &&
34255 { ac_try
='test -s conftest$ac_exeext'
34256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34257 (eval $ac_try) 2>&5
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); }; }; then
34261 wx_cv_func_cxa_demangle
=yes
34263 echo "$as_me: failed program was:" >&5
34264 sed 's/^/| /' conftest.
$ac_ext >&5
34266 wx_cv_func_cxa_demangle
=no
34269 rm -f conftest.err conftest.
$ac_objext \
34270 conftest
$ac_exeext conftest.
$ac_ext
34274 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34275 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34277 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34278 cat >>confdefs.h
<<\_ACEOF
34279 #define HAVE_CXA_DEMANGLE 1
34286 ac_cpp
='$CPP $CPPFLAGS'
34287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34293 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34294 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34295 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34296 wxUSE_STACKWALKER
=no
34302 for ac_func
in mkstemp mktemp
34304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34305 echo "$as_me:$LINENO: checking for $ac_func" >&5
34306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34307 if eval "test \"\${$as_ac_var+set}\" = set"; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34310 cat >conftest.
$ac_ext <<_ACEOF
34313 cat confdefs.h
>>conftest.
$ac_ext
34314 cat >>conftest.
$ac_ext <<_ACEOF
34315 /* end confdefs.h. */
34316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34318 #define $ac_func innocuous_$ac_func
34320 /* System header to define __stub macros and hopefully few prototypes,
34321 which can conflict with char $ac_func (); below.
34322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34323 <limits.h> exists even on freestanding compilers. */
34326 # include <limits.h>
34328 # include <assert.h>
34333 /* Override any gcc2 internal prototype to avoid an error. */
34338 /* We use char because int might match the return type of a gcc2
34339 builtin and then its argument prototype would still apply. */
34341 /* The GNU C library defines this for functions which it implements
34342 to always fail with ENOSYS. Some functions are actually named
34343 something starting with __ and the normal name is an alias. */
34344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34347 char (*f) () = $ac_func;
34356 return f != $ac_func;
34361 rm -f conftest.
$ac_objext conftest
$ac_exeext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34363 (eval $ac_link) 2>conftest.er1
34365 grep -v '^ *+' conftest.er1
>conftest.err
34367 cat conftest.err
>&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } &&
34370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34372 (eval $ac_try) 2>&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); }; } &&
34376 { ac_try
='test -s conftest$ac_exeext'
34377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34378 (eval $ac_try) 2>&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); }; }; then
34382 eval "$as_ac_var=yes"
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.
$ac_ext >&5
34387 eval "$as_ac_var=no"
34389 rm -f conftest.err conftest.
$ac_objext \
34390 conftest
$ac_exeext conftest.
$ac_ext
34392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34394 if test `eval echo '${'$as_ac_var'}'` = yes; then
34395 cat >>confdefs.h
<<_ACEOF
34396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34403 echo "$as_me:$LINENO: checking for statfs" >&5
34404 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34405 if test "${wx_cv_func_statfs+set}" = set; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34408 cat >conftest.
$ac_ext <<_ACEOF
34411 cat confdefs.h
>>conftest.
$ac_ext
34412 cat >>conftest.
$ac_ext <<_ACEOF
34413 /* end confdefs.h. */
34415 #if defined(__BSD__)
34416 #include <sys/param.h>
34417 #include <sys/mount.h>
34419 #include <sys/vfs.h>
34437 rm -f conftest.
$ac_objext
34438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34439 (eval $ac_compile) 2>conftest.er1
34441 grep -v '^ *+' conftest.er1
>conftest.err
34443 cat conftest.err
>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } &&
34446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34448 (eval $ac_try) 2>&5
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); }; } &&
34452 { ac_try
='test -s conftest.$ac_objext'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; }; then
34458 wx_cv_func_statfs
=yes
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.
$ac_ext >&5
34463 wx_cv_func_statfs
=no
34466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34469 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34470 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34472 if test "$wx_cv_func_statfs" = "yes"; then
34476 ac_cpp
='$CXXCPP $CPPFLAGS'
34477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34481 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34482 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34483 if test "${wx_cv_func_statfs_decl+set}" = set; then
34484 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 cat >conftest.
$ac_ext <<_ACEOF
34489 cat confdefs.h
>>conftest.
$ac_ext
34490 cat >>conftest.
$ac_ext <<_ACEOF
34491 /* end confdefs.h. */
34493 #if defined(__BSD__)
34494 #include <sys/param.h>
34495 #include <sys/mount.h>
34497 #include <sys/vfs.h>
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_cxx_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_statfs_decl
=yes
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.
$ac_ext >&5
34537 wx_cv_func_statfs_decl
=no
34540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34543 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34544 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34546 ac_cpp
='$CPP $CPPFLAGS'
34547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34552 if test "$wx_cv_func_statfs_decl" = "yes"; then
34553 cat >>confdefs.h
<<\_ACEOF
34554 #define HAVE_STATFS_DECL 1
34559 wx_cv_type_statvfs_t
="struct statfs"
34560 cat >>confdefs.h
<<\_ACEOF
34561 #define HAVE_STATFS 1
34565 echo "$as_me:$LINENO: checking for statvfs" >&5
34566 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34567 if test "${wx_cv_func_statvfs+set}" = set; then
34568 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 cat >conftest.
$ac_ext <<_ACEOF
34573 cat confdefs.h
>>conftest.
$ac_ext
34574 cat >>conftest.
$ac_ext <<_ACEOF
34575 /* end confdefs.h. */
34577 #include <stddef.h>
34578 #include <sys/statvfs.h>
34584 statvfs("/", NULL);
34590 rm -f conftest.
$ac_objext
34591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34592 (eval $ac_compile) 2>conftest.er1
34594 grep -v '^ *+' conftest.er1
>conftest.err
34596 cat conftest.err
>&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } &&
34599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34601 (eval $ac_try) 2>&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); }; } &&
34605 { ac_try
='test -s conftest.$ac_objext'
34606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34607 (eval $ac_try) 2>&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); }; }; then
34611 wx_cv_func_statvfs
=yes
34613 echo "$as_me: failed program was:" >&5
34614 sed 's/^/| /' conftest.
$ac_ext >&5
34616 wx_cv_func_statvfs
=no
34619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34622 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34623 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34625 if test "$wx_cv_func_statvfs" = "yes"; then
34629 ac_cpp
='$CXXCPP $CPPFLAGS'
34630 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34635 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34636 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34637 if test "${wx_cv_type_statvfs_t+set}" = set; then
34638 echo $ECHO_N "(cached) $ECHO_C" >&6
34640 cat >conftest.
$ac_ext <<_ACEOF
34643 cat confdefs.h
>>conftest.
$ac_ext
34644 cat >>conftest.
$ac_ext <<_ACEOF
34645 /* end confdefs.h. */
34647 #include <sys/statvfs.h>
34664 rm -f conftest.
$ac_objext
34665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34666 (eval $ac_compile) 2>conftest.er1
34668 grep -v '^ *+' conftest.er1
>conftest.err
34670 cat conftest.err
>&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } &&
34673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; } &&
34679 { ac_try
='test -s conftest.$ac_objext'
34680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681 (eval $ac_try) 2>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); }; }; then
34685 wx_cv_type_statvfs_t
=statvfs_t
34687 echo "$as_me: failed program was:" >&5
34688 sed 's/^/| /' conftest.
$ac_ext >&5
34691 cat >conftest.
$ac_ext <<_ACEOF
34694 cat confdefs.h
>>conftest.
$ac_ext
34695 cat >>conftest.
$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34698 #include <sys/statvfs.h>
34715 rm -f conftest.
$ac_objext
34716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34717 (eval $ac_compile) 2>conftest.er1
34719 grep -v '^ *+' conftest.er1
>conftest.err
34721 cat conftest.err
>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } &&
34724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34726 (eval $ac_try) 2>&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); }; } &&
34730 { ac_try
='test -s conftest.$ac_objext'
34731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34732 (eval $ac_try) 2>&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); }; }; then
34736 wx_cv_type_statvfs_t
="struct statvfs"
34738 echo "$as_me: failed program was:" >&5
34739 sed 's/^/| /' conftest.
$ac_ext >&5
34741 wx_cv_type_statvfs_t
="unknown"
34744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34751 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34752 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34755 ac_cpp
='$CPP $CPPFLAGS'
34756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34761 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34762 cat >>confdefs.h
<<\_ACEOF
34763 #define HAVE_STATVFS 1
34768 wx_cv_type_statvfs_t
="unknown"
34772 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34773 cat >>confdefs.h
<<_ACEOF
34774 #define WX_STATFS_T $wx_cv_type_statvfs_t
34778 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34779 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34782 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34785 for ac_func
in fcntl flock
34787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34788 echo "$as_me:$LINENO: checking for $ac_func" >&5
34789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34790 if eval "test \"\${$as_ac_var+set}\" = set"; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 cat >conftest.
$ac_ext <<_ACEOF
34796 cat confdefs.h
>>conftest.
$ac_ext
34797 cat >>conftest.
$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34801 #define $ac_func innocuous_$ac_func
34803 /* System header to define __stub macros and hopefully few prototypes,
34804 which can conflict with char $ac_func (); below.
34805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34806 <limits.h> exists even on freestanding compilers. */
34809 # include <limits.h>
34811 # include <assert.h>
34816 /* Override any gcc2 internal prototype to avoid an error. */
34821 /* We use char because int might match the return type of a gcc2
34822 builtin and then its argument prototype would still apply. */
34824 /* The GNU C library defines this for functions which it implements
34825 to always fail with ENOSYS. Some functions are actually named
34826 something starting with __ and the normal name is an alias. */
34827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34830 char (*f) () = $ac_func;
34839 return f != $ac_func;
34844 rm -f conftest.
$ac_objext conftest
$ac_exeext
34845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34846 (eval $ac_link) 2>conftest.er1
34848 grep -v '^ *+' conftest.er1
>conftest.err
34850 cat conftest.err
>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } &&
34853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; } &&
34859 { ac_try
='test -s conftest$ac_exeext'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; }; then
34865 eval "$as_ac_var=yes"
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.
$ac_ext >&5
34870 eval "$as_ac_var=no"
34872 rm -f conftest.err conftest.
$ac_objext \
34873 conftest
$ac_exeext conftest.
$ac_ext
34875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34877 if test `eval echo '${'$as_ac_var'}'` = yes; then
34878 cat >>confdefs.h
<<_ACEOF
34879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34886 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34887 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34888 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34889 wxUSE_SNGLINST_CHECKER
=no
34894 for ac_func
in timegm
34896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34897 echo "$as_me:$LINENO: checking for $ac_func" >&5
34898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34899 if eval "test \"\${$as_ac_var+set}\" = set"; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 cat >conftest.
$ac_ext <<_ACEOF
34905 cat confdefs.h
>>conftest.
$ac_ext
34906 cat >>conftest.
$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34910 #define $ac_func innocuous_$ac_func
34912 /* System header to define __stub macros and hopefully few prototypes,
34913 which can conflict with char $ac_func (); below.
34914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34915 <limits.h> exists even on freestanding compilers. */
34918 # include <limits.h>
34920 # include <assert.h>
34925 /* Override any gcc2 internal prototype to avoid an error. */
34930 /* We use char because int might match the return type of a gcc2
34931 builtin and then its argument prototype would still apply. */
34933 /* The GNU C library defines this for functions which it implements
34934 to always fail with ENOSYS. Some functions are actually named
34935 something starting with __ and the normal name is an alias. */
34936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34939 char (*f) () = $ac_func;
34948 return f != $ac_func;
34953 rm -f conftest.
$ac_objext conftest
$ac_exeext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34955 (eval $ac_link) 2>conftest.er1
34957 grep -v '^ *+' conftest.er1
>conftest.err
34959 cat conftest.err
>&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } &&
34962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34964 (eval $ac_try) 2>&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); }; } &&
34968 { ac_try
='test -s conftest$ac_exeext'
34969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970 (eval $ac_try) 2>&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); }; }; then
34974 eval "$as_ac_var=yes"
34976 echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.
$ac_ext >&5
34979 eval "$as_ac_var=no"
34981 rm -f conftest.err conftest.
$ac_objext \
34982 conftest
$ac_exeext conftest.
$ac_ext
34984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34986 if test `eval echo '${'$as_ac_var'}'` = yes; then
34987 cat >>confdefs.h
<<_ACEOF
34988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34997 for ac_func
in putenv setenv
34999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35000 echo "$as_me:$LINENO: checking for $ac_func" >&5
35001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35002 if eval "test \"\${$as_ac_var+set}\" = set"; then
35003 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 cat >conftest.
$ac_ext <<_ACEOF
35008 cat confdefs.h
>>conftest.
$ac_ext
35009 cat >>conftest.
$ac_ext <<_ACEOF
35010 /* end confdefs.h. */
35011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35013 #define $ac_func innocuous_$ac_func
35015 /* System header to define __stub macros and hopefully few prototypes,
35016 which can conflict with char $ac_func (); below.
35017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35018 <limits.h> exists even on freestanding compilers. */
35021 # include <limits.h>
35023 # include <assert.h>
35028 /* Override any gcc2 internal prototype to avoid an error. */
35033 /* We use char because int might match the return type of a gcc2
35034 builtin and then its argument prototype would still apply. */
35036 /* The GNU C library defines this for functions which it implements
35037 to always fail with ENOSYS. Some functions are actually named
35038 something starting with __ and the normal name is an alias. */
35039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35042 char (*f) () = $ac_func;
35051 return f != $ac_func;
35056 rm -f conftest.
$ac_objext conftest
$ac_exeext
35057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35058 (eval $ac_link) 2>conftest.er1
35060 grep -v '^ *+' conftest.er1
>conftest.err
35062 cat conftest.err
>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); } &&
35065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; } &&
35071 { ac_try
='test -s conftest$ac_exeext'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; }; then
35077 eval "$as_ac_var=yes"
35079 echo "$as_me: failed program was:" >&5
35080 sed 's/^/| /' conftest.
$ac_ext >&5
35082 eval "$as_ac_var=no"
35084 rm -f conftest.err conftest.
$ac_objext \
35085 conftest
$ac_exeext conftest.
$ac_ext
35087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35089 if test `eval echo '${'$as_ac_var'}'` = yes; then
35090 cat >>confdefs.h
<<_ACEOF
35091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35098 HAVE_SOME_SLEEP_FUNC
=0
35099 if test "$USE_BEOS" = 1; then
35100 cat >>confdefs.h
<<\_ACEOF
35101 #define HAVE_SLEEP 1
35104 HAVE_SOME_SLEEP_FUNC
=1
35107 if test "$USE_DARWIN" = 1; then
35108 cat >>confdefs.h
<<\_ACEOF
35109 #define HAVE_USLEEP 1
35112 HAVE_SOME_SLEEP_FUNC
=1
35115 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35118 for ac_func
in nanosleep
35120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35121 echo "$as_me:$LINENO: checking for $ac_func" >&5
35122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35123 if eval "test \"\${$as_ac_var+set}\" = set"; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 cat >conftest.
$ac_ext <<_ACEOF
35129 cat confdefs.h
>>conftest.
$ac_ext
35130 cat >>conftest.
$ac_ext <<_ACEOF
35131 /* end confdefs.h. */
35132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35134 #define $ac_func innocuous_$ac_func
35136 /* System header to define __stub macros and hopefully few prototypes,
35137 which can conflict with char $ac_func (); below.
35138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35139 <limits.h> exists even on freestanding compilers. */
35142 # include <limits.h>
35144 # include <assert.h>
35149 /* Override any gcc2 internal prototype to avoid an error. */
35154 /* We use char because int might match the return type of a gcc2
35155 builtin and then its argument prototype would still apply. */
35157 /* The GNU C library defines this for functions which it implements
35158 to always fail with ENOSYS. Some functions are actually named
35159 something starting with __ and the normal name is an alias. */
35160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35163 char (*f) () = $ac_func;
35172 return f != $ac_func;
35177 rm -f conftest.
$ac_objext conftest
$ac_exeext
35178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35179 (eval $ac_link) 2>conftest.er1
35181 grep -v '^ *+' conftest.er1
>conftest.err
35183 cat conftest.err
>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } &&
35186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; } &&
35192 { ac_try
='test -s conftest$ac_exeext'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 eval "$as_ac_var=yes"
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.
$ac_ext >&5
35203 eval "$as_ac_var=no"
35205 rm -f conftest.err conftest.
$ac_objext \
35206 conftest
$ac_exeext conftest.
$ac_ext
35208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35210 if test `eval echo '${'$as_ac_var'}'` = yes; then
35211 cat >>confdefs.h
<<_ACEOF
35212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35214 cat >>confdefs.h
<<\_ACEOF
35215 #define HAVE_NANOSLEEP 1
35220 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35221 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35222 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35223 echo $ECHO_N "(cached) $ECHO_C" >&6
35225 ac_check_lib_save_LIBS
=$LIBS
35226 LIBS
="-lposix4 $LIBS"
35227 cat >conftest.
$ac_ext <<_ACEOF
35230 cat confdefs.h
>>conftest.
$ac_ext
35231 cat >>conftest.
$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35234 /* Override any gcc2 internal prototype to avoid an error. */
35238 /* We use char because int might match the return type of a gcc2
35239 builtin and then its argument prototype would still apply. */
35249 rm -f conftest.
$ac_objext conftest
$ac_exeext
35250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35251 (eval $ac_link) 2>conftest.er1
35253 grep -v '^ *+' conftest.er1
>conftest.err
35255 cat conftest.err
>&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); } &&
35258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; } &&
35264 { ac_try
='test -s conftest$ac_exeext'
35265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35266 (eval $ac_try) 2>&5
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); }; }; then
35270 ac_cv_lib_posix4_nanosleep
=yes
35272 echo "$as_me: failed program was:" >&5
35273 sed 's/^/| /' conftest.
$ac_ext >&5
35275 ac_cv_lib_posix4_nanosleep
=no
35277 rm -f conftest.err conftest.
$ac_objext \
35278 conftest
$ac_exeext conftest.
$ac_ext
35279 LIBS
=$ac_check_lib_save_LIBS
35281 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35282 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35283 if test $ac_cv_lib_posix4_nanosleep = yes; then
35285 cat >>confdefs.h
<<\_ACEOF
35286 #define HAVE_NANOSLEEP 1
35289 POSIX4_LINK
=" -lposix4"
35294 for ac_func
in usleep
35296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35297 echo "$as_me:$LINENO: checking for $ac_func" >&5
35298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35299 if eval "test \"\${$as_ac_var+set}\" = set"; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 cat >conftest.
$ac_ext <<_ACEOF
35305 cat confdefs.h
>>conftest.
$ac_ext
35306 cat >>conftest.
$ac_ext <<_ACEOF
35307 /* end confdefs.h. */
35308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35310 #define $ac_func innocuous_$ac_func
35312 /* System header to define __stub macros and hopefully few prototypes,
35313 which can conflict with char $ac_func (); below.
35314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35315 <limits.h> exists even on freestanding compilers. */
35318 # include <limits.h>
35320 # include <assert.h>
35325 /* Override any gcc2 internal prototype to avoid an error. */
35330 /* We use char because int might match the return type of a gcc2
35331 builtin and then its argument prototype would still apply. */
35333 /* The GNU C library defines this for functions which it implements
35334 to always fail with ENOSYS. Some functions are actually named
35335 something starting with __ and the normal name is an alias. */
35336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35339 char (*f) () = $ac_func;
35348 return f != $ac_func;
35353 rm -f conftest.
$ac_objext conftest
$ac_exeext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35355 (eval $ac_link) 2>conftest.er1
35357 grep -v '^ *+' conftest.er1
>conftest.err
35359 cat conftest.err
>&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } &&
35362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; } &&
35368 { ac_try
='test -s conftest$ac_exeext'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; }; then
35374 eval "$as_ac_var=yes"
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.
$ac_ext >&5
35379 eval "$as_ac_var=no"
35381 rm -f conftest.err conftest.
$ac_objext \
35382 conftest
$ac_exeext conftest.
$ac_ext
35384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35386 if test `eval echo '${'$as_ac_var'}'` = yes; then
35387 cat >>confdefs.h
<<_ACEOF
35388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35390 cat >>confdefs.h
<<\_ACEOF
35391 #define HAVE_USLEEP 1
35395 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35396 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35414 for ac_func
in uname gethostname
35416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35417 echo "$as_me:$LINENO: checking for $ac_func" >&5
35418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35419 if eval "test \"\${$as_ac_var+set}\" = set"; then
35420 echo $ECHO_N "(cached) $ECHO_C" >&6
35422 cat >conftest.
$ac_ext <<_ACEOF
35425 cat confdefs.h
>>conftest.
$ac_ext
35426 cat >>conftest.
$ac_ext <<_ACEOF
35427 /* end confdefs.h. */
35428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35430 #define $ac_func innocuous_$ac_func
35432 /* System header to define __stub macros and hopefully few prototypes,
35433 which can conflict with char $ac_func (); below.
35434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35435 <limits.h> exists even on freestanding compilers. */
35438 # include <limits.h>
35440 # include <assert.h>
35445 /* Override any gcc2 internal prototype to avoid an error. */
35450 /* We use char because int might match the return type of a gcc2
35451 builtin and then its argument prototype would still apply. */
35453 /* The GNU C library defines this for functions which it implements
35454 to always fail with ENOSYS. Some functions are actually named
35455 something starting with __ and the normal name is an alias. */
35456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35459 char (*f) () = $ac_func;
35468 return f != $ac_func;
35473 rm -f conftest.
$ac_objext conftest
$ac_exeext
35474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35475 (eval $ac_link) 2>conftest.er1
35477 grep -v '^ *+' conftest.er1
>conftest.err
35479 cat conftest.err
>&5
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); } &&
35482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; } &&
35488 { ac_try
='test -s conftest$ac_exeext'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; }; then
35494 eval "$as_ac_var=yes"
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.
$ac_ext >&5
35499 eval "$as_ac_var=no"
35501 rm -f conftest.err conftest.
$ac_objext \
35502 conftest
$ac_exeext conftest.
$ac_ext
35504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35506 if test `eval echo '${'$as_ac_var'}'` = yes; then
35507 cat >>confdefs.h
<<_ACEOF
35508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35518 ac_cpp
='$CXXCPP $CPPFLAGS'
35519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35525 for ac_func
in strtok_r
35527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35528 echo "$as_me:$LINENO: checking for $ac_func" >&5
35529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35530 if eval "test \"\${$as_ac_var+set}\" = set"; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35533 cat >conftest.
$ac_ext <<_ACEOF
35536 cat confdefs.h
>>conftest.
$ac_ext
35537 cat >>conftest.
$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35541 #define $ac_func innocuous_$ac_func
35543 /* System header to define __stub macros and hopefully few prototypes,
35544 which can conflict with char $ac_func (); below.
35545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35546 <limits.h> exists even on freestanding compilers. */
35549 # include <limits.h>
35551 # include <assert.h>
35556 /* Override any gcc2 internal prototype to avoid an error. */
35561 /* We use char because int might match the return type of a gcc2
35562 builtin and then its argument prototype would still apply. */
35564 /* The GNU C library defines this for functions which it implements
35565 to always fail with ENOSYS. Some functions are actually named
35566 something starting with __ and the normal name is an alias. */
35567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35570 char (*f) () = $ac_func;
35579 return f != $ac_func;
35584 rm -f conftest.
$ac_objext conftest
$ac_exeext
35585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35586 (eval $ac_link) 2>conftest.er1
35588 grep -v '^ *+' conftest.er1
>conftest.err
35590 cat conftest.err
>&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } &&
35593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; } &&
35599 { ac_try
='test -s conftest$ac_exeext'
35600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35601 (eval $ac_try) 2>&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); }; }; then
35605 eval "$as_ac_var=yes"
35607 echo "$as_me: failed program was:" >&5
35608 sed 's/^/| /' conftest.
$ac_ext >&5
35610 eval "$as_ac_var=no"
35612 rm -f conftest.err conftest.
$ac_objext \
35613 conftest
$ac_exeext conftest.
$ac_ext
35615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35617 if test `eval echo '${'$as_ac_var'}'` = yes; then
35618 cat >>confdefs.h
<<_ACEOF
35619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35627 ac_cpp
='$CPP $CPPFLAGS'
35628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35635 for ac_func
in inet_addr
35637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35638 echo "$as_me:$LINENO: checking for $ac_func" >&5
35639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35640 if eval "test \"\${$as_ac_var+set}\" = set"; then
35641 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 cat >conftest.
$ac_ext <<_ACEOF
35646 cat confdefs.h
>>conftest.
$ac_ext
35647 cat >>conftest.
$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35651 #define $ac_func innocuous_$ac_func
35653 /* System header to define __stub macros and hopefully few prototypes,
35654 which can conflict with char $ac_func (); below.
35655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35656 <limits.h> exists even on freestanding compilers. */
35659 # include <limits.h>
35661 # include <assert.h>
35666 /* Override any gcc2 internal prototype to avoid an error. */
35671 /* We use char because int might match the return type of a gcc2
35672 builtin and then its argument prototype would still apply. */
35674 /* The GNU C library defines this for functions which it implements
35675 to always fail with ENOSYS. Some functions are actually named
35676 something starting with __ and the normal name is an alias. */
35677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35680 char (*f) () = $ac_func;
35689 return f != $ac_func;
35694 rm -f conftest.
$ac_objext conftest
$ac_exeext
35695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35696 (eval $ac_link) 2>conftest.er1
35698 grep -v '^ *+' conftest.er1
>conftest.err
35700 cat conftest.err
>&5
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); } &&
35703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705 (eval $ac_try) 2>&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); }; } &&
35709 { ac_try
='test -s conftest$ac_exeext'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; }; then
35715 eval "$as_ac_var=yes"
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.
$ac_ext >&5
35720 eval "$as_ac_var=no"
35722 rm -f conftest.err conftest.
$ac_objext \
35723 conftest
$ac_exeext conftest.
$ac_ext
35725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35727 if test `eval echo '${'$as_ac_var'}'` = yes; then
35728 cat >>confdefs.h
<<_ACEOF
35729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35731 cat >>confdefs.h
<<\_ACEOF
35732 #define HAVE_INET_ADDR 1
35737 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35738 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35739 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35740 echo $ECHO_N "(cached) $ECHO_C" >&6
35742 ac_check_lib_save_LIBS
=$LIBS
35744 cat >conftest.
$ac_ext <<_ACEOF
35747 cat confdefs.h
>>conftest.
$ac_ext
35748 cat >>conftest.
$ac_ext <<_ACEOF
35749 /* end confdefs.h. */
35751 /* Override any gcc2 internal prototype to avoid an error. */
35755 /* We use char because int might match the return type of a gcc2
35756 builtin and then its argument prototype would still apply. */
35766 rm -f conftest.
$ac_objext conftest
$ac_exeext
35767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35768 (eval $ac_link) 2>conftest.er1
35770 grep -v '^ *+' conftest.er1
>conftest.err
35772 cat conftest.err
>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } &&
35775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35777 (eval $ac_try) 2>&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); }; } &&
35781 { ac_try
='test -s conftest$ac_exeext'
35782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35783 (eval $ac_try) 2>&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); }; }; then
35787 ac_cv_lib_nsl_inet_addr
=yes
35789 echo "$as_me: failed program was:" >&5
35790 sed 's/^/| /' conftest.
$ac_ext >&5
35792 ac_cv_lib_nsl_inet_addr
=no
35794 rm -f conftest.err conftest.
$ac_objext \
35795 conftest
$ac_exeext conftest.
$ac_ext
35796 LIBS
=$ac_check_lib_save_LIBS
35798 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35799 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35800 if test $ac_cv_lib_nsl_inet_addr = yes; then
35804 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35805 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35806 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35809 ac_check_lib_save_LIBS
=$LIBS
35810 LIBS
="-lresolv $LIBS"
35811 cat >conftest.
$ac_ext <<_ACEOF
35814 cat confdefs.h
>>conftest.
$ac_ext
35815 cat >>conftest.
$ac_ext <<_ACEOF
35816 /* end confdefs.h. */
35818 /* Override any gcc2 internal prototype to avoid an error. */
35822 /* We use char because int might match the return type of a gcc2
35823 builtin and then its argument prototype would still apply. */
35833 rm -f conftest.
$ac_objext conftest
$ac_exeext
35834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35835 (eval $ac_link) 2>conftest.er1
35837 grep -v '^ *+' conftest.er1
>conftest.err
35839 cat conftest.err
>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); } &&
35842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; } &&
35848 { ac_try
='test -s conftest$ac_exeext'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; }; then
35854 ac_cv_lib_resolv_inet_addr
=yes
35856 echo "$as_me: failed program was:" >&5
35857 sed 's/^/| /' conftest.
$ac_ext >&5
35859 ac_cv_lib_resolv_inet_addr
=no
35861 rm -f conftest.err conftest.
$ac_objext \
35862 conftest
$ac_exeext conftest.
$ac_ext
35863 LIBS
=$ac_check_lib_save_LIBS
35865 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35866 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35867 if test $ac_cv_lib_resolv_inet_addr = yes; then
35871 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35872 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35873 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35874 echo $ECHO_N "(cached) $ECHO_C" >&6
35876 ac_check_lib_save_LIBS
=$LIBS
35877 LIBS
="-lsocket $LIBS"
35878 cat >conftest.
$ac_ext <<_ACEOF
35881 cat confdefs.h
>>conftest.
$ac_ext
35882 cat >>conftest.
$ac_ext <<_ACEOF
35883 /* end confdefs.h. */
35885 /* Override any gcc2 internal prototype to avoid an error. */
35889 /* We use char because int might match the return type of a gcc2
35890 builtin and then its argument prototype would still apply. */
35900 rm -f conftest.
$ac_objext conftest
$ac_exeext
35901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35902 (eval $ac_link) 2>conftest.er1
35904 grep -v '^ *+' conftest.er1
>conftest.err
35906 cat conftest.err
>&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); } &&
35909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; } &&
35915 { ac_try
='test -s conftest$ac_exeext'
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; }; then
35921 ac_cv_lib_socket_inet_addr
=yes
35923 echo "$as_me: failed program was:" >&5
35924 sed 's/^/| /' conftest.
$ac_ext >&5
35926 ac_cv_lib_socket_inet_addr
=no
35928 rm -f conftest.err conftest.
$ac_objext \
35929 conftest
$ac_exeext conftest.
$ac_ext
35930 LIBS
=$ac_check_lib_save_LIBS
35932 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35933 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35934 if test $ac_cv_lib_socket_inet_addr = yes; then
35954 for ac_func
in inet_aton
35956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35957 echo "$as_me:$LINENO: checking for $ac_func" >&5
35958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35959 if eval "test \"\${$as_ac_var+set}\" = set"; then
35960 echo $ECHO_N "(cached) $ECHO_C" >&6
35962 cat >conftest.
$ac_ext <<_ACEOF
35965 cat confdefs.h
>>conftest.
$ac_ext
35966 cat >>conftest.
$ac_ext <<_ACEOF
35967 /* end confdefs.h. */
35968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35970 #define $ac_func innocuous_$ac_func
35972 /* System header to define __stub macros and hopefully few prototypes,
35973 which can conflict with char $ac_func (); below.
35974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35975 <limits.h> exists even on freestanding compilers. */
35978 # include <limits.h>
35980 # include <assert.h>
35985 /* Override any gcc2 internal prototype to avoid an error. */
35990 /* We use char because int might match the return type of a gcc2
35991 builtin and then its argument prototype would still apply. */
35993 /* The GNU C library defines this for functions which it implements
35994 to always fail with ENOSYS. Some functions are actually named
35995 something starting with __ and the normal name is an alias. */
35996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35999 char (*f) () = $ac_func;
36008 return f != $ac_func;
36013 rm -f conftest.
$ac_objext conftest
$ac_exeext
36014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36015 (eval $ac_link) 2>conftest.er1
36017 grep -v '^ *+' conftest.er1
>conftest.err
36019 cat conftest.err
>&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } &&
36022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36028 { ac_try
='test -s conftest$ac_exeext'
36029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36030 (eval $ac_try) 2>&5
36032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36033 (exit $ac_status); }; }; then
36034 eval "$as_ac_var=yes"
36036 echo "$as_me: failed program was:" >&5
36037 sed 's/^/| /' conftest.
$ac_ext >&5
36039 eval "$as_ac_var=no"
36041 rm -f conftest.err conftest.
$ac_objext \
36042 conftest
$ac_exeext conftest.
$ac_ext
36044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36046 if test `eval echo '${'$as_ac_var'}'` = yes; then
36047 cat >>confdefs.h
<<_ACEOF
36048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36050 cat >>confdefs.h
<<\_ACEOF
36051 #define HAVE_INET_ATON 1
36056 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36057 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36058 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36059 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 ac_check_lib_save_LIBS
=$LIBS
36063 LIBS
="-l$INET_LINK $LIBS"
36064 cat >conftest.
$ac_ext <<_ACEOF
36067 cat confdefs.h
>>conftest.
$ac_ext
36068 cat >>conftest.
$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36071 /* Override any gcc2 internal prototype to avoid an error. */
36075 /* We use char because int might match the return type of a gcc2
36076 builtin and then its argument prototype would still apply. */
36086 rm -f conftest.
$ac_objext conftest
$ac_exeext
36087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36088 (eval $ac_link) 2>conftest.er1
36090 grep -v '^ *+' conftest.er1
>conftest.err
36092 cat conftest.err
>&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); } &&
36095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36097 (eval $ac_try) 2>&5
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); }; } &&
36101 { ac_try
='test -s conftest$ac_exeext'
36102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36103 (eval $ac_try) 2>&5
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); }; }; then
36107 eval "$as_ac_Lib=yes"
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.
$ac_ext >&5
36112 eval "$as_ac_Lib=no"
36114 rm -f conftest.err conftest.
$ac_objext \
36115 conftest
$ac_exeext conftest.
$ac_ext
36116 LIBS
=$ac_check_lib_save_LIBS
36118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36119 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36120 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36121 cat >>confdefs.h
<<\_ACEOF
36122 #define HAVE_INET_ATON 1
36132 if test "x$INET_LINK" != "x"; then
36133 cat >>confdefs.h
<<\_ACEOF
36134 #define HAVE_INET_ADDR 1
36137 INET_LINK
=" -l$INET_LINK"
36145 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36146 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36147 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36148 echo $ECHO_N "(cached) $ECHO_C" >&6
36150 ac_check_lib_save_LIBS
=$LIBS
36152 cat >conftest.
$ac_ext <<_ACEOF
36155 cat confdefs.h
>>conftest.
$ac_ext
36156 cat >>conftest.
$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36159 /* Override any gcc2 internal prototype to avoid an error. */
36163 /* We use char because int might match the return type of a gcc2
36164 builtin and then its argument prototype would still apply. */
36174 rm -f conftest.
$ac_objext conftest
$ac_exeext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36176 (eval $ac_link) 2>conftest.er1
36178 grep -v '^ *+' conftest.er1
>conftest.err
36180 cat conftest.err
>&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36185 (eval $ac_try) 2>&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; } &&
36189 { ac_try
='test -s conftest$ac_exeext'
36190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36191 (eval $ac_try) 2>&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); }; }; then
36195 ac_cv_lib_esd_esd_close
=yes
36197 echo "$as_me: failed program was:" >&5
36198 sed 's/^/| /' conftest.
$ac_ext >&5
36200 ac_cv_lib_esd_esd_close
=no
36202 rm -f conftest.err conftest.
$ac_objext \
36203 conftest
$ac_exeext conftest.
$ac_ext
36204 LIBS
=$ac_check_lib_save_LIBS
36206 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36207 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36208 if test $ac_cv_lib_esd_esd_close = yes; then
36211 for ac_header
in esd.h
36213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36215 echo "$as_me:$LINENO: checking for $ac_header" >&5
36216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36218 echo $ECHO_N "(cached) $ECHO_C" >&6
36220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36223 # Is the header compilable?
36224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36226 cat >conftest.
$ac_ext <<_ACEOF
36229 cat confdefs.h
>>conftest.
$ac_ext
36230 cat >>conftest.
$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 $ac_includes_default
36233 #include <$ac_header>
36235 rm -f conftest.
$ac_objext
36236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36237 (eval $ac_compile) 2>conftest.er1
36239 grep -v '^ *+' conftest.er1
>conftest.err
36241 cat conftest.err
>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); } &&
36244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } &&
36250 { ac_try
='test -s conftest.$ac_objext'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; }; then
36256 ac_header_compiler
=yes
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.
$ac_ext >&5
36261 ac_header_compiler
=no
36263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36265 echo "${ECHO_T}$ac_header_compiler" >&6
36267 # Is the header present?
36268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36270 cat >conftest.
$ac_ext <<_ACEOF
36273 cat confdefs.h
>>conftest.
$ac_ext
36274 cat >>conftest.
$ac_ext <<_ACEOF
36275 /* end confdefs.h. */
36276 #include <$ac_header>
36278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36281 grep -v '^ *+' conftest.er1
>conftest.err
36283 cat conftest.err
>&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); } >/dev
/null
; then
36286 if test -s conftest.err
; then
36287 ac_cpp_err
=$ac_c_preproc_warn_flag
36288 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36295 if test -z "$ac_cpp_err"; then
36296 ac_header_preproc
=yes
36298 echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.
$ac_ext >&5
36301 ac_header_preproc
=no
36303 rm -f conftest.err conftest.
$ac_ext
36304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36305 echo "${ECHO_T}$ac_header_preproc" >&6
36307 # So? What about this header?
36308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36314 ac_header_preproc
=yes
36317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36331 ## ----------------------------------------- ##
36332 ## Report this to wx-dev@lists.wxwidgets.org ##
36333 ## ----------------------------------------- ##
36336 sed "s/^/$as_me: WARNING: /" >&2
36339 echo "$as_me:$LINENO: checking for $ac_header" >&5
36340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36342 echo $ECHO_N "(cached) $ECHO_C" >&6
36344 eval "$as_ac_Header=\$ac_header_preproc"
36346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36351 cat >>confdefs.h
<<_ACEOF
36352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36355 EXTRALIBS_ESD
="-lesd"
36366 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36367 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36368 cat >conftest.
$ac_ext <<_ACEOF
36371 cat confdefs.h
>>conftest.
$ac_ext
36372 cat >>conftest.
$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36375 #include <linux/cdrom.h>
36378 #include <sys/cdio.h>
36384 struct cdrom_tocentry entry, old_entry;
36389 rm -f conftest.
$ac_objext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36391 (eval $ac_compile) 2>conftest.er1
36393 grep -v '^ *+' conftest.er1
>conftest.err
36395 cat conftest.err
>&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400 (eval $ac_try) 2>&5
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); }; } &&
36404 { ac_try
='test -s conftest.$ac_objext'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; }; then
36410 echo "$as_me:$LINENO: result: yes" >&5
36411 echo "${ECHO_T}yes" >&6
36412 cat >>confdefs.h
<<\_ACEOF
36413 #define HAVE_KNOWN_CDROM_INTERFACE 1
36417 echo "$as_me: failed program was:" >&5
36418 sed 's/^/| /' conftest.
$ac_ext >&5
36420 echo "$as_me:$LINENO: result: no" >&5
36421 echo "${ECHO_T}no" >&6
36423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36426 cat >confcache
<<\_ACEOF
36427 # This file is a shell script that caches the results of configure
36428 # tests run on this system so they can be shared between configure
36429 # scripts and configure runs, see configure's option --config-cache.
36430 # It is not useful on other systems. If it contains results you don't
36431 # want to keep, you may remove or edit it.
36433 # config.status only pays attention to the cache file if you give it
36434 # the --recheck option to rerun configure.
36436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36438 # following values.
36442 # The following way of writing the cache mishandles newlines in values,
36443 # but we know of no workaround that is simple, portable, and efficient.
36444 # So, don't put newlines in cache variables' values.
36445 # Ultrix sh set writes to stderr and can't be redirected directly,
36446 # and sets the high bit in the cache file unless we assign to the vars.
36449 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36451 # `set' does not quote correctly, so add quotes (double-quote
36452 # substitution turns \\\\ into \\, and sed turns \\ into \).
36455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36458 # `set' quotes correctly as required by POSIX, so do not add quotes.
36460 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36469 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36471 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36472 if test -w $cache_file; then
36473 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36474 cat confcache
>$cache_file
36476 echo "not updating unwritable cache $cache_file"
36482 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36488 if test "$wxUSE_THREADS" = "yes" ; then
36489 if test "$USE_BEOS" = 1; then
36490 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36491 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36496 if test "$wxUSE_THREADS" = "yes" ; then
36499 THREAD_OPTS
="-pthread"
36501 *-*-solaris2* | *-*-sunos4* )
36502 if test "x$GCC" = "xyes"; then
36503 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36505 THREAD_OPTS
="-mt $THREAD_OPTS"
36509 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36511 *-*-darwin* | *-*-cygwin* )
36515 THREAD_OPTS
="pthreads"
36518 if test "x$GCC" = "xyes"; then
36519 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36527 if test "x$GCC" = "xyes"; then
36533 if test "x$GCC" != "xyes"; then
36534 THREAD_OPTS
="-Ethread"
36539 THREAD_OPTS
="$THREAD_OPTS pthread none"
36542 for flag
in $THREAD_OPTS; do
36545 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36546 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36550 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36551 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36552 THREADS_CFLAGS
="$flag"
36556 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36557 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36558 THREADS_LINK
="-l$flag"
36563 save_CFLAGS
="$CFLAGS"
36564 LIBS
="$THREADS_LINK $LIBS"
36565 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36567 cat >conftest.
$ac_ext <<_ACEOF
36570 cat confdefs.h
>>conftest.
$ac_ext
36571 cat >>conftest.
$ac_ext <<_ACEOF
36572 /* end confdefs.h. */
36573 #include <pthread.h>
36577 pthread_create(0,0,0,0);
36582 rm -f conftest.
$ac_objext conftest
$ac_exeext
36583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36584 (eval $ac_link) 2>conftest.er1
36586 grep -v '^ *+' conftest.er1
>conftest.err
36588 cat conftest.err
>&5
36589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590 (exit $ac_status); } &&
36591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36593 (eval $ac_try) 2>&5
36595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596 (exit $ac_status); }; } &&
36597 { ac_try
='test -s conftest$ac_exeext'
36598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36599 (eval $ac_try) 2>&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); }; }; then
36605 echo "$as_me: failed program was:" >&5
36606 sed 's/^/| /' conftest.
$ac_ext >&5
36609 rm -f conftest.err conftest.
$ac_objext \
36610 conftest
$ac_exeext conftest.
$ac_ext
36613 CFLAGS
="$save_CFLAGS"
36615 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36616 echo "${ECHO_T}$THREADS_OK" >&6
36617 if test "x$THREADS_OK" = "xyes"; then
36625 if test "x$THREADS_OK" != "xyes"; then
36627 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36628 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36630 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36631 LIBS
="$THREADS_LINK $LIBS"
36633 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36634 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36638 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36639 flag
="-D_THREAD_SAFE"
36642 flag
="-D_THREAD_SAFE"
36645 flag
="-D_REENTRANT"
36646 if test "x$GCC" != "xyes"; then
36647 flag
="$flag -D_RWSTD_MULTI_THREAD"
36650 *solaris
* | alpha
*-osf*)
36651 flag
="-D_REENTRANT"
36654 echo "$as_me:$LINENO: result: ${flag}" >&5
36655 echo "${ECHO_T}${flag}" >&6
36656 if test "x$flag" != xno
; then
36657 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36660 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
36664 if test "$wxUSE_THREADS" = "yes" ; then
36666 for ac_func
in thr_setconcurrency
36668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36669 echo "$as_me:$LINENO: checking for $ac_func" >&5
36670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36671 if eval "test \"\${$as_ac_var+set}\" = set"; then
36672 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 cat >conftest.
$ac_ext <<_ACEOF
36677 cat confdefs.h
>>conftest.
$ac_ext
36678 cat >>conftest.
$ac_ext <<_ACEOF
36679 /* end confdefs.h. */
36680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36682 #define $ac_func innocuous_$ac_func
36684 /* System header to define __stub macros and hopefully few prototypes,
36685 which can conflict with char $ac_func (); below.
36686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36687 <limits.h> exists even on freestanding compilers. */
36690 # include <limits.h>
36692 # include <assert.h>
36697 /* Override any gcc2 internal prototype to avoid an error. */
36702 /* We use char because int might match the return type of a gcc2
36703 builtin and then its argument prototype would still apply. */
36705 /* The GNU C library defines this for functions which it implements
36706 to always fail with ENOSYS. Some functions are actually named
36707 something starting with __ and the normal name is an alias. */
36708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36711 char (*f) () = $ac_func;
36720 return f != $ac_func;
36725 rm -f conftest.
$ac_objext conftest
$ac_exeext
36726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36727 (eval $ac_link) 2>conftest.er1
36729 grep -v '^ *+' conftest.er1
>conftest.err
36731 cat conftest.err
>&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); } &&
36734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36736 (eval $ac_try) 2>&5
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); }; } &&
36740 { ac_try
='test -s conftest$ac_exeext'
36741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36742 (eval $ac_try) 2>&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); }; }; then
36746 eval "$as_ac_var=yes"
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.
$ac_ext >&5
36751 eval "$as_ac_var=no"
36753 rm -f conftest.err conftest.
$ac_objext \
36754 conftest
$ac_exeext conftest.
$ac_ext
36756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36758 if test `eval echo '${'$as_ac_var'}'` = yes; then
36759 cat >>confdefs.h
<<_ACEOF
36760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36767 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36768 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36769 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36770 echo $ECHO_N "(cached) $ECHO_C" >&6
36773 cat >conftest.
$ac_ext <<_ACEOF
36776 cat confdefs.h
>>conftest.
$ac_ext
36777 cat >>conftest.
$ac_ext <<_ACEOF
36778 /* end confdefs.h. */
36779 #include <pthread.h>
36780 void ThreadCleanupFunc(void *p);
36787 pthread_cleanup_push(ThreadCleanupFunc, p);
36788 pthread_cleanup_pop(0);
36794 rm -f conftest.
$ac_objext
36795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36796 (eval $ac_compile) 2>conftest.er1
36798 grep -v '^ *+' conftest.er1
>conftest.err
36800 cat conftest.err
>&5
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); } &&
36803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36805 (eval $ac_try) 2>&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); }; } &&
36809 { ac_try
='test -s conftest.$ac_objext'
36810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36811 (eval $ac_try) 2>&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); }; }; then
36816 wx_cv_func_pthread_cleanup
=yes
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.
$ac_ext >&5
36823 wx_cv_func_pthread_cleanup
=no
36827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36830 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36831 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36832 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define wxHAVE_PTHREAD_CLEANUP 1
36840 for ac_header
in sched.h
36842 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36844 echo "$as_me:$LINENO: checking for $ac_header" >&5
36845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36852 # Is the header compilable?
36853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36855 cat >conftest.
$ac_ext <<_ACEOF
36858 cat confdefs.h
>>conftest.
$ac_ext
36859 cat >>conftest.
$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 $ac_includes_default
36862 #include <$ac_header>
36864 rm -f conftest.
$ac_objext
36865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36866 (eval $ac_compile) 2>conftest.er1
36868 grep -v '^ *+' conftest.er1
>conftest.err
36870 cat conftest.err
>&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } &&
36873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36875 (eval $ac_try) 2>&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); }; } &&
36879 { ac_try
='test -s conftest.$ac_objext'
36880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36881 (eval $ac_try) 2>&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); }; }; then
36885 ac_header_compiler
=yes
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.
$ac_ext >&5
36890 ac_header_compiler
=no
36892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36894 echo "${ECHO_T}$ac_header_compiler" >&6
36896 # Is the header present?
36897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36899 cat >conftest.
$ac_ext <<_ACEOF
36902 cat confdefs.h
>>conftest.
$ac_ext
36903 cat >>conftest.
$ac_ext <<_ACEOF
36904 /* end confdefs.h. */
36905 #include <$ac_header>
36907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36910 grep -v '^ *+' conftest.er1
>conftest.err
36912 cat conftest.err
>&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } >/dev
/null
; then
36915 if test -s conftest.err
; then
36916 ac_cpp_err
=$ac_c_preproc_warn_flag
36917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36924 if test -z "$ac_cpp_err"; then
36925 ac_header_preproc
=yes
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.
$ac_ext >&5
36930 ac_header_preproc
=no
36932 rm -f conftest.err conftest.
$ac_ext
36933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36934 echo "${ECHO_T}$ac_header_preproc" >&6
36936 # So? What about this header?
36937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36943 ac_header_preproc
=yes
36946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36960 ## ----------------------------------------- ##
36961 ## Report this to wx-dev@lists.wxwidgets.org ##
36962 ## ----------------------------------------- ##
36965 sed "s/^/$as_me: WARNING: /" >&2
36968 echo "$as_me:$LINENO: checking for $ac_header" >&5
36969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 eval "$as_ac_Header=\$ac_header_preproc"
36975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36980 cat >>confdefs.h
<<_ACEOF
36981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36988 if test "$ac_cv_header_sched_h" = "yes"; then
36989 echo "$as_me:$LINENO: checking for sched_yield" >&5
36990 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36991 if test "${ac_cv_func_sched_yield+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 cat >conftest.
$ac_ext <<_ACEOF
36997 cat confdefs.h
>>conftest.
$ac_ext
36998 cat >>conftest.
$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37002 #define sched_yield innocuous_sched_yield
37004 /* System header to define __stub macros and hopefully few prototypes,
37005 which can conflict with char sched_yield (); below.
37006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37007 <limits.h> exists even on freestanding compilers. */
37010 # include <limits.h>
37012 # include <assert.h>
37017 /* Override any gcc2 internal prototype to avoid an error. */
37022 /* We use char because int might match the return type of a gcc2
37023 builtin and then its argument prototype would still apply. */
37024 char sched_yield ();
37025 /* The GNU C library defines this for functions which it implements
37026 to always fail with ENOSYS. Some functions are actually named
37027 something starting with __ and the normal name is an alias. */
37028 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37031 char (*f) () = sched_yield;
37040 return f != sched_yield;
37045 rm -f conftest.
$ac_objext conftest
$ac_exeext
37046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37047 (eval $ac_link) 2>conftest.er1
37049 grep -v '^ *+' conftest.er1
>conftest.err
37051 cat conftest.err
>&5
37052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37053 (exit $ac_status); } &&
37054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37056 (eval $ac_try) 2>&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); }; } &&
37060 { ac_try
='test -s conftest$ac_exeext'
37061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37062 (eval $ac_try) 2>&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; }; then
37066 ac_cv_func_sched_yield
=yes
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.
$ac_ext >&5
37071 ac_cv_func_sched_yield
=no
37073 rm -f conftest.err conftest.
$ac_objext \
37074 conftest
$ac_exeext conftest.
$ac_ext
37076 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37077 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37078 if test $ac_cv_func_sched_yield = yes; then
37079 cat >>confdefs.h
<<\_ACEOF
37080 #define HAVE_SCHED_YIELD 1
37085 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37086 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37087 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37088 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 ac_check_lib_save_LIBS
=$LIBS
37091 LIBS
="-lposix4 $LIBS"
37092 cat >conftest.
$ac_ext <<_ACEOF
37095 cat confdefs.h
>>conftest.
$ac_ext
37096 cat >>conftest.
$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37099 /* Override any gcc2 internal prototype to avoid an error. */
37103 /* We use char because int might match the return type of a gcc2
37104 builtin and then its argument prototype would still apply. */
37105 char sched_yield ();
37114 rm -f conftest.
$ac_objext conftest
$ac_exeext
37115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37116 (eval $ac_link) 2>conftest.er1
37118 grep -v '^ *+' conftest.er1
>conftest.err
37120 cat conftest.err
>&5
37121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122 (exit $ac_status); } &&
37123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; } &&
37129 { ac_try
='test -s conftest$ac_exeext'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; }; then
37135 ac_cv_lib_posix4_sched_yield
=yes
37137 echo "$as_me: failed program was:" >&5
37138 sed 's/^/| /' conftest.
$ac_ext >&5
37140 ac_cv_lib_posix4_sched_yield
=no
37142 rm -f conftest.err conftest.
$ac_objext \
37143 conftest
$ac_exeext conftest.
$ac_ext
37144 LIBS
=$ac_check_lib_save_LIBS
37146 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37147 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37148 if test $ac_cv_lib_posix4_sched_yield = yes; then
37149 cat >>confdefs.h
<<\_ACEOF
37150 #define HAVE_SCHED_YIELD 1
37152 POSIX4_LINK
=" -lposix4"
37154 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37155 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37166 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37167 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37168 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37171 cat >conftest.
$ac_ext <<_ACEOF
37174 cat confdefs.h
>>conftest.
$ac_ext
37175 cat >>conftest.
$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37179 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37181 /* System header to define __stub macros and hopefully few prototypes,
37182 which can conflict with char pthread_attr_getschedpolicy (); below.
37183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37184 <limits.h> exists even on freestanding compilers. */
37187 # include <limits.h>
37189 # include <assert.h>
37192 #undef pthread_attr_getschedpolicy
37194 /* Override any gcc2 internal prototype to avoid an error. */
37199 /* We use char because int might match the return type of a gcc2
37200 builtin and then its argument prototype would still apply. */
37201 char pthread_attr_getschedpolicy ();
37202 /* The GNU C library defines this for functions which it implements
37203 to always fail with ENOSYS. Some functions are actually named
37204 something starting with __ and the normal name is an alias. */
37205 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37208 char (*f) () = pthread_attr_getschedpolicy;
37217 return f != pthread_attr_getschedpolicy;
37222 rm -f conftest.
$ac_objext conftest
$ac_exeext
37223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37224 (eval $ac_link) 2>conftest.er1
37226 grep -v '^ *+' conftest.er1
>conftest.err
37228 cat conftest.err
>&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } &&
37231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; } &&
37237 { ac_try
='test -s conftest$ac_exeext'
37238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239 (eval $ac_try) 2>&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); }; }; then
37243 ac_cv_func_pthread_attr_getschedpolicy
=yes
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.
$ac_ext >&5
37248 ac_cv_func_pthread_attr_getschedpolicy
=no
37250 rm -f conftest.err conftest.
$ac_objext \
37251 conftest
$ac_exeext conftest.
$ac_ext
37253 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37254 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37255 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37256 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37257 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37258 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37259 echo $ECHO_N "(cached) $ECHO_C" >&6
37261 cat >conftest.
$ac_ext <<_ACEOF
37264 cat confdefs.h
>>conftest.
$ac_ext
37265 cat >>conftest.
$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37269 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37271 /* System header to define __stub macros and hopefully few prototypes,
37272 which can conflict with char pthread_attr_setschedparam (); below.
37273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37274 <limits.h> exists even on freestanding compilers. */
37277 # include <limits.h>
37279 # include <assert.h>
37282 #undef pthread_attr_setschedparam
37284 /* Override any gcc2 internal prototype to avoid an error. */
37289 /* We use char because int might match the return type of a gcc2
37290 builtin and then its argument prototype would still apply. */
37291 char pthread_attr_setschedparam ();
37292 /* The GNU C library defines this for functions which it implements
37293 to always fail with ENOSYS. Some functions are actually named
37294 something starting with __ and the normal name is an alias. */
37295 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37298 char (*f) () = pthread_attr_setschedparam;
37307 return f != pthread_attr_setschedparam;
37312 rm -f conftest.
$ac_objext conftest
$ac_exeext
37313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37314 (eval $ac_link) 2>conftest.er1
37316 grep -v '^ *+' conftest.er1
>conftest.err
37318 cat conftest.err
>&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } &&
37321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323 (eval $ac_try) 2>&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); }; } &&
37327 { ac_try
='test -s conftest$ac_exeext'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; }; then
37333 ac_cv_func_pthread_attr_setschedparam
=yes
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.
$ac_ext >&5
37338 ac_cv_func_pthread_attr_setschedparam
=no
37340 rm -f conftest.err conftest.
$ac_objext \
37341 conftest
$ac_exeext conftest.
$ac_ext
37343 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37344 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37345 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37346 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37347 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37348 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37349 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 cat >conftest.
$ac_ext <<_ACEOF
37354 cat confdefs.h
>>conftest.
$ac_ext
37355 cat >>conftest.
$ac_ext <<_ACEOF
37356 /* end confdefs.h. */
37357 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37359 #define sched_get_priority_max innocuous_sched_get_priority_max
37361 /* System header to define __stub macros and hopefully few prototypes,
37362 which can conflict with char sched_get_priority_max (); below.
37363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37364 <limits.h> exists even on freestanding compilers. */
37367 # include <limits.h>
37369 # include <assert.h>
37372 #undef sched_get_priority_max
37374 /* Override any gcc2 internal prototype to avoid an error. */
37379 /* We use char because int might match the return type of a gcc2
37380 builtin and then its argument prototype would still apply. */
37381 char sched_get_priority_max ();
37382 /* The GNU C library defines this for functions which it implements
37383 to always fail with ENOSYS. Some functions are actually named
37384 something starting with __ and the normal name is an alias. */
37385 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37388 char (*f) () = sched_get_priority_max;
37397 return f != sched_get_priority_max;
37402 rm -f conftest.
$ac_objext conftest
$ac_exeext
37403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37404 (eval $ac_link) 2>conftest.er1
37406 grep -v '^ *+' conftest.er1
>conftest.err
37408 cat conftest.err
>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); } &&
37411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37413 (eval $ac_try) 2>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); }; } &&
37417 { ac_try
='test -s conftest$ac_exeext'
37418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37419 (eval $ac_try) 2>&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); }; }; then
37423 ac_cv_func_sched_get_priority_max
=yes
37425 echo "$as_me: failed program was:" >&5
37426 sed 's/^/| /' conftest.
$ac_ext >&5
37428 ac_cv_func_sched_get_priority_max
=no
37430 rm -f conftest.err conftest.
$ac_objext \
37431 conftest
$ac_exeext conftest.
$ac_ext
37433 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37434 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37435 if test $ac_cv_func_sched_get_priority_max = yes; then
37438 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37439 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37440 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37443 ac_check_lib_save_LIBS
=$LIBS
37444 LIBS
="-lposix4 $LIBS"
37445 cat >conftest.
$ac_ext <<_ACEOF
37448 cat confdefs.h
>>conftest.
$ac_ext
37449 cat >>conftest.
$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37452 /* Override any gcc2 internal prototype to avoid an error. */
37456 /* We use char because int might match the return type of a gcc2
37457 builtin and then its argument prototype would still apply. */
37458 char sched_get_priority_max ();
37462 sched_get_priority_max ();
37467 rm -f conftest.
$ac_objext conftest
$ac_exeext
37468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37469 (eval $ac_link) 2>conftest.er1
37471 grep -v '^ *+' conftest.er1
>conftest.err
37473 cat conftest.err
>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } &&
37476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; } &&
37482 { ac_try
='test -s conftest$ac_exeext'
37483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484 (eval $ac_try) 2>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); }; }; then
37488 ac_cv_lib_posix4_sched_get_priority_max
=yes
37490 echo "$as_me: failed program was:" >&5
37491 sed 's/^/| /' conftest.
$ac_ext >&5
37493 ac_cv_lib_posix4_sched_get_priority_max
=no
37495 rm -f conftest.err conftest.
$ac_objext \
37496 conftest
$ac_exeext conftest.
$ac_ext
37497 LIBS
=$ac_check_lib_save_LIBS
37499 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37500 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37501 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37504 POSIX4_LINK
=" -lposix4"
37518 if test "$HAVE_PRIOR_FUNCS" = 1; then
37519 cat >>confdefs.h
<<\_ACEOF
37520 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37524 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37525 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37528 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37529 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37530 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37531 echo $ECHO_N "(cached) $ECHO_C" >&6
37533 cat >conftest.
$ac_ext <<_ACEOF
37536 cat confdefs.h
>>conftest.
$ac_ext
37537 cat >>conftest.
$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37539 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37541 #define pthread_cancel innocuous_pthread_cancel
37543 /* System header to define __stub macros and hopefully few prototypes,
37544 which can conflict with char pthread_cancel (); below.
37545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37546 <limits.h> exists even on freestanding compilers. */
37549 # include <limits.h>
37551 # include <assert.h>
37554 #undef pthread_cancel
37556 /* Override any gcc2 internal prototype to avoid an error. */
37561 /* We use char because int might match the return type of a gcc2
37562 builtin and then its argument prototype would still apply. */
37563 char pthread_cancel ();
37564 /* The GNU C library defines this for functions which it implements
37565 to always fail with ENOSYS. Some functions are actually named
37566 something starting with __ and the normal name is an alias. */
37567 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37570 char (*f) () = pthread_cancel;
37579 return f != pthread_cancel;
37584 rm -f conftest.
$ac_objext conftest
$ac_exeext
37585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37586 (eval $ac_link) 2>conftest.er1
37588 grep -v '^ *+' conftest.er1
>conftest.err
37590 cat conftest.err
>&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); } &&
37593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try
='test -s conftest$ac_exeext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 ac_cv_func_pthread_cancel
=yes
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.
$ac_ext >&5
37610 ac_cv_func_pthread_cancel
=no
37612 rm -f conftest.err conftest.
$ac_objext \
37613 conftest
$ac_exeext conftest.
$ac_ext
37615 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37616 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37617 if test $ac_cv_func_pthread_cancel = yes; then
37618 cat >>confdefs.h
<<\_ACEOF
37619 #define HAVE_PTHREAD_CANCEL 1
37623 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37624 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37628 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37629 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37630 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37633 cat >conftest.
$ac_ext <<_ACEOF
37636 cat confdefs.h
>>conftest.
$ac_ext
37637 cat >>conftest.
$ac_ext <<_ACEOF
37638 /* end confdefs.h. */
37639 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37641 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37643 /* System header to define __stub macros and hopefully few prototypes,
37644 which can conflict with char pthread_attr_setstacksize (); below.
37645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37646 <limits.h> exists even on freestanding compilers. */
37649 # include <limits.h>
37651 # include <assert.h>
37654 #undef pthread_attr_setstacksize
37656 /* Override any gcc2 internal prototype to avoid an error. */
37661 /* We use char because int might match the return type of a gcc2
37662 builtin and then its argument prototype would still apply. */
37663 char pthread_attr_setstacksize ();
37664 /* The GNU C library defines this for functions which it implements
37665 to always fail with ENOSYS. Some functions are actually named
37666 something starting with __ and the normal name is an alias. */
37667 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37670 char (*f) () = pthread_attr_setstacksize;
37679 return f != pthread_attr_setstacksize;
37684 rm -f conftest.
$ac_objext conftest
$ac_exeext
37685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37686 (eval $ac_link) 2>conftest.er1
37688 grep -v '^ *+' conftest.er1
>conftest.err
37690 cat conftest.err
>&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } &&
37693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try
='test -s conftest$ac_exeext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 ac_cv_func_pthread_attr_setstacksize
=yes
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.
$ac_ext >&5
37710 ac_cv_func_pthread_attr_setstacksize
=no
37712 rm -f conftest.err conftest.
$ac_objext \
37713 conftest
$ac_exeext conftest.
$ac_ext
37715 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37716 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37717 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37718 cat >>confdefs.h
<<\_ACEOF
37719 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37726 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37727 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37728 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37732 cat >conftest.
$ac_ext <<_ACEOF
37735 cat confdefs.h
>>conftest.
$ac_ext
37736 cat >>conftest.
$ac_ext <<_ACEOF
37737 /* end confdefs.h. */
37738 #include <pthread.h>
37743 pthread_mutexattr_t attr;
37744 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37750 rm -f conftest.
$ac_objext
37751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37752 (eval $ac_compile) 2>conftest.er1
37754 grep -v '^ *+' conftest.er1
>conftest.err
37756 cat conftest.err
>&5
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); } &&
37759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; } &&
37765 { ac_try
='test -s conftest.$ac_objext'
37766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37767 (eval $ac_try) 2>&5
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); }; }; then
37771 wx_cv_type_pthread_mutexattr_t
=yes
37773 echo "$as_me: failed program was:" >&5
37774 sed 's/^/| /' conftest.
$ac_ext >&5
37776 wx_cv_type_pthread_mutexattr_t
=no
37779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37782 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37783 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37785 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37786 cat >>confdefs.h
<<\_ACEOF
37787 #define HAVE_PTHREAD_MUTEXATTR_T 1
37791 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37792 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37793 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37797 cat >conftest.
$ac_ext <<_ACEOF
37800 cat confdefs.h
>>conftest.
$ac_ext
37801 cat >>conftest.
$ac_ext <<_ACEOF
37802 /* end confdefs.h. */
37803 #include <pthread.h>
37808 pthread_mutexattr_t attr;
37809 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37815 rm -f conftest.
$ac_objext
37816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37817 (eval $ac_compile) 2>conftest.er1
37819 grep -v '^ *+' conftest.er1
>conftest.err
37821 cat conftest.err
>&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } &&
37824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try
='test -s conftest.$ac_objext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.
$ac_ext >&5
37841 wx_cv_func_pthread_mutexattr_settype_decl
=no
37844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37847 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37848 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37849 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37850 cat >>confdefs.h
<<\_ACEOF
37851 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37856 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37857 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37858 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37862 cat >conftest.
$ac_ext <<_ACEOF
37865 cat confdefs.h
>>conftest.
$ac_ext
37866 cat >>conftest.
$ac_ext <<_ACEOF
37867 /* end confdefs.h. */
37868 #include <pthread.h>
37873 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37879 rm -f conftest.
$ac_objext
37880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37881 (eval $ac_compile) 2>conftest.er1
37883 grep -v '^ *+' conftest.er1
>conftest.err
37885 cat conftest.err
>&5
37886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887 (exit $ac_status); } &&
37888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37890 (eval $ac_try) 2>&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); }; } &&
37894 { ac_try
='test -s conftest.$ac_objext'
37895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37896 (eval $ac_try) 2>&5
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); }; }; then
37901 wx_cv_type_pthread_rec_mutex_init
=yes
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.
$ac_ext >&5
37908 wx_cv_type_pthread_rec_mutex_init
=no
37912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37915 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37916 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37917 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37918 cat >>confdefs.h
<<\_ACEOF
37919 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37923 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37924 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37930 if test "$wxUSE_THREADS" = "yes" ; then
37933 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37934 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37935 if test "${wx_cv_cflags_mthread+set}" = set; then
37936 echo $ECHO_N "(cached) $ECHO_C" >&6
37939 CFLAGS_OLD
="$CFLAGS"
37940 CFLAGS
="$CFLAGS -mthreads"
37941 cat >conftest.
$ac_ext <<_ACEOF
37944 cat confdefs.h
>>conftest.
$ac_ext
37945 cat >>conftest.
$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37956 rm -f conftest.
$ac_objext
37957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37958 (eval $ac_compile) 2>conftest.er1
37960 grep -v '^ *+' conftest.er1
>conftest.err
37962 cat conftest.err
>&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } &&
37965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967 (eval $ac_try) 2>&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); }; } &&
37971 { ac_try
='test -s conftest.$ac_objext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 wx_cv_cflags_mthread
=yes
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.
$ac_ext >&5
37982 wx_cv_cflags_mthread
=no
37985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37989 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37990 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37992 if test "$wx_cv_cflags_mthread" = "yes"; then
37993 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
37994 LDFLAGS
="$LDFLAGS -mthreads"
37996 CFLAGS
="$CFLAGS_OLD"
38000 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38001 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38002 LDFLAGS
="$LDFLAGS -Zmt"
38008 if test "$wxUSE_THREADS" = "yes"; then
38009 cat >>confdefs.h
<<\_ACEOF
38010 #define wxUSE_THREADS 1
38014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
38016 if test "$ac_cv_func_strtok_r" = "yes"; then
38017 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
38018 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
38019 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
38020 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
38021 echo "$as_me:$LINENO: result: yes" >&5
38022 echo "${ECHO_T}yes" >&6
38024 echo "$as_me:$LINENO: result: no" >&5
38025 echo "${ECHO_T}no" >&6
38030 if test "$WXGTK20" = 1 ; then
38031 cat >>confdefs.h
<<_ACEOF
38032 #define __WXGTK20__ $WXGTK20
38038 if test "$WXGTK12" = 1 ; then
38039 cat >>confdefs.h
<<_ACEOF
38040 #define __WXGTK12__ $WXGTK12
38045 if test "$WXGTK127" = 1 ; then
38046 cat >>confdefs.h
<<_ACEOF
38047 #define __WXGTK127__ $WXGTK127
38052 if test "$WXGPE" = 1 ; then
38053 cat >>confdefs.h
<<_ACEOF
38054 #define __WXGPE__ $WXGPE
38060 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
38065 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
38066 wxUSE_DEBUG_INFO
=yes
38067 if test "$GCC" = yes; then
38072 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
38073 cat >>confdefs.h
<<\_ACEOF
38077 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
38079 if test "$wxUSE_GTK" = 1 ; then
38080 CPPFLAGS
="$CPPFLAGS -DGTK_NO_CHECK_CASTS"
38084 if test "$wxUSE_MEM_TRACING" = "yes" ; then
38085 cat >>confdefs.h
<<\_ACEOF
38086 #define wxUSE_MEMORY_TRACING 1
38089 cat >>confdefs.h
<<\_ACEOF
38090 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
38093 cat >>confdefs.h
<<\_ACEOF
38094 #define wxUSE_DEBUG_NEW_ALWAYS 1
38097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
38100 if test "$wxUSE_DMALLOC" = "yes" ; then
38101 DMALLOC_LIBS
="-ldmallocthcxx"
38105 if test "$wxUSE_PROFILE" = "yes" ; then
38106 PROFILE_FLAG
=" -pg"
38109 if test "$GCC" = "yes" ; then
38110 if test "$wxUSE_NO_RTTI" = "yes" ; then
38111 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
38113 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38114 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
38116 if test "$wxUSE_PERMISSIVE" = "yes" ; then
38117 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
38122 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
38125 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
38131 if test "$wxUSE_OPTIMISE" = "no" ; then
38132 if test "$GCC" = yes ; then
38133 OPTIMISE_FLAG
="-O0"
38136 if test "$GCC" = yes ; then
38137 OPTIMISE_FLAG
="-O2"
38144 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
38145 cat >>confdefs.h
<<\_ACEOF
38146 #define WXWIN_COMPATIBILITY_2_4 1
38150 WXWIN_COMPATIBILITY_2_6
="yes"
38153 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
38154 cat >>confdefs.h
<<\_ACEOF
38155 #define WXWIN_COMPATIBILITY_2_6 1
38161 if test "$wxUSE_GUI" = "yes"; then
38162 cat >>confdefs.h
<<\_ACEOF
38163 #define wxUSE_GUI 1
38170 if test "$wxUSE_UNIX" = "yes"; then
38171 cat >>confdefs.h
<<\_ACEOF
38172 #define wxUSE_UNIX 1
38178 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38182 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38183 if test "$USE_DARWIN" = 1; then
38185 elif test "$USE_DOS" = 1; then
38189 for ac_func
in dlopen
38191 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38192 echo "$as_me:$LINENO: checking for $ac_func" >&5
38193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38194 if eval "test \"\${$as_ac_var+set}\" = set"; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38197 cat >conftest.
$ac_ext <<_ACEOF
38200 cat confdefs.h
>>conftest.
$ac_ext
38201 cat >>conftest.
$ac_ext <<_ACEOF
38202 /* end confdefs.h. */
38203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38205 #define $ac_func innocuous_$ac_func
38207 /* System header to define __stub macros and hopefully few prototypes,
38208 which can conflict with char $ac_func (); below.
38209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38210 <limits.h> exists even on freestanding compilers. */
38213 # include <limits.h>
38215 # include <assert.h>
38220 /* Override any gcc2 internal prototype to avoid an error. */
38225 /* We use char because int might match the return type of a gcc2
38226 builtin and then its argument prototype would still apply. */
38228 /* The GNU C library defines this for functions which it implements
38229 to always fail with ENOSYS. Some functions are actually named
38230 something starting with __ and the normal name is an alias. */
38231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38234 char (*f) () = $ac_func;
38243 return f != $ac_func;
38248 rm -f conftest.
$ac_objext conftest
$ac_exeext
38249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38250 (eval $ac_link) 2>conftest.er1
38252 grep -v '^ *+' conftest.er1
>conftest.err
38254 cat conftest.err
>&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } &&
38257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259 (eval $ac_try) 2>&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); }; } &&
38263 { ac_try
='test -s conftest$ac_exeext'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; }; then
38269 eval "$as_ac_var=yes"
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.
$ac_ext >&5
38274 eval "$as_ac_var=no"
38276 rm -f conftest.err conftest.
$ac_objext \
38277 conftest
$ac_exeext conftest.
$ac_ext
38279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38281 if test `eval echo '${'$as_ac_var'}'` = yes; then
38282 cat >>confdefs.h
<<_ACEOF
38283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38286 cat >>confdefs.h
<<\_ACEOF
38287 #define HAVE_DLOPEN 1
38294 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38295 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38296 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38299 ac_check_lib_save_LIBS
=$LIBS
38301 cat >conftest.
$ac_ext <<_ACEOF
38304 cat confdefs.h
>>conftest.
$ac_ext
38305 cat >>conftest.
$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38308 /* Override any gcc2 internal prototype to avoid an error. */
38312 /* We use char because int might match the return type of a gcc2
38313 builtin and then its argument prototype would still apply. */
38323 rm -f conftest.
$ac_objext conftest
$ac_exeext
38324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38325 (eval $ac_link) 2>conftest.er1
38327 grep -v '^ *+' conftest.er1
>conftest.err
38329 cat conftest.err
>&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); } &&
38332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try
='test -s conftest$ac_exeext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 ac_cv_lib_dl_dlopen
=yes
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.
$ac_ext >&5
38349 ac_cv_lib_dl_dlopen
=no
38351 rm -f conftest.err conftest.
$ac_objext \
38352 conftest
$ac_exeext conftest.
$ac_ext
38353 LIBS
=$ac_check_lib_save_LIBS
38355 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38356 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38357 if test $ac_cv_lib_dl_dlopen = yes; then
38359 cat >>confdefs.h
<<\_ACEOF
38360 #define HAVE_DLOPEN 1
38364 DL_LINK
=" -ldl$DL_LINK"
38369 for ac_func
in shl_load
38371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38372 echo "$as_me:$LINENO: checking for $ac_func" >&5
38373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38374 if eval "test \"\${$as_ac_var+set}\" = set"; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 cat >conftest.
$ac_ext <<_ACEOF
38380 cat confdefs.h
>>conftest.
$ac_ext
38381 cat >>conftest.
$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38385 #define $ac_func innocuous_$ac_func
38387 /* System header to define __stub macros and hopefully few prototypes,
38388 which can conflict with char $ac_func (); below.
38389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38390 <limits.h> exists even on freestanding compilers. */
38393 # include <limits.h>
38395 # include <assert.h>
38400 /* Override any gcc2 internal prototype to avoid an error. */
38405 /* We use char because int might match the return type of a gcc2
38406 builtin and then its argument prototype would still apply. */
38408 /* The GNU C library defines this for functions which it implements
38409 to always fail with ENOSYS. Some functions are actually named
38410 something starting with __ and the normal name is an alias. */
38411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38414 char (*f) () = $ac_func;
38423 return f != $ac_func;
38428 rm -f conftest.
$ac_objext conftest
$ac_exeext
38429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38430 (eval $ac_link) 2>conftest.er1
38432 grep -v '^ *+' conftest.er1
>conftest.err
38434 cat conftest.err
>&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } &&
38437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38439 (eval $ac_try) 2>&5
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); }; } &&
38443 { ac_try
='test -s conftest$ac_exeext'
38444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38445 (eval $ac_try) 2>&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); }; }; then
38449 eval "$as_ac_var=yes"
38451 echo "$as_me: failed program was:" >&5
38452 sed 's/^/| /' conftest.
$ac_ext >&5
38454 eval "$as_ac_var=no"
38456 rm -f conftest.err conftest.
$ac_objext \
38457 conftest
$ac_exeext conftest.
$ac_ext
38459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38461 if test `eval echo '${'$as_ac_var'}'` = yes; then
38462 cat >>confdefs.h
<<_ACEOF
38463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38466 cat >>confdefs.h
<<\_ACEOF
38467 #define HAVE_SHL_LOAD 1
38474 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38475 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38476 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38477 echo $ECHO_N "(cached) $ECHO_C" >&6
38479 ac_check_lib_save_LIBS
=$LIBS
38480 LIBS
="-lshl_load $LIBS"
38481 cat >conftest.
$ac_ext <<_ACEOF
38484 cat confdefs.h
>>conftest.
$ac_ext
38485 cat >>conftest.
$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38488 /* Override any gcc2 internal prototype to avoid an error. */
38492 /* We use char because int might match the return type of a gcc2
38493 builtin and then its argument prototype would still apply. */
38503 rm -f conftest.
$ac_objext conftest
$ac_exeext
38504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38505 (eval $ac_link) 2>conftest.er1
38507 grep -v '^ *+' conftest.er1
>conftest.err
38509 cat conftest.err
>&5
38510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511 (exit $ac_status); } &&
38512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38514 (eval $ac_try) 2>&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); }; } &&
38518 { ac_try
='test -s conftest$ac_exeext'
38519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38520 (eval $ac_try) 2>&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); }; }; then
38524 ac_cv_lib_shl_load_dld
=yes
38526 echo "$as_me: failed program was:" >&5
38527 sed 's/^/| /' conftest.
$ac_ext >&5
38529 ac_cv_lib_shl_load_dld
=no
38531 rm -f conftest.err conftest.
$ac_objext \
38532 conftest
$ac_exeext conftest.
$ac_ext
38533 LIBS
=$ac_check_lib_save_LIBS
38535 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38536 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38537 if test $ac_cv_lib_shl_load_dld = yes; then
38540 DL_LINK
=" -ldld$DL_LINK"
38556 if test "$HAVE_DL_FUNCS" = 1; then
38558 for ac_func
in dlerror
38560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38561 echo "$as_me:$LINENO: checking for $ac_func" >&5
38562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38563 if eval "test \"\${$as_ac_var+set}\" = set"; then
38564 echo $ECHO_N "(cached) $ECHO_C" >&6
38566 cat >conftest.
$ac_ext <<_ACEOF
38569 cat confdefs.h
>>conftest.
$ac_ext
38570 cat >>conftest.
$ac_ext <<_ACEOF
38571 /* end confdefs.h. */
38572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38574 #define $ac_func innocuous_$ac_func
38576 /* System header to define __stub macros and hopefully few prototypes,
38577 which can conflict with char $ac_func (); below.
38578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38579 <limits.h> exists even on freestanding compilers. */
38582 # include <limits.h>
38584 # include <assert.h>
38589 /* Override any gcc2 internal prototype to avoid an error. */
38594 /* We use char because int might match the return type of a gcc2
38595 builtin and then its argument prototype would still apply. */
38597 /* The GNU C library defines this for functions which it implements
38598 to always fail with ENOSYS. Some functions are actually named
38599 something starting with __ and the normal name is an alias. */
38600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38603 char (*f) () = $ac_func;
38612 return f != $ac_func;
38617 rm -f conftest.
$ac_objext conftest
$ac_exeext
38618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38619 (eval $ac_link) 2>conftest.er1
38621 grep -v '^ *+' conftest.er1
>conftest.err
38623 cat conftest.err
>&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } &&
38626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628 (eval $ac_try) 2>&5
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); }; } &&
38632 { ac_try
='test -s conftest$ac_exeext'
38633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38634 (eval $ac_try) 2>&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); }; }; then
38638 eval "$as_ac_var=yes"
38640 echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.
$ac_ext >&5
38643 eval "$as_ac_var=no"
38645 rm -f conftest.err conftest.
$ac_objext \
38646 conftest
$ac_exeext conftest.
$ac_ext
38648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38650 if test `eval echo '${'$as_ac_var'}'` = yes; then
38651 cat >>confdefs.h
<<_ACEOF
38652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38654 cat >>confdefs.h
<<\_ACEOF
38655 #define HAVE_DLERROR 1
38660 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38661 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38662 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38665 ac_check_lib_save_LIBS
=$LIBS
38667 cat >conftest.
$ac_ext <<_ACEOF
38670 cat confdefs.h
>>conftest.
$ac_ext
38671 cat >>conftest.
$ac_ext <<_ACEOF
38672 /* end confdefs.h. */
38674 /* Override any gcc2 internal prototype to avoid an error. */
38678 /* We use char because int might match the return type of a gcc2
38679 builtin and then its argument prototype would still apply. */
38689 rm -f conftest.
$ac_objext conftest
$ac_exeext
38690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38691 (eval $ac_link) 2>conftest.er1
38693 grep -v '^ *+' conftest.er1
>conftest.err
38695 cat conftest.err
>&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); } &&
38698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38700 (eval $ac_try) 2>&5
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); }; } &&
38704 { ac_try
='test -s conftest$ac_exeext'
38705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38706 (eval $ac_try) 2>&5
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); }; }; then
38710 ac_cv_lib_dl_dlerror
=yes
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.
$ac_ext >&5
38715 ac_cv_lib_dl_dlerror
=no
38717 rm -f conftest.err conftest.
$ac_objext \
38718 conftest
$ac_exeext conftest.
$ac_ext
38719 LIBS
=$ac_check_lib_save_LIBS
38721 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38722 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38723 if test $ac_cv_lib_dl_dlerror = yes; then
38724 cat >>confdefs.h
<<\_ACEOF
38725 #define HAVE_DLERROR 1
38738 if test "$HAVE_DL_FUNCS" = 0; then
38739 if test "$HAVE_SHL_FUNCS" = 0; then
38740 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38741 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38742 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38743 wxUSE_DYNAMIC_LOADER
=no
38744 wxUSE_DYNLIB_CLASS
=no
38746 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38747 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38754 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38755 cat >>confdefs.h
<<\_ACEOF
38756 #define wxUSE_DYNAMIC_LOADER 1
38760 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38761 cat >>confdefs.h
<<\_ACEOF
38762 #define wxUSE_DYNLIB_CLASS 1
38769 if test "$wxUSE_PLUGINS" = "yes" ; then
38770 if test "$wxUSE_SHARED" = "no" ; then
38771 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38772 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38775 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38776 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38777 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38780 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38781 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38782 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38785 if test "$wxUSE_PLUGINS" = "yes" ; then
38786 cat >>confdefs.h
<<\_ACEOF
38787 #define wxUSE_PLUGINS 1
38794 if test "$wxUSE_STL" = "yes"; then
38795 cat >>confdefs.h
<<\_ACEOF
38796 #define wxUSE_STL 1
38801 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38802 cat >>confdefs.h
<<\_ACEOF
38803 #define wxUSE_APPLE_IEEE 1
38808 if test "$wxUSE_TIMER" = "yes"; then
38809 cat >>confdefs.h
<<\_ACEOF
38810 #define wxUSE_TIMER 1
38815 if test "$USE_UNIX" = "1" ; then
38816 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38817 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38818 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38819 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 cat >conftest.
$ac_ext <<_ACEOF
38825 cat confdefs.h
>>conftest.
$ac_ext
38826 cat >>conftest.
$ac_ext <<_ACEOF
38827 /* end confdefs.h. */
38829 #include <sys/soundcard.h>
38835 ioctl(0, SNDCTL_DSP_SYNC, 0);
38841 rm -f conftest.
$ac_objext conftest
$ac_exeext
38842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38843 (eval $ac_link) 2>conftest.er1
38845 grep -v '^ *+' conftest.er1
>conftest.err
38847 cat conftest.err
>&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } &&
38850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; } &&
38856 { ac_try
='test -s conftest$ac_exeext'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; }; then
38862 ac_cv_header_sys_soundcard
=yes
38864 echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.
$ac_ext >&5
38869 LIBS
="$saveLibs -lossaudio"
38870 cat >conftest.
$ac_ext <<_ACEOF
38873 cat confdefs.h
>>conftest.
$ac_ext
38874 cat >>conftest.
$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38877 #include <sys/soundcard.h>
38883 ioctl(0, SNDCTL_DSP_SYNC, 0);
38889 rm -f conftest.
$ac_objext conftest
$ac_exeext
38890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38891 (eval $ac_link) 2>conftest.er1
38893 grep -v '^ *+' conftest.er1
>conftest.err
38895 cat conftest.err
>&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } &&
38898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38900 (eval $ac_try) 2>&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); }; } &&
38904 { ac_try
='test -s conftest$ac_exeext'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; }; then
38910 ac_cv_header_sys_soundcard
=yes
38912 echo "$as_me: failed program was:" >&5
38913 sed 's/^/| /' conftest.
$ac_ext >&5
38917 ac_cv_header_sys_soundcard
=no
38921 rm -f conftest.err conftest.
$ac_objext \
38922 conftest
$ac_exeext conftest.
$ac_ext
38926 rm -f conftest.err conftest.
$ac_objext \
38927 conftest
$ac_exeext conftest.
$ac_ext
38930 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38931 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38933 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38934 cat >>confdefs.h
<<\_ACEOF
38935 #define HAVE_SYS_SOUNDCARD_H 1
38939 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38943 if test "$wxUSE_SOUND" = "yes"; then
38944 if test "$USE_UNIX" = "1" ; then
38945 if test "$wxUSE_LIBSDL" != "no"; then
38947 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38948 if test "${with_sdl_prefix+set}" = set; then
38949 withval
="$with_sdl_prefix"
38950 sdl_prefix
="$withval"
38955 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38956 if test "${with_sdl_exec_prefix+set}" = set; then
38957 withval
="$with_sdl_exec_prefix"
38958 sdl_exec_prefix
="$withval"
38962 # Check whether --enable-sdltest or --disable-sdltest was given.
38963 if test "${enable_sdltest+set}" = set; then
38964 enableval
="$enable_sdltest"
38970 if test x
$sdl_exec_prefix != x
; then
38971 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38972 if test x
${SDL_CONFIG+set} != xset
; then
38973 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38976 if test x
$sdl_prefix != x
; then
38977 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38978 if test x
${SDL_CONFIG+set} != xset
; then
38979 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38984 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38985 # Extract the first word of "sdl-config", so it can be a program name with args.
38986 set dummy sdl
-config; ac_word
=$2
38987 echo "$as_me:$LINENO: checking for $ac_word" >&5
38988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38989 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 case $SDL_CONFIG in
38994 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38998 for as_dir
in $PATH
39001 test -z "$as_dir" && as_dir
=.
39002 for ac_exec_ext
in '' $ac_executable_extensions; do
39003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39004 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39011 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
39015 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
39017 if test -n "$SDL_CONFIG"; then
39018 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
39019 echo "${ECHO_T}$SDL_CONFIG" >&6
39021 echo "$as_me:$LINENO: result: no" >&5
39022 echo "${ECHO_T}no" >&6
39025 min_sdl_version
=1.2.0
39026 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
39027 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
39029 if test "$SDL_CONFIG" = "no" ; then
39032 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
39033 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
39035 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
39036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39037 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
39038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39039 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
39040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39041 if test "x$enable_sdltest" = "xyes" ; then
39042 ac_save_CFLAGS
="$CFLAGS"
39043 ac_save_CXXFLAGS
="$CXXFLAGS"
39044 ac_save_LIBS
="$LIBS"
39045 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39046 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39047 LIBS
="$LIBS $SDL_LIBS"
39049 if test "$cross_compiling" = yes; then
39050 echo $ac_n "cross compiling; assumed OK... $ac_c"
39052 cat >conftest.
$ac_ext <<_ACEOF
39055 cat confdefs.h
>>conftest.
$ac_ext
39056 cat >>conftest.
$ac_ext <<_ACEOF
39057 /* end confdefs.h. */
39060 #include <stdlib.h>
39061 #include <string.h>
39065 my_strdup (char *str)
39071 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
39072 strcpy (new_str, str);
39080 int main (int argc, char *argv[])
39082 int major, minor, micro;
39085 /* This hangs on some systems (?)
39086 system ("touch conf.sdltest");
39088 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
39090 /* HP/UX 9 (%@#!) writes to sscanf strings */
39091 tmp_version = my_strdup("$min_sdl_version");
39092 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
39093 printf("%s, bad version string\n", "$min_sdl_version");
39097 if (($sdl_major_version > major) ||
39098 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
39099 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
39105 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
39106 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
39107 printf("*** best to upgrade to the required version.\n");
39108 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
39109 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
39110 printf("*** config.cache before re-running configure\n");
39117 rm -f conftest
$ac_exeext
39118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39119 (eval $ac_link) 2>&5
39121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
39123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39124 (eval $ac_try) 2>&5
39126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39127 (exit $ac_status); }; }; then
39130 echo "$as_me: program exited with status $ac_status" >&5
39131 echo "$as_me: failed program was:" >&5
39132 sed 's/^/| /' conftest.
$ac_ext >&5
39134 ( exit $ac_status )
39137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
39139 CFLAGS
="$ac_save_CFLAGS"
39140 CXXFLAGS
="$ac_save_CXXFLAGS"
39141 LIBS
="$ac_save_LIBS"
39144 if test "x$no_sdl" = x
; then
39145 echo "$as_me:$LINENO: result: yes" >&5
39146 echo "${ECHO_T}yes" >&6
39148 EXTRALIBS_SDL
="$SDL_LIBS"
39149 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39150 cat >>confdefs.h
<<\_ACEOF
39151 #define wxUSE_LIBSDL 1
39156 echo "$as_me:$LINENO: result: no" >&5
39157 echo "${ECHO_T}no" >&6
39158 if test "$SDL_CONFIG" = "no" ; then
39159 echo "*** The sdl-config script installed by SDL could not be found"
39160 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39161 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39162 echo "*** full path to sdl-config."
39164 if test -f conf.sdltest
; then
39167 echo "*** Could not run SDL test program, checking why..."
39168 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39169 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39170 LIBS
="$LIBS $SDL_LIBS"
39171 cat >conftest.
$ac_ext <<_ACEOF
39174 cat confdefs.h
>>conftest.
$ac_ext
39175 cat >>conftest.
$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39181 int main(int argc, char *argv[])
39184 #define main K_and_R_C_main
39194 rm -f conftest.
$ac_objext conftest
$ac_exeext
39195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39196 (eval $ac_link) 2>conftest.er1
39198 grep -v '^ *+' conftest.er1
>conftest.err
39200 cat conftest.err
>&5
39201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39202 (exit $ac_status); } &&
39203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39205 (eval $ac_try) 2>&5
39207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39208 (exit $ac_status); }; } &&
39209 { ac_try
='test -s conftest$ac_exeext'
39210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39211 (eval $ac_try) 2>&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); }; }; then
39215 echo "*** The test program compiled, but did not run. This usually means"
39216 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39217 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39220 echo "*** is required on your system"
39222 echo "*** If you have an old version installed, it is best to remove it, although"
39223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.
$ac_ext >&5
39228 echo "*** The test program failed to compile or link. See the file config.log for the"
39229 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39230 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39231 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39233 rm -f conftest.err conftest.
$ac_objext \
39234 conftest
$ac_exeext conftest.
$ac_ext
39235 CFLAGS
="$ac_save_CFLAGS"
39236 CXXFLAGS
="$ac_save_CXXFLAGS"
39237 LIBS
="$ac_save_LIBS"
39248 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39254 cat >>confdefs.h
<<\_ACEOF
39255 #define wxUSE_SOUND 1
39258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
39261 if test "$WXGTK20" = 1; then
39262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39263 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39268 if test -z "$PKG_CONFIG"; then
39269 # Extract the first word of "pkg-config", so it can be a program name with args.
39270 set dummy pkg
-config; ac_word
=$2
39271 echo "$as_me:$LINENO: checking for $ac_word" >&5
39272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39273 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39274 echo $ECHO_N "(cached) $ECHO_C" >&6
39276 case $PKG_CONFIG in
39278 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39282 for as_dir
in $PATH
39285 test -z "$as_dir" && as_dir
=.
39286 for ac_exec_ext
in '' $ac_executable_extensions; do
39287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39288 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39295 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39299 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39301 if test -n "$PKG_CONFIG"; then
39302 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39303 echo "${ECHO_T}$PKG_CONFIG" >&6
39305 echo "$as_me:$LINENO: result: no" >&5
39306 echo "${ECHO_T}no" >&6
39311 if test "$PKG_CONFIG" = "no" ; then
39312 echo "*** The pkg-config script could not be found. Make sure it is"
39313 echo "*** in your path, or set the PKG_CONFIG environment variable"
39314 echo "*** to the full path to pkg-config."
39315 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39317 PKG_CONFIG_MIN_VERSION
=0.9.0
39318 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39319 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39320 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39322 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39323 echo "$as_me:$LINENO: result: yes" >&5
39324 echo "${ECHO_T}yes" >&6
39327 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39328 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39329 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39330 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39331 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39333 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39334 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39335 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39336 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39337 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39339 LIBGNOMEPRINTUI_CFLAGS
=""
39340 LIBGNOMEPRINTUI_LIBS
=""
39341 ## If we have a custom action on failure, don't print errors, but
39342 ## do set a variable so people can do so.
39343 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39350 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39351 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39355 if test $succeeded = yes; then
39357 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39358 cat >>confdefs.h
<<\_ACEOF
39359 #define wxUSE_LIBGNOMEPRINT 1
39365 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39366 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39367 wxUSE_LIBGNOMEPRINT
="no"
39377 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39378 cat >>confdefs.h
<<\_ACEOF
39379 #define wxUSE_CMDLINE_PARSER 1
39384 if test "$wxUSE_STOPWATCH" = "yes"; then
39385 cat >>confdefs.h
<<\_ACEOF
39386 #define wxUSE_STOPWATCH 1
39391 if test "$wxUSE_DATETIME" = "yes"; then
39392 cat >>confdefs.h
<<\_ACEOF
39393 #define wxUSE_DATETIME 1
39398 if test "$wxUSE_FILE" = "yes"; then
39399 cat >>confdefs.h
<<\_ACEOF
39400 #define wxUSE_FILE 1
39405 if test "$wxUSE_FFILE" = "yes"; then
39406 cat >>confdefs.h
<<\_ACEOF
39407 #define wxUSE_FFILE 1
39412 if test "$wxUSE_FILESYSTEM" = "yes"; then
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define wxUSE_FILESYSTEM 1
39419 if test "$wxUSE_FS_ZIP" = "yes"; then
39420 cat >>confdefs.h
<<\_ACEOF
39421 #define wxUSE_FS_ZIP 1
39426 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_ARCHIVE_STREAMS 1
39433 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39434 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39435 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39436 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39437 elif test "$wxUSE_ZLIB" = "no"; then
39438 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39439 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39441 cat >>confdefs.h
<<\_ACEOF
39442 #define wxUSE_ZIPSTREAM 1
39448 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39449 if test "$USE_UNIX" != 1; then
39450 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39451 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39452 wxUSE_ON_FATAL_EXCEPTION
=no
39454 cat >>confdefs.h
<<\_ACEOF
39455 #define wxUSE_ON_FATAL_EXCEPTION 1
39461 if test "$wxUSE_STACKWALKER" = "yes"; then
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define wxUSE_STACKWALKER 1
39468 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39469 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39470 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39471 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39472 wxUSE_DEBUGREPORT
=no
39474 cat >>confdefs.h
<<\_ACEOF
39475 #define wxUSE_DEBUGREPORT 1
39478 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
39484 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39485 cat >>confdefs.h
<<\_ACEOF
39486 #define wxUSE_SNGLINST_CHECKER 1
39491 if test "$wxUSE_BUSYINFO" = "yes"; then
39492 cat >>confdefs.h
<<\_ACEOF
39493 #define wxUSE_BUSYINFO 1
39498 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39499 cat >>confdefs.h
<<\_ACEOF
39500 #define wxUSE_STD_IOSTREAM 1
39505 if test "$wxUSE_STD_STRING" = "yes"; then
39506 cat >>confdefs.h
<<\_ACEOF
39507 #define wxUSE_STD_STRING 1
39512 if test "$wxUSE_STDPATHS" = "yes"; then
39513 cat >>confdefs.h
<<\_ACEOF
39514 #define wxUSE_STDPATHS 1
39519 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39520 cat >>confdefs.h
<<\_ACEOF
39521 #define wxUSE_TEXTBUFFER 1
39526 if test "$wxUSE_TEXTFILE" = "yes"; then
39527 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39528 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39529 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39531 cat >>confdefs.h
<<\_ACEOF
39532 #define wxUSE_TEXTFILE 1
39538 if test "$wxUSE_CONFIG" = "yes" ; then
39539 if test "$wxUSE_TEXTFILE" != "yes"; then
39540 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39541 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39543 cat >>confdefs.h
<<\_ACEOF
39544 #define wxUSE_CONFIG 1
39547 cat >>confdefs.h
<<\_ACEOF
39548 #define wxUSE_CONFIG_NATIVE 1
39551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
39555 if test "$wxUSE_INTL" = "yes" ; then
39556 if test "$wxUSE_FILE" != "yes"; then
39557 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39558 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39560 cat >>confdefs.h
<<\_ACEOF
39561 #define wxUSE_INTL 1
39564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
39565 GUIDIST
="$GUIDIST INTL_DIST"
39569 if test "$wxUSE_LOG" = "yes"; then
39570 cat >>confdefs.h
<<\_ACEOF
39571 #define wxUSE_LOG 1
39575 if test "$wxUSE_LOGGUI" = "yes"; then
39576 cat >>confdefs.h
<<\_ACEOF
39577 #define wxUSE_LOGGUI 1
39582 if test "$wxUSE_LOGWINDOW" = "yes"; then
39583 cat >>confdefs.h
<<\_ACEOF
39584 #define wxUSE_LOGWINDOW 1
39589 if test "$wxUSE_LOGDIALOG" = "yes"; then
39590 cat >>confdefs.h
<<\_ACEOF
39591 #define wxUSE_LOG_DIALOG 1
39596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
39599 if test "$wxUSE_LONGLONG" = "yes"; then
39600 cat >>confdefs.h
<<\_ACEOF
39601 #define wxUSE_LONGLONG 1
39606 if test "$wxUSE_GEOMETRY" = "yes"; then
39607 cat >>confdefs.h
<<\_ACEOF
39608 #define wxUSE_GEOMETRY 1
39613 if test "$wxUSE_STREAMS" = "yes" ; then
39614 cat >>confdefs.h
<<\_ACEOF
39615 #define wxUSE_STREAMS 1
39621 if test "$wxUSE_DATETIME" = "yes"; then
39623 for ac_func
in strptime
39625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39626 echo "$as_me:$LINENO: checking for $ac_func" >&5
39627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39628 if eval "test \"\${$as_ac_var+set}\" = set"; then
39629 echo $ECHO_N "(cached) $ECHO_C" >&6
39631 cat >conftest.
$ac_ext <<_ACEOF
39634 cat confdefs.h
>>conftest.
$ac_ext
39635 cat >>conftest.
$ac_ext <<_ACEOF
39636 /* end confdefs.h. */
39637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39639 #define $ac_func innocuous_$ac_func
39641 /* System header to define __stub macros and hopefully few prototypes,
39642 which can conflict with char $ac_func (); below.
39643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39644 <limits.h> exists even on freestanding compilers. */
39647 # include <limits.h>
39649 # include <assert.h>
39654 /* Override any gcc2 internal prototype to avoid an error. */
39659 /* We use char because int might match the return type of a gcc2
39660 builtin and then its argument prototype would still apply. */
39662 /* The GNU C library defines this for functions which it implements
39663 to always fail with ENOSYS. Some functions are actually named
39664 something starting with __ and the normal name is an alias. */
39665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39668 char (*f) () = $ac_func;
39677 return f != $ac_func;
39682 rm -f conftest.
$ac_objext conftest
$ac_exeext
39683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39684 (eval $ac_link) 2>conftest.er1
39686 grep -v '^ *+' conftest.er1
>conftest.err
39688 cat conftest.err
>&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); } &&
39691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693 (eval $ac_try) 2>&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); }; } &&
39697 { ac_try
='test -s conftest$ac_exeext'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; }; then
39703 eval "$as_ac_var=yes"
39705 echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.
$ac_ext >&5
39708 eval "$as_ac_var=no"
39710 rm -f conftest.err conftest.
$ac_objext \
39711 conftest
$ac_exeext conftest.
$ac_ext
39713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39715 if test `eval echo '${'$as_ac_var'}'` = yes; then
39716 cat >>confdefs.h
<<_ACEOF
39717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39723 if test "$ac_cv_func_strptime" = "yes"; then
39724 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39725 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39726 if test "${wx_cv_func_strptime_decl+set}" = set; then
39727 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 ac_cpp
='$CXXCPP $CPPFLAGS'
39734 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39735 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39736 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39738 cat >conftest.
$ac_ext <<_ACEOF
39741 cat confdefs.h
>>conftest.
$ac_ext
39742 cat >>conftest.
$ac_ext <<_ACEOF
39743 /* end confdefs.h. */
39752 strptime("foo", "bar", &t);
39758 rm -f conftest.
$ac_objext
39759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39760 (eval $ac_compile) 2>conftest.er1
39762 grep -v '^ *+' conftest.er1
>conftest.err
39764 cat conftest.err
>&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } &&
39767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; } &&
39773 { ac_try
='test -s conftest.$ac_objext'
39774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39775 (eval $ac_try) 2>&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); }; }; then
39779 wx_cv_func_strptime_decl
=yes
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.
$ac_ext >&5
39784 wx_cv_func_strptime_decl
=no
39787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39789 ac_cpp
='$CPP $CPPFLAGS'
39790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39797 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39798 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39800 if test "$wx_cv_func_strptime_decl" = "yes"; then
39801 cat >>confdefs.h
<<\_ACEOF
39802 #define HAVE_STRPTIME_DECL 1
39807 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39808 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39809 if test "${wx_cv_var_timezone+set}" = set; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 cat >conftest.
$ac_ext <<_ACEOF
39816 cat confdefs.h
>>conftest.
$ac_ext
39817 cat >>conftest.
$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39833 rm -f conftest.
$ac_objext
39834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39835 (eval $ac_compile) 2>conftest.er1
39837 grep -v '^ *+' conftest.er1
>conftest.err
39839 cat conftest.err
>&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } &&
39842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39844 (eval $ac_try) 2>&5
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); }; } &&
39848 { ac_try
='test -s conftest.$ac_objext'
39849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39850 (eval $ac_try) 2>&5
39852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853 (exit $ac_status); }; }; then
39855 wx_cv_var_timezone
=timezone
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.
$ac_ext >&5
39862 cat >conftest.
$ac_ext <<_ACEOF
39865 cat confdefs.h
>>conftest.
$ac_ext
39866 cat >>conftest.
$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39882 rm -f conftest.
$ac_objext
39883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39884 (eval $ac_compile) 2>conftest.er1
39886 grep -v '^ *+' conftest.er1
>conftest.err
39888 cat conftest.err
>&5
39889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890 (exit $ac_status); } &&
39891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39893 (eval $ac_try) 2>&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); }; } &&
39897 { ac_try
='test -s conftest.$ac_objext'
39898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39899 (eval $ac_try) 2>&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); }; }; then
39904 wx_cv_var_timezone
=_timezone
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.
$ac_ext >&5
39911 cat >conftest.
$ac_ext <<_ACEOF
39914 cat confdefs.h
>>conftest.
$ac_ext
39915 cat >>conftest.
$ac_ext <<_ACEOF
39916 /* end confdefs.h. */
39931 rm -f conftest.
$ac_objext
39932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39933 (eval $ac_compile) 2>conftest.er1
39935 grep -v '^ *+' conftest.er1
>conftest.err
39937 cat conftest.err
>&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } &&
39940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; } &&
39946 { ac_try
='test -s conftest.$ac_objext'
39947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948 (eval $ac_try) 2>&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); }; }; then
39953 wx_cv_var_timezone
=__timezone
39956 echo "$as_me: failed program was:" >&5
39957 sed 's/^/| /' conftest.
$ac_ext >&5
39960 if test "$USE_DOS" = 0 ; then
39961 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39962 echo "$as_me: WARNING: no timezone variable" >&2;}
39967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39979 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39980 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39982 if test "x$wx_cv_var_timezone" != x
; then
39983 cat >>confdefs.h
<<_ACEOF
39984 #define WX_TIMEZONE $wx_cv_var_timezone
39990 for ac_func
in localtime
39992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39993 echo "$as_me:$LINENO: checking for $ac_func" >&5
39994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39995 if eval "test \"\${$as_ac_var+set}\" = set"; then
39996 echo $ECHO_N "(cached) $ECHO_C" >&6
39998 cat >conftest.
$ac_ext <<_ACEOF
40001 cat confdefs.h
>>conftest.
$ac_ext
40002 cat >>conftest.
$ac_ext <<_ACEOF
40003 /* end confdefs.h. */
40004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40006 #define $ac_func innocuous_$ac_func
40008 /* System header to define __stub macros and hopefully few prototypes,
40009 which can conflict with char $ac_func (); below.
40010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40011 <limits.h> exists even on freestanding compilers. */
40014 # include <limits.h>
40016 # include <assert.h>
40021 /* Override any gcc2 internal prototype to avoid an error. */
40026 /* We use char because int might match the return type of a gcc2
40027 builtin and then its argument prototype would still apply. */
40029 /* The GNU C library defines this for functions which it implements
40030 to always fail with ENOSYS. Some functions are actually named
40031 something starting with __ and the normal name is an alias. */
40032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40035 char (*f) () = $ac_func;
40044 return f != $ac_func;
40049 rm -f conftest.
$ac_objext conftest
$ac_exeext
40050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40051 (eval $ac_link) 2>conftest.er1
40053 grep -v '^ *+' conftest.er1
>conftest.err
40055 cat conftest.err
>&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); } &&
40058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40060 (eval $ac_try) 2>&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); }; } &&
40064 { ac_try
='test -s conftest$ac_exeext'
40065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40066 (eval $ac_try) 2>&5
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); }; }; then
40070 eval "$as_ac_var=yes"
40072 echo "$as_me: failed program was:" >&5
40073 sed 's/^/| /' conftest.
$ac_ext >&5
40075 eval "$as_ac_var=no"
40077 rm -f conftest.err conftest.
$ac_objext \
40078 conftest
$ac_exeext conftest.
$ac_ext
40080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40082 if test `eval echo '${'$as_ac_var'}'` = yes; then
40083 cat >>confdefs.h
<<_ACEOF
40084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40091 if test "$ac_cv_func_localtime" = "yes"; then
40092 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40093 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
40094 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
40095 echo $ECHO_N "(cached) $ECHO_C" >&6
40098 cat >conftest.
$ac_ext <<_ACEOF
40101 cat confdefs.h
>>conftest.
$ac_ext
40102 cat >>conftest.
$ac_ext <<_ACEOF
40103 /* end confdefs.h. */
40118 rm -f conftest.
$ac_objext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40120 (eval $ac_compile) 2>conftest.er1
40122 grep -v '^ *+' conftest.er1
>conftest.err
40124 cat conftest.err
>&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } &&
40127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40129 (eval $ac_try) 2>&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); }; } &&
40133 { ac_try
='test -s conftest.$ac_objext'
40134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40135 (eval $ac_try) 2>&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); }; }; then
40140 wx_cv_struct_tm_has_gmtoff
=yes
40143 echo "$as_me: failed program was:" >&5
40144 sed 's/^/| /' conftest.
$ac_ext >&5
40146 wx_cv_struct_tm_has_gmtoff
=no
40149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40152 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40153 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40156 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40157 cat >>confdefs.h
<<\_ACEOF
40158 #define WX_GMTOFF_IN_TM 1
40165 for ac_func
in gettimeofday ftime
40167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40168 echo "$as_me:$LINENO: checking for $ac_func" >&5
40169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40170 if eval "test \"\${$as_ac_var+set}\" = set"; then
40171 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 cat >conftest.
$ac_ext <<_ACEOF
40176 cat confdefs.h
>>conftest.
$ac_ext
40177 cat >>conftest.
$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40181 #define $ac_func innocuous_$ac_func
40183 /* System header to define __stub macros and hopefully few prototypes,
40184 which can conflict with char $ac_func (); below.
40185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40186 <limits.h> exists even on freestanding compilers. */
40189 # include <limits.h>
40191 # include <assert.h>
40196 /* Override any gcc2 internal prototype to avoid an error. */
40201 /* We use char because int might match the return type of a gcc2
40202 builtin and then its argument prototype would still apply. */
40204 /* The GNU C library defines this for functions which it implements
40205 to always fail with ENOSYS. Some functions are actually named
40206 something starting with __ and the normal name is an alias. */
40207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40210 char (*f) () = $ac_func;
40219 return f != $ac_func;
40224 rm -f conftest.
$ac_objext conftest
$ac_exeext
40225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40226 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
40247 echo "$as_me: failed program was:" >&5
40248 sed 's/^/| /' conftest.
$ac_ext >&5
40250 eval "$as_ac_var=no"
40252 rm -f conftest.err conftest.
$ac_objext \
40253 conftest
$ac_exeext conftest.
$ac_ext
40255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40257 if test `eval echo '${'$as_ac_var'}'` = yes; then
40258 cat >>confdefs.h
<<_ACEOF
40259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40266 if test "$ac_cv_func_gettimeofday" = "yes"; then
40267 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40268 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40269 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40270 echo $ECHO_N "(cached) $ECHO_C" >&6
40276 ac_cpp
='$CXXCPP $CPPFLAGS'
40277 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40282 cat >conftest.
$ac_ext <<_ACEOF
40285 cat confdefs.h
>>conftest.
$ac_ext
40286 cat >>conftest.
$ac_ext <<_ACEOF
40287 /* end confdefs.h. */
40289 #include <sys/time.h>
40290 #include <unistd.h>
40297 gettimeofday(&tv, NULL);
40303 rm -f conftest.
$ac_objext
40304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40305 (eval $ac_compile) 2>conftest.er1
40307 grep -v '^ *+' conftest.er1
>conftest.err
40309 cat conftest.err
>&5
40310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40311 (exit $ac_status); } &&
40312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40314 (eval $ac_try) 2>&5
40316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40317 (exit $ac_status); }; } &&
40318 { ac_try
='test -s conftest.$ac_objext'
40319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40320 (eval $ac_try) 2>&5
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); }; }; then
40324 wx_cv_func_gettimeofday_has_2_args
=yes
40326 echo "$as_me: failed program was:" >&5
40327 sed 's/^/| /' conftest.
$ac_ext >&5
40329 cat >conftest.
$ac_ext <<_ACEOF
40332 cat confdefs.h
>>conftest.
$ac_ext
40333 cat >>conftest.
$ac_ext <<_ACEOF
40334 /* end confdefs.h. */
40336 #include <sys/time.h>
40337 #include <unistd.h>
40350 rm -f conftest.
$ac_objext
40351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40352 (eval $ac_compile) 2>conftest.er1
40354 grep -v '^ *+' conftest.er1
>conftest.err
40356 cat conftest.err
>&5
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); } &&
40359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40361 (eval $ac_try) 2>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); }; } &&
40365 { ac_try
='test -s conftest.$ac_objext'
40366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40367 (eval $ac_try) 2>&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); }; }; then
40371 wx_cv_func_gettimeofday_has_2_args
=no
40373 echo "$as_me: failed program was:" >&5
40374 sed 's/^/| /' conftest.
$ac_ext >&5
40377 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40378 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40379 wx_cv_func_gettimeofday_has_2_args
=unknown
40383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40388 ac_cpp
='$CPP $CPPFLAGS'
40389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40395 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40396 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40398 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40399 cat >>confdefs.h
<<\_ACEOF
40400 #define WX_GETTIMEOFDAY_NO_TZ 1
40406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
40410 if test "$wxUSE_SOCKETS" = "yes"; then
40411 if test "$wxUSE_MGL" = "1"; then
40412 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40413 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40418 if test "$wxUSE_SOCKETS" = "yes"; then
40419 if test "$TOOLKIT" != "MSW"; then
40420 echo "$as_me:$LINENO: checking for socket" >&5
40421 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40422 if test "${ac_cv_func_socket+set}" = set; then
40423 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 cat >conftest.
$ac_ext <<_ACEOF
40428 cat confdefs.h
>>conftest.
$ac_ext
40429 cat >>conftest.
$ac_ext <<_ACEOF
40430 /* end confdefs.h. */
40431 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40433 #define socket innocuous_socket
40435 /* System header to define __stub macros and hopefully few prototypes,
40436 which can conflict with char socket (); below.
40437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40438 <limits.h> exists even on freestanding compilers. */
40441 # include <limits.h>
40443 # include <assert.h>
40448 /* Override any gcc2 internal prototype to avoid an error. */
40453 /* We use char because int might match the return type of a gcc2
40454 builtin and then its argument prototype would still apply. */
40456 /* The GNU C library defines this for functions which it implements
40457 to always fail with ENOSYS. Some functions are actually named
40458 something starting with __ and the normal name is an alias. */
40459 #if defined (__stub_socket) || defined (__stub___socket)
40462 char (*f) () = socket;
40471 return f != socket;
40476 rm -f conftest.
$ac_objext conftest
$ac_exeext
40477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40478 (eval $ac_link) 2>conftest.er1
40480 grep -v '^ *+' conftest.er1
>conftest.err
40482 cat conftest.err
>&5
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); } &&
40485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40487 (eval $ac_try) 2>&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); }; } &&
40491 { ac_try
='test -s conftest$ac_exeext'
40492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40493 (eval $ac_try) 2>&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); }; }; then
40497 ac_cv_func_socket
=yes
40499 echo "$as_me: failed program was:" >&5
40500 sed 's/^/| /' conftest.
$ac_ext >&5
40502 ac_cv_func_socket
=no
40504 rm -f conftest.err conftest.
$ac_objext \
40505 conftest
$ac_exeext conftest.
$ac_ext
40507 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40508 echo "${ECHO_T}$ac_cv_func_socket" >&6
40509 if test $ac_cv_func_socket = yes; then
40513 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40514 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40515 if test "${ac_cv_lib_socket_socket+set}" = set; then
40516 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 ac_check_lib_save_LIBS
=$LIBS
40519 LIBS
="-lsocket $LIBS"
40520 cat >conftest.
$ac_ext <<_ACEOF
40523 cat confdefs.h
>>conftest.
$ac_ext
40524 cat >>conftest.
$ac_ext <<_ACEOF
40525 /* end confdefs.h. */
40527 /* Override any gcc2 internal prototype to avoid an error. */
40531 /* We use char because int might match the return type of a gcc2
40532 builtin and then its argument prototype would still apply. */
40542 rm -f conftest.
$ac_objext conftest
$ac_exeext
40543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40544 (eval $ac_link) 2>conftest.er1
40546 grep -v '^ *+' conftest.er1
>conftest.err
40548 cat conftest.err
>&5
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); } &&
40551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; } &&
40557 { ac_try
='test -s conftest$ac_exeext'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; }; then
40563 ac_cv_lib_socket_socket
=yes
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.
$ac_ext >&5
40568 ac_cv_lib_socket_socket
=no
40570 rm -f conftest.err conftest.
$ac_objext \
40571 conftest
$ac_exeext conftest.
$ac_ext
40572 LIBS
=$ac_check_lib_save_LIBS
40574 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40575 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40576 if test $ac_cv_lib_socket_socket = yes; then
40577 if test "$INET_LINK" != " -lsocket"; then
40578 INET_LINK
="$INET_LINK -lsocket"
40582 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40583 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40596 if test "$wxUSE_SOCKETS" = "yes" ; then
40597 if test "$TOOLKIT" != "MSW"; then
40599 ac_cpp
='$CXXCPP $CPPFLAGS'
40600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40604 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40605 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40606 if test "${wx_cv_type_getsockname3+set}" = set; then
40607 echo $ECHO_N "(cached) $ECHO_C" >&6
40610 cat >conftest.
$ac_ext <<_ACEOF
40613 cat confdefs.h
>>conftest.
$ac_ext
40614 cat >>conftest.
$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40617 #include <sys/types.h>
40618 #include <sys/socket.h>
40625 getsockname(0, 0, &len);
40631 rm -f conftest.
$ac_objext
40632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40633 (eval $ac_compile) 2>conftest.er1
40635 grep -v '^ *+' conftest.er1
>conftest.err
40637 cat conftest.err
>&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } &&
40640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40642 (eval $ac_try) 2>&5
40644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40645 (exit $ac_status); }; } &&
40646 { ac_try
='test -s conftest.$ac_objext'
40647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40648 (eval $ac_try) 2>&5
40650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40651 (exit $ac_status); }; }; then
40652 wx_cv_type_getsockname3
=socklen_t
40654 echo "$as_me: failed program was:" >&5
40655 sed 's/^/| /' conftest.
$ac_ext >&5
40658 CXXFLAGS_OLD
="$CXXFLAGS"
40659 if test "$GCC" = yes ; then
40660 CXXFLAGS
="$CXXFLAGS -Werror"
40663 cat >conftest.
$ac_ext <<_ACEOF
40666 cat confdefs.h
>>conftest.
$ac_ext
40667 cat >>conftest.
$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40670 #include <sys/types.h>
40671 #include <sys/socket.h>
40678 getsockname(0, 0, &len);
40684 rm -f conftest.
$ac_objext
40685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40686 (eval $ac_compile) 2>conftest.er1
40688 grep -v '^ *+' conftest.er1
>conftest.err
40690 cat conftest.err
>&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); } &&
40693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; } &&
40699 { ac_try
='test -s conftest.$ac_objext'
40700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40701 (eval $ac_try) 2>&5
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); }; }; then
40705 wx_cv_type_getsockname3
=size_t
40707 echo "$as_me: failed program was:" >&5
40708 sed 's/^/| /' conftest.
$ac_ext >&5
40710 cat >conftest.
$ac_ext <<_ACEOF
40713 cat confdefs.h
>>conftest.
$ac_ext
40714 cat >>conftest.
$ac_ext <<_ACEOF
40715 /* end confdefs.h. */
40717 #include <sys/types.h>
40718 #include <sys/socket.h>
40725 getsockname(0, 0, &len);
40731 rm -f conftest.
$ac_objext
40732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40733 (eval $ac_compile) 2>conftest.er1
40735 grep -v '^ *+' conftest.er1
>conftest.err
40737 cat conftest.err
>&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } &&
40740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40742 (eval $ac_try) 2>&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); }; } &&
40746 { ac_try
='test -s conftest.$ac_objext'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; }; then
40752 wx_cv_type_getsockname3
=int
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.
$ac_ext >&5
40757 wx_cv_type_getsockname3
=unknown
40760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40765 CXXFLAGS
="$CXXFLAGS_OLD"
40769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40772 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40773 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40775 if test "$wx_cv_type_getsockname3" = "unknown"; then
40777 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40778 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40780 cat >>confdefs.h
<<_ACEOF
40781 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40785 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40786 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40787 if test "${wx_cv_type_getsockopt5+set}" = set; then
40788 echo $ECHO_N "(cached) $ECHO_C" >&6
40791 cat >conftest.
$ac_ext <<_ACEOF
40794 cat confdefs.h
>>conftest.
$ac_ext
40795 cat >>conftest.
$ac_ext <<_ACEOF
40796 /* end confdefs.h. */
40798 #include <sys/types.h>
40799 #include <sys/socket.h>
40806 getsockopt(0, 0, 0, 0, &len);
40812 rm -f conftest.
$ac_objext
40813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40814 (eval $ac_compile) 2>conftest.er1
40816 grep -v '^ *+' conftest.er1
>conftest.err
40818 cat conftest.err
>&5
40819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820 (exit $ac_status); } &&
40821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40823 (eval $ac_try) 2>&5
40825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40826 (exit $ac_status); }; } &&
40827 { ac_try
='test -s conftest.$ac_objext'
40828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40829 (eval $ac_try) 2>&5
40831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); }; }; then
40833 wx_cv_type_getsockopt5
=socklen_t
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.
$ac_ext >&5
40839 CXXFLAGS_OLD
="$CXXFLAGS"
40840 if test "$GCC" = yes ; then
40841 CXXFLAGS
="$CXXFLAGS -Werror"
40844 cat >conftest.
$ac_ext <<_ACEOF
40847 cat confdefs.h
>>conftest.
$ac_ext
40848 cat >>conftest.
$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40851 #include <sys/types.h>
40852 #include <sys/socket.h>
40859 getsockopt(0, 0, 0, 0, &len);
40865 rm -f conftest.
$ac_objext
40866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40867 (eval $ac_compile) 2>conftest.er1
40869 grep -v '^ *+' conftest.er1
>conftest.err
40871 cat conftest.err
>&5
40872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873 (exit $ac_status); } &&
40874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40876 (eval $ac_try) 2>&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); }; } &&
40880 { ac_try
='test -s conftest.$ac_objext'
40881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40882 (eval $ac_try) 2>&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); }; }; then
40886 wx_cv_type_getsockopt5
=size_t
40888 echo "$as_me: failed program was:" >&5
40889 sed 's/^/| /' conftest.
$ac_ext >&5
40891 cat >conftest.
$ac_ext <<_ACEOF
40894 cat confdefs.h
>>conftest.
$ac_ext
40895 cat >>conftest.
$ac_ext <<_ACEOF
40896 /* end confdefs.h. */
40898 #include <sys/types.h>
40899 #include <sys/socket.h>
40906 getsockopt(0, 0, 0, 0, &len);
40912 rm -f conftest.
$ac_objext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40914 (eval $ac_compile) 2>conftest.er1
40916 grep -v '^ *+' conftest.er1
>conftest.err
40918 cat conftest.err
>&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } &&
40921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40923 (eval $ac_try) 2>&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); }; } &&
40927 { ac_try
='test -s conftest.$ac_objext'
40928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929 (eval $ac_try) 2>&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); }; }; then
40933 wx_cv_type_getsockopt5
=int
40935 echo "$as_me: failed program was:" >&5
40936 sed 's/^/| /' conftest.
$ac_ext >&5
40938 wx_cv_type_getsockopt5
=unknown
40941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40946 CXXFLAGS
="$CXXFLAGS_OLD"
40950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40953 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40954 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40956 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40958 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40959 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40961 cat >>confdefs.h
<<_ACEOF
40962 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40967 ac_cpp
='$CPP $CPPFLAGS'
40968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40975 if test "$wxUSE_SOCKETS" = "yes" ; then
40976 cat >>confdefs.h
<<\_ACEOF
40977 #define wxUSE_SOCKETS 1
40980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40983 if test "$wxUSE_PROTOCOL" = "yes"; then
40984 if test "$wxUSE_SOCKETS" != "yes"; then
40985 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40986 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40991 if test "$wxUSE_PROTOCOL" = "yes"; then
40992 cat >>confdefs.h
<<\_ACEOF
40993 #define wxUSE_PROTOCOL 1
40997 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40998 cat >>confdefs.h
<<\_ACEOF
40999 #define wxUSE_PROTOCOL_HTTP 1
41003 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
41004 cat >>confdefs.h
<<\_ACEOF
41005 #define wxUSE_PROTOCOL_FTP 1
41009 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
41010 cat >>confdefs.h
<<\_ACEOF
41011 #define wxUSE_PROTOCOL_FILE 1
41016 if test "$wxUSE_FS_INET" = "yes"; then
41017 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
41018 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
41023 if test "$wxUSE_URL" = "yes"; then
41024 if test "$wxUSE_PROTOCOL" != "yes"; then
41025 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
41026 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
41029 if test "$wxUSE_URL" = "yes"; then
41030 cat >>confdefs.h
<<\_ACEOF
41031 #define wxUSE_URL 1
41037 if test "$wxUSE_FS_INET" = "yes"; then
41038 cat >>confdefs.h
<<\_ACEOF
41039 #define wxUSE_FS_INET 1
41045 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
41048 if test "$TOOLKIT" = "MSW"; then
41051 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
41052 if test "$USE_DARWIN" = 1; then
41053 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
41054 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
41056 ac_cpp
='$CXXCPP $CPPFLAGS'
41057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41061 cat >conftest.
$ac_ext <<_ACEOF
41064 cat confdefs.h
>>conftest.
$ac_ext
41065 cat >>conftest.
$ac_ext <<_ACEOF
41066 /* end confdefs.h. */
41067 #include <IOKit/hid/IOHIDLib.h>
41071 IOHIDQueueInterface *qi = NULL;
41072 IOHIDCallbackFunction cb = NULL;
41073 qi->setEventCallout(NULL, cb, NULL, NULL);
41078 rm -f conftest.
$ac_objext
41079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41080 (eval $ac_compile) 2>conftest.er1
41082 grep -v '^ *+' conftest.er1
>conftest.err
41084 cat conftest.err
>&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } &&
41087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41089 (eval $ac_try) 2>&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); }; } &&
41093 { ac_try
='test -s conftest.$ac_objext'
41094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41095 (eval $ac_try) 2>&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); }; }; then
41102 echo "$as_me: failed program was:" >&5
41103 sed 's/^/| /' conftest.
$ac_ext >&5
41106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41108 ac_cpp
='$CPP $CPPFLAGS'
41109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41113 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
41114 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
41119 for ac_header
in linux
/joystick.h
41121 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41123 echo "$as_me:$LINENO: checking for $ac_header" >&5
41124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41126 echo $ECHO_N "(cached) $ECHO_C" >&6
41128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41131 # Is the header compilable?
41132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41134 cat >conftest.
$ac_ext <<_ACEOF
41137 cat confdefs.h
>>conftest.
$ac_ext
41138 cat >>conftest.
$ac_ext <<_ACEOF
41139 /* end confdefs.h. */
41140 $ac_includes_default
41141 #include <$ac_header>
41143 rm -f conftest.
$ac_objext
41144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41145 (eval $ac_compile) 2>conftest.er1
41147 grep -v '^ *+' conftest.er1
>conftest.err
41149 cat conftest.err
>&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } &&
41152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41154 (eval $ac_try) 2>&5
41156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41157 (exit $ac_status); }; } &&
41158 { ac_try
='test -s conftest.$ac_objext'
41159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41160 (eval $ac_try) 2>&5
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); }; }; then
41164 ac_header_compiler
=yes
41166 echo "$as_me: failed program was:" >&5
41167 sed 's/^/| /' conftest.
$ac_ext >&5
41169 ac_header_compiler
=no
41171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41173 echo "${ECHO_T}$ac_header_compiler" >&6
41175 # Is the header present?
41176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41178 cat >conftest.
$ac_ext <<_ACEOF
41181 cat confdefs.h
>>conftest.
$ac_ext
41182 cat >>conftest.
$ac_ext <<_ACEOF
41183 /* end confdefs.h. */
41184 #include <$ac_header>
41186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41189 grep -v '^ *+' conftest.er1
>conftest.err
41191 cat conftest.err
>&5
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); } >/dev
/null
; then
41194 if test -s conftest.err
; then
41195 ac_cpp_err
=$ac_c_preproc_warn_flag
41196 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41203 if test -z "$ac_cpp_err"; then
41204 ac_header_preproc
=yes
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.
$ac_ext >&5
41209 ac_header_preproc
=no
41211 rm -f conftest.err conftest.
$ac_ext
41212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41213 echo "${ECHO_T}$ac_header_preproc" >&6
41215 # So? What about this header?
41216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41222 ac_header_preproc
=yes
41225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41239 ## ----------------------------------------- ##
41240 ## Report this to wx-dev@lists.wxwidgets.org ##
41241 ## ----------------------------------------- ##
41244 sed "s/^/$as_me: WARNING: /" >&2
41247 echo "$as_me:$LINENO: checking for $ac_header" >&5
41248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41250 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 eval "$as_ac_Header=\$ac_header_preproc"
41254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41259 cat >>confdefs.h
<<_ACEOF
41260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41269 if test "$wxUSE_JOYSTICK" = "yes"; then
41270 cat >>confdefs.h
<<\_ACEOF
41271 #define wxUSE_JOYSTICK 1
41274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
41276 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41277 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41283 if test "$wxUSE_FONTMAP" = "yes" ; then
41284 cat >>confdefs.h
<<\_ACEOF
41285 #define wxUSE_FONTMAP 1
41290 if test "$wxUSE_UNICODE" = "yes" ; then
41291 cat >>confdefs.h
<<\_ACEOF
41292 #define wxUSE_UNICODE 1
41296 if test "$USE_WIN32" != 1; then
41297 wxUSE_UNICODE_MSLU
=no
41300 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41301 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41302 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41303 if test "${ac_cv_lib_unicows_main+set}" = set; then
41304 echo $ECHO_N "(cached) $ECHO_C" >&6
41306 ac_check_lib_save_LIBS
=$LIBS
41307 LIBS
="-lunicows $LIBS"
41308 cat >conftest.
$ac_ext <<_ACEOF
41311 cat confdefs.h
>>conftest.
$ac_ext
41312 cat >>conftest.
$ac_ext <<_ACEOF
41313 /* end confdefs.h. */
41324 rm -f conftest.
$ac_objext conftest
$ac_exeext
41325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41326 (eval $ac_link) 2>conftest.er1
41328 grep -v '^ *+' conftest.er1
>conftest.err
41330 cat conftest.err
>&5
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); } &&
41333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41335 (eval $ac_try) 2>&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); }; } &&
41339 { ac_try
='test -s conftest$ac_exeext'
41340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41341 (eval $ac_try) 2>&5
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); }; }; then
41345 ac_cv_lib_unicows_main
=yes
41347 echo "$as_me: failed program was:" >&5
41348 sed 's/^/| /' conftest.
$ac_ext >&5
41350 ac_cv_lib_unicows_main
=no
41352 rm -f conftest.err conftest.
$ac_objext \
41353 conftest
$ac_exeext conftest.
$ac_ext
41354 LIBS
=$ac_check_lib_save_LIBS
41356 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41357 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41358 if test $ac_cv_lib_unicows_main = yes; then
41360 cat >>confdefs.h
<<\_ACEOF
41361 #define wxUSE_UNICODE_MSLU 1
41367 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41368 Applications will only run on Windows NT/2000/XP!" >&5
41369 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41370 Applications will only run on Windows NT/2000/XP!" >&2;}
41371 wxUSE_UNICODE_MSLU
=no
41378 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41379 cat >>confdefs.h
<<\_ACEOF
41380 #define wxUSE_EXPERIMENTAL_PRINTF 1
41386 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41387 cat >>confdefs.h
<<\_ACEOF
41388 #define wxUSE_POSTSCRIPT 1
41393 cat >>confdefs.h
<<\_ACEOF
41394 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41398 cat >>confdefs.h
<<\_ACEOF
41399 #define wxUSE_NORMALIZED_PS_FONTS 1
41404 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41405 cat >>confdefs.h
<<\_ACEOF
41406 #define wxUSE_CONSTRAINTS 1
41409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
41412 if test "$wxUSE_MDI" = "yes"; then
41413 cat >>confdefs.h
<<\_ACEOF
41414 #define wxUSE_MDI 1
41418 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41419 cat >>confdefs.h
<<\_ACEOF
41420 #define wxUSE_MDI_ARCHITECTURE 1
41423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
41427 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41428 cat >>confdefs.h
<<\_ACEOF
41429 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
41433 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
41438 if test "$wxUSE_HELP" = "yes"; then
41439 cat >>confdefs.h
<<\_ACEOF
41440 #define wxUSE_HELP 1
41443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
41445 if test "$wxUSE_MSW" = 1; then
41446 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41447 cat >>confdefs.h
<<\_ACEOF
41448 #define wxUSE_MS_HTML_HELP 1
41454 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41455 if test "$wxUSE_HTML" = "yes"; then
41456 cat >>confdefs.h
<<\_ACEOF
41457 #define wxUSE_WXHTML_HELP 1
41461 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41462 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41463 wxUSE_WXHTML_HELP
=no
41468 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41469 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41470 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41471 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41473 cat >>confdefs.h
<<\_ACEOF
41474 #define wxUSE_PRINTING_ARCHITECTURE 1
41478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
41481 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41482 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41483 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41484 { (exit 1); exit 1; }; }
41488 if test "$wxUSE_METAFILE" = "yes"; then
41489 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41490 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41491 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41497 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
41498 -o "$wxUSE_CLIPBOARD" = "yes" \
41499 -o "$wxUSE_OLE" = "yes" \
41500 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
41502 for ac_header
in ole2.h
41504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41506 echo "$as_me:$LINENO: checking for $ac_header" >&5
41507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41509 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41514 # Is the header compilable?
41515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41517 cat >conftest.
$ac_ext <<_ACEOF
41520 cat confdefs.h
>>conftest.
$ac_ext
41521 cat >>conftest.
$ac_ext <<_ACEOF
41522 /* end confdefs.h. */
41523 $ac_includes_default
41524 #include <$ac_header>
41526 rm -f conftest.
$ac_objext
41527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41528 (eval $ac_compile) 2>conftest.er1
41530 grep -v '^ *+' conftest.er1
>conftest.err
41532 cat conftest.err
>&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); } &&
41535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41537 (eval $ac_try) 2>&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); }; } &&
41541 { ac_try
='test -s conftest.$ac_objext'
41542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41543 (eval $ac_try) 2>&5
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); }; }; then
41547 ac_header_compiler
=yes
41549 echo "$as_me: failed program was:" >&5
41550 sed 's/^/| /' conftest.
$ac_ext >&5
41552 ac_header_compiler
=no
41554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41556 echo "${ECHO_T}$ac_header_compiler" >&6
41558 # Is the header present?
41559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41561 cat >conftest.
$ac_ext <<_ACEOF
41564 cat confdefs.h
>>conftest.
$ac_ext
41565 cat >>conftest.
$ac_ext <<_ACEOF
41566 /* end confdefs.h. */
41567 #include <$ac_header>
41569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41572 grep -v '^ *+' conftest.er1
>conftest.err
41574 cat conftest.err
>&5
41575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576 (exit $ac_status); } >/dev
/null
; then
41577 if test -s conftest.err
; then
41578 ac_cpp_err
=$ac_c_preproc_warn_flag
41579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41586 if test -z "$ac_cpp_err"; then
41587 ac_header_preproc
=yes
41589 echo "$as_me: failed program was:" >&5
41590 sed 's/^/| /' conftest.
$ac_ext >&5
41592 ac_header_preproc
=no
41594 rm -f conftest.err conftest.
$ac_ext
41595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41596 echo "${ECHO_T}$ac_header_preproc" >&6
41598 # So? What about this header?
41599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41605 ac_header_preproc
=yes
41608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41622 ## ----------------------------------------- ##
41623 ## Report this to wx-dev@lists.wxwidgets.org ##
41624 ## ----------------------------------------- ##
41627 sed "s/^/$as_me: WARNING: /" >&2
41630 echo "$as_me:$LINENO: checking for $ac_header" >&5
41631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41633 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 eval "$as_ac_Header=\$ac_header_preproc"
41637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41642 cat >>confdefs.h
<<_ACEOF
41643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41651 if test "$ac_cv_header_ole2_h" = "yes" ; then
41652 if test "$GCC" = yes ; then
41656 ac_cpp
='$CXXCPP $CPPFLAGS'
41657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41662 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41663 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41664 cat >conftest.
$ac_ext <<_ACEOF
41667 cat confdefs.h
>>conftest.
$ac_ext
41668 cat >>conftest.
$ac_ext <<_ACEOF
41669 /* end confdefs.h. */
41670 #include <windows.h>
41680 rm -f conftest.
$ac_objext
41681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41682 (eval $ac_compile) 2>conftest.er1
41684 grep -v '^ *+' conftest.er1
>conftest.err
41686 cat conftest.err
>&5
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); } &&
41689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; } &&
41695 { ac_try
='test -s conftest.$ac_objext'
41696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41697 (eval $ac_try) 2>&5
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); }; }; then
41701 echo "$as_me:$LINENO: result: no" >&5
41702 echo "${ECHO_T}no" >&6
41704 echo "$as_me: failed program was:" >&5
41705 sed 's/^/| /' conftest.
$ac_ext >&5
41707 echo "$as_me:$LINENO: result: yes" >&5
41708 echo "${ECHO_T}yes" >&6
41709 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
41711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41713 ac_cpp
='$CPP $CPPFLAGS'
41714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41718 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41719 if test "$wxUSE_OLE" = "yes" ; then
41720 cat >>confdefs.h
<<\_ACEOF
41721 #define wxUSE_OLE 1
41724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41728 if test "$wxUSE_DATAOBJ" = "yes" ; then
41729 cat >>confdefs.h
<<\_ACEOF
41730 #define wxUSE_DATAOBJ 1
41735 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41736 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41739 wxUSE_DRAG_AND_DROP
=no
41744 if test "$wxUSE_METAFILE" = "yes"; then
41745 cat >>confdefs.h
<<\_ACEOF
41746 #define wxUSE_METAFILE 1
41750 cat >>confdefs.h
<<\_ACEOF
41751 #define wxUSE_ENH_METAFILE 1
41757 if test "$wxUSE_IPC" = "yes"; then
41758 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41759 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41760 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41764 if test "$wxUSE_IPC" = "yes"; then
41765 cat >>confdefs.h
<<\_ACEOF
41766 #define wxUSE_IPC 1
41769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41773 if test "$wxUSE_DATAOBJ" = "yes"; then
41774 if test "$wxUSE_MGL" = 1; then
41775 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41776 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41779 cat >>confdefs.h
<<\_ACEOF
41780 #define wxUSE_DATAOBJ 1
41785 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41786 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41788 wxUSE_DRAG_AND_DROP
=no
41791 if test "$wxUSE_CLIPBOARD" = "yes"; then
41792 if test "$wxUSE_MGL" = 1; then
41793 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41794 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41798 if test "$wxUSE_CLIPBOARD" = "yes"; then
41799 cat >>confdefs.h
<<\_ACEOF
41800 #define wxUSE_CLIPBOARD 1
41806 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41807 if test "$wxUSE_GTK" = 1; then
41808 if test "$WXGTK12" != 1; then
41809 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41810 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41811 wxUSE_DRAG_AND_DROP
=no
41815 if test "$wxUSE_MOTIF" = 1; then
41816 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41817 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41818 wxUSE_DRAG_AND_DROP
=no
41821 if test "$wxUSE_X11" = 1; then
41822 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41823 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41824 wxUSE_DRAG_AND_DROP
=no
41827 if test "$wxUSE_MGL" = 1; then
41828 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41829 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41830 wxUSE_DRAG_AND_DROP
=no
41833 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41834 cat >>confdefs.h
<<\_ACEOF
41835 #define wxUSE_DRAG_AND_DROP 1
41842 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41846 if test "$wxUSE_SPLINES" = "yes" ; then
41847 cat >>confdefs.h
<<\_ACEOF
41848 #define wxUSE_SPLINES 1
41853 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41854 cat >>confdefs.h
<<\_ACEOF
41855 #define wxUSE_MOUSEWHEEL 1
41862 if test "$wxUSE_CONTROLS" = "yes"; then
41866 if test "$wxUSE_ACCEL" = "yes"; then
41867 cat >>confdefs.h
<<\_ACEOF
41868 #define wxUSE_ACCEL 1
41874 if test "$wxUSE_BUTTON" = "yes"; then
41875 cat >>confdefs.h
<<\_ACEOF
41876 #define wxUSE_BUTTON 1
41882 if test "$wxUSE_BMPBUTTON" = "yes"; then
41883 cat >>confdefs.h
<<\_ACEOF
41884 #define wxUSE_BMPBUTTON 1
41890 if test "$wxUSE_CALCTRL" = "yes"; then
41891 cat >>confdefs.h
<<\_ACEOF
41892 #define wxUSE_CALENDARCTRL 1
41896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41899 if test "$wxUSE_CARET" = "yes"; then
41900 cat >>confdefs.h
<<\_ACEOF
41901 #define wxUSE_CARET 1
41905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41908 if test "$wxUSE_COMBOBOX" = "yes"; then
41909 cat >>confdefs.h
<<\_ACEOF
41910 #define wxUSE_COMBOBOX 1
41916 if test "$wxUSE_CHOICE" = "yes"; then
41917 cat >>confdefs.h
<<\_ACEOF
41918 #define wxUSE_CHOICE 1
41924 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41925 cat >>confdefs.h
<<\_ACEOF
41926 #define wxUSE_CHOICEBOOK 1
41932 if test "$wxUSE_CHECKBOX" = "yes"; then
41933 cat >>confdefs.h
<<\_ACEOF
41934 #define wxUSE_CHECKBOX 1
41940 if test "$wxUSE_CHECKLST" = "yes"; then
41941 cat >>confdefs.h
<<\_ACEOF
41942 #define wxUSE_CHECKLISTBOX 1
41946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41949 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41950 cat >>confdefs.h
<<\_ACEOF
41951 #define wxUSE_DATEPICKCTRL 1
41957 if test "$wxUSE_DISPLAY" = "yes"; then
41958 cat >>confdefs.h
<<\_ACEOF
41959 #define wxUSE_DISPLAY 1
41962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41965 if test "$wxUSE_GAUGE" = "yes"; then
41966 cat >>confdefs.h
<<\_ACEOF
41967 #define wxUSE_GAUGE 1
41973 if test "$wxUSE_GRID" = "yes"; then
41974 cat >>confdefs.h
<<\_ACEOF
41975 #define wxUSE_GRID 1
41979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41982 if test "$wxUSE_IMAGLIST" = "yes"; then
41983 cat >>confdefs.h
<<\_ACEOF
41984 #define wxUSE_IMAGLIST 1
41989 if test "$wxUSE_LISTBOOK" = "yes"; then
41990 cat >>confdefs.h
<<\_ACEOF
41991 #define wxUSE_LISTBOOK 1
41997 if test "$wxUSE_LISTBOX" = "yes"; then
41998 cat >>confdefs.h
<<\_ACEOF
41999 #define wxUSE_LISTBOX 1
42003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
42006 if test "$wxUSE_LISTCTRL" = "yes"; then
42007 if test "$wxUSE_IMAGLIST" = "yes"; then
42008 cat >>confdefs.h
<<\_ACEOF
42009 #define wxUSE_LISTCTRL 1
42013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
42015 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
42016 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
42020 if test "$wxUSE_NOTEBOOK" = "yes"; then
42021 cat >>confdefs.h
<<\_ACEOF
42022 #define wxUSE_NOTEBOOK 1
42026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
42030 if test "$wxUSE_RADIOBOX" = "yes"; then
42031 cat >>confdefs.h
<<\_ACEOF
42032 #define wxUSE_RADIOBOX 1
42038 if test "$wxUSE_RADIOBTN" = "yes"; then
42039 cat >>confdefs.h
<<\_ACEOF
42040 #define wxUSE_RADIOBTN 1
42046 if test "$wxUSE_SASH" = "yes"; then
42047 cat >>confdefs.h
<<\_ACEOF
42048 #define wxUSE_SASH 1
42051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
42054 if test "$wxUSE_SCROLLBAR" = "yes"; then
42055 cat >>confdefs.h
<<\_ACEOF
42056 #define wxUSE_SCROLLBAR 1
42060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
42063 if test "$wxUSE_SLIDER" = "yes"; then
42064 cat >>confdefs.h
<<\_ACEOF
42065 #define wxUSE_SLIDER 1
42071 if test "$wxUSE_SPINBTN" = "yes"; then
42072 cat >>confdefs.h
<<\_ACEOF
42073 #define wxUSE_SPINBTN 1
42079 if test "$wxUSE_SPINCTRL" = "yes"; then
42080 cat >>confdefs.h
<<\_ACEOF
42081 #define wxUSE_SPINCTRL 1
42087 if test "$wxUSE_SPLITTER" = "yes"; then
42088 cat >>confdefs.h
<<\_ACEOF
42089 #define wxUSE_SPLITTER 1
42092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
42095 if test "$wxUSE_STATBMP" = "yes"; then
42096 cat >>confdefs.h
<<\_ACEOF
42097 #define wxUSE_STATBMP 1
42103 if test "$wxUSE_STATBOX" = "yes"; then
42104 cat >>confdefs.h
<<\_ACEOF
42105 #define wxUSE_STATBOX 1
42111 if test "$wxUSE_STATTEXT" = "yes"; then
42112 cat >>confdefs.h
<<\_ACEOF
42113 #define wxUSE_STATTEXT 1
42119 if test "$wxUSE_STATLINE" = "yes"; then
42120 cat >>confdefs.h
<<\_ACEOF
42121 #define wxUSE_STATLINE 1
42127 if test "$wxUSE_STATUSBAR" = "yes"; then
42128 cat >>confdefs.h
<<\_ACEOF
42129 #define wxUSE_NATIVE_STATUSBAR 1
42132 cat >>confdefs.h
<<\_ACEOF
42133 #define wxUSE_STATUSBAR 1
42138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
42141 if test "$wxUSE_TABDIALOG" = "yes"; then
42142 cat >>confdefs.h
<<\_ACEOF
42143 #define wxUSE_TAB_DIALOG 1
42148 if test "$wxUSE_TEXTCTRL" = "yes"; then
42149 cat >>confdefs.h
<<\_ACEOF
42150 #define wxUSE_TEXTCTRL 1
42154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
42157 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42158 if test "$wxUSE_COCOA" = 1 ; then
42159 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42160 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42163 if test "$wxUSE_UNIVERSAL" = "yes"; then
42164 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42165 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42169 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42170 cat >>confdefs.h
<<\_ACEOF
42171 #define wxUSE_TOGGLEBTN 1
42178 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42179 cat >>confdefs.h
<<\_ACEOF
42180 #define wxUSE_TOOLBAR_SIMPLE 1
42183 wxUSE_TOOLBAR
="yes"
42187 if test "$wxUSE_TOOLBAR" = "yes"; then
42188 cat >>confdefs.h
<<\_ACEOF
42189 #define wxUSE_TOOLBAR 1
42194 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42195 wxUSE_TOOLBAR_NATIVE
="yes"
42198 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42199 cat >>confdefs.h
<<\_ACEOF
42200 #define wxUSE_TOOLBAR_NATIVE 1
42206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
42209 if test "$wxUSE_TOOLTIPS" = "yes"; then
42210 if test "$wxUSE_MOTIF" = 1; then
42211 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42212 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42214 if test "$wxUSE_UNIVERSAL" = "yes"; then
42215 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42216 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42218 cat >>confdefs.h
<<\_ACEOF
42219 #define wxUSE_TOOLTIPS 1
42226 if test "$wxUSE_TREEBOOK" = "yes"; then
42227 cat >>confdefs.h
<<\_ACEOF
42228 #define wxUSE_TREEBOOK 1
42234 if test "$wxUSE_TREECTRL" = "yes"; then
42235 if test "$wxUSE_IMAGLIST" = "yes"; then
42236 cat >>confdefs.h
<<\_ACEOF
42237 #define wxUSE_TREECTRL 1
42241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
42243 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42244 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42248 if test "$wxUSE_POPUPWIN" = "yes"; then
42249 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42250 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42251 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42253 if test "$wxUSE_PM" = 1; then
42254 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42255 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42257 cat >>confdefs.h
<<\_ACEOF
42258 #define wxUSE_POPUPWIN 1
42261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
42268 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42269 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42270 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42271 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42273 cat >>confdefs.h
<<\_ACEOF
42274 #define wxUSE_DIALUP_MANAGER 1
42277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
42281 if test "$wxUSE_TIPWINDOW" = "yes"; then
42282 if test "$wxUSE_PM" = 1; then
42283 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42284 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42286 cat >>confdefs.h
<<\_ACEOF
42287 #define wxUSE_TIPWINDOW 1
42293 if test "$USES_CONTROLS" = 1; then
42294 cat >>confdefs.h
<<\_ACEOF
42295 #define wxUSE_CONTROLS 1
42301 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42302 cat >>confdefs.h
<<\_ACEOF
42303 #define wxUSE_ACCESSIBILITY 1
42306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
42309 if test "$wxUSE_DC_CACHEING" = "yes"; then
42310 cat >>confdefs.h
<<\_ACEOF
42311 #define wxUSE_DC_CACHEING 1
42316 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42317 cat >>confdefs.h
<<\_ACEOF
42318 #define wxUSE_DRAGIMAGE 1
42321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
42324 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42325 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42326 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42327 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42329 cat >>confdefs.h
<<\_ACEOF
42330 #define wxUSE_EXCEPTIONS 1
42333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
42338 if test "$wxUSE_HTML" = "yes"; then
42339 cat >>confdefs.h
<<\_ACEOF
42340 #define wxUSE_HTML 1
42344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42345 if test "$wxUSE_MAC" = 1; then
42346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
42349 if test "$wxUSE_WEBKIT" = "yes"; then
42350 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42351 old_CPPFLAGS
="$CPPFLAGS"
42352 CPPFLAGS
="$CPPFLAGS -x objective-c++"
42353 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42354 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42355 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42356 echo $ECHO_N "(cached) $ECHO_C" >&6
42358 cat >conftest.
$ac_ext <<_ACEOF
42361 cat confdefs.h
>>conftest.
$ac_ext
42362 cat >>conftest.
$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42364 #include <Carbon/Carbon.h>
42366 #include <WebKit/HIWebView.h>
42368 rm -f conftest.
$ac_objext
42369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42370 (eval $ac_compile) 2>conftest.er1
42372 grep -v '^ *+' conftest.er1
>conftest.err
42374 cat conftest.err
>&5
42375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42376 (exit $ac_status); } &&
42377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42379 (eval $ac_try) 2>&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); }; } &&
42383 { ac_try
='test -s conftest.$ac_objext'
42384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42385 (eval $ac_try) 2>&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); }; }; then
42389 ac_cv_header_WebKit_HIWebView_h
=yes
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.
$ac_ext >&5
42394 ac_cv_header_WebKit_HIWebView_h
=no
42396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42398 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42399 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42400 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42402 cat >>confdefs.h
<<\_ACEOF
42403 #define wxUSE_WEBKIT 1
42406 WEBKIT_LINK
="-framework WebKit"
42410 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42411 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42417 CPPFLAGS
="$old_CPPFLAGS"
42418 elif test "$wxUSE_COCOA" = 1; then
42419 cat >>confdefs.h
<<\_ACEOF
42420 #define wxUSE_WEBKIT 1
42429 if test "$wxUSE_XRC" = "yes"; then
42430 if test "$wxUSE_XML" != "yes"; then
42431 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42432 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42435 cat >>confdefs.h
<<\_ACEOF
42436 #define wxUSE_XRC 1
42440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
42444 if test "$wxUSE_MENUS" = "yes"; then
42445 cat >>confdefs.h
<<\_ACEOF
42446 #define wxUSE_MENUS 1
42449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
42452 if test "$wxUSE_METAFILE" = "yes"; then
42453 cat >>confdefs.h
<<\_ACEOF
42454 #define wxUSE_METAFILE 1
42459 if test "$wxUSE_MIMETYPE" = "yes"; then
42460 cat >>confdefs.h
<<\_ACEOF
42461 #define wxUSE_MIMETYPE 1
42466 if test "$wxUSE_MINIFRAME" = "yes"; then
42467 cat >>confdefs.h
<<\_ACEOF
42468 #define wxUSE_MINIFRAME 1
42471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
42474 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42475 cat >>confdefs.h
<<\_ACEOF
42476 #define wxUSE_SYSTEM_OPTIONS 1
42479 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42480 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
42486 if test "$wxUSE_VALIDATORS" = "yes"; then
42487 cat >>confdefs.h
<<\_ACEOF
42488 #define wxUSE_VALIDATORS 1
42491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
42494 if test "$wxUSE_PALETTE" = "yes" ; then
42495 cat >>confdefs.h
<<\_ACEOF
42496 #define wxUSE_PALETTE 1
42501 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42502 LIBS
=" -lunicows $LIBS"
42506 if test "$wxUSE_RICHTEXT" = "yes"; then
42507 cat >>confdefs.h
<<\_ACEOF
42508 #define wxUSE_RICHTEXT 1
42512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
42516 if test "$wxUSE_IMAGE" = "yes" ; then
42517 cat >>confdefs.h
<<\_ACEOF
42518 #define wxUSE_IMAGE 1
42522 if test "$wxUSE_GIF" = "yes" ; then
42523 cat >>confdefs.h
<<\_ACEOF
42524 #define wxUSE_GIF 1
42529 if test "$wxUSE_PCX" = "yes" ; then
42530 cat >>confdefs.h
<<\_ACEOF
42531 #define wxUSE_PCX 1
42536 if test "$wxUSE_IFF" = "yes" ; then
42537 cat >>confdefs.h
<<\_ACEOF
42538 #define wxUSE_IFF 1
42543 if test "$wxUSE_PNM" = "yes" ; then
42544 cat >>confdefs.h
<<\_ACEOF
42545 #define wxUSE_PNM 1
42550 if test "$wxUSE_XPM" = "yes" ; then
42551 cat >>confdefs.h
<<\_ACEOF
42552 #define wxUSE_XPM 1
42557 if test "$wxUSE_ICO_CUR" = "yes" ; then
42558 cat >>confdefs.h
<<\_ACEOF
42559 #define wxUSE_ICO_CUR 1
42566 if test "$wxUSE_CHOICEDLG" = "yes"; then
42567 cat >>confdefs.h
<<\_ACEOF
42568 #define wxUSE_CHOICEDLG 1
42573 if test "$wxUSE_COLOURDLG" = "yes"; then
42574 cat >>confdefs.h
<<\_ACEOF
42575 #define wxUSE_COLOURDLG 1
42580 if test "$wxUSE_FILEDLG" = "yes"; then
42581 cat >>confdefs.h
<<\_ACEOF
42582 #define wxUSE_FILEDLG 1
42587 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42588 cat >>confdefs.h
<<\_ACEOF
42589 #define wxUSE_FINDREPLDLG 1
42594 if test "$wxUSE_FONTDLG" = "yes"; then
42595 cat >>confdefs.h
<<\_ACEOF
42596 #define wxUSE_FONTDLG 1
42601 if test "$wxUSE_DIRDLG" = "yes"; then
42602 if test "$wxUSE_TREECTRL" != "yes"; then
42603 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42604 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42606 cat >>confdefs.h
<<\_ACEOF
42607 #define wxUSE_DIRDLG 1
42613 if test "$wxUSE_MSGDLG" = "yes"; then
42614 cat >>confdefs.h
<<\_ACEOF
42615 #define wxUSE_MSGDLG 1
42620 if test "$wxUSE_NUMBERDLG" = "yes"; then
42621 cat >>confdefs.h
<<\_ACEOF
42622 #define wxUSE_NUMBERDLG 1
42627 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42628 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42629 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42630 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42632 cat >>confdefs.h
<<\_ACEOF
42633 #define wxUSE_PROGRESSDLG 1
42639 if test "$wxUSE_SPLASH" = "yes"; then
42640 cat >>confdefs.h
<<\_ACEOF
42641 #define wxUSE_SPLASH 1
42644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
42647 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42648 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42649 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42650 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42652 cat >>confdefs.h
<<\_ACEOF
42653 #define wxUSE_STARTUP_TIPS 1
42659 if test "$wxUSE_TEXTDLG" = "yes"; then
42660 cat >>confdefs.h
<<\_ACEOF
42661 #define wxUSE_TEXTDLG 1
42666 if test "$wxUSE_WIZARDDLG" = "yes"; then
42667 cat >>confdefs.h
<<\_ACEOF
42668 #define wxUSE_WIZARDDLG 1
42671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42675 if test "$wxUSE_MEDIACTRL" = "yes"; then
42676 if test "$wxUSE_GTK" = 1; then
42677 wxUSE_GSTREAMER
="yes"
42682 if test -z "$PKG_CONFIG"; then
42683 # Extract the first word of "pkg-config", so it can be a program name with args.
42684 set dummy pkg
-config; ac_word
=$2
42685 echo "$as_me:$LINENO: checking for $ac_word" >&5
42686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42687 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42690 case $PKG_CONFIG in
42692 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42696 for as_dir
in $PATH
42699 test -z "$as_dir" && as_dir
=.
42700 for ac_exec_ext
in '' $ac_executable_extensions; do
42701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42702 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42709 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42713 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42715 if test -n "$PKG_CONFIG"; then
42716 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42717 echo "${ECHO_T}$PKG_CONFIG" >&6
42719 echo "$as_me:$LINENO: result: no" >&5
42720 echo "${ECHO_T}no" >&6
42725 if test "$PKG_CONFIG" = "no" ; then
42726 echo "*** The pkg-config script could not be found. Make sure it is"
42727 echo "*** in your path, or set the PKG_CONFIG environment variable"
42728 echo "*** to the full path to pkg-config."
42729 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42731 PKG_CONFIG_MIN_VERSION
=0.9.0
42732 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42733 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42734 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42736 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42737 echo "$as_me:$LINENO: result: yes" >&5
42738 echo "${ECHO_T}yes" >&6
42741 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42742 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42743 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42744 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42745 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42747 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42748 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42749 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42750 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42751 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42753 GSTREAMER_CFLAGS
=""
42755 ## If we have a custom action on failure, don't print errors, but
42756 ## do set a variable so people can do so.
42757 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42764 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42765 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42769 if test $succeeded = yes; then
42771 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42772 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42776 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42777 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42778 wxUSE_GSTREAMER
="no"
42786 if test "x$GST_INSPECT" == "x"; then
42787 # Extract the first word of "gst-inspect", so it can be a program name with args.
42788 set dummy gst
-inspect; ac_word
=$2
42789 echo "$as_me:$LINENO: checking for $ac_word" >&5
42790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42791 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42792 echo $ECHO_N "(cached) $ECHO_C" >&6
42794 if test -n "$GST_INSPECT"; then
42795 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42798 for as_dir
in $PATH
42801 test -z "$as_dir" && as_dir
=.
42802 for ac_exec_ext
in '' $ac_executable_extensions; do
42803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42804 ac_cv_prog_GST_INSPECT
="gst-inspect"
42805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42813 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42814 if test -n "$GST_INSPECT"; then
42815 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42816 echo "${ECHO_T}$GST_INSPECT" >&6
42818 echo "$as_me:$LINENO: result: no" >&5
42819 echo "${ECHO_T}no" >&6
42824 if test "x$GST_INSPECT" != "x"; then
42825 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42826 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42827 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42828 echo "$as_me:$LINENO: result: found." >&5
42829 echo "${ECHO_T}found." >&6
42832 echo "$as_me:$LINENO: result: not found." >&5
42833 echo "${ECHO_T}not found." >&6
42835 wxUSE_GSTREAMER
="no"
42836 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42837 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42843 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42844 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42845 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42846 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 cat >conftest.
$ac_ext <<_ACEOF
42851 cat confdefs.h
>>conftest.
$ac_ext
42852 cat >>conftest.
$ac_ext <<_ACEOF
42853 /* end confdefs.h. */
42854 #include <gst/gst.h>
42856 #include <gst/xoverlay/xoverlay.h>
42858 rm -f conftest.
$ac_objext
42859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42860 (eval $ac_compile) 2>conftest.er1
42862 grep -v '^ *+' conftest.er1
>conftest.err
42864 cat conftest.err
>&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); } &&
42867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42869 (eval $ac_try) 2>&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; } &&
42873 { ac_try
='test -s conftest.$ac_objext'
42874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42875 (eval $ac_try) 2>&5
42877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42878 (exit $ac_status); }; }; then
42879 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.
$ac_ext >&5
42884 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42888 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42889 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42890 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42894 wxUSE_GSTREAMER
="no"
42895 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42896 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42902 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42903 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42906 for ac_dir
in $SEARCH_LIB;
42908 for ac_extension
in a so sl dylib dll.a
; do
42909 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42910 ac_find_libraries
=$ac_dir
42917 if test "$ac_find_libraries" = "" ; then
42918 echo "$as_me:$LINENO: result: no" >&5
42919 echo "${ECHO_T}no" >&6
42920 wxUSE_GSTREAMER
="no"
42922 echo "$as_me:$LINENO: result: yes" >&5
42923 echo "${ECHO_T}yes" >&6
42926 if test "$wxUSE_GSTREAMER" = "yes"; then
42927 cat >>confdefs.h
<<\_ACEOF
42928 #define wxUSE_GSTREAMER 1
42931 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42932 echo "${ECHO_T}GStreamer detection successful" >&6
42935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42936 cat >>confdefs.h
<<\_ACEOF
42937 #define wxUSE_MEDIACTRL 1
42943 if test "$cross_compiling" = "yes"; then
42946 OSINFO
=`uname -s -r -m`
42947 OSINFO
="\"$OSINFO\""
42950 cat >>confdefs.h
<<_ACEOF
42951 #define WXWIN_OS_DESCRIPTION $OSINFO
42956 if test "x$prefix" != "xNONE"; then
42959 wxPREFIX
=$ac_default_prefix
42962 cat >>confdefs.h
<<_ACEOF
42963 #define wxINSTALL_PREFIX "$wxPREFIX"
42969 CORE_BASE_LIBS
="net base"
42970 CORE_GUI_LIBS
="adv core"
42972 if test "$wxUSE_XML" = "yes" ; then
42973 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42975 if test "$wxUSE_ODBC" != "no" ; then
42976 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42977 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42979 if test "$wxUSE_HTML" = "yes" ; then
42980 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42982 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42983 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42985 if test "$wxUSE_XRC" = "yes" ; then
42986 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42989 if test "$wxUSE_GUI" != "yes"; then
43000 if test "$wxUSE_MAC" = 1 ; then
43001 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
43002 if test "$USE_DARWIN" = 1; then
43003 LDFLAGS
="$LDFLAGS -framework QuickTime"
43005 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
43008 if test "$USE_DARWIN" = 1; then
43009 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
43011 LDFLAGS
="$LDFLAGS -lCarbonLib"
43014 if test "$wxUSE_COCOA" = 1 ; then
43015 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
43016 if test "$wxUSE_MEDIACTRL" = "yes"; then
43017 LDFLAGS
="$LDFLAGS -framework QuickTime"
43020 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
43021 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
43025 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
43032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43033 echo "$as_me:$LINENO: checking for $ac_func" >&5
43034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43035 if eval "test \"\${$as_ac_var+set}\" = set"; then
43036 echo $ECHO_N "(cached) $ECHO_C" >&6
43038 cat >conftest.
$ac_ext <<_ACEOF
43041 cat confdefs.h
>>conftest.
$ac_ext
43042 cat >>conftest.
$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43046 #define $ac_func innocuous_$ac_func
43048 /* System header to define __stub macros and hopefully few prototypes,
43049 which can conflict with char $ac_func (); below.
43050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43051 <limits.h> exists even on freestanding compilers. */
43054 # include <limits.h>
43056 # include <assert.h>
43061 /* Override any gcc2 internal prototype to avoid an error. */
43066 /* We use char because int might match the return type of a gcc2
43067 builtin and then its argument prototype would still apply. */
43069 /* The GNU C library defines this for functions which it implements
43070 to always fail with ENOSYS. Some functions are actually named
43071 something starting with __ and the normal name is an alias. */
43072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43075 char (*f) () = $ac_func;
43084 return f != $ac_func;
43089 rm -f conftest.
$ac_objext conftest
$ac_exeext
43090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43091 (eval $ac_link) 2>conftest.er1
43093 grep -v '^ *+' conftest.er1
>conftest.err
43095 cat conftest.err
>&5
43096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097 (exit $ac_status); } &&
43098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43100 (eval $ac_try) 2>&5
43102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43103 (exit $ac_status); }; } &&
43104 { ac_try
='test -s conftest$ac_exeext'
43105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43106 (eval $ac_try) 2>&5
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); }; }; then
43110 eval "$as_ac_var=yes"
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.
$ac_ext >&5
43115 eval "$as_ac_var=no"
43117 rm -f conftest.err conftest.
$ac_objext \
43118 conftest
$ac_exeext conftest.
$ac_ext
43120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43122 if test `eval echo '${'$as_ac_var'}'` = yes; then
43123 cat >>confdefs.h
<<_ACEOF
43124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43131 for ac_func
in floor
43133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43134 echo "$as_me:$LINENO: checking for $ac_func" >&5
43135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43136 if eval "test \"\${$as_ac_var+set}\" = set"; then
43137 echo $ECHO_N "(cached) $ECHO_C" >&6
43139 cat >conftest.
$ac_ext <<_ACEOF
43142 cat confdefs.h
>>conftest.
$ac_ext
43143 cat >>conftest.
$ac_ext <<_ACEOF
43144 /* end confdefs.h. */
43145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43147 #define $ac_func innocuous_$ac_func
43149 /* System header to define __stub macros and hopefully few prototypes,
43150 which can conflict with char $ac_func (); below.
43151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43152 <limits.h> exists even on freestanding compilers. */
43155 # include <limits.h>
43157 # include <assert.h>
43162 /* Override any gcc2 internal prototype to avoid an error. */
43167 /* We use char because int might match the return type of a gcc2
43168 builtin and then its argument prototype would still apply. */
43170 /* The GNU C library defines this for functions which it implements
43171 to always fail with ENOSYS. Some functions are actually named
43172 something starting with __ and the normal name is an alias. */
43173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43176 char (*f) () = $ac_func;
43185 return f != $ac_func;
43190 rm -f conftest.
$ac_objext conftest
$ac_exeext
43191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43192 (eval $ac_link) 2>conftest.er1
43194 grep -v '^ *+' conftest.er1
>conftest.err
43196 cat conftest.err
>&5
43197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43198 (exit $ac_status); } &&
43199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43201 (eval $ac_try) 2>&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); }; } &&
43205 { ac_try
='test -s conftest$ac_exeext'
43206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43207 (eval $ac_try) 2>&5
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); }; }; then
43211 eval "$as_ac_var=yes"
43213 echo "$as_me: failed program was:" >&5
43214 sed 's/^/| /' conftest.
$ac_ext >&5
43216 eval "$as_ac_var=no"
43218 rm -f conftest.err conftest.
$ac_objext \
43219 conftest
$ac_exeext conftest.
$ac_ext
43221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43223 if test `eval echo '${'$as_ac_var'}'` = yes; then
43224 cat >>confdefs.h
<<_ACEOF
43225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43231 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43232 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43233 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43234 echo "$as_me:$LINENO: result: yes" >&5
43235 echo "${ECHO_T}yes" >&6
43237 echo "$as_me:$LINENO: result: no" >&5
43238 echo "${ECHO_T}no" >&6
43240 # use different functions to avoid configure caching
43246 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43247 echo "$as_me:$LINENO: checking for $ac_func" >&5
43248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43249 if eval "test \"\${$as_ac_var+set}\" = set"; then
43250 echo $ECHO_N "(cached) $ECHO_C" >&6
43252 cat >conftest.
$ac_ext <<_ACEOF
43255 cat confdefs.h
>>conftest.
$ac_ext
43256 cat >>conftest.
$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43260 #define $ac_func innocuous_$ac_func
43262 /* System header to define __stub macros and hopefully few prototypes,
43263 which can conflict with char $ac_func (); below.
43264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43265 <limits.h> exists even on freestanding compilers. */
43268 # include <limits.h>
43270 # include <assert.h>
43275 /* Override any gcc2 internal prototype to avoid an error. */
43280 /* We use char because int might match the return type of a gcc2
43281 builtin and then its argument prototype would still apply. */
43283 /* The GNU C library defines this for functions which it implements
43284 to always fail with ENOSYS. Some functions are actually named
43285 something starting with __ and the normal name is an alias. */
43286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43289 char (*f) () = $ac_func;
43298 return f != $ac_func;
43303 rm -f conftest.
$ac_objext conftest
$ac_exeext
43304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43305 (eval $ac_link) 2>conftest.er1
43307 grep -v '^ *+' conftest.er1
>conftest.err
43309 cat conftest.err
>&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } &&
43312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43314 (eval $ac_try) 2>&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); }; } &&
43318 { ac_try
='test -s conftest$ac_exeext'
43319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43320 (eval $ac_try) 2>&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); }; }; then
43324 eval "$as_ac_var=yes"
43326 echo "$as_me: failed program was:" >&5
43327 sed 's/^/| /' conftest.
$ac_ext >&5
43329 eval "$as_ac_var=no"
43331 rm -f conftest.err conftest.
$ac_objext \
43332 conftest
$ac_exeext conftest.
$ac_ext
43334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43336 if test `eval echo '${'$as_ac_var'}'` = yes; then
43337 cat >>confdefs.h
<<_ACEOF
43338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43345 for ac_func
in ceil
43347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43348 echo "$as_me:$LINENO: checking for $ac_func" >&5
43349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43350 if eval "test \"\${$as_ac_var+set}\" = set"; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43353 cat >conftest.
$ac_ext <<_ACEOF
43356 cat confdefs.h
>>conftest.
$ac_ext
43357 cat >>conftest.
$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43361 #define $ac_func innocuous_$ac_func
43363 /* System header to define __stub macros and hopefully few prototypes,
43364 which can conflict with char $ac_func (); below.
43365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43366 <limits.h> exists even on freestanding compilers. */
43369 # include <limits.h>
43371 # include <assert.h>
43376 /* Override any gcc2 internal prototype to avoid an error. */
43381 /* We use char because int might match the return type of a gcc2
43382 builtin and then its argument prototype would still apply. */
43384 /* The GNU C library defines this for functions which it implements
43385 to always fail with ENOSYS. Some functions are actually named
43386 something starting with __ and the normal name is an alias. */
43387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43390 char (*f) () = $ac_func;
43399 return f != $ac_func;
43404 rm -f conftest.
$ac_objext conftest
$ac_exeext
43405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43406 (eval $ac_link) 2>conftest.er1
43408 grep -v '^ *+' conftest.er1
>conftest.err
43410 cat conftest.err
>&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); } &&
43413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43415 (eval $ac_try) 2>&5
43417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43418 (exit $ac_status); }; } &&
43419 { ac_try
='test -s conftest$ac_exeext'
43420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43421 (eval $ac_try) 2>&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); }; }; then
43425 eval "$as_ac_var=yes"
43427 echo "$as_me: failed program was:" >&5
43428 sed 's/^/| /' conftest.
$ac_ext >&5
43430 eval "$as_ac_var=no"
43432 rm -f conftest.err conftest.
$ac_objext \
43433 conftest
$ac_exeext conftest.
$ac_ext
43435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43437 if test `eval echo '${'$as_ac_var'}'` = yes; then
43438 cat >>confdefs.h
<<_ACEOF
43439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43445 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43446 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43447 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43448 echo "$as_me:$LINENO: result: yes" >&5
43449 echo "${ECHO_T}yes" >&6
43451 echo "$as_me:$LINENO: result: no" >&5
43452 echo "${ECHO_T}no" >&6
43453 # not sure we should warn the user, crash, etc.
43457 if test "$wxUSE_GUI" = "yes"; then
43460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43461 dynamic erase event exec font image minimal mobile \
43462 mobile/wxedit mobile/styles propsize render \
43463 richedit rotate shaped vscroll widgets"
43465 if test "$wxUSE_MONOLITHIC" != "yes"; then
43466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
43468 if test "$TOOLKIT" = "MSW"; then
43469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
43470 if test "$wxUSE_UNIVERSAL" != "yes"; then
43471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43474 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
43478 SAMPLES_SUBDIRS
="console"
43482 if test "x$INTELCC" = "xyes" ; then
43483 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
43484 elif test "$GCC" = yes ; then
43485 CWARNINGS
="-Wall -Wundef"
43488 if test "x$INTELCXX" = "xyes" ; then
43489 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
43490 elif test "$GXX" = yes ; then
43491 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
43495 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
43496 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
43499 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $CPPFLAGS \
43500 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43501 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE`
43503 C_AND_CXX_FLAGS
="$DEBUG_FLAG $PROFILE_FLAG $OPTIMISE_FLAG"
43504 CFLAGS
=`echo $WXCONFIG_CFLAGS $CFLAGS $CWARNINGS $C_AND_CXX_FLAGS`
43505 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXFLAGS $C_AND_CXX_FLAGS`
43507 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
43510 if test "x$MWCC" = "xyes"; then
43512 CC
="$CC -cwd source -I-"
43513 CXX
="$CXX -cwd source -I-"
43518 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43519 EXTRALIBS_XML
="$EXPAT_LINK"
43520 EXTRALIBS_HTML
="$MSPACK_LINK"
43521 EXTRALIBS_ODBC
="$ODBC_LINK"
43522 if test "$wxUSE_GUI" = "yes"; then
43523 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43525 if test "$wxUSE_OPENGL" = "yes"; then
43526 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
43529 LDFLAGS
="$LDFLAGS $PROFILE_FLAG"
43531 WXCONFIG_LIBS
="$LIBS"
43533 if test "$wxUSE_REGEX" = "builtin" ; then
43534 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43536 if test "$wxUSE_EXPAT" = "builtin" ; then
43537 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
43539 if test "$wxUSE_ODBC" = "builtin" ; then
43540 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
43542 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43543 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
43545 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43546 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
43548 if test "$wxUSE_LIBPNG" = "builtin" ; then
43549 wxconfig_3rdparty
="png $wxconfig_3rdparty"
43551 if test "$wxUSE_ZLIB" = "builtin" ; then
43552 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
43555 for i
in $wxconfig_3rdparty ; do
43556 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
43560 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43574 if test $wxUSE_MONOLITHIC = "yes" ; then
43580 if test $wxUSE_PLUGINS = "yes" ; then
43586 if test $wxUSE_ODBC != "no" ; then
43592 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43598 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43626 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43637 TOOLKIT_USER
="GTK+"
43638 if test "$WXGTK20" = 1; then
43639 TOOLKIT_USER
="$TOOLKIT_USER 2"
43644 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
43648 if test "$wxUSE_WINE" = "yes"; then
43649 BAKEFILE_FORCE_PLATFORM
=win32
43655 if test "x$BAKEFILE_HOST" = "x"; then
43656 BAKEFILE_HOST
="${host}"
43659 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43661 if test -n "$ac_tool_prefix"; then
43662 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43663 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
43664 echo "$as_me:$LINENO: checking for $ac_word" >&5
43665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43666 if test "${ac_cv_prog_RANLIB+set}" = set; then
43667 echo $ECHO_N "(cached) $ECHO_C" >&6
43669 if test -n "$RANLIB"; then
43670 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43673 for as_dir
in $PATH
43676 test -z "$as_dir" && as_dir
=.
43677 for ac_exec_ext
in '' $ac_executable_extensions; do
43678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43679 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
43680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43688 RANLIB
=$ac_cv_prog_RANLIB
43689 if test -n "$RANLIB"; then
43690 echo "$as_me:$LINENO: result: $RANLIB" >&5
43691 echo "${ECHO_T}$RANLIB" >&6
43693 echo "$as_me:$LINENO: result: no" >&5
43694 echo "${ECHO_T}no" >&6
43698 if test -z "$ac_cv_prog_RANLIB"; then
43699 ac_ct_RANLIB
=$RANLIB
43700 # Extract the first word of "ranlib", so it can be a program name with args.
43701 set dummy ranlib
; ac_word
=$2
43702 echo "$as_me:$LINENO: checking for $ac_word" >&5
43703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43704 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43705 echo $ECHO_N "(cached) $ECHO_C" >&6
43707 if test -n "$ac_ct_RANLIB"; then
43708 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
43710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43711 for as_dir
in $PATH
43714 test -z "$as_dir" && as_dir
=.
43715 for ac_exec_ext
in '' $ac_executable_extensions; do
43716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43717 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43724 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43727 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43728 if test -n "$ac_ct_RANLIB"; then
43729 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43730 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43732 echo "$as_me:$LINENO: result: no" >&5
43733 echo "${ECHO_T}no" >&6
43736 RANLIB
=$ac_ct_RANLIB
43738 RANLIB
="$ac_cv_prog_RANLIB"
43741 # Find a good install program. We prefer a C program (faster),
43742 # so one script is as good as another. But avoid the broken or
43743 # incompatible versions:
43744 # SysV /etc/install, /usr/sbin/install
43745 # SunOS /usr/etc/install
43746 # IRIX /sbin/install
43748 # AmigaOS /C/install, which installs bootblocks on floppy discs
43749 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43750 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43751 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43752 # OS/2's system install, which has a completely different semantic
43753 # ./install, which can be erroneously created by make from ./install.sh.
43754 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43755 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43756 if test -z "$INSTALL"; then
43757 if test "${ac_cv_path_install+set}" = set; then
43758 echo $ECHO_N "(cached) $ECHO_C" >&6
43760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43761 for as_dir
in $PATH
43764 test -z "$as_dir" && as_dir
=.
43765 # Account for people who put trailing slashes in PATH elements.
43767 .
/ | .
// | /cC
/* | \
43768 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43769 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43772 # OSF1 and SCO ODT 3.0 have their own names for install.
43773 # Don't use installbsd from OSF since it installs stuff as root
43775 for ac_prog
in ginstall scoinst
install; do
43776 for ac_exec_ext
in '' $ac_executable_extensions; do
43777 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43778 if test $ac_prog = install &&
43779 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43780 # AIX install. It has an incompatible calling convention.
43782 elif test $ac_prog = install &&
43783 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43784 # program-specific install script used by HP pwplus--don't use.
43787 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43799 if test "${ac_cv_path_install+set}" = set; then
43800 INSTALL
=$ac_cv_path_install
43802 # As a last resort, use the slow shell script. We don't cache a
43803 # path for INSTALL within a source directory, because that will
43804 # break other packages using the cache if that directory is
43805 # removed, or if the path is relative.
43806 INSTALL
=$ac_install_sh
43809 echo "$as_me:$LINENO: result: $INSTALL" >&5
43810 echo "${ECHO_T}$INSTALL" >&6
43812 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43813 # It thinks the first close brace ends the variable substitution.
43814 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43816 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43818 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43820 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43821 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43823 if test "$LN_S" = "ln -s"; then
43824 echo "$as_me:$LINENO: result: yes" >&5
43825 echo "${ECHO_T}yes" >&6
43827 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43828 echo "${ECHO_T}no, using $LN_S" >&6
43832 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43833 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43834 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43835 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43836 echo $ECHO_N "(cached) $ECHO_C" >&6
43838 cat >conftest.
make <<\_ACEOF
43840 @
echo 'ac_maketemp="$(MAKE)"'
43842 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43843 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43844 if test -n "$ac_maketemp"; then
43845 eval ac_cv_prog_make_
${ac_make}_set
=yes
43847 eval ac_cv_prog_make_
${ac_make}_set
=no
43849 rm -f conftest.
make
43851 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43852 echo "$as_me:$LINENO: result: yes" >&5
43853 echo "${ECHO_T}yes" >&6
43856 echo "$as_me:$LINENO: result: no" >&5
43857 echo "${ECHO_T}no" >&6
43858 SET_MAKE
="MAKE=${MAKE-make}"
43863 if test -n "$ac_tool_prefix"; then
43864 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43865 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43866 echo "$as_me:$LINENO: checking for $ac_word" >&5
43867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43868 if test "${ac_cv_prog_AR+set}" = set; then
43869 echo $ECHO_N "(cached) $ECHO_C" >&6
43871 if test -n "$AR"; then
43872 ac_cv_prog_AR
="$AR" # Let the user override the test.
43874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43875 for as_dir
in $PATH
43878 test -z "$as_dir" && as_dir
=.
43879 for ac_exec_ext
in '' $ac_executable_extensions; do
43880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43881 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43891 if test -n "$AR"; then
43892 echo "$as_me:$LINENO: result: $AR" >&5
43893 echo "${ECHO_T}$AR" >&6
43895 echo "$as_me:$LINENO: result: no" >&5
43896 echo "${ECHO_T}no" >&6
43900 if test -z "$ac_cv_prog_AR"; then
43902 # Extract the first word of "ar", so it can be a program name with args.
43903 set dummy
ar; ac_word
=$2
43904 echo "$as_me:$LINENO: checking for $ac_word" >&5
43905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43906 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 if test -n "$ac_ct_AR"; then
43910 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43913 for as_dir
in $PATH
43916 test -z "$as_dir" && as_dir
=.
43917 for ac_exec_ext
in '' $ac_executable_extensions; do
43918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43919 ac_cv_prog_ac_ct_AR
="ar"
43920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43926 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43929 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43930 if test -n "$ac_ct_AR"; then
43931 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43932 echo "${ECHO_T}$ac_ct_AR" >&6
43934 echo "$as_me:$LINENO: result: no" >&5
43935 echo "${ECHO_T}no" >&6
43940 AR
="$ac_cv_prog_AR"
43943 if test -n "$ac_tool_prefix"; then
43944 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43945 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43946 echo "$as_me:$LINENO: checking for $ac_word" >&5
43947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43948 if test "${ac_cv_prog_STRIP+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 if test -n "$STRIP"; then
43952 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43955 for as_dir
in $PATH
43958 test -z "$as_dir" && as_dir
=.
43959 for ac_exec_ext
in '' $ac_executable_extensions; do
43960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43961 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43970 STRIP
=$ac_cv_prog_STRIP
43971 if test -n "$STRIP"; then
43972 echo "$as_me:$LINENO: result: $STRIP" >&5
43973 echo "${ECHO_T}$STRIP" >&6
43975 echo "$as_me:$LINENO: result: no" >&5
43976 echo "${ECHO_T}no" >&6
43980 if test -z "$ac_cv_prog_STRIP"; then
43982 # Extract the first word of "strip", so it can be a program name with args.
43983 set dummy strip
; ac_word
=$2
43984 echo "$as_me:$LINENO: checking for $ac_word" >&5
43985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43986 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43987 echo $ECHO_N "(cached) $ECHO_C" >&6
43989 if test -n "$ac_ct_STRIP"; then
43990 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43993 for as_dir
in $PATH
43996 test -z "$as_dir" && as_dir
=.
43997 for ac_exec_ext
in '' $ac_executable_extensions; do
43998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43999 ac_cv_prog_ac_ct_STRIP
="strip"
44000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44006 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
44009 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
44010 if test -n "$ac_ct_STRIP"; then
44011 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
44012 echo "${ECHO_T}$ac_ct_STRIP" >&6
44014 echo "$as_me:$LINENO: result: no" >&5
44015 echo "${ECHO_T}no" >&6
44020 STRIP
="$ac_cv_prog_STRIP"
44023 if test -n "$ac_tool_prefix"; then
44024 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
44025 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
44026 echo "$as_me:$LINENO: checking for $ac_word" >&5
44027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44028 if test "${ac_cv_prog_NM+set}" = set; then
44029 echo $ECHO_N "(cached) $ECHO_C" >&6
44031 if test -n "$NM"; then
44032 ac_cv_prog_NM
="$NM" # Let the user override the test.
44034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44035 for as_dir
in $PATH
44038 test -z "$as_dir" && as_dir
=.
44039 for ac_exec_ext
in '' $ac_executable_extensions; do
44040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44041 ac_cv_prog_NM
="${ac_tool_prefix}nm"
44042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44051 if test -n "$NM"; then
44052 echo "$as_me:$LINENO: result: $NM" >&5
44053 echo "${ECHO_T}$NM" >&6
44055 echo "$as_me:$LINENO: result: no" >&5
44056 echo "${ECHO_T}no" >&6
44060 if test -z "$ac_cv_prog_NM"; then
44062 # Extract the first word of "nm", so it can be a program name with args.
44063 set dummy nm
; ac_word
=$2
44064 echo "$as_me:$LINENO: checking for $ac_word" >&5
44065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44066 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
44067 echo $ECHO_N "(cached) $ECHO_C" >&6
44069 if test -n "$ac_ct_NM"; then
44070 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
44072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44073 for as_dir
in $PATH
44076 test -z "$as_dir" && as_dir
=.
44077 for ac_exec_ext
in '' $ac_executable_extensions; do
44078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44079 ac_cv_prog_ac_ct_NM
="nm"
44080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44086 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
44089 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
44090 if test -n "$ac_ct_NM"; then
44091 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
44092 echo "${ECHO_T}$ac_ct_NM" >&6
44094 echo "$as_me:$LINENO: result: no" >&5
44095 echo "${ECHO_T}no" >&6
44100 NM
="$ac_cv_prog_NM"
44104 case ${BAKEFILE_HOST} in
44106 INSTALL_DIR
="mkdir -p"
44108 *) INSTALL_DIR
="$INSTALL -d"
44114 case ${BAKEFILE_HOST} in
44115 *-*-cygwin* | *-*-mingw32* )
44116 LDFLAGS_GUI
="-mwindows"
44122 echo "$as_me:$LINENO: checking if make is GNU make" >&5
44123 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
44124 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
44125 echo $ECHO_N "(cached) $ECHO_C" >&6
44128 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
44129 egrep -s GNU
> /dev
/null
); then
44130 bakefile_cv_prog_makeisgnu
="yes"
44132 bakefile_cv_prog_makeisgnu
="no"
44136 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
44137 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
44139 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44156 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44157 case "${BAKEFILE_HOST}" in
44164 *-pc-os2_emx | *-pc-os2-emx )
44174 powerpc
-apple-macos* )
44183 case "$BAKEFILE_FORCE_PLATFORM" in
44204 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44205 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44206 { (exit 1); exit 1; }; }
44221 # Check whether --enable-omf or --disable-omf was given.
44222 if test "${enable_omf+set}" = set; then
44223 enableval
="$enable_omf"
44224 bk_os2_use_omf
="$enableval"
44227 case "${BAKEFILE_HOST}" in
44229 if test "x$GCC" = "xyes"; then
44230 CFLAGS
="$CFLAGS -fno-common"
44231 CXXFLAGS
="$CXXFLAGS -fno-common"
44233 if test "x$XLCC" = "xyes"; then
44234 CFLAGS
="$CFLAGS -qnocommon"
44235 CXXFLAGS
="$CXXFLAGS -qnocommon"
44239 *-pc-os2_emx | *-pc-os2-emx )
44240 if test "x$bk_os2_use_omf" = "xyes" ; then
44243 LDFLAGS
="-Zomf $LDFLAGS"
44244 CFLAGS
="-Zomf $CFLAGS"
44245 CXXFLAGS
="-Zomf $CXXFLAGS"
44253 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
44259 SO_SUFFIX_MODULE
="so"
44264 DLLPREFIX_MODULE
=""
44268 case "${BAKEFILE_HOST}" in
44271 SO_SUFFIX_MODULE
="sl"
44275 SO_SUFFIX_MODULE
="a"
44279 SO_SUFFIX_MODULE
="dll"
44280 DLLIMP_SUFFIX
="dll.a"
44287 SO_SUFFIX_MODULE
="dll"
44288 DLLIMP_SUFFIX
="dll.a"
44298 *-pc-os2_emx | *-pc-os2-emx )
44300 SO_SUFFIX_MODULE
="dll"
44301 DLLIMP_SUFFIX
=$OS2_LIBEXT
44305 LIBEXT
=".$OS2_LIBEXT"
44310 SO_SUFFIX_MODULE
="bundle"
44314 if test "x$DLLIMP_SUFFIX" = "x" ; then
44315 DLLIMP_SUFFIX
="$SO_SUFFIX"
44330 if test "x$GCC" = "xyes"; then
44334 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
44335 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
44338 case "${BAKEFILE_HOST}" in
44340 if test "x$GCC" != "xyes"; then
44341 LDFLAGS
="$LDFLAGS -L/usr/lib"
44343 SHARED_LD_CC
="${CC} -b -o"
44344 SHARED_LD_CXX
="${CXX} -b -o"
44350 if test "x$GCC" != "xyes"; then
44351 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44352 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44353 if test "${bakefile_cv_prog_icc+set}" = set; then
44354 echo $ECHO_N "(cached) $ECHO_C" >&6
44357 cat >conftest.
$ac_ext <<_ACEOF
44360 cat confdefs.h
>>conftest.
$ac_ext
44361 cat >>conftest.
$ac_ext <<_ACEOF
44362 /* end confdefs.h. */
44368 #ifndef __INTEL_COMPILER
44376 rm -f conftest.
$ac_objext
44377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44378 (eval $ac_compile) 2>conftest.er1
44380 grep -v '^ *+' conftest.er1
>conftest.err
44382 cat conftest.err
>&5
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); } &&
44385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44387 (eval $ac_try) 2>&5
44389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390 (exit $ac_status); }; } &&
44391 { ac_try
='test -s conftest.$ac_objext'
44392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44393 (eval $ac_try) 2>&5
44395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396 (exit $ac_status); }; }; then
44397 bakefile_cv_prog_icc
=yes
44399 echo "$as_me: failed program was:" >&5
44400 sed 's/^/| /' conftest.
$ac_ext >&5
44402 bakefile_cv_prog_icc
=no
44405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44408 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44409 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44410 if test "$bakefile_cv_prog_icc" = "yes"; then
44417 if test "x$GCC" != xyes
; then
44418 SHARED_LD_CC
="${CC} -G -o"
44419 SHARED_LD_CXX
="${CXX} -G -o"
44427 cat <<EOF >shared-ld-sh
44429 #-----------------------------------------------------------------------------
44430 #-- Name: distrib/mac/shared-ld-sh
44431 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44432 #-- Author: Gilles Depeyrot
44433 #-- Copyright: (c) 2002 Gilles Depeyrot
44434 #-- Licence: any use permitted
44435 #-----------------------------------------------------------------------------
44440 linking_flag="-dynamiclib"
44441 ldargs="-r -keep_private_externs -nostdlib"
44443 while test ${D}# -gt 0; do
44450 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44451 # collect these options and values
44452 args="${D}{args} ${D}1 ${D}2"
44457 # collect these load args
44458 ldargs="${D}{ldargs} ${D}1"
44461 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44462 # collect these options
44463 args="${D}{args} ${D}1"
44466 -dynamiclib|-bundle)
44467 linking_flag="${D}1"
44471 echo "shared-ld: unhandled option '${D}1'"
44475 *.o | *.a | *.dylib)
44476 # collect object files
44477 objects="${D}{objects} ${D}1"
44481 echo "shared-ld: unhandled argument '${D}1'"
44492 # Link one module containing all the others
44494 if test ${D}{verbose} = 1; then
44495 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44497 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44501 # Link the shared library from the single module created, but only if the
44502 # previous command didn't fail:
44504 if test ${D}{status} = 0; then
44505 if test ${D}{verbose} = 1; then
44506 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44508 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44513 # Remove intermediate module
44515 rm -f master.${D}${D}.o
44520 chmod +x shared
-ld-sh
44522 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44523 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
44526 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44527 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44528 if test "${bakefile_cv_gcc31+set}" = set; then
44529 echo $ECHO_N "(cached) $ECHO_C" >&6
44532 cat >conftest.
$ac_ext <<_ACEOF
44535 cat confdefs.h
>>conftest.
$ac_ext
44536 cat >>conftest.
$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44543 #if (__GNUC__ < 3) || \
44544 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44552 rm -f conftest.
$ac_objext
44553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44554 (eval $ac_compile) 2>conftest.er1
44556 grep -v '^ *+' conftest.er1
>conftest.err
44558 cat conftest.err
>&5
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); } &&
44561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44563 (eval $ac_try) 2>&5
44565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44566 (exit $ac_status); }; } &&
44567 { ac_try
='test -s conftest.$ac_objext'
44568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44569 (eval $ac_try) 2>&5
44571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44572 (exit $ac_status); }; }; then
44574 bakefile_cv_gcc31
=yes
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.
$ac_ext >&5
44581 bakefile_cv_gcc31
=no
44585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44588 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44589 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44590 if test "$bakefile_cv_gcc31" = "no"; then
44591 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44592 SHARED_LD_CXX
="$SHARED_LD_CC"
44594 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44595 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44598 if test "x$GCC" == "xyes"; then
44599 PIC_FLAG
="-dynamic -fPIC"
44601 if test "x$XLCC" = "xyes"; then
44602 PIC_FLAG
="-dynamic -DPIC"
44607 if test "x$GCC" = "xyes"; then
44610 case "${BAKEFILE_HOST}" in
44612 LD_EXPFULL
="-Wl,-bexpfull"
44616 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
44617 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
44619 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44620 set dummy makeC
++SharedLib
; ac_word
=$2
44621 echo "$as_me:$LINENO: checking for $ac_word" >&5
44622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44623 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44624 echo $ECHO_N "(cached) $ECHO_C" >&6
44626 if test -n "$AIX_CXX_LD"; then
44627 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
44629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44630 for as_dir
in $PATH
44633 test -z "$as_dir" && as_dir
=.
44634 for ac_exec_ext
in '' $ac_executable_extensions; do
44635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44636 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
44637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44643 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
44646 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
44647 if test -n "$AIX_CXX_LD"; then
44648 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44649 echo "${ECHO_T}$AIX_CXX_LD" >&6
44651 echo "$as_me:$LINENO: result: no" >&5
44652 echo "${ECHO_T}no" >&6
44655 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
44656 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
44661 SHARED_LD_CC
="${LD} -nostart -o"
44662 SHARED_LD_CXX
="${LD} -nostart -o"
44666 if test "x$GCC" != "xyes"; then
44671 *-*-cygwin* | *-*-mingw32* )
44673 SHARED_LD_CC
="\$(CC) -shared -o"
44674 SHARED_LD_CXX
="\$(CXX) -shared -o"
44678 *-pc-os2_emx | *-pc-os2-emx )
44679 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44680 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44684 cat <<EOF >dllar.sh
44687 # dllar - a tool to build both a .dll and an .a file
44688 # from a set of object (.o) files for EMX/OS2.
44690 # Written by Andrew Zabolotny, bit@freya.etu.ru
44691 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44693 # This script will accept a set of files on the command line.
44694 # All the public symbols from the .o files will be exported into
44695 # a .DEF file, then linker will be run (through gcc) against them to
44696 # build a shared library consisting of all given .o files. All libraries
44697 # (.a) will be first decompressed into component .o files then act as
44698 # described above. You can optionally give a description (-d "description")
44699 # which will be put into .DLL. To see the list of accepted options (as well
44700 # as command-line format) simply run this program without options. The .DLL
44701 # is built to be imported by name (there is no guarantee that new versions
44702 # of the library you build will have same ordinals for same symbols).
44704 # dllar is free software; you can redistribute it and/or modify
44705 # it under the terms of the GNU General Public License as published by
44706 # the Free Software Foundation; either version 2, or (at your option)
44707 # any later version.
44709 # dllar is distributed in the hope that it will be useful,
44710 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44711 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44712 # GNU General Public License for more details.
44714 # You should have received a copy of the GNU General Public License
44715 # along with dllar; see the file COPYING. If not, write to the Free
44716 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44719 # To successfuly run this program you will need:
44720 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44721 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44723 # (used to build the .dll)
44725 # (used to create .def file from .o files)
44727 # (used to create .a file from .def file)
44728 # - GNU text utilites (cat, sort, uniq)
44729 # used to process emxexp output
44730 # - GNU file utilities (mv, rm)
44732 # - lxlite (optional, see flag below)
44733 # (used for general .dll cleanup)
44740 # basnam, variant of basename, which does _not_ remove the path, _iff_
44741 # second argument (suffix to remove) is given
44745 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44748 echo ${D}1 | sed 's/'${D}2'${D}//'
44751 echo "error in basnam ${D}*"
44757 # Cleanup temporary files and output
44760 for i in ${D}inputFiles ; do
44763 rm -rf \`basnam ${D}i !\`
44770 # Kill result in case of failure as there is just to many stupid make/nmake
44771 # things out there which doesn't do this.
44772 if [ ${D}# -eq 0 ]; then
44773 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44777 # Print usage and exit script with rc=1.
44779 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44780 echo ' [-name-mangler-script script.sh]'
44781 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44782 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44783 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44784 echo ' [*.o] [*.a]'
44785 echo '*> "output_file" should have no extension.'
44786 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44787 echo ' The import library name is derived from this and is set to "name".a,'
44788 echo ' unless overridden by -import'
44789 echo '*> "importlib_name" should have no extension.'
44790 echo ' If it has the .o, or .a extension, it is automatically removed.'
44791 echo ' This name is used as the import library name and may be longer and'
44792 echo ' more descriptive than the DLL name which has to follow the old '
44793 echo ' 8.3 convention of FAT.'
44794 echo '*> "script.sh may be given to override the output_file name by a'
44795 echo ' different name. It is mainly useful if the regular make process'
44796 echo ' of some package does not take into account OS/2 restriction of'
44797 echo ' DLL name lengths. It takes the importlib name as input and is'
44798 echo ' supposed to procude a shorter name as output. The script should'
44799 echo ' expect to get importlib_name without extension and should produce'
44800 echo ' a (max.) 8 letter name without extension.'
44801 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44802 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44803 echo ' These flags will be put at the start of GCC command line.'
44804 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44805 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44806 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44807 echo ' If the last character of a symbol is "*", all symbols beginning'
44808 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44809 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44810 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44811 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44812 echo ' C runtime DLLs.'
44813 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44814 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44815 echo ' unchanged to GCC at the end of command line.'
44816 echo '*> If you create a DLL from a library and you do not specify -o,'
44817 echo ' the basename for DLL and import library will be set to library name,'
44818 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44819 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44820 echo ' library will be renamed into gcc_s.a.'
44823 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44824 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44829 # Execute a command.
44830 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44831 # @Uses Whatever CleanUp() uses.
44837 if [ ${D}rcCmd -ne 0 ]; then
44838 echo "command failed, exit code="${D}rcCmd
44853 CFLAGS="-s -Zcrtdll"
44855 EXPORT_BY_ORDINALS=0
44860 case ${D}curDirS in
44864 curDirS=${D}{curDirS}"/"
44867 # Parse commandline
44870 while [ ${D}1 ]; do
44873 EXPORT_BY_ORDINALS=1;
44883 -name-mangler-script)
44904 exclude_symbols=${D}{exclude_symbols}${D}1" "
44908 library_flags=${D}{library_flags}${D}1" "
44927 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44930 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44931 if [ ${D}omfLinking -eq 1 ]; then
44932 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44934 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44939 if [ ${D}libsToLink -ne 0 ]; then
44940 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44942 for file in ${D}1 ; do
44943 if [ -f ${D}file ]; then
44944 inputFiles="${D}{inputFiles} ${D}file"
44948 if [ ${D}found -eq 0 ]; then
44949 echo "ERROR: No file(s) found: "${D}1
44956 done # iterate cmdline words
44959 if [ -z "${D}inputFiles" ]; then
44960 echo "dllar: no input files"
44964 # Now extract all .o files from .a files
44966 for file in ${D}inputFiles ; do
44977 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44982 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44984 if [ ${D}? -ne 0 ]; then
44985 echo "Failed to create subdirectory ./${D}dirname"
44989 # Append '!' to indicate archive
44990 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44991 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44994 for subfile in ${D}dirname/*.o* ; do
44995 if [ -f ${D}subfile ]; then
44997 if [ -s ${D}subfile ]; then
44998 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44999 newInputFiles="${D}newInputFiles ${D}subfile"
45003 if [ ${D}found -eq 0 ]; then
45004 echo "WARNING: there are no files in archive \\'${D}file\\'"
45008 newInputFiles="${D}{newInputFiles} ${D}file"
45012 inputFiles="${D}newInputFiles"
45014 # Output filename(s).
45016 if [ -z ${D}outFile ]; then
45018 set outFile ${D}inputFiles; outFile=${D}2
45021 # If it is an archive, remove the '!' and the '_%' suffixes
45022 case ${D}outFile in
45024 outFile=\`basnam ${D}outFile _%!\`
45029 case ${D}outFile in
45031 outFile=\`basnam ${D}outFile .dll\`
45034 outFile=\`basnam ${D}outFile .DLL\`
45037 outFile=\`basnam ${D}outFile .o\`
45040 outFile=\`basnam ${D}outFile .obj\`
45043 outFile=\`basnam ${D}outFile .a\`
45046 outFile=\`basnam ${D}outFile .lib\`
45051 case ${D}outimpFile in
45053 outimpFile=\`basnam ${D}outimpFile .a\`
45056 outimpFile=\`basnam ${D}outimpFile .lib\`
45061 if [ -z ${D}outimpFile ]; then
45062 outimpFile=${D}outFile
45064 defFile="${D}{outFile}.def"
45065 arcFile="${D}{outimpFile}.a"
45066 arcFile2="${D}{outimpFile}.lib"
45068 #create ${D}dllFile as something matching 8.3 restrictions,
45069 if [ -z ${D}renameScript ] ; then
45070 dllFile="${D}outFile"
45072 dllFile=\`${D}renameScript ${D}outimpFile\`
45075 if [ ${D}do_backup -ne 0 ] ; then
45076 if [ -f ${D}arcFile ] ; then
45077 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
45079 if [ -f ${D}arcFile2 ] ; then
45080 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
45084 # Extract public symbols from all the object files.
45085 tmpdefFile=${D}{defFile}_%
45086 rm -f ${D}tmpdefFile
45087 for file in ${D}inputFiles ; do
45092 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
45097 # Create the def file.
45099 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
45100 dllFile="${D}{dllFile}.dll"
45101 if [ ! -z ${D}description ]; then
45102 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
45104 echo "EXPORTS" >> ${D}defFile
45106 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
45107 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
45109 # Checks if the export is ok or not.
45110 for word in ${D}exclude_symbols; do
45111 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
45112 mv ${D}{tmpdefFile}% ${D}tmpdefFile
45116 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45117 sed "=" < ${D}tmpdefFile | \\
45121 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
45123 ' > ${D}{tmpdefFile}%
45124 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
45126 rm -f ${D}{tmpdefFile}%
45128 cat ${D}tmpdefFile >> ${D}defFile
45129 rm -f ${D}tmpdefFile
45131 # Do linking, create implib, and apply lxlite.
45133 for file in ${D}inputFiles ; do
45138 gccCmdl="${D}gccCmdl ${D}file"
45142 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45143 touch "${D}{outFile}.dll"
45145 doCommand "emximp -o ${D}arcFile ${D}defFile"
45146 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45148 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45151 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45153 doCommand "emxomf -s -l ${D}arcFile"
45163 powerpc
-apple-macos* | \
45164 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
45173 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45174 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45175 { (exit 1); exit 1; }; }
45178 if test "x$PIC_FLAG" != "x" ; then
45179 PIC_FLAG
="$PIC_FLAG -DPIC"
45182 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45183 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
45185 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45186 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
45205 case "${BAKEFILE_HOST}" in
45206 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
45207 SONAME_FLAG
="-Wl,-soname,"
45241 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45242 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45245 if test "x$GCC" = "xyes"; then
45247 case "${BAKEFILE_HOST}" in
45249 DEPSFLAG
="-no-cpp-precomp -MMD"
45255 echo "$as_me:$LINENO: result: gcc" >&5
45256 echo "${ECHO_T}gcc" >&6
45257 elif test "x$MWCC" = "xyes"; then
45260 echo "$as_me:$LINENO: result: mwcc" >&5
45261 echo "${ECHO_T}mwcc" >&6
45262 elif test "x$SUNCC" = "xyes"; then
45265 echo "$as_me:$LINENO: result: Sun cc" >&5
45266 echo "${ECHO_T}Sun cc" >&6
45267 elif test "x$SGICC" = "xyes"; then
45270 echo "$as_me:$LINENO: result: SGI cc" >&5
45271 echo "${ECHO_T}SGI cc" >&6
45272 elif test "x$HPCC" = "xyes"; then
45275 echo "$as_me:$LINENO: result: HP cc" >&5
45276 echo "${ECHO_T}HP cc" >&6
45277 elif test "x$COMPAQCC" = "xyes"; then
45280 echo "$as_me:$LINENO: result: Compaq cc" >&5
45281 echo "${ECHO_T}Compaq cc" >&6
45284 echo "$as_me:$LINENO: result: none" >&5
45285 echo "${ECHO_T}none" >&6
45288 if test $DEPS_TRACKING = 1 ; then
45294 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45295 # script. It is used to track C/C++ files dependencies in portable way.
45297 # Permission is given to use this file in any way.
45299 DEPSMODE=${DEPSMODE}
45301 DEPSFLAG="${DEPSFLAG}"
45303 mkdir -p ${D}DEPSDIR
45305 if test ${D}DEPSMODE = gcc ; then
45306 ${D}* ${D}{DEPSFLAG}
45308 if test ${D}{status} != 0 ; then
45311 # move created file to the location we want it in:
45312 while test ${D}# -gt 0; do
45326 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45327 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45328 if test -f ${D}depfile ; then
45329 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45332 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45333 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45334 if test ! -f ${D}depfile ; then
45335 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45336 depfile="${D}objfile.d"
45338 if test -f ${D}depfile ; then
45339 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45344 elif test ${D}DEPSMODE = mwcc ; then
45345 ${D}* || exit ${D}?
45346 # Run mwcc again with -MM and redirect into the dep file we want
45347 # NOTE: We can't use shift here because we need ${D}* to be valid
45349 for arg in ${D}* ; do
45350 if test "${D}prevarg" = "-o"; then
45363 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45365 elif test ${D}DEPSMODE = unixcc; then
45366 ${D}* || exit ${D}?
45367 # Run compiler again with deps flag and redirect into the dep file.
45368 # It doesn't work if the '-o FILE' option is used, but without it the
45369 # dependency file will contain the wrong name for the object. So it is
45370 # removed from the command line, and the dep file is fixed with sed.
45372 while test ${D}# -gt 0; do
45379 eval arg${D}#=\\${D}1
45380 cmd="${D}cmd \\${D}arg${D}#"
45385 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45402 case ${BAKEFILE_HOST} in
45403 *-*-cygwin* | *-*-mingw32* )
45404 if test "$build" != "$host" ; then
45405 RESCOMP
=$host_alias-windres
45407 # Extract the first word of "windres", so it can be a program name with args.
45408 set dummy windres
; ac_word
=$2
45409 echo "$as_me:$LINENO: checking for $ac_word" >&5
45410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45411 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45412 echo $ECHO_N "(cached) $ECHO_C" >&6
45414 if test -n "$RESCOMP"; then
45415 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45418 for as_dir
in $PATH
45421 test -z "$as_dir" && as_dir
=.
45422 for ac_exec_ext
in '' $ac_executable_extensions; do
45423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45424 ac_cv_prog_RESCOMP
="windres"
45425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45431 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
45434 RESCOMP
=$ac_cv_prog_RESCOMP
45435 if test -n "$RESCOMP"; then
45436 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45437 echo "${ECHO_T}$RESCOMP" >&6
45439 echo "$as_me:$LINENO: result: no" >&5
45440 echo "${ECHO_T}no" >&6
45446 *-*-darwin* | powerpc
-apple-macos* )
45447 # Extract the first word of "Rez", so it can be a program name with args.
45448 set dummy Rez
; ac_word
=$2
45449 echo "$as_me:$LINENO: checking for $ac_word" >&5
45450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45451 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45452 echo $ECHO_N "(cached) $ECHO_C" >&6
45454 if test -n "$RESCOMP"; then
45455 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45458 for as_dir
in $PATH
45461 test -z "$as_dir" && as_dir
=.
45462 for ac_exec_ext
in '' $ac_executable_extensions; do
45463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45464 ac_cv_prog_RESCOMP
="Rez"
45465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45471 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
45474 RESCOMP
=$ac_cv_prog_RESCOMP
45475 if test -n "$RESCOMP"; then
45476 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45477 echo "${ECHO_T}$RESCOMP" >&6
45479 echo "$as_me:$LINENO: result: no" >&5
45480 echo "${ECHO_T}no" >&6
45483 # Extract the first word of "SetFile", so it can be a program name with args.
45484 set dummy SetFile
; ac_word
=$2
45485 echo "$as_me:$LINENO: checking for $ac_word" >&5
45486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45487 if test "${ac_cv_prog_SETFILE+set}" = set; then
45488 echo $ECHO_N "(cached) $ECHO_C" >&6
45490 if test -n "$SETFILE"; then
45491 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
45493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45494 for as_dir
in $PATH
45497 test -z "$as_dir" && as_dir
=.
45498 for ac_exec_ext
in '' $ac_executable_extensions; do
45499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45500 ac_cv_prog_SETFILE
="SetFile"
45501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45507 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
45510 SETFILE
=$ac_cv_prog_SETFILE
45511 if test -n "$SETFILE"; then
45512 echo "$as_me:$LINENO: result: $SETFILE" >&5
45513 echo "${ECHO_T}$SETFILE" >&6
45515 echo "$as_me:$LINENO: result: no" >&5
45516 echo "${ECHO_T}no" >&6
45526 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
45529 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
45533 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45534 if test "${enable_precomp_headers+set}" = set; then
45535 enableval
="$enable_precomp_headers"
45536 bk_use_pch
="$enableval"
45541 case ${BAKEFILE_HOST} in
45547 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45548 if test "x$GCC" = "xyes"; then
45549 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45550 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45551 cat >conftest.
$ac_ext <<_ACEOF
45554 cat confdefs.h
>>conftest.
$ac_ext
45555 cat >>conftest.
$ac_ext <<_ACEOF
45556 /* end confdefs.h. */
45562 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45563 #error "no pch support"
45566 #error "no pch support"
45568 #if (__GNUC__ == 3) && \
45569 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45570 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45571 #error "no pch support"
45578 rm -f conftest.
$ac_objext
45579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45580 (eval $ac_compile) 2>conftest.er1
45582 grep -v '^ *+' conftest.er1
>conftest.err
45584 cat conftest.err
>&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } &&
45587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45589 (eval $ac_try) 2>&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); }; } &&
45593 { ac_try
='test -s conftest.$ac_objext'
45594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45595 (eval $ac_try) 2>&5
45597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598 (exit $ac_status); }; }; then
45600 echo "$as_me:$LINENO: result: yes" >&5
45601 echo "${ECHO_T}yes" >&6
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.
$ac_ext >&5
45609 echo "$as_me:$LINENO: result: no" >&5
45610 echo "${ECHO_T}no" >&6
45613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45614 if test $GCC_PCH = 1 ; then
45617 cat <<EOF >bk-make-pch
45620 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45621 # script. It is used to generated precompiled headers.
45623 # Permission is given to use this file in any way.
45632 while test ${D}{#} -gt 0; do
45635 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45636 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45637 headerfile="${D}{incdir}/${D}{header}"
45641 compiler="${D}{compiler} ${D}{1}"
45645 if test "x${D}{headerfile}" = "x" ; then
45646 echo "error: can't find header ${D}{header} in include paths" >2
45648 if test -f ${D}{outfile} ; then
45649 rm -f ${D}{outfile}
45651 mkdir -p \`dirname ${D}{outfile}\`
45653 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45655 # can do this because gcc is >= 3.4:
45656 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45661 chmod +x bk
-make-pch
45668 COND_BUILD_DEBUG
="#"
45669 if test "x$BUILD" = "xdebug" ; then
45670 COND_BUILD_DEBUG
=""
45673 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
45674 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45675 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
45678 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
45679 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45680 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
45683 COND_BUILD_DEBUG_UNICODE_0
="#"
45684 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45685 COND_BUILD_DEBUG_UNICODE_0
=""
45688 COND_BUILD_DEBUG_UNICODE_1
="#"
45689 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45690 COND_BUILD_DEBUG_UNICODE_1
=""
45693 COND_BUILD_RELEASE
="#"
45694 if test "x$BUILD" = "xrelease" ; then
45695 COND_BUILD_RELEASE
=""
45698 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
45699 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45700 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
45703 COND_BUILD_RELEASE_UNICODE_0
="#"
45704 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45705 COND_BUILD_RELEASE_UNICODE_0
=""
45708 COND_BUILD_RELEASE_UNICODE_1
="#"
45709 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45710 COND_BUILD_RELEASE_UNICODE_1
=""
45713 COND_DEBUG_FLAG_1
="#"
45714 if test "x$DEBUG_FLAG" = "x1" ; then
45715 COND_DEBUG_FLAG_1
=""
45718 COND_DEBUG_INFO_0
="#"
45719 if test "x$DEBUG_INFO" = "x0" ; then
45720 COND_DEBUG_INFO_0
=""
45723 COND_DEBUG_INFO_1
="#"
45724 if test "x$DEBUG_INFO" = "x1" ; then
45725 COND_DEBUG_INFO_1
=""
45728 COND_DEPS_TRACKING_0
="#"
45729 if test "x$DEPS_TRACKING" = "x0" ; then
45730 COND_DEPS_TRACKING_0
=""
45733 COND_DEPS_TRACKING_1
="#"
45734 if test "x$DEPS_TRACKING" = "x1" ; then
45735 COND_DEPS_TRACKING_1
=""
45739 if test "x$GCC_PCH" = "x1" ; then
45743 COND_MONOLITHIC_0
="#"
45744 if test "x$MONOLITHIC" = "x0" ; then
45745 COND_MONOLITHIC_0
=""
45748 COND_MONOLITHIC_0_SHARED_0
="#"
45749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45750 COND_MONOLITHIC_0_SHARED_0
=""
45753 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45755 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45758 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45760 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45763 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45765 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45770 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45773 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45775 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45778 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45780 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45783 COND_MONOLITHIC_0_SHARED_1
="#"
45784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45785 COND_MONOLITHIC_0_SHARED_1
=""
45788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45798 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45800 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45803 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45805 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45808 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45810 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45813 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45815 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45818 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45819 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45820 COND_MONOLITHIC_0_USE_ODBC_1
=""
45823 COND_MONOLITHIC_1
="#"
45824 if test "x$MONOLITHIC" = "x1" ; then
45825 COND_MONOLITHIC_1
=""
45828 COND_MONOLITHIC_1_SHARED_0
="#"
45829 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45830 COND_MONOLITHIC_1_SHARED_0
=""
45833 COND_MONOLITHIC_1_SHARED_1
="#"
45834 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45835 COND_MONOLITHIC_1_SHARED_1
=""
45838 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45839 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45840 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45843 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45844 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45845 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45848 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45849 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45850 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45853 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45854 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45855 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45858 COND_PLATFORM_MACOSX_1
="#"
45859 if test "x$PLATFORM_MACOSX" = "x1" ; then
45860 COND_PLATFORM_MACOSX_1
=""
45863 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45864 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45865 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45869 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45873 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45874 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45875 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45878 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45879 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45880 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45883 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45884 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45885 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45888 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45889 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45890 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45893 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45895 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45898 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45899 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45900 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45903 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45904 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45905 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45908 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45909 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45910 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45913 COND_PLATFORM_MACOS_1
="#"
45914 if test "x$PLATFORM_MACOS" = "x1" ; then
45915 COND_PLATFORM_MACOS_1
=""
45918 COND_PLATFORM_MAC_1
="#"
45919 if test "x$PLATFORM_MAC" = "x1" ; then
45920 COND_PLATFORM_MAC_1
=""
45923 COND_PLATFORM_MSDOS_1
="#"
45924 if test "x$PLATFORM_MSDOS" = "x1" ; then
45925 COND_PLATFORM_MSDOS_1
=""
45928 COND_PLATFORM_OS2_1
="#"
45929 if test "x$PLATFORM_OS2" = "x1" ; then
45930 COND_PLATFORM_OS2_1
=""
45933 COND_PLATFORM_UNIX_0
="#"
45934 if test "x$PLATFORM_UNIX" = "x0" ; then
45935 COND_PLATFORM_UNIX_0
=""
45938 COND_PLATFORM_UNIX_1
="#"
45939 if test "x$PLATFORM_UNIX" = "x1" ; then
45940 COND_PLATFORM_UNIX_1
=""
45943 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45944 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45945 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45948 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45949 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45950 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45953 COND_PLATFORM_WIN32_0
="#"
45954 if test "x$PLATFORM_WIN32" = "x0" ; then
45955 COND_PLATFORM_WIN32_0
=""
45958 COND_PLATFORM_WIN32_1
="#"
45959 if test "x$PLATFORM_WIN32" = "x1" ; then
45960 COND_PLATFORM_WIN32_1
=""
45964 if test "x$SHARED" = "x0" ; then
45968 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45969 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45970 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45973 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45974 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45975 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45978 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45979 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45980 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45983 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45984 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45985 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45988 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45989 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45990 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45993 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45994 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45995 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45998 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45999 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46000 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46003 COND_SHARED_0_USE_XRC_1
="#"
46004 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
46005 COND_SHARED_0_USE_XRC_1
=""
46008 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
46009 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
46010 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
46013 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
46014 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
46015 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
46018 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
46019 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
46020 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
46023 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
46024 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
46025 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
46029 if test "x$SHARED" = "x1" ; then
46033 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
46034 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
46035 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
46038 COND_SHARED_1_USE_XRC_1
="#"
46039 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
46040 COND_SHARED_1_USE_XRC_1
=""
46044 if test "x$TOOLKIT" = "x" ; then
46048 COND_TOOLKIT_COCOA
="#"
46049 if test "x$TOOLKIT" = "xCOCOA" ; then
46050 COND_TOOLKIT_COCOA
=""
46053 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
46054 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
46055 COND_TOOLKIT_COCOA_USE_GUI_1
=""
46058 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
46059 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46060 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
46063 COND_TOOLKIT_GTK
="#"
46064 if test "x$TOOLKIT" = "xGTK" ; then
46065 COND_TOOLKIT_GTK
=""
46068 COND_TOOLKIT_GTK_USE_GUI_1
="#"
46069 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
46070 COND_TOOLKIT_GTK_USE_GUI_1
=""
46073 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
46074 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46075 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
46078 COND_TOOLKIT_MAC
="#"
46079 if test "x$TOOLKIT" = "xMAC" ; then
46080 COND_TOOLKIT_MAC
=""
46083 COND_TOOLKIT_MAC_USE_GUI_1
="#"
46084 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46085 COND_TOOLKIT_MAC_USE_GUI_1
=""
46088 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
46089 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46090 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
46093 COND_TOOLKIT_MGL
="#"
46094 if test "x$TOOLKIT" = "xMGL" ; then
46095 COND_TOOLKIT_MGL
=""
46098 COND_TOOLKIT_MGL_USE_GUI_1
="#"
46099 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
46100 COND_TOOLKIT_MGL_USE_GUI_1
=""
46103 COND_TOOLKIT_MOTIF
="#"
46104 if test "x$TOOLKIT" = "xMOTIF" ; then
46105 COND_TOOLKIT_MOTIF
=""
46108 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
46109 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
46110 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
46113 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
46114 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46115 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
46118 COND_TOOLKIT_MSW
="#"
46119 if test "x$TOOLKIT" = "xMSW" ; then
46120 COND_TOOLKIT_MSW
=""
46123 COND_TOOLKIT_MSW_USE_GUI_1
="#"
46124 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
46125 COND_TOOLKIT_MSW_USE_GUI_1
=""
46128 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
46129 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46130 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
46133 COND_TOOLKIT_MSW_WXUNIV_0
="#"
46134 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46135 COND_TOOLKIT_MSW_WXUNIV_0
=""
46138 COND_TOOLKIT_PM
="#"
46139 if test "x$TOOLKIT" = "xPM" ; then
46143 COND_TOOLKIT_PM_USE_GUI_1
="#"
46144 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
46145 COND_TOOLKIT_PM_USE_GUI_1
=""
46148 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
46149 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46150 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
46153 COND_TOOLKIT_WINCE
="#"
46154 if test "x$TOOLKIT" = "xWINCE" ; then
46155 COND_TOOLKIT_WINCE
=""
46158 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
46159 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46160 COND_TOOLKIT_WINCE_USE_GUI_1
=""
46163 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
46164 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46165 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
46168 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
46169 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46170 COND_TOOLKIT_WINCE_WXUNIV_0
=""
46173 COND_TOOLKIT_X11
="#"
46174 if test "x$TOOLKIT" = "xX11" ; then
46175 COND_TOOLKIT_X11
=""
46178 COND_TOOLKIT_X11_USE_GUI_1
="#"
46179 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46180 COND_TOOLKIT_X11_USE_GUI_1
=""
46184 if test "x$UNICODE" = "x1" ; then
46188 COND_USE_EXCEPTIONS_0
="#"
46189 if test "x$USE_EXCEPTIONS" = "x0" ; then
46190 COND_USE_EXCEPTIONS_0
=""
46193 COND_USE_EXCEPTIONS_1
="#"
46194 if test "x$USE_EXCEPTIONS" = "x1" ; then
46195 COND_USE_EXCEPTIONS_1
=""
46199 if test "x$USE_GUI" = "x0" ; then
46204 if test "x$USE_GUI" = "x1" ; then
46208 COND_USE_GUI_1_WXUNIV_0
="#"
46209 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46210 COND_USE_GUI_1_WXUNIV_0
=""
46213 COND_USE_GUI_1_WXUNIV_1
="#"
46214 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46215 COND_USE_GUI_1_WXUNIV_1
=""
46218 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46219 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46220 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46223 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46224 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46225 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46228 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46229 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46230 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46233 COND_USE_ODBC_1
="#"
46234 if test "x$USE_ODBC" = "x1" ; then
46238 COND_USE_OPENGL_1
="#"
46239 if test "x$USE_OPENGL" = "x1" ; then
46240 COND_USE_OPENGL_1
=""
46243 COND_USE_PLUGINS_0
="#"
46244 if test "x$USE_PLUGINS" = "x0" ; then
46245 COND_USE_PLUGINS_0
=""
46248 COND_USE_RTTI_0
="#"
46249 if test "x$USE_RTTI" = "x0" ; then
46253 COND_USE_RTTI_1
="#"
46254 if test "x$USE_RTTI" = "x1" ; then
46258 COND_USE_SOSYMLINKS_1
="#"
46259 if test "x$USE_SOSYMLINKS" = "x1" ; then
46260 COND_USE_SOSYMLINKS_1
=""
46263 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
46264 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46265 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
46268 COND_USE_SOVERLINUX_1
="#"
46269 if test "x$USE_SOVERLINUX" = "x1" ; then
46270 COND_USE_SOVERLINUX_1
=""
46273 COND_USE_SOVERSION_0
="#"
46274 if test "x$USE_SOVERSION" = "x0" ; then
46275 COND_USE_SOVERSION_0
=""
46278 COND_USE_SOVERSOLARIS_1
="#"
46279 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46280 COND_USE_SOVERSOLARIS_1
=""
46283 COND_USE_THREADS_0
="#"
46284 if test "x$USE_THREADS" = "x0" ; then
46285 COND_USE_THREADS_0
=""
46288 COND_USE_THREADS_1
="#"
46289 if test "x$USE_THREADS" = "x1" ; then
46290 COND_USE_THREADS_1
=""
46294 if test "x$USE_XRC" = "x1" ; then
46298 COND_WINDOWS_IMPLIB_1
="#"
46299 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46300 COND_WINDOWS_IMPLIB_1
=""
46303 COND_WITH_PLUGIN_SDL_1
="#"
46304 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46305 COND_WITH_PLUGIN_SDL_1
=""
46309 if test "x$WXUNIV" = "x0" ; then
46314 if test "x$WXUNIV" = "x1" ; then
46318 COND_WXUSE_EXPAT_BUILTIN
="#"
46319 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46320 COND_WXUSE_EXPAT_BUILTIN
=""
46323 COND_WXUSE_LIBJPEG_BUILTIN
="#"
46324 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46325 COND_WXUSE_LIBJPEG_BUILTIN
=""
46328 COND_WXUSE_LIBPNG_BUILTIN
="#"
46329 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46330 COND_WXUSE_LIBPNG_BUILTIN
=""
46333 COND_WXUSE_LIBTIFF_BUILTIN
="#"
46334 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46335 COND_WXUSE_LIBTIFF_BUILTIN
=""
46338 COND_WXUSE_ODBC_BUILTIN
="#"
46339 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46340 COND_WXUSE_ODBC_BUILTIN
=""
46343 COND_WXUSE_REGEX_BUILTIN
="#"
46344 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46345 COND_WXUSE_REGEX_BUILTIN
=""
46348 COND_WXUSE_ZLIB_BUILTIN
="#"
46349 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46350 COND_WXUSE_ZLIB_BUILTIN
=""
46355 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46356 { { 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
46357 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;}
46358 { (exit 1); exit 1; }; }
46361 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46362 { { 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
46363 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;}
46364 { (exit 1); exit 1; }; }
46368 if test "$wxUSE_SHARED" = "yes"; then
46370 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
46371 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
46374 *-pc-os2_emx | *-pc-os2-emx )
46375 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46376 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46377 cp -p ${srcdir}/src
/os
2/dllnames.sh .
46378 cp -p ${srcdir}/src
/os
2/dllar.sh .
46383 EXE_LINKER
="$CXX -o"
46386 if test "$wxUSE_OMF" = "yes"; then
46388 *-pc-os2_emx | *-pc-os2-emx )
46389 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
46390 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46391 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46396 if test $GCC_PCH = 1 ; then
46397 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
46400 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
46401 WXCONFIG_RESCOMP
="$RESCOMP $WXCONFIG_RESFLAGS"
46403 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46464 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46465 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46466 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46467 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46468 echo $ECHO_N "(cached) $ECHO_C" >&6
46470 cat >conftest.
make <<\_ACEOF
46472 @
echo 'ac_maketemp="$(MAKE)"'
46474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46475 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46476 if test -n "$ac_maketemp"; then
46477 eval ac_cv_prog_make_
${ac_make}_set
=yes
46479 eval ac_cv_prog_make_
${ac_make}_set
=no
46481 rm -f conftest.
make
46483 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46484 echo "$as_me:$LINENO: result: yes" >&5
46485 echo "${ECHO_T}yes" >&6
46488 echo "$as_me:$LINENO: result: no" >&5
46489 echo "${ECHO_T}no" >&6
46490 SET_MAKE
="MAKE=${MAKE-make}"
46495 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46498 if test "$USE_WIN32" = 1; then
46499 ac_config_commands
="$ac_config_commands
46505 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46508 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46511 ac_config_files
="$ac_config_files version-script Makefile"
46514 ac_config_commands
="$ac_config_commands wx-config"
46518 if test "$wxWITH_SUBDIRS" != "no"; then
46519 if test "$wxUSE_GUI" = "yes"; then
46520 SUBDIRS
="samples demos utils contrib"
46521 else SUBDIRS
="samples utils"
46526 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46527 if test "${with_cppunit_prefix+set}" = set; then
46528 withval
="$with_cppunit_prefix"
46529 cppunit_config_prefix
="$withval"
46531 cppunit_config_prefix
=""
46534 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46535 if test "${with_cppunit_exec_prefix+set}" = set; then
46536 withval
="$with_cppunit_exec_prefix"
46537 cppunit_config_exec_prefix
="$withval"
46539 cppunit_config_exec_prefix
=""
46542 if test x
$cppunit_config_exec_prefix != x
; then
46543 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46544 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46545 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
46548 if test x
$cppunit_config_prefix != x
; then
46549 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
46550 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46551 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
46555 # Extract the first word of "cppunit-config", so it can be a program name with args.
46556 set dummy cppunit
-config; ac_word
=$2
46557 echo "$as_me:$LINENO: checking for $ac_word" >&5
46558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46559 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46560 echo $ECHO_N "(cached) $ECHO_C" >&6
46562 case $CPPUNIT_CONFIG in
46564 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46568 for as_dir
in $PATH
46571 test -z "$as_dir" && as_dir
=.
46572 for ac_exec_ext
in '' $ac_executable_extensions; do
46573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46574 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46581 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
46585 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
46587 if test -n "$CPPUNIT_CONFIG"; then
46588 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46589 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46591 echo "$as_me:$LINENO: result: no" >&5
46592 echo "${ECHO_T}no" >&6
46595 cppunit_version_min
=1.8.0
46597 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46598 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46600 if test "$CPPUNIT_CONFIG" = "no" ; then
46603 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
46604 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
46605 cppunit_version
=`$CPPUNIT_CONFIG --version`
46607 cppunit_major_version
=`echo $cppunit_version | \
46608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46609 cppunit_minor_version
=`echo $cppunit_version | \
46610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46611 cppunit_micro_version
=`echo $cppunit_version | \
46612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46614 cppunit_major_min
=`echo $cppunit_version_min | \
46615 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46616 cppunit_minor_min
=`echo $cppunit_version_min | \
46617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46618 cppunit_micro_min
=`echo $cppunit_version_min | \
46619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46621 cppunit_version_proper
=`expr \
46622 $cppunit_major_version \> $cppunit_major_min \| \
46623 $cppunit_major_version \= $cppunit_major_min \& \
46624 $cppunit_minor_version \> $cppunit_minor_min \| \
46625 $cppunit_major_version \= $cppunit_major_min \& \
46626 $cppunit_minor_version \= $cppunit_minor_min \& \
46627 $cppunit_micro_version \>= $cppunit_micro_min `
46629 if test "$cppunit_version_proper" = "1" ; then
46630 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46631 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46633 echo "$as_me:$LINENO: result: no" >&5
46634 echo "${ECHO_T}no" >&6
46639 if test "x$no_cppunit" = x
; then
46640 SUBDIRS
="$SUBDIRS tests"
46651 for subdir
in `echo $SUBDIRS`; do
46652 if test -d ${srcdir}/${subdir} ; then
46653 if test "$wxUSE_GUI" = "yes"; then
46654 if test ${subdir} = "samples"; then
46655 makefiles
="samples/Makefile.in $makefiles"
46656 for sample
in `echo $SAMPLES_SUBDIRS`; do
46657 if test -d $srcdir/samples
/$sample; then
46658 makefiles
="samples/$sample/Makefile.in $makefiles"
46662 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
46663 eval "disabled=\$$disabled_var"
46664 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
46665 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46667 else if test ${subdir} = "samples"; then
46668 makefiles
="samples/Makefile.in samples/console/Makefile.in"
46669 elif test ${subdir} = "utils"; then
46671 for util
in HelpGen tex2rtf
; do
46672 if test -d $srcdir/utils
/$util ; then
46673 makefiles
="utils/$util/Makefile.in \
46674 utils/$util/src/Makefile.in \
46678 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
46682 for mkin
in $makefiles ; do
46683 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46684 ac_config_files
="$ac_config_files $mk"
46690 cat >confcache
<<\_ACEOF
46691 # This file is a shell script that caches the results of configure
46692 # tests run on this system so they can be shared between configure
46693 # scripts and configure runs, see configure's option --config-cache.
46694 # It is not useful on other systems. If it contains results you don't
46695 # want to keep, you may remove or edit it.
46697 # config.status only pays attention to the cache file if you give it
46698 # the --recheck option to rerun configure.
46700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46702 # following values.
46706 # The following way of writing the cache mishandles newlines in values,
46707 # but we know of no workaround that is simple, portable, and efficient.
46708 # So, don't put newlines in cache variables' values.
46709 # Ultrix sh set writes to stderr and can't be redirected directly,
46710 # and sets the high bit in the cache file unless we assign to the vars.
46713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46715 # `set' does not quote correctly, so add quotes (double-quote
46716 # substitution turns \\\\ into \\, and sed turns \\ into \).
46719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46722 # `set' quotes correctly as required by POSIX, so do not add quotes.
46724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46735 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46736 if test -w $cache_file; then
46737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46738 cat confcache
>$cache_file
46740 echo "not updating unwritable cache $cache_file"
46745 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46746 # Let make expand exec_prefix.
46747 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46749 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46750 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46751 # trailing colons and then remove the whole line if VPATH becomes empty
46752 # (actually we leave an empty line to preserve line numbers).
46753 if test "x$srcdir" = x.
; then
46754 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46755 s/:*\$(srcdir):*/:/;
46756 s/:*\${srcdir}:*/:/;
46758 s/^\([^=]*=[ ]*\):*/\1/;
46764 DEFS
=-DHAVE_CONFIG_H
46768 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46769 # 1. Remove the extension, and $U if already installed.
46770 ac_i
=`echo "$ac_i" |
46771 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46773 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46774 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46776 LIBOBJS
=$ac_libobjs
46778 LTLIBOBJS
=$ac_ltlibobjs
46782 : ${CONFIG_STATUS=./config.status}
46783 ac_clean_files_save
=$ac_clean_files
46784 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46785 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46786 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46787 cat >$CONFIG_STATUS <<_ACEOF
46789 # Generated by $as_me.
46790 # Run this file to recreate the current configuration.
46791 # Compiler output produced by configure, useful for debugging
46792 # configure, is in config.log if it exists.
46795 ac_cs_recheck=false
46797 SHELL=\${CONFIG_SHELL-$SHELL}
46800 cat >>$CONFIG_STATUS <<\_ACEOF
46801 ## --------------------- ##
46802 ## M4sh Initialization. ##
46803 ## --------------------- ##
46805 # Be Bourne compatible
46806 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46809 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46810 # is contrary to our usage. Disable this feature.
46811 alias -g '${1+"$@"}'='"$@"'
46812 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46815 DUALCASE
=1; export DUALCASE
# for MKS sh
46817 # Support unset when possible.
46818 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46825 # Work around bugs in pre-3.0 UWIN ksh.
46826 $as_unset ENV MAIL MAILPATH
46833 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46834 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46835 LC_TELEPHONE LC_TIME
46837 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46838 eval $as_var=C
; export $as_var
46844 # Required to use basename.
46845 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46851 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46852 as_basename
=basename
46858 # Name of the executable.
46859 as_me
=`$as_basename "$0" ||
46860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46861 X"$0" : 'X\(//\)$' \| \
46862 X"$0" : 'X\(/\)$' \| \
46863 . : '\(.\)' 2>/dev/null ||
46865 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46866 /^X\/\(\/\/\)$/{ s//\1/; q; }
46867 /^X\/\(\/\).*/{ s//\1/; q; }
46871 # PATH needs CR, and LINENO needs CR and PATH.
46872 # Avoid depending upon Character Ranges.
46873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46876 as_cr_digits
='0123456789'
46877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46879 # The user is always right.
46880 if test "${PATH_SEPARATOR+set}" != set; then
46881 echo "#! /bin/sh" >conf$$.sh
46882 echo "exit 0" >>conf$$.sh
46884 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46893 as_lineno_1
=$LINENO
46894 as_lineno_2
=$LINENO
46895 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46896 test "x$as_lineno_1" != "x$as_lineno_2" &&
46897 test "x$as_lineno_3" = "x$as_lineno_2" || {
46898 # Find who we are. Look in the path if we contain no path at all
46901 *[\\/]* ) as_myself
=$0 ;;
46902 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46903 for as_dir
in $PATH
46906 test -z "$as_dir" && as_dir
=.
46907 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46912 # We did not find ourselves, most probably we were run as `sh COMMAND'
46913 # in which case we are not to be found in the path.
46914 if test "x$as_myself" = x
; then
46917 if test ! -f "$as_myself"; then
46918 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46919 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46920 { (exit 1); exit 1; }; }
46922 case $CONFIG_SHELL in
46924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46925 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46928 test -z "$as_dir" && as_dir
=.
46929 for as_base
in sh bash ksh sh5
; do
46932 if ("$as_dir/$as_base" -c '
46933 as_lineno_1=$LINENO
46934 as_lineno_2=$LINENO
46935 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46936 test "x$as_lineno_1" != "x$as_lineno_2" &&
46937 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46938 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46939 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46940 CONFIG_SHELL
=$as_dir/$as_base
46941 export CONFIG_SHELL
46942 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46951 # uniformly replaced by the line number. The first 'sed' inserts a
46952 # line-number line before each line; the second 'sed' does the real
46953 # work. The second script uses 'N' to pair each line-number line
46954 # with the numbered line, and appends trailing '-' during
46955 # substitution so that $LINENO is not a special case at line end.
46956 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46957 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46958 sed '=' <$as_myself |
46963 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46966 s,^['$as_cr_digits']*\n,,
46967 ' >$as_me.lineno
&&
46968 chmod +x
$as_me.lineno
||
46969 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46970 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46971 { (exit 1); exit 1; }; }
46973 # Don't try to exec as it changes $[0], causing all sort of problems
46974 # (the dirname of $[0] is not the place where we might find the
46975 # original and so on. Autoconf is especially sensible to this).
46977 # Exit status is that of the last command.
46982 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46983 *c
*,-n*) ECHO_N
= ECHO_C
='
46985 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46986 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46989 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46995 rm -f conf$$ conf$$.exe conf$$.
file
46997 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46998 # We could just check for DJGPP; but this test a) works b) is more generic
46999 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47000 if test -f conf$$.exe
; then
47001 # Don't use ln at all; we don't have any links
47006 elif ln conf$$.
file conf$$
2>/dev
/null
; then
47011 rm -f conf$$ conf$$.exe conf$$.
file
47013 if mkdir -p .
2>/dev
/null
; then
47016 test -d .
/-p && rmdir .
/-p
47020 as_executable_p
="test -f"
47022 # Sed expression to map a string onto a valid CPP name.
47023 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47025 # Sed expression to map a string onto a valid variable name.
47026 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47030 # We need space, tab and new line, in precisely that order.
47040 # Open the log real soon, to keep \$[0] and so on meaningful, and to
47041 # report actual input values of CONFIG_FILES etc. instead of their
47042 # values after options handling. Logging --version etc. is OK.
47046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47047 ## Running $as_me. ##
47052 This file was extended by wxWidgets $as_me 2.7.0, which was
47053 generated by GNU Autoconf 2.59. Invocation command line was
47055 CONFIG_FILES = $CONFIG_FILES
47056 CONFIG_HEADERS = $CONFIG_HEADERS
47057 CONFIG_LINKS = $CONFIG_LINKS
47058 CONFIG_COMMANDS = $CONFIG_COMMANDS
47062 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
47066 # Files that config.status was made for.
47067 if test -n "$ac_config_files"; then
47068 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
47071 if test -n "$ac_config_headers"; then
47072 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
47075 if test -n "$ac_config_links"; then
47076 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
47079 if test -n "$ac_config_commands"; then
47080 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
47083 cat >>$CONFIG_STATUS <<\_ACEOF
47086 \`$as_me' instantiates files from templates according to the
47087 current configuration.
47089 Usage: $0 [OPTIONS] [FILE]...
47091 -h, --help print this help, then exit
47092 -V, --version print version number, then exit
47093 -q, --quiet do not print progress messages
47094 -d, --debug don't remove temporary files
47095 --recheck update $as_me by reconfiguring in the same conditions
47096 --file=FILE[:TEMPLATE]
47097 instantiate the configuration file FILE
47098 --header=FILE[:TEMPLATE]
47099 instantiate the configuration header FILE
47101 Configuration files:
47104 Configuration headers:
47107 Configuration commands:
47110 Report bugs to <bug-autoconf@gnu.org>."
47113 cat >>$CONFIG_STATUS <<_ACEOF
47115 wxWidgets config.status 2.7.0
47116 configured by $0, generated by GNU Autoconf 2.59,
47117 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
47119 Copyright (C) 2003 Free Software Foundation, Inc.
47120 This config.status script is free software; the Free Software Foundation
47121 gives unlimited permission to copy, distribute and modify it."
47126 cat >>$CONFIG_STATUS <<\_ACEOF
47127 # If no file are specified by the user, then we need to provide default
47128 # value. By we need to know if files were specified by the user.
47134 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
47135 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
47143 *) # This is not an option, so the user has probably given explicit
47146 ac_need_defaults
=false
;;
47150 # Handling of the options.
47152 cat >>$CONFIG_STATUS <<\_ACEOF
47153 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47155 --version | --vers* | -V )
47156 echo "$ac_cs_version"; exit 0 ;;
47158 # Conflict between --help and --header
47159 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47160 Try \`$0 --help' for more information." >&5
47161 echo "$as_me: error: ambiguous option: $1
47162 Try \`$0 --help' for more information." >&2;}
47163 { (exit 1); exit 1; }; };;
47164 --help | --hel | -h )
47165 echo "$ac_cs_usage"; exit 0 ;;
47166 --debug | --d* | -d )
47168 --file | --fil | --fi | --f )
47170 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
47171 ac_need_defaults
=false
;;
47172 --header | --heade | --head | --hea )
47174 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
47175 ac_need_defaults
=false
;;
47176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47177 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47180 # This is an error.
47181 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47182 Try \`$0 --help' for more information." >&5
47183 echo "$as_me: error: unrecognized option: $1
47184 Try \`$0 --help' for more information." >&2;}
47185 { (exit 1); exit 1; }; } ;;
47187 *) ac_config_targets
="$ac_config_targets $1" ;;
47193 ac_configure_extra_args
=
47195 if $ac_cs_silent; then
47197 ac_configure_extra_args
="$ac_configure_extra_args --silent"
47201 cat >>$CONFIG_STATUS <<_ACEOF
47202 if \$ac_cs_recheck; then
47203 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47204 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47209 cat >>$CONFIG_STATUS <<_ACEOF
47211 # INIT-COMMANDS section.
47216 infile="$srcdir/include/wx/msw/genrcdefs.h"
47217 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
47220 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47221 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47222 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47230 cat >>$CONFIG_STATUS <<\_ACEOF
47231 for ac_config_target
in $ac_config_targets
47233 case "$ac_config_target" in
47234 # Handling of arguments.
47235 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47236 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47237 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
47238 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
47239 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
47240 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
47241 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
47242 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47243 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47244 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47245 { (exit 1); exit 1; }; };;
47249 # If the user did not use the arguments to specify the items to instantiate,
47250 # then the envvar interface is used. Set only those that are not.
47251 # We use the long form for the default assignment because of an extremely
47252 # bizarre bug on SunOS 4.1.3.
47253 if $ac_need_defaults; then
47254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
47255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
47256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
47259 # Have a temporary directory for convenience. Make it in the build tree
47260 # simply because there is no reason to put it here, and in addition,
47261 # creating and moving files from /tmp can sometimes cause problems.
47262 # Create a temporary directory, and hook for its removal unless debugging.
47265 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47266 trap '{ (exit 1); exit 1; }' 1 2 13 15
47269 # Create a (secure) tmp directory for tmp files.
47272 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47273 test -n "$tmp" && test -d "$tmp"
47276 tmp
=.
/confstat$$
-$RANDOM
47277 (umask 077 && mkdir $tmp)
47280 echo "$me: cannot create a temporary directory in ." >&2
47281 { (exit 1); exit 1; }
47286 cat >>$CONFIG_STATUS <<_ACEOF
47289 # CONFIG_FILES section.
47292 # No need to generate the scripts if there are no CONFIG_FILES.
47293 # This happens for instance when ./config.status config.h
47294 if test -n "\$CONFIG_FILES"; then
47295 # Protect against being on the right side of a sed subst in config.status.
47296 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47297 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47298 s,@SHELL@,$SHELL,;t t
47299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47300 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47301 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47302 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47303 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47304 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47305 s,@exec_prefix@,$exec_prefix,;t t
47306 s,@prefix@,$prefix,;t t
47307 s,@program_transform_name@,$program_transform_name,;t t
47308 s,@bindir@,$bindir,;t t
47309 s,@sbindir@,$sbindir,;t t
47310 s,@libexecdir@,$libexecdir,;t t
47311 s,@datadir@,$datadir,;t t
47312 s,@sysconfdir@,$sysconfdir,;t t
47313 s,@sharedstatedir@,$sharedstatedir,;t t
47314 s,@localstatedir@,$localstatedir,;t t
47315 s,@libdir@,$libdir,;t t
47316 s,@includedir@,$includedir,;t t
47317 s,@oldincludedir@,$oldincludedir,;t t
47318 s,@infodir@,$infodir,;t t
47319 s,@mandir@,$mandir,;t t
47320 s,@build_alias@,$build_alias,;t t
47321 s,@host_alias@,$host_alias,;t t
47322 s,@target_alias@,$target_alias,;t t
47323 s,@DEFS@,$DEFS,;t t
47324 s,@ECHO_C@,$ECHO_C,;t t
47325 s,@ECHO_N@,$ECHO_N,;t t
47326 s,@ECHO_T@,$ECHO_T,;t t
47327 s,@LIBS@,$LIBS,;t t
47328 s,@build@,$build,;t t
47329 s,@build_cpu@,$build_cpu,;t t
47330 s,@build_vendor@,$build_vendor,;t t
47331 s,@build_os@,$build_os,;t t
47332 s,@host@,$host,;t t
47333 s,@host_cpu@,$host_cpu,;t t
47334 s,@host_vendor@,$host_vendor,;t t
47335 s,@host_os@,$host_os,;t t
47336 s,@target@,$target,;t t
47337 s,@target_cpu@,$target_cpu,;t t
47338 s,@target_vendor@,$target_vendor,;t t
47339 s,@target_os@,$target_os,;t t
47341 s,@CFLAGS@,$CFLAGS,;t t
47342 s,@LDFLAGS@,$LDFLAGS,;t t
47343 s,@CPPFLAGS@,$CPPFLAGS,;t t
47344 s,@ac_ct_CC@,$ac_ct_CC,;t t
47345 s,@EXEEXT@,$EXEEXT,;t t
47346 s,@OBJEXT@,$OBJEXT,;t t
47348 s,@EGREP@,$EGREP,;t t
47350 s,@CXXFLAGS@,$CXXFLAGS,;t t
47351 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47352 s,@RANLIB@,$RANLIB,;t t
47353 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47355 s,@ac_ct_AR@,$ac_ct_AR,;t t
47356 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47357 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47358 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47359 s,@STRIP@,$STRIP,;t t
47360 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47361 s,@RESCOMP@,$RESCOMP,;t t
47362 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47363 s,@DLLTOOL@,$DLLTOOL,;t t
47364 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47365 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47366 s,@LN_S@,$LN_S,;t t
47367 s,@LNDIR@,$LNDIR,;t t
47368 s,@CXXCPP@,$CXXCPP,;t t
47369 s,@subdirs@,$subdirs,;t t
47370 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47371 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47372 s,@GTK_LIBS@,$GTK_LIBS,;t t
47373 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47374 s,@X_CFLAGS@,$X_CFLAGS,;t t
47375 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47376 s,@X_LIBS@,$X_LIBS,;t t
47377 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47378 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47379 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47380 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47381 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47382 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47383 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47384 s,@DEREZ@,$DEREZ,;t t
47385 s,@SETFILE@,$SETFILE,;t t
47386 s,@LIBICONV@,$LIBICONV,;t t
47387 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47388 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47389 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47390 s,@SDL_LIBS@,$SDL_LIBS,;t t
47391 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47392 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47393 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47394 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47395 s,@GST_INSPECT@,$GST_INSPECT,;t t
47396 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47397 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47398 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47399 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47400 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47401 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47402 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47403 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47404 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47405 s,@VENDOR@,$VENDOR,;t t
47406 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47407 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47408 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47409 s,@WXUNIV@,$WXUNIV,;t t
47410 s,@MONOLITHIC@,$MONOLITHIC,;t t
47411 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47412 s,@EXTRALIBS@,$EXTRALIBS,;t t
47413 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47414 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47415 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47416 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47417 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47418 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47419 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47420 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47421 s,@UNICODE@,$UNICODE,;t t
47422 s,@BUILD@,$BUILD,;t t
47423 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47424 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47425 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47426 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47427 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47428 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47429 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47430 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47431 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47432 s,@SET_MAKE@,$SET_MAKE,;t t
47433 s,@MAKE_SET@,$MAKE_SET,;t t
47435 s,@ac_ct_NM@,$ac_ct_NM,;t t
47436 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47437 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47438 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47439 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47440 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47441 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47442 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47443 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47444 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47445 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47446 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47447 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47448 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47449 s,@LIBPREFIX@,$LIBPREFIX,;t t
47450 s,@LIBEXT@,$LIBEXT,;t t
47451 s,@DLLPREFIX@,$DLLPREFIX,;t t
47452 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47453 s,@dlldir@,$dlldir,;t t
47454 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47455 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47456 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47457 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47458 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47459 s,@PIC_FLAG@,$PIC_FLAG,;t t
47460 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47461 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47462 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47463 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47464 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47465 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47466 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47467 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47468 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47469 s,@GCC_PCH@,$GCC_PCH,;t t
47470 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47471 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47472 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47473 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47474 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47475 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47476 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47477 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47478 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47479 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47480 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47481 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47482 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47483 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47484 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47485 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47486 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47487 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47488 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
47489 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
47490 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
47491 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47492 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47493 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47494 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47495 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
47496 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
47497 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
47498 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47499 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47500 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47501 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47502 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47503 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47504 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47505 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47506 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47507 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47508 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47509 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47510 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47511 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47512 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47513 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47514 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
47515 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47516 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47517 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47518 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47519 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47520 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47521 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47522 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47523 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47524 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47525 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47526 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47527 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47528 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47529 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47530 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47531 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47532 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47533 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47534 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47535 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47536 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47537 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47538 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47539 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47540 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47541 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47542 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47543 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47544 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47545 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47546 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47547 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47548 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47549 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47550 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47551 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47552 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47553 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47554 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47555 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47556 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47557 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47558 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47559 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47560 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47561 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47562 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47563 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47564 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47565 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47566 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47567 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47568 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47569 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47570 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47571 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47572 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47573 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47574 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47575 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47576 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47577 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47578 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47579 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47580 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47581 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47582 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47583 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47584 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47585 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47586 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47587 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47588 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47589 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47590 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47591 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47592 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47593 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47594 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47595 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47596 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47597 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47598 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47599 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47600 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47601 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47602 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47603 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47604 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47605 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47606 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47607 s,@SHARED@,$SHARED,;t t
47608 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47609 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47610 s,@USE_GUI@,$USE_GUI,;t t
47611 s,@AFMINSTALL@,$AFMINSTALL,;t t
47612 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47613 s,@TOOLKIT@,$TOOLKIT,;t t
47614 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47615 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47616 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47617 s,@cross_compiling@,$cross_compiling,;t t
47618 s,@WIDGET_SET@,$WIDGET_SET,;t t
47619 s,@WX_RELEASE@,$WX_RELEASE,;t t
47620 s,@WX_VERSION@,$WX_VERSION,;t t
47621 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47622 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47623 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47624 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
47625 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
47626 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
47627 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
47628 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47629 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47630 s,@WXCONFIG_RESCOMP@,$WXCONFIG_RESCOMP,;t t
47631 s,@EXE_LINKER@,$EXE_LINKER,;t t
47632 s,@GUIDIST@,$GUIDIST,;t t
47633 s,@DISTDIR@,$DISTDIR,;t t
47634 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47635 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47636 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47637 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47638 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47639 s,@RESFLAGS@,$RESFLAGS,;t t
47640 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47641 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47642 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47643 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47644 s,@MACRESCOMP@,$MACRESCOMP,;t t
47645 s,@MACSETFILE@,$MACSETFILE,;t t
47646 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47648 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47649 s,@LIBOBJS@,$LIBOBJS,;t t
47650 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47655 cat >>$CONFIG_STATUS <<\_ACEOF
47656 # Split the substitutions into bite-sized pieces for seds with
47657 # small command number limits, like on Digital OSF/1 and HP-UX.
47658 ac_max_sed_lines
=48
47659 ac_sed_frag
=1 # Number of current file.
47660 ac_beg
=1 # First line for current file.
47661 ac_end
=$ac_max_sed_lines # Line after last line for current file.
47664 while $ac_more_lines; do
47665 if test $ac_beg -gt 1; then
47666 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47668 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47670 if test ! -s $tmp/subs.frag
; then
47671 ac_more_lines
=false
47673 # The purpose of the label and of the branching condition is to
47674 # speed up the sed processing (if there are no `@' at all, there
47675 # is no need to browse any of the substitutions).
47676 # These are the two extra sed commands mentioned above.
47678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
47679 if test -z "$ac_sed_cmds"; then
47680 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
47682 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47684 ac_sed_frag
=`expr $ac_sed_frag + 1`
47686 ac_end
=`expr $ac_end + $ac_max_sed_lines`
47689 if test -z "$ac_sed_cmds"; then
47692 fi # test -n "$CONFIG_FILES"
47695 cat >>$CONFIG_STATUS <<\_ACEOF
47696 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
47697 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47699 - | *:- | *:-:* ) # input from stdin
47701 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47702 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47703 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47704 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47705 * ) ac_file_in
=$ac_file.
in ;;
47708 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47709 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47710 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47711 X"$ac_file" : 'X\(//\)[^/]' \| \
47712 X"$ac_file" : 'X\(//\)$' \| \
47713 X"$ac_file" : 'X\(/\)' \| \
47714 . : '\(.\)' 2>/dev/null ||
47716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47718 /^X\(\/\/\)$/{ s//\1/; q; }
47719 /^X\(\/\).*/{ s//\1/; q; }
47721 { if $as_mkdir_p; then
47726 while test ! -d "$as_dir"; do
47727 as_dirs
="$as_dir $as_dirs"
47728 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47730 X"$as_dir" : 'X\(//\)[^/]' \| \
47731 X"$as_dir" : 'X\(//\)$' \| \
47732 X"$as_dir" : 'X\(/\)' \| \
47733 . : '\(.\)' 2>/dev/null ||
47735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47737 /^X\(\/\/\)$/{ s//\1/; q; }
47738 /^X\(\/\).*/{ s//\1/; q; }
47741 test ! -n "$as_dirs" || mkdir $as_dirs
47742 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47743 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47744 { (exit 1); exit 1; }; }; }
47748 if test "$ac_dir" != .
; then
47749 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47750 # A "../" for each directory in $ac_dir_suffix.
47751 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47753 ac_dir_suffix
= ac_top_builddir
=
47757 .
) # No --srcdir option. We are building in place.
47759 if test -z "$ac_top_builddir"; then
47762 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47764 [\\/]* | ?
:[\\/]* ) # Absolute path.
47765 ac_srcdir
=$srcdir$ac_dir_suffix;
47766 ac_top_srcdir
=$srcdir ;;
47767 *) # Relative path.
47768 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47769 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47772 # Do not use `cd foo && pwd` to compute absolute paths, because
47773 # the directories may not exist.
47775 .
) ac_abs_builddir
="$ac_dir";;
47778 .
) ac_abs_builddir
=`pwd`;;
47779 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47780 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47783 case $ac_abs_builddir in
47784 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47786 case ${ac_top_builddir}.
in
47787 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47788 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47789 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47792 case $ac_abs_builddir in
47793 .
) ac_abs_srcdir
=$ac_srcdir;;
47796 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47797 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47798 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47801 case $ac_abs_builddir in
47802 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47804 case $ac_top_srcdir in
47805 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47806 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47807 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47813 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47814 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47817 # Let's still pretend it is `configure' which instantiates (i.e., don't
47818 # use $as_me), people would be surprised to read:
47819 # /* config.h. Generated by config.status. */
47820 if test x
"$ac_file" = x
-; then
47823 configure_input
="$ac_file. "
47825 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47826 sed 's,.*/,,'` by configure."
47828 # First look for the input files in the build tree, otherwise in the
47830 ac_file_inputs
=`IFS=:
47831 for f in $ac_file_in; do
47833 -) echo $tmp/stdin ;;
47835 # Absolute (can't be DOS-style, as IFS=:)
47836 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47837 echo "$as_me: error: cannot find input file: $f" >&2;}
47838 { (exit 1); exit 1; }; }
47841 if test -f "$f"; then
47844 elif test -f "$srcdir/$f"; then
47849 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47850 echo "$as_me: error: cannot find input file: $f" >&2;}
47851 { (exit 1); exit 1; }; }
47854 done` || { (exit 1); exit 1; }
47856 if test x
"$ac_file" != x
-; then
47857 { echo "$as_me:$LINENO: creating $ac_file" >&5
47858 echo "$as_me: creating $ac_file" >&6;}
47862 cat >>$CONFIG_STATUS <<_ACEOF
47866 cat >>$CONFIG_STATUS <<\_ACEOF
47868 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47869 s
,@configure_input@
,$configure_input,;t t
47870 s
,@srcdir@
,$ac_srcdir,;t t
47871 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47872 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47873 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47874 s
,@builddir@
,$ac_builddir,;t t
47875 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47876 s
,@top_builddir@
,$ac_top_builddir,;t t
47877 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47878 s
,@INSTALL@
,$ac_INSTALL,;t t
47879 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47881 if test x"$ac_file" != x-; then
47882 mv $tmp/out $ac_file
47888 # Run the commands associated with the file.
47890 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47891 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47895 cat >>$CONFIG_STATUS <<\_ACEOF
47898 # CONFIG_HEADER section.
47901 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47902 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47904 # ac_d sets the value in "#define NAME VALUE" lines.
47905 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47906 ac_dB
='[ ].*$,\1#\2'
47909 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47910 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47911 ac_uB
='$,\1#\2define\3'
47915 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47916 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47918 - | *:- | *:-:* ) # input from stdin
47920 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47921 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47922 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47923 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47924 * ) ac_file_in
=$ac_file.
in ;;
47927 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47928 echo "$as_me: creating $ac_file" >&6;}
47930 # First look for the input files in the build tree, otherwise in the
47932 ac_file_inputs
=`IFS=:
47933 for f in $ac_file_in; do
47935 -) echo $tmp/stdin ;;
47937 # Absolute (can't be DOS-style, as IFS=:)
47938 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47939 echo "$as_me: error: cannot find input file: $f" >&2;}
47940 { (exit 1); exit 1; }; }
47941 # Do quote $f, to prevent DOS paths from being IFS'd.
47944 if test -f "$f"; then
47947 elif test -f "$srcdir/$f"; then
47952 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47953 echo "$as_me: error: cannot find input file: $f" >&2;}
47954 { (exit 1); exit 1; }; }
47957 done` || { (exit 1); exit 1; }
47958 # Remove the trailing spaces.
47959 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47963 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47964 # `conftest.undefs', that substitutes the proper values into
47965 # config.h.in to produce config.h. The first handles `#define'
47966 # templates, and the second `#undef' templates.
47967 # And first: Protect against being on the right side of a sed subst in
47968 # config.status. Protect against being in an unquoted here document
47969 # in config.status.
47970 rm -f conftest.defines conftest.undefs
47971 # Using a here document instead of a string reduces the quoting nightmare.
47972 # Putting comments in sed scripts is not portable.
47974 # `end' is used to avoid that the second main sed command (meant for
47975 # 0-ary CPP macros) applies to n-ary macro definitions.
47976 # See the Autoconf documentation for `clear'.
47977 cat >confdef2sed.
sed <<\_ACEOF
47982 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47984 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47987 # If some macros were called several times there might be several times
47988 # the same #defines, which is useless. Nevertheless, we may not want to
47989 # sort them, since we want the *last* AC-DEFINE to be honored.
47990 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47991 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47992 rm -f confdef2sed.sed
47994 # This sed command replaces #undef with comments. This is necessary, for
47995 # example, in the case of _POSIX_SOURCE, which is predefined and required
47996 # on some systems where configure will not decide to define it.
47997 cat >>conftest.undefs <<\_ACEOF
47998 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
48001 # Break up conftest.defines because some shells have a limit on the size
48002 # of here documents, and old seds have small limits too (100 cmds).
48003 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
48004 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
48005 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
48006 echo ' :' >>$CONFIG_STATUS
48007 rm -f conftest.tail
48008 while grep . conftest.defines >/dev/null
48010 # Write a limited-size here document to $tmp/defines.sed.
48011 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
48012 # Speed up: don't consider the non `#define' lines.
48013 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
48014 # Work around the forget-to-reset-the-flag bug.
48015 echo 't clr' >>$CONFIG_STATUS
48016 echo ': clr' >>$CONFIG_STATUS
48017 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
48019 sed -f $tmp/defines.sed $tmp/in >$tmp/out
48021 mv $tmp/out $tmp/in
48023 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
48024 rm -f conftest.defines
48025 mv conftest.
tail conftest.defines
48027 rm -f conftest.defines
48028 echo ' fi # grep' >>$CONFIG_STATUS
48029 echo >>$CONFIG_STATUS
48031 # Break up conftest.undefs because some shells have a limit on the size
48032 # of here documents, and old seds have small limits too (100 cmds).
48033 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
48034 rm -f conftest.
tail
48035 while grep . conftest.undefs
>/dev
/null
48037 # Write a limited-size here document to $tmp/undefs.sed.
48038 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
48039 # Speed up: don't consider the non
`#undef'
48040 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
48041 # Work around the forget-to-reset-the-flag bug.
48042 echo 't clr' >>$CONFIG_STATUS
48043 echo ': clr' >>$CONFIG_STATUS
48044 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
48046 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
48048 mv $tmp/out $tmp/in
48050 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
48051 rm -f conftest.undefs
48052 mv conftest.tail conftest.undefs
48054 rm -f conftest.undefs
48056 cat >>$CONFIG_STATUS <<\_ACEOF
48057 # Let's still pretend it is `configure
' which instantiates (i.e., don't
48058 # use $as_me), people would be surprised to read:
48059 # /* config.h. Generated by config.status. */
48060 if test x
"$ac_file" = x
-; then
48061 echo "/* Generated by configure. */" >$tmp/config.h
48063 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
48065 cat $tmp/in >>$tmp/config.h
48067 if test x
"$ac_file" != x
-; then
48068 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
48069 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
48070 echo "$as_me: $ac_file is unchanged" >&6;}
48072 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
48073 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48074 X"$ac_file" : 'X\(//\)[^/]' \| \
48075 X"$ac_file" : 'X\(//\)$' \| \
48076 X"$ac_file" : 'X\(/\)' \| \
48077 . : '\(.\)' 2>/dev/null ||
48079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48081 /^X\(\/\/\)$/{ s//\1/; q; }
48082 /^X\(\/\).*/{ s//\1/; q; }
48084 { if $as_mkdir_p; then
48089 while test ! -d "$as_dir"; do
48090 as_dirs
="$as_dir $as_dirs"
48091 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48093 X"$as_dir" : 'X\(//\)[^/]' \| \
48094 X"$as_dir" : 'X\(//\)$' \| \
48095 X"$as_dir" : 'X\(/\)' \| \
48096 . : '\(.\)' 2>/dev/null ||
48098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48100 /^X\(\/\/\)$/{ s//\1/; q; }
48101 /^X\(\/\).*/{ s//\1/; q; }
48104 test ! -n "$as_dirs" || mkdir $as_dirs
48105 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48106 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48107 { (exit 1); exit 1; }; }; }
48110 mv $tmp/config.h
$ac_file
48114 rm -f $tmp/config.h
48118 cat >>$CONFIG_STATUS <<\_ACEOF
48121 # CONFIG_COMMANDS section.
48123 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
48124 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
48125 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48126 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
48127 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48128 X"$ac_dest" : 'X\(//\)[^/]' \| \
48129 X"$ac_dest" : 'X\(//\)$' \| \
48130 X"$ac_dest" : 'X\(/\)' \| \
48131 . : '\(.\)' 2>/dev/null ||
48133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48135 /^X\(\/\/\)$/{ s//\1/; q; }
48136 /^X\(\/\).*/{ s//\1/; q; }
48138 { if $as_mkdir_p; then
48143 while test ! -d "$as_dir"; do
48144 as_dirs
="$as_dir $as_dirs"
48145 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48147 X"$as_dir" : 'X\(//\)[^/]' \| \
48148 X"$as_dir" : 'X\(//\)$' \| \
48149 X"$as_dir" : 'X\(/\)' \| \
48150 . : '\(.\)' 2>/dev/null ||
48152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48154 /^X\(\/\/\)$/{ s//\1/; q; }
48155 /^X\(\/\).*/{ s//\1/; q; }
48158 test ! -n "$as_dirs" || mkdir $as_dirs
48159 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48160 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48161 { (exit 1); exit 1; }; }; }
48165 if test "$ac_dir" != .
; then
48166 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48167 # A "../" for each directory in $ac_dir_suffix.
48168 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48170 ac_dir_suffix
= ac_top_builddir
=
48174 .
) # No --srcdir option. We are building in place.
48176 if test -z "$ac_top_builddir"; then
48179 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48181 [\\/]* | ?
:[\\/]* ) # Absolute path.
48182 ac_srcdir
=$srcdir$ac_dir_suffix;
48183 ac_top_srcdir
=$srcdir ;;
48184 *) # Relative path.
48185 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48186 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48189 # Do not use `cd foo && pwd` to compute absolute paths, because
48190 # the directories may not exist.
48192 .
) ac_abs_builddir
="$ac_dir";;
48195 .
) ac_abs_builddir
=`pwd`;;
48196 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48197 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48200 case $ac_abs_builddir in
48201 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48203 case ${ac_top_builddir}.
in
48204 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48205 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48206 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48209 case $ac_abs_builddir in
48210 .
) ac_abs_srcdir
=$ac_srcdir;;
48213 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48214 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48215 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48218 case $ac_abs_builddir in
48219 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48221 case $ac_top_srcdir in
48222 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48223 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48224 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48229 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48230 echo "$as_me: executing $ac_dest commands" >&6;}
48233 mkdir -p $outdir &&
48234 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
48236 wx
-config ) rm -f wx
-config
48237 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
48243 cat >>$CONFIG_STATUS <<\_ACEOF
48245 { (exit 0); exit 0; }
48247 chmod +x
$CONFIG_STATUS
48248 ac_clean_files
=$ac_clean_files_save
48251 # configure is writing to config.log, and then calls config.status.
48252 # config.status does its own redirection, appending to config.log.
48253 # Unfortunately, on DOS this fails, as config.log is still kept open
48254 # by configure, so config.status won't be able to write to it; its
48255 # output is simply discarded. So we exec the FD to /dev/null,
48256 # effectively closing config.log, so it can be properly (re)opened and
48257 # appended to by config.status. When coming back to configure, we
48258 # need to make the FD available again.
48259 if test "$no_create" != yes; then
48261 ac_config_status_args
=
48262 test "$silent" = yes &&
48263 ac_config_status_args
="$ac_config_status_args --quiet"
48265 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
48267 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48268 # would make configure fail if this is the last instruction.
48269 $ac_cs_success || { (exit 1); exit 1; }
48273 # CONFIG_SUBDIRS section.
48275 if test "$no_recursion" != yes; then
48277 # Remove --cache-file and --srcdir arguments so they do not pile up.
48278 ac_sub_configure_args
=
48280 for ac_arg
in $ac_configure_args; do
48281 if test -n "$ac_prev"; then
48286 -cache-file | --cache-file | --cache-fil | --cache-fi \
48287 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48288 ac_prev
=cache_file
;;
48289 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48290 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48293 --config-cache | -C)
48295 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48297 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48299 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48301 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48303 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
48307 # Always prepend --prefix to ensure using the same prefix
48308 # in subdir configurations.
48309 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
48312 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
48314 # Do not complain, so a configure script can configure whichever
48315 # parts of a large source tree are present.
48316 test -d $srcdir/$ac_dir || continue
48318 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48319 echo "$as_me: configuring in $ac_dir" >&6;}
48320 { if $as_mkdir_p; then
48325 while test ! -d "$as_dir"; do
48326 as_dirs
="$as_dir $as_dirs"
48327 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48329 X"$as_dir" : 'X\(//\)[^/]' \| \
48330 X"$as_dir" : 'X\(//\)$' \| \
48331 X"$as_dir" : 'X\(/\)' \| \
48332 . : '\(.\)' 2>/dev/null ||
48334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48336 /^X\(\/\/\)$/{ s//\1/; q; }
48337 /^X\(\/\).*/{ s//\1/; q; }
48340 test ! -n "$as_dirs" || mkdir $as_dirs
48341 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48342 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48343 { (exit 1); exit 1; }; }; }
48347 if test "$ac_dir" != .
; then
48348 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48349 # A "../" for each directory in $ac_dir_suffix.
48350 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48352 ac_dir_suffix
= ac_top_builddir
=
48356 .
) # No --srcdir option. We are building in place.
48358 if test -z "$ac_top_builddir"; then
48361 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48363 [\\/]* | ?
:[\\/]* ) # Absolute path.
48364 ac_srcdir
=$srcdir$ac_dir_suffix;
48365 ac_top_srcdir
=$srcdir ;;
48366 *) # Relative path.
48367 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48368 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48371 # Do not use `cd foo && pwd` to compute absolute paths, because
48372 # the directories may not exist.
48374 .
) ac_abs_builddir
="$ac_dir";;
48377 .
) ac_abs_builddir
=`pwd`;;
48378 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48379 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48382 case $ac_abs_builddir in
48383 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48385 case ${ac_top_builddir}.
in
48386 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48387 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48388 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48391 case $ac_abs_builddir in
48392 .
) ac_abs_srcdir
=$ac_srcdir;;
48395 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48396 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48397 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48400 case $ac_abs_builddir in
48401 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48403 case $ac_top_srcdir in
48404 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48405 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48406 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48413 # Check for guested configure; otherwise get Cygnus style configure.
48414 if test -f $ac_srcdir/configure.gnu
; then
48415 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
48416 elif test -f $ac_srcdir/configure
; then
48417 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
48418 elif test -f $ac_srcdir/configure.
in; then
48419 ac_sub_configure
=$ac_configure
48421 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48422 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48426 # The recursion is here.
48427 if test -n "$ac_sub_configure"; then
48428 # Make the cache file name correct relative to the subdirectory.
48429 case $cache_file in
48430 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
48431 *) # Relative path.
48432 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
48435 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48436 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48437 # The eval makes quoting arguments work.
48438 eval $ac_sub_configure $ac_sub_configure_args \
48439 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48440 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48441 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48442 { (exit 1); exit 1; }; }
48451 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48453 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48454 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48456 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48457 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48458 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48460 echo " What level of wxWidgets compatibility should be enabled?"
48461 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
48462 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
48464 echo " Which libraries should wxWidgets use?"
48465 echo " jpeg ${wxUSE_LIBJPEG-none}"
48466 echo " png ${wxUSE_LIBPNG-none}"
48467 echo " regex ${wxUSE_REGEX}"
48468 echo " tiff ${wxUSE_LIBTIFF-none}"
48469 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48470 echo " xpm ${wxUSE_LIBXPM-none}"
48472 echo " zlib ${wxUSE_ZLIB}"
48473 echo " odbc ${wxUSE_ODBC}"
48474 echo " expat ${wxUSE_EXPAT}"
48475 echo " libmspack ${wxUSE_LIBMSPACK}"
48476 echo " sdl ${wxUSE_LIBSDL}"
48477 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"