2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
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-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-aui use AUI docking library
957 --enable-constraints use layout
-constraints system
958 --enable-printarch use printing architecture
959 --enable-mdi use multiple document interface architecture
960 --enable-mdidoc use docview architecture with MDI
961 --enable-loggui use standard GUI logger
962 --enable-logwin use wxLogWindow
963 --enable-logdialog use wxLogDialog
964 --enable-webkit use wxWebKitCtrl
(Mac
)
965 --enable-richtext use wxRichTextCtrl
966 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
967 --enable-prologio not available
; see contrib
968 --enable-resources not available
; see contrib
969 --enable-clipboard use wxClipboard class
970 --enable-dnd use Drag
'n'Drop classes
971 --enable-metafile use win32 metafiles
972 --enable-controls use all usual controls
973 --enable-accel use accelerators
974 --enable-button use wxButton class
975 --enable-bmpbutton use wxBitmapButton class
976 --enable-calendar use wxCalendarCtrl class
977 --enable-caret use wxCaret class
978 --enable-checkbox use wxCheckBox class
979 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
980 --enable-choice use wxChoice class
981 --enable-choicebook use wxChoicebook class
982 --enable-colourpicker use wxColourPickerCtrl class
983 --enable-combobox use wxComboBox class
984 --enable-comboctrl use wxComboCtrl class
985 --enable-datepick use wxDatePickerCtrl class
986 --enable-dirpicker use wxDirPickerCtrl class
987 --enable-display use wxDisplay class
988 --enable-filepicker use wxFilePickerCtrl class
989 --enable-fontpicker use wxFontPickerCtrl class
990 --enable-gauge use wxGauge class
991 --enable-grid use wxGrid class
992 --enable-dataviewctrl, use wxDataViewCtrl class
993 --enable-hyperlink use wxHyperlinkCtrl class
994 --enable-imaglist use wxImageList class
995 --enable-listbook use wxListbook class
996 --enable-listbox use wxListBox class
997 --enable-listctrl use wxListCtrl class
998 --enable-notebook use wxNotebook class
999 --enable-odcombobox use wxOwnerDrawnComboBox class
1000 --enable-radiobox use wxRadioBox class
1001 --enable-radiobtn use wxRadioButton class
1002 --enable-sash use wxSashWindow class
1003 --enable-scrollbar use wxScrollBar class and scrollable windows
1004 --enable-slider use wxSlider class
1005 --enable-spinbtn use wxSpinButton class
1006 --enable-spinctrl use wxSpinCtrl class
1007 --enable-splitter use wxSplitterWindow class
1008 --enable-statbmp use wxStaticBitmap class
1009 --enable-statbox use wxStaticBox class
1010 --enable-statline use wxStaticLine class
1011 --enable-stattext use wxStaticText class
1012 --enable-statusbar use wxStatusBar class
1013 --enable-tabdialog use wxTabControl class
1014 --enable-textctrl use wxTextCtrl class
1015 --enable-togglebtn use wxToggleButton class
1016 --enable-toolbar use wxToolBar class
1017 --enable-tbarnative use native wxToolBar class
1018 --enable-tbarsmpl use wxToolBarSimple class
1019 --enable-treebook use wxTreebook class
1020 --enable-toolbook use wxToolbook class
1021 --enable-treectrl use wxTreeCtrl class
1022 --enable-tipwindow use wxTipWindow class
1023 --enable-popupwin use wxPopUpWindow class
1024 --enable-commondlg use all common dialogs
1025 --enable-choicedlg use wxChoiceDialog
1026 --enable-coldlg use wxColourDialog
1027 --enable-filedlg use wxFileDialog
1028 --enable-finddlg use wxFindReplaceDialog
1029 --enable-fontdlg use wxFontDialog
1030 --enable-dirdlg use wxDirDialog
1031 --enable-msgdlg use wxMessageDialog
1032 --enable-numberdlg use wxNumberEntryDialog
1033 --enable-splash use wxSplashScreen
1034 --enable-textdlg use wxTextDialog
1035 --enable-tipdlg use startup tips
1036 --enable-progressdlg use wxProgressDialog
1037 --enable-wizarddlg use wxWizard
1038 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1039 --enable-miniframe use wxMiniFrame class
1040 --enable-tooltips use wxToolTip class
1041 --enable-splines use spline drawing code
1042 --enable-mousewheel use mousewheel
1043 --enable-validators use wxValidator and derived classes
1044 --enable-busyinfo use wxBusyInfo
1045 --enable-joystick use wxJoystick
1046 --enable-metafiles use wxMetaFile
(Win32 only
)
1047 --enable-dragimage use wxDragImage
1048 --enable-accessibility enable accessibility support
1049 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1050 --enable-palette use wxPalette class
1051 --enable-image use wxImage class
1052 --enable-gif use gif images
(GIF
file format
)
1053 --enable-pcx use pcx images
(PCX
file format
)
1054 --enable-iff use iff images
(IFF
file format
)
1055 --enable-pnm use pnm images
(PNM
file format
)
1056 --enable-xpm use xpm images
(XPM
file format
)
1057 --enable-icocur use Windows ICO and CUR formats
1058 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1059 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1060 --disable-largefile omit support
for large files
1061 --disable-gtktest do not try to compile and run a
test GTK
+ program
1062 --disable-gtktest Do not try to compile and run a
test GTK program
1063 --disable-sdltest Do not try to compile and run a
test SDL program
1064 --enable-omf use OMF object format
(OS
/2)
1065 --disable-dependency-tracking
1066 don
't use dependency tracking even if the compiler
1068 --disable-precomp-headers
1069 don't use precompiled headers even
if compiler can
1072 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1073 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1074 --without-subdirs don
't generate makefiles for samples/demos/...
1075 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1076 --with-motif use Motif/Lesstif
1077 --with-mac use Mac OS X
1078 --with-cocoa use Cocoa
1079 --with-wine use Wine
1080 --with-msw use MS-Windows
1081 --with-pm use OS/2 Presentation Manager
1082 --with-mgl use SciTech MGL
1083 --with-microwin use MicroWindows
1085 --with-libpng use libpng (PNG image format)
1086 --with-libjpeg use libjpeg (JPEG file format)
1087 --with-libtiff use libtiff (TIFF file format)
1088 --with-libxpm use libxpm (XPM file format)
1089 --with-libmspack use libmspack (CHM help files loading)
1090 --with-sdl use SDL for audio on Unix
1091 --with-gnomeprint use GNOME print for printing under GNOME
1092 --with-gnomevfs use GNOME VFS for associating MIME types
1093 --with-hildon use Hildon framework for Nokia 770
1094 --with-opengl use OpenGL (or Mesa)
1095 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1096 --with-regex enable support for wxRegEx class
1097 --with-zlib use zlib for LZW compression
1098 --with-odbc use the IODBC and wxODBC classes
1099 --with-expat enable XML support using expat parser
1100 --with-flavour=NAME specify a name to identify this build
1101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1102 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1103 --with-x use the X Window System
1104 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1105 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1106 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1107 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1108 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1110 Some influential environment variables:
1111 CC C compiler command
1112 CFLAGS C compiler flags
1113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1114 nonstandard directory <lib dir>
1115 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116 headers in a nonstandard directory <include dir>
1118 CXX C++ compiler command
1119 CXXFLAGS C++ compiler flags
1120 CXXCPP C++ preprocessor
1122 Use these variables to override the choices made by `configure' or to
help
1123 it to
find libraries and programs with nonstandard names
/locations.
1125 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1129 if test "$ac_init_help" = "recursive"; then
1130 # If there are subdirs, report their specific --help.
1132 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1133 test -d $ac_dir || continue
1136 if test "$ac_dir" != .
; then
1137 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1138 # A "../" for each directory in $ac_dir_suffix.
1139 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1141 ac_dir_suffix
= ac_top_builddir
=
1145 .
) # No --srcdir option. We are building in place.
1147 if test -z "$ac_top_builddir"; then
1150 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1152 [\\/]* | ?
:[\\/]* ) # Absolute path.
1153 ac_srcdir
=$srcdir$ac_dir_suffix;
1154 ac_top_srcdir
=$srcdir ;;
1156 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1157 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1160 # Do not use `cd foo && pwd` to compute absolute paths, because
1161 # the directories may not exist.
1163 .
) ac_abs_builddir
="$ac_dir";;
1166 .
) ac_abs_builddir
=`pwd`;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1168 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1171 case $ac_abs_builddir in
1172 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1174 case ${ac_top_builddir}.
in
1175 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1176 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1177 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1180 case $ac_abs_builddir in
1181 .
) ac_abs_srcdir
=$ac_srcdir;;
1184 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1185 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1186 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1189 case $ac_abs_builddir in
1190 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1192 case $ac_top_srcdir in
1193 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1194 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1195 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1200 # Check for guested configure; otherwise get Cygnus style configure.
1201 if test -f $ac_srcdir/configure.gnu
; then
1203 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1204 elif test -f $ac_srcdir/configure
; then
1206 $SHELL $ac_srcdir/configure
--help=recursive
1207 elif test -f $ac_srcdir/configure.ac
||
1208 test -f $ac_srcdir/configure.
in; then
1210 $ac_configure --help
1212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1218 test -n "$ac_init_help" && exit 0
1219 if $ac_init_version; then
1221 wxWidgets configure
2.7.0
1222 generated by GNU Autoconf
2.59
1224 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1225 This configure
script is free software
; the Free Software Foundation
1226 gives unlimited permission to copy
, distribute and modify it.
1232 This file contains any messages produced by compilers while
1233 running configure, to aid debugging if configure makes a mistake.
1235 It was created by wxWidgets $as_me 2.7.0, which was
1236 generated by GNU Autoconf 2.59. Invocation command line was
1247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1259 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1270 test -z "$as_dir" && as_dir
=.
1271 echo "PATH: $as_dir"
1286 # Keep a trace of the command line.
1287 # Strip out --no-create and --no-recursion so they do not pile up.
1288 # Strip out --silent because we don't want to record it for future runs.
1289 # Also quote any args containing shell meta-characters.
1290 # Make two passes to allow for proper duplicate-argument suppression.
1295 ac_must_keep_next
=false
1301 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1309 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1311 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1312 if test $ac_must_keep_next = true
; then
1313 ac_must_keep_next
=false
# Got value, back to normal.
1316 *=* | --config-cache | -C | -disable-* | --disable-* \
1317 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1318 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1319 | -with-* | --with-* | -without-* | --without-* | --x)
1320 case "$ac_configure_args0 " in
1321 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1324 -* ) ac_must_keep_next
=true
;;
1327 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1328 # Get rid of the leading space.
1334 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1335 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1337 # When interrupted or exit'd, cleanup temporary files, and complete
1338 # config.log. We remove comments because anyway the quotes in there
1339 # would cause problems or look ugly.
1340 # WARNING: Be sure not to use single quotes in there, as some shells,
1341 # such as our DU 5.0 friend, will then `close' the trap.
1342 trap 'exit_status=$?
1343 # Save into config.log some information that might help in debugging.
1348 ## ---------------- ##
1349 ## Cache variables. ##
1350 ## ---------------- ##
1353 # The following way of writing the cache mishandles newlines in values,
1356 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1359 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1364 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1371 ## ----------------- ##
1372 ## Output variables. ##
1373 ## ----------------- ##
1376 for ac_var in $ac_subst_vars
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1383 if test -n "$ac_subst_files"; then
1390 for ac_var in $ac_subst_files
1392 eval ac_val=$`echo $ac_var`
1393 echo "$ac_var='"'"'$ac_val'"'"'"
1398 if test -s confdefs.h; then
1405 sed "/^$/d" confdefs.h | sort
1408 test "$ac_signal" != 0 &&
1409 echo "$as_me: caught signal $ac_signal"
1410 echo "$as_me: exit $exit_status"
1412 rm -f core *.core &&
1413 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1416 for ac_signal
in 1 2 13 15; do
1417 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1422 rm -rf conftest
* confdefs.h
1423 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1426 # Predefined preprocessor variables.
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_NAME "$PACKAGE_NAME"
1433 cat >>confdefs.h
<<_ACEOF
1434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1438 cat >>confdefs.h
<<_ACEOF
1439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1443 cat >>confdefs.h
<<_ACEOF
1444 #define PACKAGE_STRING "$PACKAGE_STRING"
1448 cat >>confdefs.h
<<_ACEOF
1449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1453 # Let the site file select an alternate cache file if it wants to.
1454 # Prefer explicitly selected file to automatically selected ones.
1455 if test -z "$CONFIG_SITE"; then
1456 if test "x$prefix" != xNONE
; then
1457 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1459 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1462 for ac_site_file
in $CONFIG_SITE; do
1463 if test -r "$ac_site_file"; then
1464 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1465 echo "$as_me: loading site script $ac_site_file" >&6;}
1466 sed 's/^/| /' "$ac_site_file" >&5
1471 if test -r "$cache_file"; then
1472 # Some versions of bash will fail to source /dev/null (special
1473 # files actually), so we avoid doing that.
1474 if test -f "$cache_file"; then
1475 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1476 echo "$as_me: loading cache $cache_file" >&6;}
1478 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1479 *) . .
/$cache_file;;
1483 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1484 echo "$as_me: creating cache $cache_file" >&6;}
1488 # Check that the precious variables saved in the cache have kept the same
1490 ac_cache_corrupted
=false
1491 for ac_var
in `(set) 2>&1 |
1492 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1493 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1494 eval ac_new_set
=\
$ac_env_${ac_var}_set
1495 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1496 eval ac_new_val
="\$ac_env_${ac_var}_value"
1497 case $ac_old_set,$ac_new_set in
1499 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1500 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1501 ac_cache_corrupted
=: ;;
1503 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1504 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1505 ac_cache_corrupted
=: ;;
1508 if test "x$ac_old_val" != "x$ac_new_val"; then
1509 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1510 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1511 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1512 echo "$as_me: former value: $ac_old_val" >&2;}
1513 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1514 echo "$as_me: current value: $ac_new_val" >&2;}
1515 ac_cache_corrupted
=:
1518 # Pass precious variables to config.status.
1519 if test "$ac_new_set" = set; then
1521 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1522 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1523 *) ac_arg
=$ac_var=$ac_new_val ;;
1525 case " $ac_configure_args " in
1526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1527 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1531 if $ac_cache_corrupted; then
1532 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1533 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1534 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1535 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1536 { (exit 1); exit 1; }; }
1540 ac_cpp
='$CPP $CPPFLAGS'
1541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1575 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1576 if test -f $ac_dir/install-sh; then
1578 ac_install_sh
="$ac_aux_dir/install-sh -c"
1580 elif test -f $ac_dir/install.sh
; then
1582 ac_install_sh
="$ac_aux_dir/install.sh -c"
1584 elif test -f $ac_dir/shtool
; then
1586 ac_install_sh
="$ac_aux_dir/shtool install -c"
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1595 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_build_alias
=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias
=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1626 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 echo "$as_me:$LINENO: checking host system type" >&5
1632 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1633 if test "${ac_cv_host+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_cv_host_alias
=$host_alias
1637 test -z "$ac_cv_host_alias" &&
1638 ac_cv_host_alias
=$ac_cv_build_alias
1639 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1646 echo "${ECHO_T}$ac_cv_host" >&6
1648 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653 echo "$as_me:$LINENO: checking target system type" >&5
1654 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1655 if test "${ac_cv_target+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 ac_cv_target_alias
=$target_alias
1659 test "x$ac_cv_target_alias" = "x" &&
1660 ac_cv_target_alias
=$ac_cv_host_alias
1661 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1668 echo "${ECHO_T}$ac_cv_target" >&6
1669 target
=$ac_cv_target
1670 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1671 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1672 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675 # The aliases save the names the user supplied, while $host etc.
1676 # will get canonicalized.
1677 test -n "$target_alias" &&
1678 test "$program_prefix$program_suffix$program_transform_name" = \
1680 program_prefix
=${target_alias}-
1684 wx_major_version_number
=2
1685 wx_minor_version_number
=7
1687 wx_subrelease_number
=0
1689 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1690 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1691 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1693 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1706 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1712 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1720 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1722 DEFAULT_wxUSE_COCOA
=0
1726 DEFAULT_wxUSE_MICROWIN
=0
1727 DEFAULT_wxUSE_MOTIF
=0
1732 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1733 DEFAULT_DEFAULT_wxUSE_GTK
=0
1734 DEFAULT_DEFAULT_wxUSE_MAC
=0
1735 DEFAULT_DEFAULT_wxUSE_MGL
=0
1736 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1737 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1738 DEFAULT_DEFAULT_wxUSE_MSW
=0
1739 DEFAULT_DEFAULT_wxUSE_PM
=0
1740 DEFAULT_DEFAULT_wxUSE_X11
=0
1745 SAMPLES_RPATH_POSTLINK
=
1747 DEFAULT_STD_FLAG
=yes
1752 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1753 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1755 cat >>confdefs.h
<<\_ACEOF
1760 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1764 cat >>confdefs.h
<<\_ACEOF
1769 if test "x$TMP" = "xalpha"; then
1771 cat >>confdefs.h
<<\_ACEOF
1776 DEFAULT_DEFAULT_wxUSE_GTK
=1
1778 *-*-gnu* | *-*-k*bsd
*-gnu )
1781 if test "x$TMP" = "xalpha"; then
1783 cat >>confdefs.h
<<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_GTK
=1
1790 *-*-irix5* | *-*-irix6* )
1793 cat >>confdefs.h
<<\_ACEOF
1797 cat >>confdefs.h
<<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1807 cat >>confdefs.h
<<\_ACEOF
1811 cat >>confdefs.h
<<\_ACEOF
1812 #define __SOLARIS__ 1
1815 cat >>confdefs.h
<<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1826 cat >>confdefs.h
<<\_ACEOF
1830 cat >>confdefs.h
<<\_ACEOF
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1843 cat >>confdefs.h
<<\_ACEOF
1844 #define __FREEBSD__ 1
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK
=1
1853 *-*-openbsd*|*-*-mirbsd*)
1856 cat >>confdefs.h
<<\_ACEOF
1857 #define __OPENBSD__ 1
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_GTK
=1
1869 cat >>confdefs.h
<<\_ACEOF
1870 #define __NETBSD__ 1
1873 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_GTK
=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1880 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1894 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1916 cat >>confdefs.h
<<\_ACEOF
1920 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1927 cat >>confdefs.h
<<\_ACEOF
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1946 cat >>confdefs.h
<<\_ACEOF
1947 #define __UNIXWARE__ 1
1952 *-*-cygwin* | *-*-mingw32* )
1955 DEFAULT_DEFAULT_wxUSE_MSW
=1
1962 cat >>confdefs.h
<<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_MGL
=1
1970 *-pc-os2_emx | *-pc-os2-emx )
1971 cat >>confdefs.h
<<\_ACEOF
1976 cat >>confdefs.h
<<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_PM
=1
1983 LDFLAGS
="$LDFLAGS -Zcrtdll"
1984 ac_executable_extensions
=".exe"
1985 export ac_executable_extensions
1989 for ac_dir
in $PATH; do
1991 if test -z "$ac_TEMP_PATH"; then
1992 ac_TEMP_PATH
="$ac_dir"
1994 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1997 export PATH
="$ac_TEMP_PATH"
2006 cat >>confdefs.h
<<\_ACEOF
2010 cat >>confdefs.h
<<\_ACEOF
2011 #define __DARWIN__ 1
2014 cat >>confdefs.h
<<\_ACEOF
2015 #define TARGET_CARBON 1
2018 DEFAULT_DEFAULT_wxUSE_MAC
=1
2021 powerpc
-apple-macos* )
2023 ac_cv_c_bigendian
=yes
2025 DEFAULT_DEFAULT_wxUSE_MAC
=1
2031 cat >>confdefs.h
<<\_ACEOF
2038 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2039 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2040 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2041 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2047 wx_arg_cache_file
="configarg.cache"
2048 echo "loading argument cache $wx_arg_cache_file"
2049 rm -f ${wx_arg_cache_file}.tmp
2050 touch ${wx_arg_cache_file}.tmp
2051 touch ${wx_arg_cache_file}
2055 if test $DEBUG_CONFIGURE = 1; then
2056 DEFAULT_wxUSE_UNIVERSAL
=no
2057 DEFAULT_wxUSE_STL
=no
2059 DEFAULT_wxUSE_NANOX
=no
2061 DEFAULT_wxUSE_THREADS
=yes
2063 DEFAULT_wxUSE_SHARED
=yes
2064 DEFAULT_wxUSE_OPTIMISE
=no
2065 DEFAULT_wxUSE_PROFILE
=no
2066 DEFAULT_wxUSE_NO_DEPS
=no
2067 DEFAULT_wxUSE_NO_RTTI
=no
2068 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2069 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2070 DEFAULT_wxUSE_RPATH
=yes
2071 DEFAULT_wxUSE_PERMISSIVE
=no
2072 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2073 DEFAULT_wxUSE_DEBUG_INFO
=yes
2074 DEFAULT_wxUSE_DEBUG_GDB
=yes
2075 DEFAULT_wxUSE_MEM_TRACING
=no
2076 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2077 DEFAULT_wxUSE_DMALLOC
=no
2078 DEFAULT_wxUSE_APPLE_IEEE
=no
2080 DEFAULT_wxUSE_EXCEPTIONS
=no
2081 DEFAULT_wxUSE_LOG
=yes
2082 DEFAULT_wxUSE_LOGWINDOW
=no
2083 DEFAULT_wxUSE_LOGGUI
=no
2084 DEFAULT_wxUSE_LOGDIALOG
=no
2086 DEFAULT_wxUSE_GUI
=yes
2087 DEFAULT_wxUSE_CONTROLS
=no
2089 DEFAULT_wxUSE_REGEX
=no
2090 DEFAULT_wxUSE_XML
=no
2091 DEFAULT_wxUSE_EXPAT
=no
2092 DEFAULT_wxUSE_ZLIB
=no
2093 DEFAULT_wxUSE_LIBPNG
=no
2094 DEFAULT_wxUSE_LIBJPEG
=no
2095 DEFAULT_wxUSE_LIBTIFF
=no
2096 DEFAULT_wxUSE_LIBXPM
=no
2097 DEFAULT_wxUSE_LIBMSPACK
=no
2098 DEFAULT_wxUSE_LIBSDL
=no
2099 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2100 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2101 DEFAULT_wxUSE_LIBHILDON
=no
2102 DEFAULT_wxUSE_ODBC
=no
2103 DEFAULT_wxUSE_OPENGL
=no
2105 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2106 DEFAULT_wxUSE_STACKWALKER
=no
2107 DEFAULT_wxUSE_DEBUGREPORT
=no
2108 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2109 DEFAULT_wxUSE_STD_IOSTREAM
=no
2110 DEFAULT_wxUSE_STD_STRING
=no
2111 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2112 DEFAULT_wxUSE_DATETIME
=no
2113 DEFAULT_wxUSE_TIMER
=no
2114 DEFAULT_wxUSE_STOPWATCH
=no
2115 DEFAULT_wxUSE_FILE
=no
2116 DEFAULT_wxUSE_FFILE
=no
2117 DEFAULT_wxUSE_STDPATHS
=no
2118 DEFAULT_wxUSE_TEXTBUFFER
=no
2119 DEFAULT_wxUSE_TEXTFILE
=no
2120 DEFAULT_wxUSE_SOUND
=no
2121 DEFAULT_wxUSE_MEDIACTRL
=no
2122 DEFAULT_wxUSE_GSTREAMER8
=no
2123 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2124 DEFAULT_wxUSE_INTL
=no
2125 DEFAULT_wxUSE_CONFIG
=no
2126 DEFAULT_wxUSE_FONTMAP
=no
2127 DEFAULT_wxUSE_STREAMS
=no
2128 DEFAULT_wxUSE_SOCKETS
=no
2129 DEFAULT_wxUSE_OLE
=no
2130 DEFAULT_wxUSE_DATAOBJ
=no
2131 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2132 DEFAULT_wxUSE_JOYSTICK
=no
2133 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2134 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2135 DEFAULT_wxUSE_LONGLONG
=no
2136 DEFAULT_wxUSE_GEOMETRY
=no
2138 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2139 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2140 DEFAULT_wxUSE_POSTSCRIPT
=no
2142 DEFAULT_wxUSE_CLIPBOARD
=no
2143 DEFAULT_wxUSE_TOOLTIPS
=no
2144 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2145 DEFAULT_wxUSE_DRAGIMAGE
=no
2146 DEFAULT_wxUSE_SPLINES
=no
2147 DEFAULT_wxUSE_MOUSEWHEEL
=no
2149 DEFAULT_wxUSE_MDI
=no
2150 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2151 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2152 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2154 DEFAULT_wxUSE_RESOURCES
=no
2155 DEFAULT_wxUSE_CONSTRAINTS
=no
2156 DEFAULT_wxUSE_IPC
=no
2157 DEFAULT_wxUSE_HELP
=no
2158 DEFAULT_wxUSE_MS_HTML_HELP
=no
2159 DEFAULT_wxUSE_WXHTML_HELP
=no
2160 DEFAULT_wxUSE_TREELAYOUT
=no
2161 DEFAULT_wxUSE_METAFILE
=no
2162 DEFAULT_wxUSE_MIMETYPE
=no
2163 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2164 DEFAULT_wxUSE_PROTOCOL
=no
2165 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2166 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2167 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2168 DEFAULT_wxUSE_URL
=no
2170 DEFAULT_wxUSE_COMMONDLGS
=no
2171 DEFAULT_wxUSE_CHOICEDLG
=no
2172 DEFAULT_wxUSE_COLOURDLG
=no
2173 DEFAULT_wxUSE_DIRDLG
=no
2174 DEFAULT_wxUSE_FILEDLG
=no
2175 DEFAULT_wxUSE_FINDREPLDLG
=no
2176 DEFAULT_wxUSE_FONTDLG
=no
2177 DEFAULT_wxUSE_MSGDLG
=no
2178 DEFAULT_wxUSE_NUMBERDLG
=no
2179 DEFAULT_wxUSE_TEXTDLG
=no
2180 DEFAULT_wxUSE_SPLASH
=no
2181 DEFAULT_wxUSE_STARTUP_TIPS
=no
2182 DEFAULT_wxUSE_PROGRESSDLG
=no
2183 DEFAULT_wxUSE_WIZARDDLG
=no
2185 DEFAULT_wxUSE_MENUS
=no
2186 DEFAULT_wxUSE_MINIFRAME
=no
2187 DEFAULT_wxUSE_HTML
=no
2188 DEFAULT_wxUSE_RICHTEXT
=no
2189 DEFAULT_wxUSE_XRC
=no
2190 DEFAULT_wxUSE_AUI
=no
2191 DEFAULT_wxUSE_WEBKIT
=no
2192 DEFAULT_wxUSE_FILESYSTEM
=no
2193 DEFAULT_wxUSE_FS_INET
=no
2194 DEFAULT_wxUSE_FS_ZIP
=no
2195 DEFAULT_wxUSE_BUSYINFO
=no
2196 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2197 DEFAULT_wxUSE_ZIPSTREAM
=no
2198 DEFAULT_wxUSE_VALIDATORS
=no
2200 DEFAULT_wxUSE_ACCEL
=no
2201 DEFAULT_wxUSE_BUTTON
=no
2202 DEFAULT_wxUSE_BMPBUTTON
=no
2203 DEFAULT_wxUSE_CALCTRL
=no
2204 DEFAULT_wxUSE_CARET
=no
2205 DEFAULT_wxUSE_CHECKBOX
=no
2206 DEFAULT_wxUSE_CHECKLST
=no
2207 DEFAULT_wxUSE_CHOICE
=no
2208 DEFAULT_wxUSE_CHOICEBOOK
=no
2209 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2210 DEFAULT_wxUSE_COMBOBOX
=no
2211 DEFAULT_wxUSE_COMBOCTRL
=no
2212 DEFAULT_wxUSE_DATEPICKCTRL
=no
2213 DEFAULT_wxUSE_DISPLAY
=no
2214 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2215 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2216 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2217 DEFAULT_wxUSE_GAUGE
=no
2218 DEFAULT_wxUSE_GRID
=no
2219 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2220 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2221 DEFAULT_wxUSE_IMAGLIST
=no
2222 DEFAULT_wxUSE_LISTBOOK
=no
2223 DEFAULT_wxUSE_LISTBOX
=no
2224 DEFAULT_wxUSE_LISTCTRL
=no
2225 DEFAULT_wxUSE_NOTEBOOK
=no
2226 DEFAULT_wxUSE_ODCOMBOBOX
=no
2227 DEFAULT_wxUSE_RADIOBOX
=no
2228 DEFAULT_wxUSE_RADIOBTN
=no
2229 DEFAULT_wxUSE_SASH
=no
2230 DEFAULT_wxUSE_SCROLLBAR
=no
2231 DEFAULT_wxUSE_SLIDER
=no
2232 DEFAULT_wxUSE_SPINBTN
=no
2233 DEFAULT_wxUSE_SPINCTRL
=no
2234 DEFAULT_wxUSE_SPLITTER
=no
2235 DEFAULT_wxUSE_STATBMP
=no
2236 DEFAULT_wxUSE_STATBOX
=no
2237 DEFAULT_wxUSE_STATLINE
=no
2238 DEFAULT_wxUSE_STATTEXT
=no
2239 DEFAULT_wxUSE_STATUSBAR
=yes
2240 DEFAULT_wxUSE_TAB_DIALOG
=no
2241 DEFAULT_wxUSE_TEXTCTRL
=no
2242 DEFAULT_wxUSE_TOGGLEBTN
=no
2243 DEFAULT_wxUSE_TOOLBAR
=no
2244 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2245 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2246 DEFAULT_wxUSE_TREEBOOK
=no
2247 DEFAULT_wxUSE_TOOLBOOK
=no
2248 DEFAULT_wxUSE_TREECTRL
=no
2249 DEFAULT_wxUSE_POPUPWIN
=no
2250 DEFAULT_wxUSE_TIPWINDOW
=no
2252 DEFAULT_wxUSE_UNICODE
=no
2253 DEFAULT_wxUSE_UNICODE_MSLU
=no
2254 DEFAULT_wxUSE_WCSRTOMBS
=no
2256 DEFAULT_wxUSE_PALETTE
=no
2257 DEFAULT_wxUSE_IMAGE
=no
2258 DEFAULT_wxUSE_GIF
=no
2259 DEFAULT_wxUSE_PCX
=no
2260 DEFAULT_wxUSE_PNM
=no
2261 DEFAULT_wxUSE_IFF
=no
2262 DEFAULT_wxUSE_XPM
=no
2263 DEFAULT_wxUSE_ICO_CUR
=no
2264 DEFAULT_wxUSE_ACCESSIBILITY
=no
2266 DEFAULT_wxUSE_MONOLITHIC
=no
2267 DEFAULT_wxUSE_PLUGINS
=no
2268 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2270 DEFAULT_wxUSE_UNIVERSAL
=no
2271 DEFAULT_wxUSE_STL
=no
2273 DEFAULT_wxUSE_NANOX
=no
2275 DEFAULT_wxUSE_THREADS
=yes
2277 DEFAULT_wxUSE_SHARED
=yes
2278 DEFAULT_wxUSE_OPTIMISE
=yes
2279 DEFAULT_wxUSE_PROFILE
=no
2280 DEFAULT_wxUSE_NO_DEPS
=no
2281 DEFAULT_wxUSE_NO_RTTI
=no
2282 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2283 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2284 DEFAULT_wxUSE_RPATH
=yes
2285 DEFAULT_wxUSE_PERMISSIVE
=no
2286 DEFAULT_wxUSE_DEBUG_FLAG
=no
2287 DEFAULT_wxUSE_DEBUG_INFO
=no
2288 DEFAULT_wxUSE_DEBUG_GDB
=no
2289 DEFAULT_wxUSE_MEM_TRACING
=no
2290 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2291 DEFAULT_wxUSE_DMALLOC
=no
2292 DEFAULT_wxUSE_APPLE_IEEE
=yes
2294 DEFAULT_wxUSE_EXCEPTIONS
=yes
2295 DEFAULT_wxUSE_LOG
=yes
2296 DEFAULT_wxUSE_LOGWINDOW
=yes
2297 DEFAULT_wxUSE_LOGGUI
=yes
2298 DEFAULT_wxUSE_LOGDIALOG
=yes
2300 DEFAULT_wxUSE_GUI
=yes
2302 DEFAULT_wxUSE_REGEX
=yes
2303 DEFAULT_wxUSE_XML
=yes
2304 DEFAULT_wxUSE_EXPAT
=yes
2305 DEFAULT_wxUSE_ZLIB
=yes
2306 DEFAULT_wxUSE_LIBPNG
=yes
2307 DEFAULT_wxUSE_LIBJPEG
=yes
2308 DEFAULT_wxUSE_LIBTIFF
=yes
2309 DEFAULT_wxUSE_LIBXPM
=yes
2310 DEFAULT_wxUSE_LIBMSPACK
=yes
2311 DEFAULT_wxUSE_LIBSDL
=no
2312 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2313 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2314 DEFAULT_wxUSE_LIBHILDON
=no
2315 DEFAULT_wxUSE_ODBC
=no
2316 DEFAULT_wxUSE_OPENGL
=no
2318 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2319 DEFAULT_wxUSE_STACKWALKER
=yes
2320 DEFAULT_wxUSE_DEBUGREPORT
=yes
2321 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2322 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2323 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2324 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2325 DEFAULT_wxUSE_DATETIME
=yes
2326 DEFAULT_wxUSE_TIMER
=yes
2327 DEFAULT_wxUSE_STOPWATCH
=yes
2328 DEFAULT_wxUSE_FILE
=yes
2329 DEFAULT_wxUSE_FFILE
=yes
2330 DEFAULT_wxUSE_STDPATHS
=yes
2331 DEFAULT_wxUSE_TEXTBUFFER
=yes
2332 DEFAULT_wxUSE_TEXTFILE
=yes
2333 DEFAULT_wxUSE_SOUND
=yes
2334 DEFAULT_wxUSE_MEDIACTRL
=no
2335 DEFAULT_wxUSE_GSTREAMER8
=no
2336 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2337 DEFAULT_wxUSE_INTL
=yes
2338 DEFAULT_wxUSE_CONFIG
=yes
2339 DEFAULT_wxUSE_FONTMAP
=yes
2340 DEFAULT_wxUSE_STREAMS
=yes
2341 DEFAULT_wxUSE_SOCKETS
=yes
2342 DEFAULT_wxUSE_OLE
=yes
2343 DEFAULT_wxUSE_DATAOBJ
=yes
2344 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2345 DEFAULT_wxUSE_JOYSTICK
=yes
2346 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2347 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2348 DEFAULT_wxUSE_LONGLONG
=yes
2349 DEFAULT_wxUSE_GEOMETRY
=yes
2351 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2352 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2353 DEFAULT_wxUSE_POSTSCRIPT
=yes
2355 DEFAULT_wxUSE_CLIPBOARD
=yes
2356 DEFAULT_wxUSE_TOOLTIPS
=yes
2357 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2358 DEFAULT_wxUSE_DRAGIMAGE
=yes
2359 DEFAULT_wxUSE_SPLINES
=yes
2360 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2362 DEFAULT_wxUSE_MDI
=yes
2363 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2364 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2365 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2367 DEFAULT_wxUSE_RESOURCES
=no
2368 DEFAULT_wxUSE_CONSTRAINTS
=yes
2369 DEFAULT_wxUSE_IPC
=yes
2370 DEFAULT_wxUSE_HELP
=yes
2371 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2372 DEFAULT_wxUSE_WXHTML_HELP
=yes
2373 DEFAULT_wxUSE_TREELAYOUT
=yes
2374 DEFAULT_wxUSE_METAFILE
=yes
2375 DEFAULT_wxUSE_MIMETYPE
=yes
2376 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2377 DEFAULT_wxUSE_PROTOCOL
=yes
2378 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2379 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2380 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2381 DEFAULT_wxUSE_URL
=yes
2383 DEFAULT_wxUSE_COMMONDLGS
=yes
2384 DEFAULT_wxUSE_CHOICEDLG
=yes
2385 DEFAULT_wxUSE_COLOURDLG
=yes
2386 DEFAULT_wxUSE_DIRDLG
=yes
2387 DEFAULT_wxUSE_FILEDLG
=yes
2388 DEFAULT_wxUSE_FINDREPLDLG
=yes
2389 DEFAULT_wxUSE_FONTDLG
=yes
2390 DEFAULT_wxUSE_MSGDLG
=yes
2391 DEFAULT_wxUSE_NUMBERDLG
=yes
2392 DEFAULT_wxUSE_TEXTDLG
=yes
2393 DEFAULT_wxUSE_SPLASH
=yes
2394 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2395 DEFAULT_wxUSE_PROGRESSDLG
=yes
2396 DEFAULT_wxUSE_WIZARDDLG
=yes
2398 DEFAULT_wxUSE_MENUS
=yes
2399 DEFAULT_wxUSE_MINIFRAME
=yes
2400 DEFAULT_wxUSE_HTML
=yes
2401 DEFAULT_wxUSE_RICHTEXT
=yes
2402 DEFAULT_wxUSE_XRC
=yes
2403 DEFAULT_wxUSE_AUI
=yes
2404 DEFAULT_wxUSE_WEBKIT
=yes
2405 DEFAULT_wxUSE_FILESYSTEM
=yes
2406 DEFAULT_wxUSE_FS_INET
=yes
2407 DEFAULT_wxUSE_FS_ZIP
=yes
2408 DEFAULT_wxUSE_BUSYINFO
=yes
2409 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2410 DEFAULT_wxUSE_ZIPSTREAM
=yes
2411 DEFAULT_wxUSE_VALIDATORS
=yes
2413 DEFAULT_wxUSE_ACCEL
=yes
2414 DEFAULT_wxUSE_BUTTON
=yes
2415 DEFAULT_wxUSE_BMPBUTTON
=yes
2416 DEFAULT_wxUSE_CALCTRL
=yes
2417 DEFAULT_wxUSE_CARET
=yes
2418 DEFAULT_wxUSE_CHECKBOX
=yes
2419 DEFAULT_wxUSE_CHECKLST
=yes
2420 DEFAULT_wxUSE_CHOICE
=yes
2421 DEFAULT_wxUSE_CHOICEBOOK
=yes
2422 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2423 DEFAULT_wxUSE_COMBOBOX
=yes
2424 DEFAULT_wxUSE_COMBOCTRL
=yes
2425 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2426 DEFAULT_wxUSE_DISPLAY
=yes
2427 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2428 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2429 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2430 DEFAULT_wxUSE_GAUGE
=yes
2431 DEFAULT_wxUSE_GRID
=yes
2432 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2433 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2434 DEFAULT_wxUSE_IMAGLIST
=yes
2435 DEFAULT_wxUSE_LISTBOOK
=yes
2436 DEFAULT_wxUSE_LISTBOX
=yes
2437 DEFAULT_wxUSE_LISTCTRL
=yes
2438 DEFAULT_wxUSE_NOTEBOOK
=yes
2439 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2440 DEFAULT_wxUSE_RADIOBOX
=yes
2441 DEFAULT_wxUSE_RADIOBTN
=yes
2442 DEFAULT_wxUSE_SASH
=yes
2443 DEFAULT_wxUSE_SCROLLBAR
=yes
2444 DEFAULT_wxUSE_SLIDER
=yes
2445 DEFAULT_wxUSE_SPINBTN
=yes
2446 DEFAULT_wxUSE_SPINCTRL
=yes
2447 DEFAULT_wxUSE_SPLITTER
=yes
2448 DEFAULT_wxUSE_STATBMP
=yes
2449 DEFAULT_wxUSE_STATBOX
=yes
2450 DEFAULT_wxUSE_STATLINE
=yes
2451 DEFAULT_wxUSE_STATTEXT
=yes
2452 DEFAULT_wxUSE_STATUSBAR
=yes
2453 DEFAULT_wxUSE_TAB_DIALOG
=no
2454 DEFAULT_wxUSE_TEXTCTRL
=yes
2455 DEFAULT_wxUSE_TOGGLEBTN
=yes
2456 DEFAULT_wxUSE_TOOLBAR
=yes
2457 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2458 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2459 DEFAULT_wxUSE_TREEBOOK
=yes
2460 DEFAULT_wxUSE_TOOLBOOK
=yes
2461 DEFAULT_wxUSE_TREECTRL
=yes
2462 DEFAULT_wxUSE_POPUPWIN
=yes
2463 DEFAULT_wxUSE_TIPWINDOW
=yes
2465 DEFAULT_wxUSE_UNICODE
=no
2466 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2467 DEFAULT_wxUSE_WCSRTOMBS
=no
2469 DEFAULT_wxUSE_PALETTE
=yes
2470 DEFAULT_wxUSE_IMAGE
=yes
2471 DEFAULT_wxUSE_GIF
=yes
2472 DEFAULT_wxUSE_PCX
=yes
2473 DEFAULT_wxUSE_IFF
=no
2474 DEFAULT_wxUSE_PNM
=yes
2475 DEFAULT_wxUSE_XPM
=yes
2476 DEFAULT_wxUSE_ICO_CUR
=yes
2477 DEFAULT_wxUSE_ACCESSIBILITY
=no
2479 DEFAULT_wxUSE_MONOLITHIC
=no
2480 DEFAULT_wxUSE_PLUGINS
=no
2481 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2483 DEFAULT_wxUSE_GTK2
=yes
2489 for toolkit
in `echo $ALL_TOOLKITS`; do
2490 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2491 if test "x$LINE" != "x" ; then
2492 has_toolkit_in_cache
=1
2493 eval "DEFAULT_$LINE"
2494 eval "CACHE_$toolkit=1"
2496 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2497 if test "x$LINE" != "x" ; then
2498 eval "DEFAULT_$LINE"
2506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2507 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2509 # Check whether --enable-gui or --disable-gui was given.
2510 if test "${enable_gui+set}" = set; then
2511 enableval
="$enable_gui"
2513 if test "$enableval" = yes; then
2514 ac_cv_use_gui
='wxUSE_GUI=yes'
2516 ac_cv_use_gui
='wxUSE_GUI=no'
2521 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2522 if test "x$LINE" != x
; then
2523 eval "DEFAULT_$LINE"
2528 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2532 eval "$ac_cv_use_gui"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2537 if test "$wxUSE_GUI" = yes; then
2538 echo "$as_me:$LINENO: result: yes" >&5
2539 echo "${ECHO_T}yes" >&6
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2548 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2550 # Check whether --enable-monolithic or --disable-monolithic was given.
2551 if test "${enable_monolithic+set}" = set; then
2552 enableval
="$enable_monolithic"
2554 if test "$enableval" = yes; then
2555 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2557 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2562 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2563 if test "x$LINE" != x
; then
2564 eval "DEFAULT_$LINE"
2569 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2573 eval "$ac_cv_use_monolithic"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_MONOLITHIC" = yes; then
2579 echo "$as_me:$LINENO: result: yes" >&5
2580 echo "${ECHO_T}yes" >&6
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2589 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2591 # Check whether --enable-plugins or --disable-plugins was given.
2592 if test "${enable_plugins+set}" = set; then
2593 enableval
="$enable_plugins"
2595 if test "$enableval" = yes; then
2596 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2598 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2603 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x
; then
2605 eval "DEFAULT_$LINE"
2610 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2614 eval "$ac_cv_use_plugins"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2619 if test "$wxUSE_PLUGINS" = yes; then
2620 echo "$as_me:$LINENO: result: yes" >&5
2621 echo "${ECHO_T}yes" >&6
2623 echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6
2629 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2630 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2633 # Check whether --with-subdirs or --without-subdirs was given.
2634 if test "${with_subdirs+set}" = set; then
2635 withval
="$with_subdirs"
2637 if test "$withval" = yes; then
2638 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2640 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2645 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x
; then
2647 eval "DEFAULT_$LINE"
2652 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2656 eval "$ac_cv_use_subdirs"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2661 if test "$wxWITH_SUBDIRS" = yes; then
2662 echo "$as_me:$LINENO: result: yes" >&5
2663 echo "${ECHO_T}yes" >&6
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2670 if test "$wxUSE_GUI" = "yes"; then
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2677 # Check whether --enable-universal or --disable-universal was given.
2678 if test "${enable_universal+set}" = set; then
2679 enableval
="$enable_universal"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2684 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2689 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2700 eval "$ac_cv_use_universal"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_UNIVERSAL" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2714 # Check whether --with-gtk or --without-gtk was given.
2715 if test "${with_gtk+set}" = set; then
2717 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2720 # Check whether --with-motif or --without-motif was given.
2721 if test "${with_motif+set}" = set; then
2722 withval
="$with_motif"
2723 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2726 # Check whether --with-mac or --without-mac was given.
2727 if test "${with_mac+set}" = set; then
2729 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2732 # Check whether --with-cocoa or --without-cocoa was given.
2733 if test "${with_cocoa+set}" = set; then
2734 withval
="$with_cocoa"
2735 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2738 # Check whether --with-wine or --without-wine was given.
2739 if test "${with_wine+set}" = set; then
2740 withval
="$with_wine"
2741 wxUSE_WINE
="$withval" CACHE_WINE
=1
2744 # Check whether --with-msw or --without-msw was given.
2745 if test "${with_msw+set}" = set; then
2747 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2750 # Check whether --with-pm or --without-pm was given.
2751 if test "${with_pm+set}" = set; then
2753 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2756 # Check whether --with-mgl or --without-mgl was given.
2757 if test "${with_mgl+set}" = set; then
2759 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2762 # Check whether --with-microwin or --without-microwin was given.
2763 if test "${with_microwin+set}" = set; then
2764 withval
="$with_microwin"
2765 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2768 # Check whether --with-x11 or --without-x11 was given.
2769 if test "${with_x11+set}" = set; then
2771 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2776 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2778 # Check whether --enable-nanox or --disable-nanox was given.
2779 if test "${enable_nanox+set}" = set; then
2780 enableval
="$enable_nanox"
2782 if test "$enableval" = yes; then
2783 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2785 ac_cv_use_nanox
='wxUSE_NANOX=no'
2790 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x
; then
2792 eval "DEFAULT_$LINE"
2797 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2801 eval "$ac_cv_use_nanox"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_NANOX" = yes; then
2807 echo "$as_me:$LINENO: result: yes" >&5
2808 echo "${ECHO_T}yes" >&6
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2815 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2816 if test "${enable_gtk2+set}" = set; then
2817 enableval
="$enable_gtk2"
2818 wxUSE_GTK2
="$enableval"
2822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2823 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2825 # Check whether --enable-gpe or --disable-gpe was given.
2826 if test "${enable_gpe+set}" = set; then
2827 enableval
="$enable_gpe"
2829 if test "$enableval" = yes; then
2830 ac_cv_use_gpe
='wxUSE_GPE=yes'
2832 ac_cv_use_gpe
='wxUSE_GPE=no'
2837 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x
; then
2839 eval "DEFAULT_$LINE"
2844 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2848 eval "$ac_cv_use_gpe"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2853 if test "$wxUSE_GPE" = yes; then
2854 echo "$as_me:$LINENO: result: yes" >&5
2855 echo "${ECHO_T}yes" >&6
2857 echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2863 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2864 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2867 # Check whether --with-libpng or --without-libpng was given.
2868 if test "${with_libpng+set}" = set; then
2869 withval
="$with_libpng"
2871 if test "$withval" = yes; then
2872 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2873 elif test "$withval" = no
; then
2874 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2875 elif test "$withval" = sys
; then
2876 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2887 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x
; then
2889 eval "DEFAULT_$LINE"
2894 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2898 eval "$ac_cv_use_libpng"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_LIBPNG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBPNG" = no
; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBPNG" = sys
; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBPNG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2923 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2926 # Check whether --with-libjpeg or --without-libjpeg was given.
2927 if test "${with_libjpeg+set}" = set; then
2928 withval
="$with_libjpeg"
2930 if test "$withval" = yes; then
2931 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2932 elif test "$withval" = no
; then
2933 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2934 elif test "$withval" = sys
; then
2935 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2946 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x
; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2957 eval "$ac_cv_use_libjpeg"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_LIBJPEG" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBJPEG" = no
; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBJPEG" = sys
; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBJPEG" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2981 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2982 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2985 # Check whether --with-libtiff or --without-libtiff was given.
2986 if test "${with_libtiff+set}" = set; then
2987 withval
="$with_libtiff"
2989 if test "$withval" = yes; then
2990 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2991 elif test "$withval" = no
; then
2992 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2993 elif test "$withval" = sys
; then
2994 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3005 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x
; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3016 eval "$ac_cv_use_libtiff"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_LIBTIFF" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBTIFF" = no
; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBTIFF" = sys
; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBTIFF" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3040 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3041 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3044 # Check whether --with-libxpm or --without-libxpm was given.
3045 if test "${with_libxpm+set}" = set; then
3046 withval
="$with_libxpm"
3048 if test "$withval" = yes; then
3049 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3050 elif test "$withval" = no
; then
3051 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3052 elif test "$withval" = sys
; then
3053 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3064 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x
; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3075 eval "$ac_cv_use_libxpm"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3080 if test "$wxUSE_LIBXPM" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_LIBXPM" = no
; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_LIBXPM" = sys
; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088 echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_LIBXPM" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091 echo "${ECHO_T}builtin version" >&6
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3094 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3100 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3101 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3104 # Check whether --with-libmspack or --without-libmspack was given.
3105 if test "${with_libmspack+set}" = set; then
3106 withval
="$with_libmspack"
3108 if test "$withval" = yes; then
3109 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3111 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3116 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x
; then
3118 eval "DEFAULT_$LINE"
3123 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3127 eval "$ac_cv_use_libmspack"
3128 if test "$no_cache" != 1; then
3129 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3132 if test "$wxUSE_LIBMSPACK" = yes; then
3133 echo "$as_me:$LINENO: result: yes" >&5
3134 echo "${ECHO_T}yes" >&6
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3142 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3143 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3146 # Check whether --with-sdl or --without-sdl was given.
3147 if test "${with_sdl+set}" = set; then
3150 if test "$withval" = yes; then
3151 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3153 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3158 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x
; then
3160 eval "DEFAULT_$LINE"
3165 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3169 eval "$ac_cv_use_sdl"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3174 if test "$wxUSE_LIBSDL" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3184 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3185 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3188 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3189 if test "${with_gnomeprint+set}" = set; then
3190 withval
="$with_gnomeprint"
3192 if test "$withval" = yes; then
3193 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3195 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3200 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x
; then
3202 eval "DEFAULT_$LINE"
3207 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3211 eval "$ac_cv_use_gnomeprint"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3216 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3226 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3227 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3230 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3231 if test "${with_gnomevfs+set}" = set; then
3232 withval
="$with_gnomevfs"
3234 if test "$withval" = yes; then
3235 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3237 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3242 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x
; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3253 eval "$ac_cv_use_gnomevfs"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3268 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3269 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3272 # Check whether --with-hildon or --without-hildon was given.
3273 if test "${with_hildon+set}" = set; then
3274 withval
="$with_hildon"
3276 if test "$withval" = yes; then
3277 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3279 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3284 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x
; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3295 eval "$ac_cv_use_hildon"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_LIBHILDON" = yes; then
3301 echo "$as_me:$LINENO: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3310 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3311 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3314 # Check whether --with-opengl or --without-opengl was given.
3315 if test "${with_opengl+set}" = set; then
3316 withval
="$with_opengl"
3318 if test "$withval" = yes; then
3319 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3321 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3326 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x
; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3337 eval "$ac_cv_use_opengl"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3342 if test "$wxUSE_OPENGL" = yes; then
3343 echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3355 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3356 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3359 # Check whether --with-dmalloc or --without-dmalloc was given.
3360 if test "${with_dmalloc+set}" = set; then
3361 withval
="$with_dmalloc"
3363 if test "$withval" = yes; then
3364 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3366 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3371 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3382 eval "$ac_cv_use_dmalloc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_DMALLOC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3396 echo "$as_me:$LINENO: checking for --with-regex" >&5
3397 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3400 # Check whether --with-regex or --without-regex was given.
3401 if test "${with_regex+set}" = set; then
3402 withval
="$with_regex"
3404 if test "$withval" = yes; then
3405 ac_cv_use_regex
='wxUSE_REGEX=yes'
3406 elif test "$withval" = no
; then
3407 ac_cv_use_regex
='wxUSE_REGEX=no'
3408 elif test "$withval" = sys
; then
3409 ac_cv_use_regex
='wxUSE_REGEX=sys'
3410 elif test "$withval" = builtin; then
3411 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3413 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3414 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3415 { (exit 1); exit 1; }; }
3420 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x
; then
3422 eval "DEFAULT_$LINE"
3427 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3431 eval "$ac_cv_use_regex"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_REGEX" = yes; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3439 elif test "$wxUSE_REGEX" = no
; then
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442 elif test "$wxUSE_REGEX" = sys
; then
3443 echo "$as_me:$LINENO: result: system version" >&5
3444 echo "${ECHO_T}system version" >&6
3445 elif test "$wxUSE_REGEX" = builtin; then
3446 echo "$as_me:$LINENO: result: builtin version" >&5
3447 echo "${ECHO_T}builtin version" >&6
3449 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3450 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3451 { (exit 1); exit 1; }; }
3455 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3456 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3459 # Check whether --with-zlib or --without-zlib was given.
3460 if test "${with_zlib+set}" = set; then
3461 withval
="$with_zlib"
3463 if test "$withval" = yes; then
3464 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3465 elif test "$withval" = no
; then
3466 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3467 elif test "$withval" = sys
; then
3468 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3469 elif test "$withval" = builtin; then
3470 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3472 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3473 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3474 { (exit 1); exit 1; }; }
3479 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x
; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3490 eval "$ac_cv_use_zlib"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_ZLIB" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3498 elif test "$wxUSE_ZLIB" = no
; then
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 elif test "$wxUSE_ZLIB" = sys
; then
3502 echo "$as_me:$LINENO: result: system version" >&5
3503 echo "${ECHO_T}system version" >&6
3504 elif test "$wxUSE_ZLIB" = builtin; then
3505 echo "$as_me:$LINENO: result: builtin version" >&5
3506 echo "${ECHO_T}builtin version" >&6
3508 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3509 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3510 { (exit 1); exit 1; }; }
3514 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3515 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3518 # Check whether --with-odbc or --without-odbc was given.
3519 if test "${with_odbc+set}" = set; then
3520 withval
="$with_odbc"
3522 if test "$withval" = yes; then
3523 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3524 elif test "$withval" = no
; then
3525 ac_cv_use_odbc
='wxUSE_ODBC=no'
3526 elif test "$withval" = sys
; then
3527 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3528 elif test "$withval" = builtin; then
3529 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3531 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3532 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3533 { (exit 1); exit 1; }; }
3538 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3549 eval "$ac_cv_use_odbc"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_ODBC" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 elif test "$wxUSE_ODBC" = no
; then
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 elif test "$wxUSE_ODBC" = sys
; then
3561 echo "$as_me:$LINENO: result: system version" >&5
3562 echo "${ECHO_T}system version" >&6
3563 elif test "$wxUSE_ODBC" = builtin; then
3564 echo "$as_me:$LINENO: result: builtin version" >&5
3565 echo "${ECHO_T}builtin version" >&6
3567 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3568 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3569 { (exit 1); exit 1; }; }
3573 echo "$as_me:$LINENO: checking for --with-expat" >&5
3574 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3577 # Check whether --with-expat or --without-expat was given.
3578 if test "${with_expat+set}" = set; then
3579 withval
="$with_expat"
3581 if test "$withval" = yes; then
3582 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3583 elif test "$withval" = no
; then
3584 ac_cv_use_expat
='wxUSE_EXPAT=no'
3585 elif test "$withval" = sys
; then
3586 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3587 elif test "$withval" = builtin; then
3588 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3597 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x
; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3608 eval "$ac_cv_use_expat"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3613 if test "$wxUSE_EXPAT" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3616 elif test "$wxUSE_EXPAT" = no
; then
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3619 elif test "$wxUSE_EXPAT" = sys
; then
3620 echo "$as_me:$LINENO: result: system version" >&5
3621 echo "${ECHO_T}system version" >&6
3622 elif test "$wxUSE_EXPAT" = builtin; then
3623 echo "$as_me:$LINENO: result: builtin version" >&5
3624 echo "${ECHO_T}builtin version" >&6
3626 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3627 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3628 { (exit 1); exit 1; }; }
3635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3638 # Check whether --enable-shared or --disable-shared was given.
3639 if test "${enable_shared+set}" = set; then
3640 enableval
="$enable_shared"
3642 if test "$enableval" = yes; then
3643 ac_cv_use_shared
='wxUSE_SHARED=yes'
3645 ac_cv_use_shared
='wxUSE_SHARED=no'
3650 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x
; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3661 eval "$ac_cv_use_shared"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_SHARED" = yes; then
3667 echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3677 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3679 # Check whether --enable-optimise or --disable-optimise was given.
3680 if test "${enable_optimise+set}" = set; then
3681 enableval
="$enable_optimise"
3683 if test "$enableval" = yes; then
3684 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3686 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3691 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3702 eval "$ac_cv_use_optimise"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_OPTIMISE" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3718 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3720 # Check whether --enable-debug or --disable-debug was given.
3721 if test "${enable_debug+set}" = set; then
3722 enableval
="$enable_debug"
3724 if test "$enableval" = yes; then
3725 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3727 ac_cv_use_debug
='wxUSE_DEBUG=no'
3732 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x
; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3743 eval "$ac_cv_use_debug"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_DEBUG" = yes; then
3749 echo "$as_me:$LINENO: result: yes" >&5
3750 echo "${ECHO_T}yes" >&6
3752 echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6
3758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3759 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3761 # Check whether --enable-stl or --disable-stl was given.
3762 if test "${enable_stl+set}" = set; then
3763 enableval
="$enable_stl"
3765 if test "$enableval" = yes; then
3766 ac_cv_use_stl
='wxUSE_STL=yes'
3768 ac_cv_use_stl
='wxUSE_STL=no'
3773 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3774 if test "x$LINE" != x
; then
3775 eval "DEFAULT_$LINE"
3780 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3784 eval "$ac_cv_use_stl"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_STL" = yes; then
3790 echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3797 if test "$USE_OS2" = "1"; then
3798 DEFAULT_wxUSE_OMF
=no
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3804 # Check whether --enable-omf or --disable-omf was given.
3805 if test "${enable_omf+set}" = set; then
3806 enableval
="$enable_omf"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_omf
='wxUSE_OMF=yes'
3811 ac_cv_use_omf
='wxUSE_OMF=no'
3816 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3827 eval "$ac_cv_use_omf"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_OMF" = 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 if test "$wxUSE_DEBUG" = "yes"; then
3843 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3844 DEFAULT_wxUSE_DEBUG_INFO
=yes
3846 elif test "$wxUSE_DEBUG" = "no"; then
3847 DEFAULT_wxUSE_DEBUG_FLAG
=no
3848 DEFAULT_wxUSE_DEBUG_INFO
=no
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3857 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3858 if test "${enable_debug_flag+set}" = set; then
3859 enableval
="$enable_debug_flag"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3864 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3869 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x
; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3880 eval "$ac_cv_use_debug_flag"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_DEBUG_FLAG" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3898 # Check whether --enable-debug_info or --disable-debug_info was given.
3899 if test "${enable_debug_info+set}" = set; then
3900 enableval
="$enable_debug_info"
3902 if test "$enableval" = yes; then
3903 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3905 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3910 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x
; then
3912 eval "DEFAULT_$LINE"
3917 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3921 eval "$ac_cv_use_debug_info"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_DEBUG_INFO" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3939 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3940 if test "${enable_debug_gdb+set}" = set; then
3941 enableval
="$enable_debug_gdb"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3946 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3951 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3962 eval "$ac_cv_use_debug_gdb"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3967 if test "$wxUSE_DEBUG_GDB" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3980 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3981 if test "${enable_debug_cntxt+set}" = set; then
3982 enableval
="$enable_debug_cntxt"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3987 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3992 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4003 eval "$ac_cv_use_debug_cntxt"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4021 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4022 if test "${enable_mem_tracing+set}" = set; then
4023 enableval
="$enable_mem_tracing"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4028 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4033 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4044 eval "$ac_cv_use_mem_tracing"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_MEM_TRACING" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4060 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4062 # Check whether --enable-profile or --disable-profile was given.
4063 if test "${enable_profile+set}" = set; then
4064 enableval
="$enable_profile"
4066 if test "$enableval" = yes; then
4067 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4069 ac_cv_use_profile
='wxUSE_PROFILE=no'
4074 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4075 if test "x$LINE" != x
; then
4076 eval "DEFAULT_$LINE"
4081 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4085 eval "$ac_cv_use_profile"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_PROFILE" = yes; then
4091 echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4101 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4103 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4104 if test "${enable_no_rtti+set}" = set; then
4105 enableval
="$enable_no_rtti"
4107 if test "$enableval" = yes; then
4108 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4110 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4115 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x
; then
4117 eval "DEFAULT_$LINE"
4122 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4126 eval "$ac_cv_use_no_rtti"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4131 if test "$wxUSE_NO_RTTI" = yes; then
4132 echo "$as_me:$LINENO: result: yes" >&5
4133 echo "${ECHO_T}yes" >&6
4135 echo "$as_me:$LINENO: result: no" >&5
4136 echo "${ECHO_T}no" >&6
4141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4142 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4144 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4145 if test "${enable_no_exceptions+set}" = set; then
4146 enableval
="$enable_no_exceptions"
4148 if test "$enableval" = yes; then
4149 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4151 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4156 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x
; then
4158 eval "DEFAULT_$LINE"
4163 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4167 eval "$ac_cv_use_no_exceptions"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4172 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4173 echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4185 # Check whether --enable-permissive or --disable-permissive was given.
4186 if test "${enable_permissive+set}" = set; then
4187 enableval
="$enable_permissive"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4192 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4197 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4208 eval "$ac_cv_use_permissive"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_PERMISSIVE" = yes; then
4214 echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4226 # Check whether --enable-no_deps or --disable-no_deps was given.
4227 if test "${enable_no_deps+set}" = set; then
4228 enableval
="$enable_no_deps"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4233 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4238 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x
; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4249 eval "$ac_cv_use_no_deps"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4254 if test "$wxUSE_NO_DEPS" = yes; then
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4265 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4267 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4268 if test "${enable_universal_binary+set}" = set; then
4269 enableval
="$enable_universal_binary"
4271 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4275 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x
; then
4277 eval "DEFAULT_$LINE"
4278 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4281 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4286 eval "$wx_cv_use_universal_binary"
4287 if test "$no_cache" != 1; then
4288 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4291 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4292 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4298 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4300 # Check whether --enable-compat24 or --disable-compat24 was given.
4301 if test "${enable_compat24+set}" = set; then
4302 enableval
="$enable_compat24"
4304 if test "$enableval" = yes; then
4305 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4307 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4312 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4313 if test "x$LINE" != x
; then
4314 eval "DEFAULT_$LINE"
4319 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4323 eval "$ac_cv_use_compat24"
4324 if test "$no_cache" != 1; then
4325 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4328 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4329 echo "$as_me:$LINENO: result: yes" >&5
4330 echo "${ECHO_T}yes" >&6
4332 echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6
4337 enablestring
=disable
4338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4339 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4341 # Check whether --enable-compat26 or --disable-compat26 was given.
4342 if test "${enable_compat26+set}" = set; then
4343 enableval
="$enable_compat26"
4345 if test "$enableval" = yes; then
4346 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4348 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4353 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x
; then
4355 eval "DEFAULT_$LINE"
4360 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4364 eval "$ac_cv_use_compat26"
4365 if test "$no_cache" != 1; then
4366 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4369 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4370 echo "$as_me:$LINENO: result: yes" >&5
4371 echo "${ECHO_T}yes" >&6
4373 echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6
4380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4381 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4383 # Check whether --enable-rpath or --disable-rpath was given.
4384 if test "${enable_rpath+set}" = set; then
4385 enableval
="$enable_rpath"
4387 if test "$enableval" = yes; then
4388 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4390 ac_cv_use_rpath
='wxUSE_RPATH=no'
4395 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x
; then
4397 eval "DEFAULT_$LINE"
4402 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4406 eval "$ac_cv_use_rpath"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4411 if test "$wxUSE_RPATH" = yes; then
4412 echo "$as_me:$LINENO: result: yes" >&5
4413 echo "${ECHO_T}yes" >&6
4415 echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4427 # Check whether --enable-intl or --disable-intl was given.
4428 if test "${enable_intl+set}" = set; then
4429 enableval
="$enable_intl"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_intl
='wxUSE_INTL=yes'
4434 ac_cv_use_intl
='wxUSE_INTL=no'
4439 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x
; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4450 eval "$ac_cv_use_intl"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_INTL" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4468 # Check whether --enable-config or --disable-config was given.
4469 if test "${enable_config+set}" = set; then
4470 enableval
="$enable_config"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_config
='wxUSE_CONFIG=yes'
4475 ac_cv_use_config
='wxUSE_CONFIG=no'
4480 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x
; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4491 eval "$ac_cv_use_config"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_CONFIG" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4510 # Check whether --enable-protocols or --disable-protocols was given.
4511 if test "${enable_protocols+set}" = set; then
4512 enableval
="$enable_protocols"
4514 if test "$enableval" = yes; then
4515 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4517 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4522 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x
; then
4524 eval "DEFAULT_$LINE"
4529 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4533 eval "$ac_cv_use_protocols"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_PROTOCOL" = yes; then
4539 echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4551 # Check whether --enable-ftp or --disable-ftp was given.
4552 if test "${enable_ftp+set}" = set; then
4553 enableval
="$enable_ftp"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4558 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4563 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4574 eval "$ac_cv_use_ftp"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4580 echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4592 # Check whether --enable-http or --disable-http was given.
4593 if test "${enable_http+set}" = set; then
4594 enableval
="$enable_http"
4596 if test "$enableval" = yes; then
4597 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4599 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4604 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x
; then
4606 eval "DEFAULT_$LINE"
4611 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4615 eval "$ac_cv_use_http"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4621 echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4633 # Check whether --enable-fileproto or --disable-fileproto was given.
4634 if test "${enable_fileproto+set}" = set; then
4635 enableval
="$enable_fileproto"
4637 if test "$enableval" = yes; then
4638 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4640 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4645 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4646 if test "x$LINE" != x
; then
4647 eval "DEFAULT_$LINE"
4652 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4656 eval "$ac_cv_use_fileproto"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4662 echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6
4665 echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6
4671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4672 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4674 # Check whether --enable-sockets or --disable-sockets was given.
4675 if test "${enable_sockets+set}" = set; then
4676 enableval
="$enable_sockets"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4681 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4686 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x
; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4697 eval "$ac_cv_use_sockets"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4702 if test "$wxUSE_SOCKETS" = yes; then
4703 echo "$as_me:$LINENO: result: yes" >&5
4704 echo "${ECHO_T}yes" >&6
4706 echo "$as_me:$LINENO: result: no" >&5
4707 echo "${ECHO_T}no" >&6
4712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4715 # Check whether --enable-ole or --disable-ole was given.
4716 if test "${enable_ole+set}" = set; then
4717 enableval
="$enable_ole"
4719 if test "$enableval" = yes; then
4720 ac_cv_use_ole
='wxUSE_OLE=yes'
4722 ac_cv_use_ole
='wxUSE_OLE=no'
4727 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x
; then
4729 eval "DEFAULT_$LINE"
4734 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4738 eval "$ac_cv_use_ole"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4743 if test "$wxUSE_OLE" = yes; then
4744 echo "$as_me:$LINENO: result: yes" >&5
4745 echo "${ECHO_T}yes" >&6
4747 echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6
4753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4756 # Check whether --enable-dataobj or --disable-dataobj was given.
4757 if test "${enable_dataobj+set}" = set; then
4758 enableval
="$enable_dataobj"
4760 if test "$enableval" = yes; then
4761 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4763 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4768 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4769 if test "x$LINE" != x
; then
4770 eval "DEFAULT_$LINE"
4775 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4779 eval "$ac_cv_use_dataobj"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4784 if test "$wxUSE_DATAOBJ" = yes; then
4785 echo "$as_me:$LINENO: result: yes" >&5
4786 echo "${ECHO_T}yes" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4798 # Check whether --enable-ipc or --disable-ipc was given.
4799 if test "${enable_ipc+set}" = set; then
4800 enableval
="$enable_ipc"
4802 if test "$enableval" = yes; then
4803 ac_cv_use_ipc
='wxUSE_IPC=yes'
4805 ac_cv_use_ipc
='wxUSE_IPC=no'
4810 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x
; then
4812 eval "DEFAULT_$LINE"
4817 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4821 eval "$ac_cv_use_ipc"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_IPC" = yes; then
4827 echo "$as_me:$LINENO: result: yes" >&5
4828 echo "${ECHO_T}yes" >&6
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4840 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4841 if test "${enable_apple_ieee+set}" = set; then
4842 enableval
="$enable_apple_ieee"
4844 if test "$enableval" = yes; then
4845 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4847 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4852 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x
; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4863 eval "$ac_cv_use_apple_ieee"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4868 if test "$wxUSE_APPLE_IEEE" = yes; then
4869 echo "$as_me:$LINENO: result: yes" >&5
4870 echo "${ECHO_T}yes" >&6
4872 echo "$as_me:$LINENO: result: no" >&5
4873 echo "${ECHO_T}no" >&6
4878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4881 # Check whether --enable-arcstream or --disable-arcstream was given.
4882 if test "${enable_arcstream+set}" = set; then
4883 enableval
="$enable_arcstream"
4885 if test "$enableval" = yes; then
4886 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4888 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4893 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x
; then
4895 eval "DEFAULT_$LINE"
4900 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4904 eval "$ac_cv_use_arcstream"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4909 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4910 echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4922 # Check whether --enable-backtrace or --disable-backtrace was given.
4923 if test "${enable_backtrace+set}" = set; then
4924 enableval
="$enable_backtrace"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4929 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4934 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4945 eval "$ac_cv_use_backtrace"
4946 if test "$no_cache" != 1; then
4947 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4950 if test "$wxUSE_STACKWALKER" = yes; then
4951 echo "$as_me:$LINENO: result: yes" >&5
4952 echo "${ECHO_T}yes" >&6
4954 echo "$as_me:$LINENO: result: no" >&5
4955 echo "${ECHO_T}no" >&6
4960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4963 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4964 if test "${enable_catch_segvs+set}" = set; then
4965 enableval
="$enable_catch_segvs"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4970 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4975 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4986 eval "$ac_cv_use_catch_segvs"
4987 if test "$no_cache" != 1; then
4988 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4991 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4992 echo "$as_me:$LINENO: result: yes" >&5
4993 echo "${ECHO_T}yes" >&6
4995 echo "$as_me:$LINENO: result: no" >&5
4996 echo "${ECHO_T}no" >&6
5001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5004 # Check whether --enable-cmdline or --disable-cmdline was given.
5005 if test "${enable_cmdline+set}" = set; then
5006 enableval
="$enable_cmdline"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5011 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5016 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5027 eval "$ac_cv_use_cmdline"
5028 if test "$no_cache" != 1; then
5029 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5032 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5033 echo "$as_me:$LINENO: result: yes" >&5
5034 echo "${ECHO_T}yes" >&6
5036 echo "$as_me:$LINENO: result: no" >&5
5037 echo "${ECHO_T}no" >&6
5042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5043 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5045 # Check whether --enable-datetime or --disable-datetime was given.
5046 if test "${enable_datetime+set}" = set; then
5047 enableval
="$enable_datetime"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5052 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5057 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5068 eval "$ac_cv_use_datetime"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_DATETIME" = yes; then
5074 echo "$as_me:$LINENO: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5086 # Check whether --enable-debugreport or --disable-debugreport was given.
5087 if test "${enable_debugreport+set}" = set; then
5088 enableval
="$enable_debugreport"
5090 if test "$enableval" = yes; then
5091 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5093 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5098 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x
; then
5100 eval "DEFAULT_$LINE"
5105 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5109 eval "$ac_cv_use_debugreport"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_DEBUGREPORT" = yes; then
5115 echo "$as_me:$LINENO: result: yes" >&5
5116 echo "${ECHO_T}yes" >&6
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5127 # Check whether --enable-dialupman or --disable-dialupman was given.
5128 if test "${enable_dialupman+set}" = set; then
5129 enableval
="$enable_dialupman"
5131 if test "$enableval" = yes; then
5132 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5134 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5139 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x
; then
5141 eval "DEFAULT_$LINE"
5146 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5150 eval "$ac_cv_use_dialupman"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5155 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5156 echo "$as_me:$LINENO: result: yes" >&5
5157 echo "${ECHO_T}yes" >&6
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5168 # Check whether --enable-dynlib or --disable-dynlib was given.
5169 if test "${enable_dynlib+set}" = set; then
5170 enableval
="$enable_dynlib"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5175 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5180 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5191 eval "$ac_cv_use_dynlib"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5197 echo "$as_me:$LINENO: result: yes" >&5
5198 echo "${ECHO_T}yes" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5209 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5210 if test "${enable_dynamicloader+set}" = set; then
5211 enableval
="$enable_dynamicloader"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5216 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5221 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5232 eval "$ac_cv_use_dynamicloader"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5238 echo "$as_me:$LINENO: result: yes" >&5
5239 echo "${ECHO_T}yes" >&6
5241 echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6
5247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5250 # Check whether --enable-exceptions or --disable-exceptions was given.
5251 if test "${enable_exceptions+set}" = set; then
5252 enableval
="$enable_exceptions"
5254 if test "$enableval" = yes; then
5255 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5257 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5262 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x
; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5273 eval "$ac_cv_use_exceptions"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5278 if test "$wxUSE_EXCEPTIONS" = yes; then
5279 echo "$as_me:$LINENO: result: yes" >&5
5280 echo "${ECHO_T}yes" >&6
5282 echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5291 # Check whether --enable-ffile or --disable-ffile was given.
5292 if test "${enable_ffile+set}" = set; then
5293 enableval
="$enable_ffile"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5298 ac_cv_use_ffile
='wxUSE_FFILE=no'
5303 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5314 eval "$ac_cv_use_ffile"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_FFILE" = yes; then
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5332 # Check whether --enable-file or --disable-file was given.
5333 if test "${enable_file+set}" = set; then
5334 enableval
="$enable_file"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_file
='wxUSE_FILE=yes'
5339 ac_cv_use_file
='wxUSE_FILE=no'
5344 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5355 eval "$ac_cv_use_file"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5360 if test "$wxUSE_FILE" = yes; then
5361 echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5373 # Check whether --enable-filesystem or --disable-filesystem was given.
5374 if test "${enable_filesystem+set}" = set; then
5375 enableval
="$enable_filesystem"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5380 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5385 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5396 eval "$ac_cv_use_filesystem"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_FILESYSTEM" = yes; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5414 # Check whether --enable-fontmap or --disable-fontmap was given.
5415 if test "${enable_fontmap+set}" = set; then
5416 enableval
="$enable_fontmap"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5421 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5426 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5437 eval "$ac_cv_use_fontmap"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_FONTMAP" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5455 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5456 if test "${enable_fs_inet+set}" = set; then
5457 enableval
="$enable_fs_inet"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5462 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5467 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x
; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5478 eval "$ac_cv_use_fs_inet"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_FS_INET" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5496 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5497 if test "${enable_fs_zip+set}" = set; then
5498 enableval
="$enable_fs_zip"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5503 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5508 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5519 eval "$ac_cv_use_fs_zip"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_FS_ZIP" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5537 # Check whether --enable-geometry or --disable-geometry was given.
5538 if test "${enable_geometry+set}" = set; then
5539 enableval
="$enable_geometry"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5544 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5549 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x
; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5560 eval "$ac_cv_use_geometry"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_GEOMETRY" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5578 # Check whether --enable-log or --disable-log was given.
5579 if test "${enable_log+set}" = set; then
5580 enableval
="$enable_log"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_log
='wxUSE_LOG=yes'
5585 ac_cv_use_log
='wxUSE_LOG=no'
5590 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x
; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5601 eval "$ac_cv_use_log"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_LOG" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5619 # Check whether --enable-longlong or --disable-longlong was given.
5620 if test "${enable_longlong+set}" = set; then
5621 enableval
="$enable_longlong"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5626 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5631 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x
; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5642 eval "$ac_cv_use_longlong"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_LONGLONG" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5660 # Check whether --enable-mimetype or --disable-mimetype was given.
5661 if test "${enable_mimetype+set}" = set; then
5662 enableval
="$enable_mimetype"
5664 if test "$enableval" = yes; then
5665 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5667 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5672 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x
; then
5674 eval "DEFAULT_$LINE"
5679 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5683 eval "$ac_cv_use_mimetype"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_MIMETYPE" = yes; then
5689 echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5701 # Check whether --enable-mslu or --disable-mslu was given.
5702 if test "${enable_mslu+set}" = set; then
5703 enableval
="$enable_mslu"
5705 if test "$enableval" = yes; then
5706 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5708 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5713 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x
; then
5715 eval "DEFAULT_$LINE"
5720 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5724 eval "$ac_cv_use_mslu"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5729 if test "$wxUSE_UNICODE_MSLU" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5742 # Check whether --enable-snglinst or --disable-snglinst was given.
5743 if test "${enable_snglinst+set}" = set; then
5744 enableval
="$enable_snglinst"
5746 if test "$enableval" = yes; then
5747 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5749 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5754 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x
; then
5756 eval "DEFAULT_$LINE"
5761 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5765 eval "$ac_cv_use_snglinst"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5770 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5771 echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5783 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5784 if test "${enable_std_iostreams+set}" = set; then
5785 enableval
="$enable_std_iostreams"
5787 if test "$enableval" = yes; then
5788 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5790 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5795 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x
; then
5797 eval "DEFAULT_$LINE"
5802 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5806 eval "$ac_cv_use_std_iostreams"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_STD_IOSTREAM" = yes; then
5812 echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5824 # Check whether --enable-std_string or --disable-std_string was given.
5825 if test "${enable_std_string+set}" = set; then
5826 enableval
="$enable_std_string"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5831 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5836 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x
; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5847 eval "$ac_cv_use_std_string"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5852 if test "$wxUSE_STD_STRING" = yes; then
5853 echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5865 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5866 if test "${enable_stdpaths+set}" = set; then
5867 enableval
="$enable_stdpaths"
5869 if test "$enableval" = yes; then
5870 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5872 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5877 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x
; then
5879 eval "DEFAULT_$LINE"
5884 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5888 eval "$ac_cv_use_stdpaths"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5893 if test "$wxUSE_STDPATHS" = yes; then
5894 echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5906 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5907 if test "${enable_stopwatch+set}" = set; then
5908 enableval
="$enable_stopwatch"
5910 if test "$enableval" = yes; then
5911 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5913 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5918 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x
; then
5920 eval "DEFAULT_$LINE"
5925 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5929 eval "$ac_cv_use_stopwatch"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_STOPWATCH" = yes; then
5935 echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6
5938 echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6
5944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5947 # Check whether --enable-streams or --disable-streams was given.
5948 if test "${enable_streams+set}" = set; then
5949 enableval
="$enable_streams"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5954 ac_cv_use_streams
='wxUSE_STREAMS=no'
5959 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5970 eval "$ac_cv_use_streams"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5975 if test "$wxUSE_STREAMS" = yes; then
5976 echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5988 # Check whether --enable-system_options or --disable-system_options was given.
5989 if test "${enable_system_options+set}" = set; then
5990 enableval
="$enable_system_options"
5992 if test "$enableval" = yes; then
5993 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5995 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6000 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x
; then
6002 eval "DEFAULT_$LINE"
6007 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6011 eval "$ac_cv_use_system_options"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6017 echo "$as_me:$LINENO: result: yes" >&5
6018 echo "${ECHO_T}yes" >&6
6020 echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6
6026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6029 # Check whether --enable-textbuf or --disable-textbuf was given.
6030 if test "${enable_textbuf+set}" = set; then
6031 enableval
="$enable_textbuf"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6036 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6041 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x
; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6052 eval "$ac_cv_use_textbuf"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_TEXTBUFFER" = yes; then
6058 echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6070 # Check whether --enable-textfile or --disable-textfile was given.
6071 if test "${enable_textfile+set}" = set; then
6072 enableval
="$enable_textfile"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6077 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6082 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x
; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6093 eval "$ac_cv_use_textfile"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_TEXTFILE" = yes; then
6099 echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6111 # Check whether --enable-timer or --disable-timer was given.
6112 if test "${enable_timer+set}" = set; then
6113 enableval
="$enable_timer"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_timer
='wxUSE_TIMER=yes'
6118 ac_cv_use_timer
='wxUSE_TIMER=no'
6123 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x
; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6134 eval "$ac_cv_use_timer"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_TIMER" = yes; then
6140 echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6152 # Check whether --enable-unicode or --disable-unicode was given.
6153 if test "${enable_unicode+set}" = set; then
6154 enableval
="$enable_unicode"
6156 if test "$enableval" = yes; then
6157 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6159 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6164 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x
; then
6166 eval "DEFAULT_$LINE"
6171 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6175 eval "$ac_cv_use_unicode"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_UNICODE" = yes; then
6181 echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6193 # Check whether --enable-sound or --disable-sound was given.
6194 if test "${enable_sound+set}" = set; then
6195 enableval
="$enable_sound"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_sound
='wxUSE_SOUND=yes'
6200 ac_cv_use_sound
='wxUSE_SOUND=no'
6205 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x
; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6216 eval "$ac_cv_use_sound"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_SOUND" = yes; then
6222 echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6225 echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6234 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6235 if test "${enable_mediactrl+set}" = set; then
6236 enableval
="$enable_mediactrl"
6238 if test "$enableval" = yes; then
6239 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6241 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6246 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x
; then
6248 eval "DEFAULT_$LINE"
6253 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6257 eval "$ac_cv_use_mediactrl"
6258 if test "$no_cache" != 1; then
6259 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6262 if test "$wxUSE_MEDIACTRL" = yes; then
6263 echo "$as_me:$LINENO: result: yes" >&5
6264 echo "${ECHO_T}yes" >&6
6266 echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6
6272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6275 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6276 if test "${enable_gstreamer8+set}" = set; then
6277 enableval
="$enable_gstreamer8"
6279 if test "$enableval" = yes; then
6280 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6282 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6287 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x
; then
6289 eval "DEFAULT_$LINE"
6294 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6298 eval "$ac_cv_use_gstreamer8"
6299 if test "$no_cache" != 1; then
6300 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6303 if test "$wxUSE_GSTREAMER8" = yes; then
6304 echo "$as_me:$LINENO: result: yes" >&5
6305 echo "${ECHO_T}yes" >&6
6307 echo "$as_me:$LINENO: result: no" >&5
6308 echo "${ECHO_T}no" >&6
6313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6316 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6317 if test "${enable_printfposparam+set}" = set; then
6318 enableval
="$enable_printfposparam"
6320 if test "$enableval" = yes; then
6321 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6323 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6328 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6329 if test "x$LINE" != x
; then
6330 eval "DEFAULT_$LINE"
6335 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6339 eval "$ac_cv_use_printfposparam"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6344 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6345 echo "$as_me:$LINENO: result: yes" >&5
6346 echo "${ECHO_T}yes" >&6
6348 echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6
6354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6357 # Check whether --enable-zipstream or --disable-zipstream was given.
6358 if test "${enable_zipstream+set}" = set; then
6359 enableval
="$enable_zipstream"
6361 if test "$enableval" = yes; then
6362 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6364 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6369 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x
; then
6371 eval "DEFAULT_$LINE"
6376 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6380 eval "$ac_cv_use_zipstream"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6385 if test "$wxUSE_ZIPSTREAM" = yes; then
6386 echo "$as_me:$LINENO: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6
6389 echo "$as_me:$LINENO: result: no" >&5
6390 echo "${ECHO_T}no" >&6
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6399 # Check whether --enable-url or --disable-url was given.
6400 if test "${enable_url+set}" = set; then
6401 enableval
="$enable_url"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_url
='wxUSE_URL=yes'
6406 ac_cv_use_url
='wxUSE_URL=no'
6411 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x
; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6422 eval "$ac_cv_use_url"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6427 if test "$wxUSE_URL" = 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
6437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6438 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6440 # Check whether --enable-protocol or --disable-protocol was given.
6441 if test "${enable_protocol+set}" = set; then
6442 enableval
="$enable_protocol"
6444 if test "$enableval" = yes; then
6445 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6447 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6452 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6453 if test "x$LINE" != x
; then
6454 eval "DEFAULT_$LINE"
6459 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6463 eval "$ac_cv_use_protocol"
6464 if test "$no_cache" != 1; then
6465 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6468 if test "$wxUSE_PROTOCOL" = yes; then
6469 echo "$as_me:$LINENO: result: yes" >&5
6470 echo "${ECHO_T}yes" >&6
6472 echo "$as_me:$LINENO: result: no" >&5
6473 echo "${ECHO_T}no" >&6
6478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6479 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6481 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6482 if test "${enable_protocol_http+set}" = set; then
6483 enableval
="$enable_protocol_http"
6485 if test "$enableval" = yes; then
6486 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6488 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6493 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6494 if test "x$LINE" != x
; then
6495 eval "DEFAULT_$LINE"
6500 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6504 eval "$ac_cv_use_protocol_http"
6505 if test "$no_cache" != 1; then
6506 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6509 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6510 echo "$as_me:$LINENO: result: yes" >&5
6511 echo "${ECHO_T}yes" >&6
6513 echo "$as_me:$LINENO: result: no" >&5
6514 echo "${ECHO_T}no" >&6
6519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6520 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6522 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6523 if test "${enable_protocol_ftp+set}" = set; then
6524 enableval
="$enable_protocol_ftp"
6526 if test "$enableval" = yes; then
6527 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6529 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6534 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6535 if test "x$LINE" != x
; then
6536 eval "DEFAULT_$LINE"
6541 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6545 eval "$ac_cv_use_protocol_ftp"
6546 if test "$no_cache" != 1; then
6547 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6550 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6551 echo "$as_me:$LINENO: result: yes" >&5
6552 echo "${ECHO_T}yes" >&6
6554 echo "$as_me:$LINENO: result: no" >&5
6555 echo "${ECHO_T}no" >&6
6560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6563 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6564 if test "${enable_protocol_file+set}" = set; then
6565 enableval
="$enable_protocol_file"
6567 if test "$enableval" = yes; then
6568 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6570 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6575 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6576 if test "x$LINE" != x
; then
6577 eval "DEFAULT_$LINE"
6582 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6586 eval "$ac_cv_use_protocol_file"
6587 if test "$no_cache" != 1; then
6588 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6591 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6592 echo "$as_me:$LINENO: result: yes" >&5
6593 echo "${ECHO_T}yes" >&6
6595 echo "$as_me:$LINENO: result: no" >&5
6596 echo "${ECHO_T}no" >&6
6604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6607 # Check whether --enable-threads or --disable-threads was given.
6608 if test "${enable_threads+set}" = set; then
6609 enableval
="$enable_threads"
6611 if test "$enableval" = yes; then
6612 ac_cv_use_threads
='wxUSE_THREADS=yes'
6614 ac_cv_use_threads
='wxUSE_THREADS=no'
6619 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x
; then
6621 eval "DEFAULT_$LINE"
6626 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6630 eval "$ac_cv_use_threads"
6631 if test "$no_cache" != 1; then
6632 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6635 if test "$wxUSE_THREADS" = yes; then
6636 echo "$as_me:$LINENO: result: yes" >&5
6637 echo "${ECHO_T}yes" >&6
6639 echo "$as_me:$LINENO: result: no" >&5
6640 echo "${ECHO_T}no" >&6
6644 if test "$wxUSE_GUI" = "yes"; then
6649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6652 # Check whether --enable-docview or --disable-docview was given.
6653 if test "${enable_docview+set}" = set; then
6654 enableval
="$enable_docview"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6659 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6664 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6675 eval "$ac_cv_use_docview"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6681 echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6693 # Check whether --enable-help or --disable-help was given.
6694 if test "${enable_help+set}" = set; then
6695 enableval
="$enable_help"
6697 if test "$enableval" = yes; then
6698 ac_cv_use_help
='wxUSE_HELP=yes'
6700 ac_cv_use_help
='wxUSE_HELP=no'
6705 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x
; then
6707 eval "DEFAULT_$LINE"
6712 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6716 eval "$ac_cv_use_help"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_HELP" = yes; then
6722 echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6
6725 echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6
6731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6734 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6735 if test "${enable_mshtmlhelp+set}" = set; then
6736 enableval
="$enable_mshtmlhelp"
6738 if test "$enableval" = yes; then
6739 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6741 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6746 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x
; then
6748 eval "DEFAULT_$LINE"
6753 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6757 eval "$ac_cv_use_mshtmlhelp"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_MS_HTML_HELP" = yes; then
6763 echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6775 # Check whether --enable-html or --disable-html was given.
6776 if test "${enable_html+set}" = set; then
6777 enableval
="$enable_html"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_html
='wxUSE_HTML=yes'
6782 ac_cv_use_html
='wxUSE_HTML=no'
6787 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6798 eval "$ac_cv_use_html"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_HTML" = yes; then
6804 echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6816 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6817 if test "${enable_htmlhelp+set}" = set; then
6818 enableval
="$enable_htmlhelp"
6820 if test "$enableval" = yes; then
6821 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6823 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6828 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6829 if test "x$LINE" != x
; then
6830 eval "DEFAULT_$LINE"
6835 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6839 eval "$ac_cv_use_htmlhelp"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6844 if test "$wxUSE_WXHTML_HELP" = yes; then
6845 echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6
6848 echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6
6854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6857 # Check whether --enable-xrc or --disable-xrc was given.
6858 if test "${enable_xrc+set}" = set; then
6859 enableval
="$enable_xrc"
6861 if test "$enableval" = yes; then
6862 ac_cv_use_xrc
='wxUSE_XRC=yes'
6864 ac_cv_use_xrc
='wxUSE_XRC=no'
6869 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x
; then
6871 eval "DEFAULT_$LINE"
6876 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6880 eval "$ac_cv_use_xrc"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_XRC" = yes; then
6886 echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6
6889 echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6898 # Check whether --enable-aui or --disable-aui was given.
6899 if test "${enable_aui+set}" = set; then
6900 enableval
="$enable_aui"
6902 if test "$enableval" = yes; then
6903 ac_cv_use_aui
='wxUSE_AUI=yes'
6905 ac_cv_use_aui
='wxUSE_AUI=no'
6910 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x
; then
6912 eval "DEFAULT_$LINE"
6917 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
6921 eval "$ac_cv_use_aui"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_AUI" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6939 # Check whether --enable-constraints or --disable-constraints was given.
6940 if test "${enable_constraints+set}" = set; then
6941 enableval
="$enable_constraints"
6943 if test "$enableval" = yes; then
6944 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6946 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6951 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x
; then
6953 eval "DEFAULT_$LINE"
6958 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6962 eval "$ac_cv_use_constraints"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_CONSTRAINTS" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6980 # Check whether --enable-printarch or --disable-printarch was given.
6981 if test "${enable_printarch+set}" = set; then
6982 enableval
="$enable_printarch"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6987 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6992 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x
; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7003 eval "$ac_cv_use_printarch"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7021 # Check whether --enable-mdi or --disable-mdi was given.
7022 if test "${enable_mdi+set}" = set; then
7023 enableval
="$enable_mdi"
7025 if test "$enableval" = yes; then
7026 ac_cv_use_mdi
='wxUSE_MDI=yes'
7028 ac_cv_use_mdi
='wxUSE_MDI=no'
7033 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x
; then
7035 eval "DEFAULT_$LINE"
7040 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7044 eval "$ac_cv_use_mdi"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_MDI" = yes; then
7050 echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7062 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7063 if test "${enable_mdidoc+set}" = set; then
7064 enableval
="$enable_mdidoc"
7066 if test "$enableval" = yes; then
7067 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7069 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7074 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x
; then
7076 eval "DEFAULT_$LINE"
7081 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7085 eval "$ac_cv_use_mdidoc"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7091 echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6
7094 echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6
7100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7103 # Check whether --enable-loggui or --disable-loggui was given.
7104 if test "${enable_loggui+set}" = set; then
7105 enableval
="$enable_loggui"
7107 if test "$enableval" = yes; then
7108 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7110 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7115 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x
; then
7117 eval "DEFAULT_$LINE"
7122 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7126 eval "$ac_cv_use_loggui"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7131 if test "$wxUSE_LOGGUI" = yes; then
7132 echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6
7135 echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6
7141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7144 # Check whether --enable-logwin or --disable-logwin was given.
7145 if test "${enable_logwin+set}" = set; then
7146 enableval
="$enable_logwin"
7148 if test "$enableval" = yes; then
7149 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7151 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7156 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x
; then
7158 eval "DEFAULT_$LINE"
7163 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7167 eval "$ac_cv_use_logwin"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_LOGWINDOW" = yes; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7176 echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6
7182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7185 # Check whether --enable-logdialog or --disable-logdialog was given.
7186 if test "${enable_logdialog+set}" = set; then
7187 enableval
="$enable_logdialog"
7189 if test "$enableval" = yes; then
7190 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7192 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7197 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7198 if test "x$LINE" != x
; then
7199 eval "DEFAULT_$LINE"
7204 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7208 eval "$ac_cv_use_logdialog"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_LOGDIALOG" = yes; then
7214 echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7226 # Check whether --enable-webkit or --disable-webkit was given.
7227 if test "${enable_webkit+set}" = set; then
7228 enableval
="$enable_webkit"
7230 if test "$enableval" = yes; then
7231 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7233 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7238 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x
; then
7240 eval "DEFAULT_$LINE"
7245 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7249 eval "$ac_cv_use_webkit"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_WEBKIT" = yes; then
7255 echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6
7258 echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7267 # Check whether --enable-html or --disable-html was given.
7268 if test "${enable_html+set}" = set; then
7269 enableval
="$enable_html"
7271 if test "$enableval" = yes; then
7272 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7274 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7279 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x
; then
7281 eval "DEFAULT_$LINE"
7286 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7290 eval "$ac_cv_use_html"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_RICHTEXT" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7307 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7309 # Check whether --enable-postscript or --disable-postscript was given.
7310 if test "${enable_postscript+set}" = set; then
7311 enableval
="$enable_postscript"
7313 if test "$enableval" = yes; then
7314 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7316 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7321 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7322 if test "x$LINE" != x
; then
7323 eval "DEFAULT_$LINE"
7328 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7332 eval "$ac_cv_use_postscript"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7337 if test "$wxUSE_POSTSCRIPT" = yes; then
7338 echo "$as_me:$LINENO: result: yes" >&5
7339 echo "${ECHO_T}yes" >&6
7341 echo "$as_me:$LINENO: result: no" >&5
7342 echo "${ECHO_T}no" >&6
7350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7351 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7353 # Check whether --enable-prologio or --disable-prologio was given.
7354 if test "${enable_prologio+set}" = set; then
7355 enableval
="$enable_prologio"
7357 if test "$enableval" = yes; then
7358 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7360 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7365 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7366 if test "x$LINE" != x
; then
7367 eval "DEFAULT_$LINE"
7372 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7376 eval "$ac_cv_use_prologio"
7377 if test "$no_cache" != 1; then
7378 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7381 if test "$wxUSE_PROLOGIO" = yes; then
7382 echo "$as_me:$LINENO: result: yes" >&5
7383 echo "${ECHO_T}yes" >&6
7385 echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6
7391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7394 # Check whether --enable-resources or --disable-resources was given.
7395 if test "${enable_resources+set}" = set; then
7396 enableval
="$enable_resources"
7398 if test "$enableval" = yes; then
7399 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7401 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7406 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7407 if test "x$LINE" != x
; then
7408 eval "DEFAULT_$LINE"
7413 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7417 eval "$ac_cv_use_resources"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_RESOURCES" = yes; then
7423 echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6
7426 echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6
7434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7437 # Check whether --enable-clipboard or --disable-clipboard was given.
7438 if test "${enable_clipboard+set}" = set; then
7439 enableval
="$enable_clipboard"
7441 if test "$enableval" = yes; then
7442 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7444 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7449 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x
; then
7451 eval "DEFAULT_$LINE"
7456 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7460 eval "$ac_cv_use_clipboard"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7465 if test "$wxUSE_CLIPBOARD" = yes; then
7466 echo "$as_me:$LINENO: result: yes" >&5
7467 echo "${ECHO_T}yes" >&6
7469 echo "$as_me:$LINENO: result: no" >&5
7470 echo "${ECHO_T}no" >&6
7475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7478 # Check whether --enable-dnd or --disable-dnd was given.
7479 if test "${enable_dnd+set}" = set; then
7480 enableval
="$enable_dnd"
7482 if test "$enableval" = yes; then
7483 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7485 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7490 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x
; then
7492 eval "DEFAULT_$LINE"
7497 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7501 eval "$ac_cv_use_dnd"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7506 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7519 # Check whether --enable-metafile or --disable-metafile was given.
7520 if test "${enable_metafile+set}" = set; then
7521 enableval
="$enable_metafile"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7526 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7531 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x
; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7542 eval "$ac_cv_use_metafile"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_METAFILE" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7563 # Check whether --enable-controls or --disable-controls was given.
7564 if test "${enable_controls+set}" = set; then
7565 enableval
="$enable_controls"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7570 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7575 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7586 eval "$ac_cv_use_controls"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_CONTROLS" = 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
7600 if test "$wxUSE_CONTROLS" = "yes"; then
7601 DEFAULT_wxUSE_ACCEL
=yes
7602 DEFAULT_wxUSE_BMPBUTTON
=yes
7603 DEFAULT_wxUSE_BUTTON
=yes
7604 DEFAULT_wxUSE_CALCTRL
=yes
7605 DEFAULT_wxUSE_CARET
=yes
7606 DEFAULT_wxUSE_COMBOBOX
=yes
7607 DEFAULT_wxUSE_CHECKBOX
=yes
7608 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7609 DEFAULT_wxUSE_CHOICE
=yes
7610 DEFAULT_wxUSE_CHOICEBOOK
=yes
7611 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7612 DEFAULT_wxUSE_COMBOBOX
=yes
7613 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7614 DEFAULT_wxUSE_DISPLAY
=yes
7615 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7616 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7617 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7618 DEFAULT_wxUSE_GAUGE
=yes
7619 DEFAULT_wxUSE_GRID
=yes
7620 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7621 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7622 DEFAULT_wxUSE_IMAGLIST
=yes
7623 DEFAULT_wxUSE_LISTBOOK
=yes
7624 DEFAULT_wxUSE_LISTBOX
=yes
7625 DEFAULT_wxUSE_LISTCTRL
=yes
7626 DEFAULT_wxUSE_NOTEBOOK
=yes
7627 DEFAULT_wxUSE_RADIOBOX
=yes
7628 DEFAULT_wxUSE_RADIOBTN
=yes
7629 DEFAULT_wxUSE_SASH
=yes
7630 DEFAULT_wxUSE_SCROLLBAR
=yes
7631 DEFAULT_wxUSE_SLIDER
=yes
7632 DEFAULT_wxUSE_SPINBTN
=yes
7633 DEFAULT_wxUSE_SPINCTRL
=yes
7634 DEFAULT_wxUSE_SPLITTER
=yes
7635 DEFAULT_wxUSE_STATBMP
=yes
7636 DEFAULT_wxUSE_STATBOX
=yes
7637 DEFAULT_wxUSE_STATLINE
=yes
7638 DEFAULT_wxUSE_STATUSBAR
=yes
7639 DEFAULT_wxUSE_TAB_DIALOG
=yes
7640 DEFAULT_wxUSE_TOGGLEBTN
=yes
7641 DEFAULT_wxUSE_TOOLBAR
=yes
7642 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7643 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7644 DEFAULT_wxUSE_TOOLTIPS
=yes
7645 DEFAULT_wxUSE_TREEBOOK
=yes
7646 DEFAULT_wxUSE_TOOLBOOK
=yes
7647 DEFAULT_wxUSE_TREECTRL
=yes
7648 DEFAULT_wxUSE_POPUPWIN
=yes
7649 DEFAULT_wxUSE_TIPWINDOW
=yes
7650 elif test "$wxUSE_CONTROLS" = "no"; then
7651 DEFAULT_wxUSE_ACCEL
=no
7652 DEFAULT_wxUSE_BMPBUTTON
=no
7653 DEFAULT_wxUSE_BUTTON
=no
7654 DEFAULT_wxUSE_CALCTRL
=no
7655 DEFAULT_wxUSE_CARET
=no
7656 DEFAULT_wxUSE_COMBOBOX
=no
7657 DEFAULT_wxUSE_CHECKBOX
=no
7658 DEFAULT_wxUSE_CHECKLISTBOX
=no
7659 DEFAULT_wxUSE_CHOICE
=no
7660 DEFAULT_wxUSE_CHOICEBOOK
=no
7661 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7662 DEFAULT_wxUSE_COMBOBOX
=no
7663 DEFAULT_wxUSE_DATEPICKCTRL
=no
7664 DEFAULT_wxUSE_DISPLAY
=no
7665 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7666 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7667 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7668 DEFAULT_wxUSE_GAUGE
=no
7669 DEFAULT_wxUSE_GRID
=no
7670 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7671 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7672 DEFAULT_wxUSE_IMAGLIST
=no
7673 DEFAULT_wxUSE_LISTBOOK
=no
7674 DEFAULT_wxUSE_LISTBOX
=no
7675 DEFAULT_wxUSE_LISTCTRL
=no
7676 DEFAULT_wxUSE_NOTEBOOK
=no
7677 DEFAULT_wxUSE_RADIOBOX
=no
7678 DEFAULT_wxUSE_RADIOBTN
=no
7679 DEFAULT_wxUSE_SASH
=no
7680 DEFAULT_wxUSE_SCROLLBAR
=no
7681 DEFAULT_wxUSE_SLIDER
=no
7682 DEFAULT_wxUSE_SPINBTN
=no
7683 DEFAULT_wxUSE_SPINCTRL
=no
7684 DEFAULT_wxUSE_SPLITTER
=no
7685 DEFAULT_wxUSE_STATBMP
=no
7686 DEFAULT_wxUSE_STATBOX
=no
7687 DEFAULT_wxUSE_STATLINE
=no
7688 DEFAULT_wxUSE_STATUSBAR
=no
7689 DEFAULT_wxUSE_TAB_DIALOG
=no
7690 DEFAULT_wxUSE_TOGGLEBTN
=no
7691 DEFAULT_wxUSE_TOOLBAR
=no
7692 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7693 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7694 DEFAULT_wxUSE_TOOLTIPS
=no
7695 DEFAULT_wxUSE_TREEBOOK
=no
7696 DEFAULT_wxUSE_TOOLBOOK
=no
7697 DEFAULT_wxUSE_TREECTRL
=no
7698 DEFAULT_wxUSE_POPUPWIN
=no
7699 DEFAULT_wxUSE_TIPWINDOW
=no
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7707 # Check whether --enable-accel or --disable-accel was given.
7708 if test "${enable_accel+set}" = set; then
7709 enableval
="$enable_accel"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7714 ac_cv_use_accel
='wxUSE_ACCEL=no'
7719 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x
; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7730 eval "$ac_cv_use_accel"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7735 if test "$wxUSE_ACCEL" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7748 # Check whether --enable-button or --disable-button was given.
7749 if test "${enable_button+set}" = set; then
7750 enableval
="$enable_button"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_button
='wxUSE_BUTTON=yes'
7755 ac_cv_use_button
='wxUSE_BUTTON=no'
7760 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7771 eval "$ac_cv_use_button"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_BUTTON" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7789 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7790 if test "${enable_bmpbutton+set}" = set; then
7791 enableval
="$enable_bmpbutton"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7796 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7801 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x
; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7812 eval "$ac_cv_use_bmpbutton"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_BMPBUTTON" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7830 # Check whether --enable-calendar or --disable-calendar was given.
7831 if test "${enable_calendar+set}" = set; then
7832 enableval
="$enable_calendar"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7837 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7842 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x
; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7853 eval "$ac_cv_use_calendar"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_CALCTRL" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7871 # Check whether --enable-caret or --disable-caret was given.
7872 if test "${enable_caret+set}" = set; then
7873 enableval
="$enable_caret"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_caret
='wxUSE_CARET=yes'
7878 ac_cv_use_caret
='wxUSE_CARET=no'
7883 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7894 eval "$ac_cv_use_caret"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_CARET" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7912 # Check whether --enable-checkbox or --disable-checkbox was given.
7913 if test "${enable_checkbox+set}" = set; then
7914 enableval
="$enable_checkbox"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7919 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7924 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x
; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7935 eval "$ac_cv_use_checkbox"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_CHECKBOX" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7953 # Check whether --enable-checklst or --disable-checklst was given.
7954 if test "${enable_checklst+set}" = set; then
7955 enableval
="$enable_checklst"
7957 if test "$enableval" = yes; then
7958 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7960 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7965 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x
; then
7967 eval "DEFAULT_$LINE"
7972 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7976 eval "$ac_cv_use_checklst"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_CHECKLST" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7994 # Check whether --enable-choice or --disable-choice was given.
7995 if test "${enable_choice+set}" = set; then
7996 enableval
="$enable_choice"
7998 if test "$enableval" = yes; then
7999 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8001 ac_cv_use_choice
='wxUSE_CHOICE=no'
8006 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x
; then
8008 eval "DEFAULT_$LINE"
8013 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8017 eval "$ac_cv_use_choice"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8022 if test "$wxUSE_CHOICE" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8035 # Check whether --enable-choicebook or --disable-choicebook was given.
8036 if test "${enable_choicebook+set}" = set; then
8037 enableval
="$enable_choicebook"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8042 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8047 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x
; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8058 eval "$ac_cv_use_choicebook"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_CHOICEBOOK" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8076 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8077 if test "${enable_colourpicker+set}" = set; then
8078 enableval
="$enable_colourpicker"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8083 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8088 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8099 eval "$ac_cv_use_colourpicker"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8104 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8115 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8117 # Check whether --enable-combobox or --disable-combobox was given.
8118 if test "${enable_combobox+set}" = set; then
8119 enableval
="$enable_combobox"
8121 if test "$enableval" = yes; then
8122 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8124 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8129 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x
; then
8131 eval "DEFAULT_$LINE"
8136 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8140 eval "$ac_cv_use_combobox"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8145 if test "$wxUSE_COMBOBOX" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147 echo "${ECHO_T}yes" >&6
8149 echo "$as_me:$LINENO: result: no" >&5
8150 echo "${ECHO_T}no" >&6
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8156 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8158 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8159 if test "${enable_comboctrl+set}" = set; then
8160 enableval
="$enable_comboctrl"
8162 if test "$enableval" = yes; then
8163 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8165 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8170 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x
; then
8172 eval "DEFAULT_$LINE"
8177 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8181 eval "$ac_cv_use_comboctrl"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8186 if test "$wxUSE_COMBOCTRL" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188 echo "${ECHO_T}yes" >&6
8190 echo "$as_me:$LINENO: result: no" >&5
8191 echo "${ECHO_T}no" >&6
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8199 # Check whether --enable-datepick or --disable-datepick was given.
8200 if test "${enable_datepick+set}" = set; then
8201 enableval
="$enable_datepick"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8206 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8211 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8222 eval "$ac_cv_use_datepick"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_DATEPICKCTRL" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8240 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8241 if test "${enable_dirpicker+set}" = set; then
8242 enableval
="$enable_dirpicker"
8244 if test "$enableval" = yes; then
8245 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8247 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8252 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x
; then
8254 eval "DEFAULT_$LINE"
8259 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8263 eval "$ac_cv_use_dirpicker"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8268 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270 echo "${ECHO_T}yes" >&6
8272 echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8279 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8281 # Check whether --enable-display or --disable-display was given.
8282 if test "${enable_display+set}" = set; then
8283 enableval
="$enable_display"
8285 if test "$enableval" = yes; then
8286 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8288 ac_cv_use_display
='wxUSE_DISPLAY=no'
8293 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x
; then
8295 eval "DEFAULT_$LINE"
8300 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8304 eval "$ac_cv_use_display"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8309 if test "$wxUSE_DISPLAY" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311 echo "${ECHO_T}yes" >&6
8313 echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8322 # Check whether --enable-filepicker or --disable-filepicker was given.
8323 if test "${enable_filepicker+set}" = set; then
8324 enableval
="$enable_filepicker"
8326 if test "$enableval" = yes; then
8327 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8329 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8334 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x
; then
8336 eval "DEFAULT_$LINE"
8341 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8345 eval "$ac_cv_use_filepicker"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8350 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8354 echo "$as_me:$LINENO: result: no" >&5
8355 echo "${ECHO_T}no" >&6
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8363 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8364 if test "${enable_fontpicker+set}" = set; then
8365 enableval
="$enable_fontpicker"
8367 if test "$enableval" = yes; then
8368 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8370 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8375 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x
; then
8377 eval "DEFAULT_$LINE"
8382 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8386 eval "$ac_cv_use_fontpicker"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8391 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393 echo "${ECHO_T}yes" >&6
8395 echo "$as_me:$LINENO: result: no" >&5
8396 echo "${ECHO_T}no" >&6
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8404 # Check whether --enable-gauge or --disable-gauge was given.
8405 if test "${enable_gauge+set}" = set; then
8406 enableval
="$enable_gauge"
8408 if test "$enableval" = yes; then
8409 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8411 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8416 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x
; then
8418 eval "DEFAULT_$LINE"
8423 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8427 eval "$ac_cv_use_gauge"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8432 if test "$wxUSE_GAUGE" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434 echo "${ECHO_T}yes" >&6
8436 echo "$as_me:$LINENO: result: no" >&5
8437 echo "${ECHO_T}no" >&6
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8445 # Check whether --enable-grid or --disable-grid was given.
8446 if test "${enable_grid+set}" = set; then
8447 enableval
="$enable_grid"
8449 if test "$enableval" = yes; then
8450 ac_cv_use_grid
='wxUSE_GRID=yes'
8452 ac_cv_use_grid
='wxUSE_GRID=no'
8457 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x
; then
8459 eval "DEFAULT_$LINE"
8464 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8468 eval "$ac_cv_use_grid"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8473 if test "$wxUSE_GRID" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8477 echo "$as_me:$LINENO: result: no" >&5
8478 echo "${ECHO_T}no" >&6
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8486 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8487 if test "${enable_dataviewctrl+set}" = set; then
8488 enableval
="$enable_dataviewctrl"
8490 if test "$enableval" = yes; then
8491 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8493 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8498 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x
; then
8500 eval "DEFAULT_$LINE"
8505 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8509 eval "$ac_cv_use_dataviewctrl"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8514 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8525 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8527 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8528 if test "${enable_hyperlink+set}" = set; then
8529 enableval
="$enable_hyperlink"
8531 if test "$enableval" = yes; then
8532 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8534 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8539 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x
; then
8541 eval "DEFAULT_$LINE"
8546 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8550 eval "$ac_cv_use_hyperlink"
8551 if test "$no_cache" != 1; then
8552 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8555 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8556 echo "$as_me:$LINENO: result: yes" >&5
8557 echo "${ECHO_T}yes" >&6
8559 echo "$as_me:$LINENO: result: no" >&5
8560 echo "${ECHO_T}no" >&6
8565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8568 # Check whether --enable-imaglist or --disable-imaglist was given.
8569 if test "${enable_imaglist+set}" = set; then
8570 enableval
="$enable_imaglist"
8572 if test "$enableval" = yes; then
8573 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8575 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8580 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x
; then
8582 eval "DEFAULT_$LINE"
8587 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8591 eval "$ac_cv_use_imaglist"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8596 if test "$wxUSE_IMAGLIST" = yes; then
8597 echo "$as_me:$LINENO: result: yes" >&5
8598 echo "${ECHO_T}yes" >&6
8600 echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6
8606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8609 # Check whether --enable-listbook or --disable-listbook was given.
8610 if test "${enable_listbook+set}" = set; then
8611 enableval
="$enable_listbook"
8613 if test "$enableval" = yes; then
8614 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8616 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8621 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x
; then
8623 eval "DEFAULT_$LINE"
8628 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8632 eval "$ac_cv_use_listbook"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8637 if test "$wxUSE_LISTBOOK" = yes; then
8638 echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6
8641 echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6
8647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8650 # Check whether --enable-listbox or --disable-listbox was given.
8651 if test "${enable_listbox+set}" = set; then
8652 enableval
="$enable_listbox"
8654 if test "$enableval" = yes; then
8655 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8657 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8662 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x
; then
8664 eval "DEFAULT_$LINE"
8669 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8673 eval "$ac_cv_use_listbox"
8674 if test "$no_cache" != 1; then
8675 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8678 if test "$wxUSE_LISTBOX" = yes; then
8679 echo "$as_me:$LINENO: result: yes" >&5
8680 echo "${ECHO_T}yes" >&6
8682 echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6
8688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8691 # Check whether --enable-listctrl or --disable-listctrl was given.
8692 if test "${enable_listctrl+set}" = set; then
8693 enableval
="$enable_listctrl"
8695 if test "$enableval" = yes; then
8696 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8698 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8703 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x
; then
8705 eval "DEFAULT_$LINE"
8710 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8714 eval "$ac_cv_use_listctrl"
8715 if test "$no_cache" != 1; then
8716 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8719 if test "$wxUSE_LISTCTRL" = yes; then
8720 echo "$as_me:$LINENO: result: yes" >&5
8721 echo "${ECHO_T}yes" >&6
8723 echo "$as_me:$LINENO: result: no" >&5
8724 echo "${ECHO_T}no" >&6
8729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8732 # Check whether --enable-notebook or --disable-notebook was given.
8733 if test "${enable_notebook+set}" = set; then
8734 enableval
="$enable_notebook"
8736 if test "$enableval" = yes; then
8737 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8739 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8744 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x
; then
8746 eval "DEFAULT_$LINE"
8751 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8755 eval "$ac_cv_use_notebook"
8756 if test "$no_cache" != 1; then
8757 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8760 if test "$wxUSE_NOTEBOOK" = yes; then
8761 echo "$as_me:$LINENO: result: yes" >&5
8762 echo "${ECHO_T}yes" >&6
8764 echo "$as_me:$LINENO: result: no" >&5
8765 echo "${ECHO_T}no" >&6
8770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8773 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8774 if test "${enable_odcombobox+set}" = set; then
8775 enableval
="$enable_odcombobox"
8777 if test "$enableval" = yes; then
8778 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8780 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8785 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8786 if test "x$LINE" != x
; then
8787 eval "DEFAULT_$LINE"
8792 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8796 eval "$ac_cv_use_odcombobox"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8801 if test "$wxUSE_ODCOMBOBOX" = yes; then
8802 echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6
8805 echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6
8811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8814 # Check whether --enable-radiobox or --disable-radiobox was given.
8815 if test "${enable_radiobox+set}" = set; then
8816 enableval
="$enable_radiobox"
8818 if test "$enableval" = yes; then
8819 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8821 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8826 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x
; then
8828 eval "DEFAULT_$LINE"
8833 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8837 eval "$ac_cv_use_radiobox"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8842 if test "$wxUSE_RADIOBOX" = yes; then
8843 echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6
8846 echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6
8852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8855 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8856 if test "${enable_radiobtn+set}" = set; then
8857 enableval
="$enable_radiobtn"
8859 if test "$enableval" = yes; then
8860 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8862 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8867 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8868 if test "x$LINE" != x
; then
8869 eval "DEFAULT_$LINE"
8874 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8878 eval "$ac_cv_use_radiobtn"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8883 if test "$wxUSE_RADIOBTN" = yes; then
8884 echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6
8887 echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8896 # Check whether --enable-sash or --disable-sash was given.
8897 if test "${enable_sash+set}" = set; then
8898 enableval
="$enable_sash"
8900 if test "$enableval" = yes; then
8901 ac_cv_use_sash
='wxUSE_SASH=yes'
8903 ac_cv_use_sash
='wxUSE_SASH=no'
8908 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x
; then
8910 eval "DEFAULT_$LINE"
8915 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8919 eval "$ac_cv_use_sash"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_SASH" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8937 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8938 if test "${enable_scrollbar+set}" = set; then
8939 enableval
="$enable_scrollbar"
8941 if test "$enableval" = yes; then
8942 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8944 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8949 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x
; then
8951 eval "DEFAULT_$LINE"
8956 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8960 eval "$ac_cv_use_scrollbar"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_SCROLLBAR" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8978 # Check whether --enable-slider or --disable-slider was given.
8979 if test "${enable_slider+set}" = set; then
8980 enableval
="$enable_slider"
8982 if test "$enableval" = yes; then
8983 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8985 ac_cv_use_slider
='wxUSE_SLIDER=no'
8990 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x
; then
8992 eval "DEFAULT_$LINE"
8997 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9001 eval "$ac_cv_use_slider"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_SLIDER" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9019 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9020 if test "${enable_spinbtn+set}" = set; then
9021 enableval
="$enable_spinbtn"
9023 if test "$enableval" = yes; then
9024 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9026 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9031 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x
; then
9033 eval "DEFAULT_$LINE"
9038 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9042 eval "$ac_cv_use_spinbtn"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_SPINBTN" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9060 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9061 if test "${enable_spinctrl+set}" = set; then
9062 enableval
="$enable_spinctrl"
9064 if test "$enableval" = yes; then
9065 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9067 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9072 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x
; then
9074 eval "DEFAULT_$LINE"
9079 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9083 eval "$ac_cv_use_spinctrl"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_SPINCTRL" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9101 # Check whether --enable-splitter or --disable-splitter was given.
9102 if test "${enable_splitter+set}" = set; then
9103 enableval
="$enable_splitter"
9105 if test "$enableval" = yes; then
9106 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9108 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9113 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x
; then
9115 eval "DEFAULT_$LINE"
9120 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9124 eval "$ac_cv_use_splitter"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_SPLITTER" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9142 # Check whether --enable-statbmp or --disable-statbmp was given.
9143 if test "${enable_statbmp+set}" = set; then
9144 enableval
="$enable_statbmp"
9146 if test "$enableval" = yes; then
9147 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9149 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9154 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x
; then
9156 eval "DEFAULT_$LINE"
9161 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9165 eval "$ac_cv_use_statbmp"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_STATBMP" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9183 # Check whether --enable-statbox or --disable-statbox was given.
9184 if test "${enable_statbox+set}" = set; then
9185 enableval
="$enable_statbox"
9187 if test "$enableval" = yes; then
9188 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9190 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9195 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x
; then
9197 eval "DEFAULT_$LINE"
9202 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9206 eval "$ac_cv_use_statbox"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_STATBOX" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9224 # Check whether --enable-statline or --disable-statline was given.
9225 if test "${enable_statline+set}" = set; then
9226 enableval
="$enable_statline"
9228 if test "$enableval" = yes; then
9229 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9231 ac_cv_use_statline
='wxUSE_STATLINE=no'
9236 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x
; then
9238 eval "DEFAULT_$LINE"
9243 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9247 eval "$ac_cv_use_statline"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_STATLINE" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9265 # Check whether --enable-stattext or --disable-stattext was given.
9266 if test "${enable_stattext+set}" = set; then
9267 enableval
="$enable_stattext"
9269 if test "$enableval" = yes; then
9270 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9272 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9277 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x
; then
9279 eval "DEFAULT_$LINE"
9284 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9288 eval "$ac_cv_use_stattext"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_STATTEXT" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9306 # Check whether --enable-statusbar or --disable-statusbar was given.
9307 if test "${enable_statusbar+set}" = set; then
9308 enableval
="$enable_statusbar"
9310 if test "$enableval" = yes; then
9311 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9313 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9318 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x
; then
9320 eval "DEFAULT_$LINE"
9325 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9329 eval "$ac_cv_use_statusbar"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9334 if test "$wxUSE_STATUSBAR" = yes; then
9335 echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6
9338 echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6
9344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9347 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9348 if test "${enable_tabdialog+set}" = set; then
9349 enableval
="$enable_tabdialog"
9351 if test "$enableval" = yes; then
9352 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9354 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9359 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9360 if test "x$LINE" != x
; then
9361 eval "DEFAULT_$LINE"
9366 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9370 eval "$ac_cv_use_tabdialog"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9375 if test "$wxUSE_TAB_DIALOG" = yes; then
9376 echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6
9379 echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6
9385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9388 # Check whether --enable-textctrl or --disable-textctrl was given.
9389 if test "${enable_textctrl+set}" = set; then
9390 enableval
="$enable_textctrl"
9392 if test "$enableval" = yes; then
9393 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9395 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9400 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9401 if test "x$LINE" != x
; then
9402 eval "DEFAULT_$LINE"
9407 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9411 eval "$ac_cv_use_textctrl"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9416 if test "$wxUSE_TEXTCTRL" = yes; then
9417 echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6
9420 echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6
9426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9429 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9430 if test "${enable_togglebtn+set}" = set; then
9431 enableval
="$enable_togglebtn"
9433 if test "$enableval" = yes; then
9434 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9436 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9441 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9442 if test "x$LINE" != x
; then
9443 eval "DEFAULT_$LINE"
9448 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9452 eval "$ac_cv_use_togglebtn"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9457 if test "$wxUSE_TOGGLEBTN" = yes; then
9458 echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6
9461 echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6
9467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9470 # Check whether --enable-toolbar or --disable-toolbar was given.
9471 if test "${enable_toolbar+set}" = set; then
9472 enableval
="$enable_toolbar"
9474 if test "$enableval" = yes; then
9475 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9477 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9482 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9483 if test "x$LINE" != x
; then
9484 eval "DEFAULT_$LINE"
9489 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9493 eval "$ac_cv_use_toolbar"
9494 if test "$no_cache" != 1; then
9495 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9498 if test "$wxUSE_TOOLBAR" = yes; then
9499 echo "$as_me:$LINENO: result: yes" >&5
9500 echo "${ECHO_T}yes" >&6
9502 echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6
9508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9509 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9511 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9512 if test "${enable_tbarnative+set}" = set; then
9513 enableval
="$enable_tbarnative"
9515 if test "$enableval" = yes; then
9516 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9518 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9523 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9524 if test "x$LINE" != x
; then
9525 eval "DEFAULT_$LINE"
9530 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9534 eval "$ac_cv_use_tbarnative"
9535 if test "$no_cache" != 1; then
9536 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9539 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9540 echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6
9543 echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6
9549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9552 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9553 if test "${enable_tbarsmpl+set}" = set; then
9554 enableval
="$enable_tbarsmpl"
9556 if test "$enableval" = yes; then
9557 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9559 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9564 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9565 if test "x$LINE" != x
; then
9566 eval "DEFAULT_$LINE"
9571 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9575 eval "$ac_cv_use_tbarsmpl"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9580 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9581 echo "$as_me:$LINENO: result: yes" >&5
9582 echo "${ECHO_T}yes" >&6
9584 echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6
9590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9593 # Check whether --enable-treebook or --disable-treebook was given.
9594 if test "${enable_treebook+set}" = set; then
9595 enableval
="$enable_treebook"
9597 if test "$enableval" = yes; then
9598 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9600 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9605 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9606 if test "x$LINE" != x
; then
9607 eval "DEFAULT_$LINE"
9612 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9616 eval "$ac_cv_use_treebook"
9617 if test "$no_cache" != 1; then
9618 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9621 if test "$wxUSE_TREEBOOK" = yes; then
9622 echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6
9625 echo "$as_me:$LINENO: result: no" >&5
9626 echo "${ECHO_T}no" >&6
9631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9634 # Check whether --enable-toolbook or --disable-toolbook was given.
9635 if test "${enable_toolbook+set}" = set; then
9636 enableval
="$enable_toolbook"
9638 if test "$enableval" = yes; then
9639 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9641 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9646 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9647 if test "x$LINE" != x
; then
9648 eval "DEFAULT_$LINE"
9653 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9657 eval "$ac_cv_use_toolbook"
9658 if test "$no_cache" != 1; then
9659 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9662 if test "$wxUSE_TOOLBOOK" = yes; then
9663 echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6
9666 echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6
9672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9675 # Check whether --enable-treectrl or --disable-treectrl was given.
9676 if test "${enable_treectrl+set}" = set; then
9677 enableval
="$enable_treectrl"
9679 if test "$enableval" = yes; then
9680 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9682 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9687 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9688 if test "x$LINE" != x
; then
9689 eval "DEFAULT_$LINE"
9694 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9698 eval "$ac_cv_use_treectrl"
9699 if test "$no_cache" != 1; then
9700 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9703 if test "$wxUSE_TREECTRL" = yes; then
9704 echo "$as_me:$LINENO: result: yes" >&5
9705 echo "${ECHO_T}yes" >&6
9707 echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6
9713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9716 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9717 if test "${enable_tipwindow+set}" = set; then
9718 enableval
="$enable_tipwindow"
9720 if test "$enableval" = yes; then
9721 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9723 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9728 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x
; then
9730 eval "DEFAULT_$LINE"
9735 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9739 eval "$ac_cv_use_tipwindow"
9740 if test "$no_cache" != 1; then
9741 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9744 if test "$wxUSE_TIPWINDOW" = yes; then
9745 echo "$as_me:$LINENO: result: yes" >&5
9746 echo "${ECHO_T}yes" >&6
9748 echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6
9754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9757 # Check whether --enable-popupwin or --disable-popupwin was given.
9758 if test "${enable_popupwin+set}" = set; then
9759 enableval
="$enable_popupwin"
9761 if test "$enableval" = yes; then
9762 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9764 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9769 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9770 if test "x$LINE" != x
; then
9771 eval "DEFAULT_$LINE"
9776 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9780 eval "$ac_cv_use_popupwin"
9781 if test "$no_cache" != 1; then
9782 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9785 if test "$wxUSE_POPUPWIN" = yes; then
9786 echo "$as_me:$LINENO: result: yes" >&5
9787 echo "${ECHO_T}yes" >&6
9789 echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6
9797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9800 # Check whether --enable-commondlg or --disable-commondlg was given.
9801 if test "${enable_commondlg+set}" = set; then
9802 enableval
="$enable_commondlg"
9804 if test "$enableval" = yes; then
9805 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9807 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9812 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9813 if test "x$LINE" != x
; then
9814 eval "DEFAULT_$LINE"
9819 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9823 eval "$ac_cv_use_commondlg"
9824 if test "$no_cache" != 1; then
9825 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9828 if test "$wxUSE_COMMONDLGS" = yes; then
9829 echo "$as_me:$LINENO: result: yes" >&5
9830 echo "${ECHO_T}yes" >&6
9832 echo "$as_me:$LINENO: result: no" >&5
9833 echo "${ECHO_T}no" >&6
9838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9839 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9841 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9842 if test "${enable_choicedlg+set}" = set; then
9843 enableval
="$enable_choicedlg"
9845 if test "$enableval" = yes; then
9846 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9848 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9853 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9854 if test "x$LINE" != x
; then
9855 eval "DEFAULT_$LINE"
9860 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9864 eval "$ac_cv_use_choicedlg"
9865 if test "$no_cache" != 1; then
9866 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9869 if test "$wxUSE_CHOICEDLG" = yes; then
9870 echo "$as_me:$LINENO: result: yes" >&5
9871 echo "${ECHO_T}yes" >&6
9873 echo "$as_me:$LINENO: result: no" >&5
9874 echo "${ECHO_T}no" >&6
9879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9880 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9882 # Check whether --enable-coldlg or --disable-coldlg was given.
9883 if test "${enable_coldlg+set}" = set; then
9884 enableval
="$enable_coldlg"
9886 if test "$enableval" = yes; then
9887 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9889 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9894 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9895 if test "x$LINE" != x
; then
9896 eval "DEFAULT_$LINE"
9901 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9905 eval "$ac_cv_use_coldlg"
9906 if test "$no_cache" != 1; then
9907 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9910 if test "$wxUSE_COLOURDLG" = yes; then
9911 echo "$as_me:$LINENO: result: yes" >&5
9912 echo "${ECHO_T}yes" >&6
9914 echo "$as_me:$LINENO: result: no" >&5
9915 echo "${ECHO_T}no" >&6
9920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9921 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9923 # Check whether --enable-filedlg or --disable-filedlg was given.
9924 if test "${enable_filedlg+set}" = set; then
9925 enableval
="$enable_filedlg"
9927 if test "$enableval" = yes; then
9928 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9930 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9935 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9936 if test "x$LINE" != x
; then
9937 eval "DEFAULT_$LINE"
9942 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9946 eval "$ac_cv_use_filedlg"
9947 if test "$no_cache" != 1; then
9948 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9951 if test "$wxUSE_FILEDLG" = yes; then
9952 echo "$as_me:$LINENO: result: yes" >&5
9953 echo "${ECHO_T}yes" >&6
9955 echo "$as_me:$LINENO: result: no" >&5
9956 echo "${ECHO_T}no" >&6
9961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9962 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9964 # Check whether --enable-finddlg or --disable-finddlg was given.
9965 if test "${enable_finddlg+set}" = set; then
9966 enableval
="$enable_finddlg"
9968 if test "$enableval" = yes; then
9969 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9971 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9976 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9977 if test "x$LINE" != x
; then
9978 eval "DEFAULT_$LINE"
9983 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9987 eval "$ac_cv_use_finddlg"
9988 if test "$no_cache" != 1; then
9989 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9992 if test "$wxUSE_FINDREPLDLG" = yes; then
9993 echo "$as_me:$LINENO: result: yes" >&5
9994 echo "${ECHO_T}yes" >&6
9996 echo "$as_me:$LINENO: result: no" >&5
9997 echo "${ECHO_T}no" >&6
10002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10005 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10006 if test "${enable_fontdlg+set}" = set; then
10007 enableval
="$enable_fontdlg"
10009 if test "$enableval" = yes; then
10010 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10012 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10017 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10018 if test "x$LINE" != x
; then
10019 eval "DEFAULT_$LINE"
10024 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10028 eval "$ac_cv_use_fontdlg"
10029 if test "$no_cache" != 1; then
10030 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10033 if test "$wxUSE_FONTDLG" = yes; then
10034 echo "$as_me:$LINENO: result: yes" >&5
10035 echo "${ECHO_T}yes" >&6
10037 echo "$as_me:$LINENO: result: no" >&5
10038 echo "${ECHO_T}no" >&6
10043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10044 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10046 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10047 if test "${enable_dirdlg+set}" = set; then
10048 enableval
="$enable_dirdlg"
10050 if test "$enableval" = yes; then
10051 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10053 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10058 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10059 if test "x$LINE" != x
; then
10060 eval "DEFAULT_$LINE"
10065 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10069 eval "$ac_cv_use_dirdlg"
10070 if test "$no_cache" != 1; then
10071 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10074 if test "$wxUSE_DIRDLG" = yes; then
10075 echo "$as_me:$LINENO: result: yes" >&5
10076 echo "${ECHO_T}yes" >&6
10078 echo "$as_me:$LINENO: result: no" >&5
10079 echo "${ECHO_T}no" >&6
10084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10085 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10087 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10088 if test "${enable_msgdlg+set}" = set; then
10089 enableval
="$enable_msgdlg"
10091 if test "$enableval" = yes; then
10092 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10094 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10099 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10100 if test "x$LINE" != x
; then
10101 eval "DEFAULT_$LINE"
10106 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10110 eval "$ac_cv_use_msgdlg"
10111 if test "$no_cache" != 1; then
10112 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10115 if test "$wxUSE_MSGDLG" = yes; then
10116 echo "$as_me:$LINENO: result: yes" >&5
10117 echo "${ECHO_T}yes" >&6
10119 echo "$as_me:$LINENO: result: no" >&5
10120 echo "${ECHO_T}no" >&6
10125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10128 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10129 if test "${enable_numberdlg+set}" = set; then
10130 enableval
="$enable_numberdlg"
10132 if test "$enableval" = yes; then
10133 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10135 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10140 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10141 if test "x$LINE" != x
; then
10142 eval "DEFAULT_$LINE"
10147 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10151 eval "$ac_cv_use_numberdlg"
10152 if test "$no_cache" != 1; then
10153 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10156 if test "$wxUSE_NUMBERDLG" = yes; then
10157 echo "$as_me:$LINENO: result: yes" >&5
10158 echo "${ECHO_T}yes" >&6
10160 echo "$as_me:$LINENO: result: no" >&5
10161 echo "${ECHO_T}no" >&6
10166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10167 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10169 # Check whether --enable-splash or --disable-splash was given.
10170 if test "${enable_splash+set}" = set; then
10171 enableval
="$enable_splash"
10173 if test "$enableval" = yes; then
10174 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10176 ac_cv_use_splash
='wxUSE_SPLASH=no'
10181 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10182 if test "x$LINE" != x
; then
10183 eval "DEFAULT_$LINE"
10188 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10192 eval "$ac_cv_use_splash"
10193 if test "$no_cache" != 1; then
10194 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10197 if test "$wxUSE_SPLASH" = yes; then
10198 echo "$as_me:$LINENO: result: yes" >&5
10199 echo "${ECHO_T}yes" >&6
10201 echo "$as_me:$LINENO: result: no" >&5
10202 echo "${ECHO_T}no" >&6
10207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10208 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10210 # Check whether --enable-textdlg or --disable-textdlg was given.
10211 if test "${enable_textdlg+set}" = set; then
10212 enableval
="$enable_textdlg"
10214 if test "$enableval" = yes; then
10215 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10217 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10222 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10223 if test "x$LINE" != x
; then
10224 eval "DEFAULT_$LINE"
10229 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10233 eval "$ac_cv_use_textdlg"
10234 if test "$no_cache" != 1; then
10235 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10238 if test "$wxUSE_TEXTDLG" = yes; then
10239 echo "$as_me:$LINENO: result: yes" >&5
10240 echo "${ECHO_T}yes" >&6
10242 echo "$as_me:$LINENO: result: no" >&5
10243 echo "${ECHO_T}no" >&6
10248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10251 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10252 if test "${enable_tipdlg+set}" = set; then
10253 enableval
="$enable_tipdlg"
10255 if test "$enableval" = yes; then
10256 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10258 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10263 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10264 if test "x$LINE" != x
; then
10265 eval "DEFAULT_$LINE"
10270 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10274 eval "$ac_cv_use_tipdlg"
10275 if test "$no_cache" != 1; then
10276 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10279 if test "$wxUSE_STARTUP_TIPS" = yes; then
10280 echo "$as_me:$LINENO: result: yes" >&5
10281 echo "${ECHO_T}yes" >&6
10283 echo "$as_me:$LINENO: result: no" >&5
10284 echo "${ECHO_T}no" >&6
10289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10292 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10293 if test "${enable_progressdlg+set}" = set; then
10294 enableval
="$enable_progressdlg"
10296 if test "$enableval" = yes; then
10297 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10299 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10304 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10305 if test "x$LINE" != x
; then
10306 eval "DEFAULT_$LINE"
10311 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10315 eval "$ac_cv_use_progressdlg"
10316 if test "$no_cache" != 1; then
10317 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10320 if test "$wxUSE_PROGRESSDLG" = yes; then
10321 echo "$as_me:$LINENO: result: yes" >&5
10322 echo "${ECHO_T}yes" >&6
10324 echo "$as_me:$LINENO: result: no" >&5
10325 echo "${ECHO_T}no" >&6
10330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10333 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10334 if test "${enable_wizarddlg+set}" = set; then
10335 enableval
="$enable_wizarddlg"
10337 if test "$enableval" = yes; then
10338 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10340 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10345 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10346 if test "x$LINE" != x
; then
10347 eval "DEFAULT_$LINE"
10352 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10356 eval "$ac_cv_use_wizarddlg"
10357 if test "$no_cache" != 1; then
10358 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10361 if test "$wxUSE_WIZARDDLG" = yes; then
10362 echo "$as_me:$LINENO: result: yes" >&5
10363 echo "${ECHO_T}yes" >&6
10365 echo "$as_me:$LINENO: result: no" >&5
10366 echo "${ECHO_T}no" >&6
10373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10376 # Check whether --enable-menus or --disable-menus was given.
10377 if test "${enable_menus+set}" = set; then
10378 enableval
="$enable_menus"
10380 if test "$enableval" = yes; then
10381 ac_cv_use_menus
='wxUSE_MENUS=yes'
10383 ac_cv_use_menus
='wxUSE_MENUS=no'
10388 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10389 if test "x$LINE" != x
; then
10390 eval "DEFAULT_$LINE"
10395 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10399 eval "$ac_cv_use_menus"
10400 if test "$no_cache" != 1; then
10401 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10404 if test "$wxUSE_MENUS" = yes; then
10405 echo "$as_me:$LINENO: result: yes" >&5
10406 echo "${ECHO_T}yes" >&6
10408 echo "$as_me:$LINENO: result: no" >&5
10409 echo "${ECHO_T}no" >&6
10414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10417 # Check whether --enable-miniframe or --disable-miniframe was given.
10418 if test "${enable_miniframe+set}" = set; then
10419 enableval
="$enable_miniframe"
10421 if test "$enableval" = yes; then
10422 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10424 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10429 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10430 if test "x$LINE" != x
; then
10431 eval "DEFAULT_$LINE"
10436 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10440 eval "$ac_cv_use_miniframe"
10441 if test "$no_cache" != 1; then
10442 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10445 if test "$wxUSE_MINIFRAME" = yes; then
10446 echo "$as_me:$LINENO: result: yes" >&5
10447 echo "${ECHO_T}yes" >&6
10449 echo "$as_me:$LINENO: result: no" >&5
10450 echo "${ECHO_T}no" >&6
10455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10458 # Check whether --enable-tooltips or --disable-tooltips was given.
10459 if test "${enable_tooltips+set}" = set; then
10460 enableval
="$enable_tooltips"
10462 if test "$enableval" = yes; then
10463 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10465 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10470 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10471 if test "x$LINE" != x
; then
10472 eval "DEFAULT_$LINE"
10477 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10481 eval "$ac_cv_use_tooltips"
10482 if test "$no_cache" != 1; then
10483 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10486 if test "$wxUSE_TOOLTIPS" = yes; then
10487 echo "$as_me:$LINENO: result: yes" >&5
10488 echo "${ECHO_T}yes" >&6
10490 echo "$as_me:$LINENO: result: no" >&5
10491 echo "${ECHO_T}no" >&6
10496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10497 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10499 # Check whether --enable-splines or --disable-splines was given.
10500 if test "${enable_splines+set}" = set; then
10501 enableval
="$enable_splines"
10503 if test "$enableval" = yes; then
10504 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10506 ac_cv_use_splines
='wxUSE_SPLINES=no'
10511 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10512 if test "x$LINE" != x
; then
10513 eval "DEFAULT_$LINE"
10518 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10522 eval "$ac_cv_use_splines"
10523 if test "$no_cache" != 1; then
10524 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10527 if test "$wxUSE_SPLINES" = yes; then
10528 echo "$as_me:$LINENO: result: yes" >&5
10529 echo "${ECHO_T}yes" >&6
10531 echo "$as_me:$LINENO: result: no" >&5
10532 echo "${ECHO_T}no" >&6
10537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10538 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10540 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10541 if test "${enable_mousewheel+set}" = set; then
10542 enableval
="$enable_mousewheel"
10544 if test "$enableval" = yes; then
10545 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10547 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10552 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10553 if test "x$LINE" != x
; then
10554 eval "DEFAULT_$LINE"
10559 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10563 eval "$ac_cv_use_mousewheel"
10564 if test "$no_cache" != 1; then
10565 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10568 if test "$wxUSE_MOUSEWHEEL" = yes; then
10569 echo "$as_me:$LINENO: result: yes" >&5
10570 echo "${ECHO_T}yes" >&6
10572 echo "$as_me:$LINENO: result: no" >&5
10573 echo "${ECHO_T}no" >&6
10578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10579 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10581 # Check whether --enable-validators or --disable-validators was given.
10582 if test "${enable_validators+set}" = set; then
10583 enableval
="$enable_validators"
10585 if test "$enableval" = yes; then
10586 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10588 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10593 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10594 if test "x$LINE" != x
; then
10595 eval "DEFAULT_$LINE"
10600 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10604 eval "$ac_cv_use_validators"
10605 if test "$no_cache" != 1; then
10606 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10609 if test "$wxUSE_VALIDATORS" = yes; then
10610 echo "$as_me:$LINENO: result: yes" >&5
10611 echo "${ECHO_T}yes" >&6
10613 echo "$as_me:$LINENO: result: no" >&5
10614 echo "${ECHO_T}no" >&6
10619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10620 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10622 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10623 if test "${enable_busyinfo+set}" = set; then
10624 enableval
="$enable_busyinfo"
10626 if test "$enableval" = yes; then
10627 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10629 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10634 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10635 if test "x$LINE" != x
; then
10636 eval "DEFAULT_$LINE"
10641 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10645 eval "$ac_cv_use_busyinfo"
10646 if test "$no_cache" != 1; then
10647 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10650 if test "$wxUSE_BUSYINFO" = yes; then
10651 echo "$as_me:$LINENO: result: yes" >&5
10652 echo "${ECHO_T}yes" >&6
10654 echo "$as_me:$LINENO: result: no" >&5
10655 echo "${ECHO_T}no" >&6
10660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10663 # Check whether --enable-joystick or --disable-joystick was given.
10664 if test "${enable_joystick+set}" = set; then
10665 enableval
="$enable_joystick"
10667 if test "$enableval" = yes; then
10668 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10670 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10675 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10676 if test "x$LINE" != x
; then
10677 eval "DEFAULT_$LINE"
10682 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10686 eval "$ac_cv_use_joystick"
10687 if test "$no_cache" != 1; then
10688 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10691 if test "$wxUSE_JOYSTICK" = yes; then
10692 echo "$as_me:$LINENO: result: yes" >&5
10693 echo "${ECHO_T}yes" >&6
10695 echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6
10701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10702 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10704 # Check whether --enable-metafile or --disable-metafile was given.
10705 if test "${enable_metafile+set}" = set; then
10706 enableval
="$enable_metafile"
10708 if test "$enableval" = yes; then
10709 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10711 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10716 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10717 if test "x$LINE" != x
; then
10718 eval "DEFAULT_$LINE"
10723 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10727 eval "$ac_cv_use_metafile"
10728 if test "$no_cache" != 1; then
10729 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10732 if test "$wxUSE_METAFILE" = yes; then
10733 echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6
10736 echo "$as_me:$LINENO: result: no" >&5
10737 echo "${ECHO_T}no" >&6
10742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10745 # Check whether --enable-dragimage or --disable-dragimage was given.
10746 if test "${enable_dragimage+set}" = set; then
10747 enableval
="$enable_dragimage"
10749 if test "$enableval" = yes; then
10750 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10752 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10757 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10758 if test "x$LINE" != x
; then
10759 eval "DEFAULT_$LINE"
10764 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10768 eval "$ac_cv_use_dragimage"
10769 if test "$no_cache" != 1; then
10770 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10773 if test "$wxUSE_DRAGIMAGE" = yes; then
10774 echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10786 # Check whether --enable-accessibility or --disable-accessibility was given.
10787 if test "${enable_accessibility+set}" = set; then
10788 enableval
="$enable_accessibility"
10790 if test "$enableval" = yes; then
10791 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10793 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10798 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10799 if test "x$LINE" != x
; then
10800 eval "DEFAULT_$LINE"
10805 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10809 eval "$ac_cv_use_accessibility"
10810 if test "$no_cache" != 1; then
10811 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10814 if test "$wxUSE_ACCESSIBILITY" = yes; then
10815 echo "$as_me:$LINENO: result: yes" >&5
10816 echo "${ECHO_T}yes" >&6
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10823 if test "$wxUSE_MSW" = "1"; then
10826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10827 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10829 # Check whether --enable-dccache or --disable-dccache was given.
10830 if test "${enable_dccache+set}" = set; then
10831 enableval
="$enable_dccache"
10833 if test "$enableval" = yes; then
10834 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10836 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10841 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10842 if test "x$LINE" != x
; then
10843 eval "DEFAULT_$LINE"
10848 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10852 eval "$ac_cv_use_dccache"
10853 if test "$no_cache" != 1; then
10854 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10857 if test "$wxUSE_DC_CACHEING" = yes; then
10858 echo "$as_me:$LINENO: result: yes" >&5
10859 echo "${ECHO_T}yes" >&6
10861 echo "$as_me:$LINENO: result: no" >&5
10862 echo "${ECHO_T}no" >&6
10870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10871 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10873 # Check whether --enable-palette or --disable-palette was given.
10874 if test "${enable_palette+set}" = set; then
10875 enableval
="$enable_palette"
10877 if test "$enableval" = yes; then
10878 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10880 ac_cv_use_palette
='wxUSE_PALETTE=no'
10885 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10886 if test "x$LINE" != x
; then
10887 eval "DEFAULT_$LINE"
10892 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10896 eval "$ac_cv_use_palette"
10897 if test "$no_cache" != 1; then
10898 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10901 if test "$wxUSE_PALETTE" = yes; then
10902 echo "$as_me:$LINENO: result: yes" >&5
10903 echo "${ECHO_T}yes" >&6
10905 echo "$as_me:$LINENO: result: no" >&5
10906 echo "${ECHO_T}no" >&6
10911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10914 # Check whether --enable-image or --disable-image was given.
10915 if test "${enable_image+set}" = set; then
10916 enableval
="$enable_image"
10918 if test "$enableval" = yes; then
10919 ac_cv_use_image
='wxUSE_IMAGE=yes'
10921 ac_cv_use_image
='wxUSE_IMAGE=no'
10926 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x
; then
10928 eval "DEFAULT_$LINE"
10933 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10937 eval "$ac_cv_use_image"
10938 if test "$no_cache" != 1; then
10939 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10942 if test "$wxUSE_IMAGE" = yes; then
10943 echo "$as_me:$LINENO: result: yes" >&5
10944 echo "${ECHO_T}yes" >&6
10946 echo "$as_me:$LINENO: result: no" >&5
10947 echo "${ECHO_T}no" >&6
10952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10955 # Check whether --enable-gif or --disable-gif was given.
10956 if test "${enable_gif+set}" = set; then
10957 enableval
="$enable_gif"
10959 if test "$enableval" = yes; then
10960 ac_cv_use_gif
='wxUSE_GIF=yes'
10962 ac_cv_use_gif
='wxUSE_GIF=no'
10967 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x
; then
10969 eval "DEFAULT_$LINE"
10974 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10978 eval "$ac_cv_use_gif"
10979 if test "$no_cache" != 1; then
10980 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10983 if test "$wxUSE_GIF" = yes; then
10984 echo "$as_me:$LINENO: result: yes" >&5
10985 echo "${ECHO_T}yes" >&6
10987 echo "$as_me:$LINENO: result: no" >&5
10988 echo "${ECHO_T}no" >&6
10993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10996 # Check whether --enable-pcx or --disable-pcx was given.
10997 if test "${enable_pcx+set}" = set; then
10998 enableval
="$enable_pcx"
11000 if test "$enableval" = yes; then
11001 ac_cv_use_pcx
='wxUSE_PCX=yes'
11003 ac_cv_use_pcx
='wxUSE_PCX=no'
11008 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11009 if test "x$LINE" != x
; then
11010 eval "DEFAULT_$LINE"
11015 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11019 eval "$ac_cv_use_pcx"
11020 if test "$no_cache" != 1; then
11021 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11024 if test "$wxUSE_PCX" = yes; then
11025 echo "$as_me:$LINENO: result: yes" >&5
11026 echo "${ECHO_T}yes" >&6
11028 echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6
11034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11035 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11037 # Check whether --enable-iff or --disable-iff was given.
11038 if test "${enable_iff+set}" = set; then
11039 enableval
="$enable_iff"
11041 if test "$enableval" = yes; then
11042 ac_cv_use_iff
='wxUSE_IFF=yes'
11044 ac_cv_use_iff
='wxUSE_IFF=no'
11049 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11050 if test "x$LINE" != x
; then
11051 eval "DEFAULT_$LINE"
11056 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11060 eval "$ac_cv_use_iff"
11061 if test "$no_cache" != 1; then
11062 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11065 if test "$wxUSE_IFF" = yes; then
11066 echo "$as_me:$LINENO: result: yes" >&5
11067 echo "${ECHO_T}yes" >&6
11069 echo "$as_me:$LINENO: result: no" >&5
11070 echo "${ECHO_T}no" >&6
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11078 # Check whether --enable-pnm or --disable-pnm was given.
11079 if test "${enable_pnm+set}" = set; then
11080 enableval
="$enable_pnm"
11082 if test "$enableval" = yes; then
11083 ac_cv_use_pnm
='wxUSE_PNM=yes'
11085 ac_cv_use_pnm
='wxUSE_PNM=no'
11090 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x
; then
11092 eval "DEFAULT_$LINE"
11097 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11101 eval "$ac_cv_use_pnm"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11106 if test "$wxUSE_PNM" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11119 # Check whether --enable-xpm or --disable-xpm was given.
11120 if test "${enable_xpm+set}" = set; then
11121 enableval
="$enable_xpm"
11123 if test "$enableval" = yes; then
11124 ac_cv_use_xpm
='wxUSE_XPM=yes'
11126 ac_cv_use_xpm
='wxUSE_XPM=no'
11131 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11132 if test "x$LINE" != x
; then
11133 eval "DEFAULT_$LINE"
11138 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11142 eval "$ac_cv_use_xpm"
11143 if test "$no_cache" != 1; then
11144 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11147 if test "$wxUSE_XPM" = yes; then
11148 echo "$as_me:$LINENO: result: yes" >&5
11149 echo "${ECHO_T}yes" >&6
11151 echo "$as_me:$LINENO: result: no" >&5
11152 echo "${ECHO_T}no" >&6
11157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11158 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11160 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11161 if test "${enable_ico_cur+set}" = set; then
11162 enableval
="$enable_ico_cur"
11164 if test "$enableval" = yes; then
11165 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11167 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11172 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11173 if test "x$LINE" != x
; then
11174 eval "DEFAULT_$LINE"
11179 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11183 eval "$ac_cv_use_ico_cur"
11184 if test "$no_cache" != 1; then
11185 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11188 if test "$wxUSE_ICO_CUR" = yes; then
11189 echo "$as_me:$LINENO: result: yes" >&5
11190 echo "${ECHO_T}yes" >&6
11192 echo "$as_me:$LINENO: result: no" >&5
11193 echo "${ECHO_T}no" >&6
11201 # Check whether --with-flavour or --without-flavour was given.
11202 if test "${with_flavour+set}" = set; then
11203 withval
="$with_flavour"
11204 WX_FLAVOUR
="$withval"
11210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11211 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11213 # Check whether --enable-official_build or --disable-official_build was given.
11214 if test "${enable_official_build+set}" = set; then
11215 enableval
="$enable_official_build"
11217 if test "$enableval" = yes; then
11218 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11220 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11225 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11226 if test "x$LINE" != x
; then
11227 eval "DEFAULT_$LINE"
11232 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11236 eval "$ac_cv_use_official_build"
11237 if test "$no_cache" != 1; then
11238 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11241 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11242 echo "$as_me:$LINENO: result: yes" >&5
11243 echo "${ECHO_T}yes" >&6
11245 echo "$as_me:$LINENO: result: no" >&5
11246 echo "${ECHO_T}no" >&6
11249 # Check whether --enable-vendor or --disable-vendor was given.
11250 if test "${enable_vendor+set}" = set; then
11251 enableval
="$enable_vendor"
11252 VENDOR
="$enableval"
11254 if test "x$VENDOR" = "x"; then
11261 echo "saving argument cache $wx_arg_cache_file"
11262 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11266 echo "$as_me:$LINENO: checking for toolkit" >&5
11267 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11269 # In Wine, we need to default to MSW, not GTK or MOTIF
11270 if test "$wxUSE_WINE" = "yes"; then
11271 DEFAULT_DEFAULT_wxUSE_GTK
=0
11272 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11273 DEFAULT_DEFAULT_wxUSE_MSW
=1
11278 if test "$wxUSE_GUI" = "yes"; then
11280 if test "$USE_BEOS" = 1; then
11281 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11282 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11283 { (exit 1); exit 1; }; }
11286 if test "$TOOLKIT_GIVEN" = 1; then
11287 for toolkit
in `echo $ALL_TOOLKITS`; do
11289 eval "value=\$${var}"
11290 if test "x$value" = "xno"; then
11292 elif test "x$value" != "x"; then
11296 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11297 eval "wx${toolkit}_VERSION=$value"
11301 for toolkit
in `echo $ALL_TOOLKITS`; do
11302 if test "$has_toolkit_in_cache" != 1; then
11303 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11305 var
=DEFAULT_wxUSE_
$toolkit
11307 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11308 if test "x$version" != "x"; then
11309 eval "wx${toolkit}_VERSION=$version"
11312 eval "wxUSE_$toolkit=\$${var}"
11316 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11317 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11318 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11321 *-pc-os2_emx | *-pc-os2-emx )
11322 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11325 case "$NUM_TOOLKITS" in
11329 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11330 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11331 { (exit 1); exit 1; }; }
11334 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11335 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11336 { (exit 1); exit 1; }; }
11339 # to be removed when --disable-gtk2 isn't needed
11340 if test "x$wxUSE_GTK2" = "xyes"; then
11342 elif test "x$wxUSE_GTK2" = "xno"; then
11346 for toolkit
in `echo $ALL_TOOLKITS`; do
11348 eval "value=\$${var}"
11349 if test "x$value" != x
; then
11350 cache_var
=CACHE_
$toolkit
11351 eval "cache=\$${cache_var}"
11352 if test "$cache" = 1; then
11353 echo "$var=$value" >> ${wx_arg_cache_file}
11354 eval "version=\$wx${toolkit}_VERSION"
11355 if test "x$version" != "x"; then
11356 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11359 if test "$value" = 1; then
11360 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11361 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11362 echo "${ECHO_T}$toolkit_echo" >&6
11367 if test "x$host_alias" != "x"; then
11368 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11369 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11371 echo "$as_me:$LINENO: result: base only" >&5
11372 echo "${ECHO_T}base only" >&6
11377 doesnt_want_win32
=0
11380 if test "$wxUSE_MSW" = 1 ; then
11382 BAKEFILE_FORCE_PLATFORM
=win32
11384 doesnt_want_win32
=1
11392 if test "$wxUSE_WINE" = "yes"; then
11396 LDFLAGS_GUI
="-mwindows"
11399 if test "$wants_win32" = 1 ; then
11402 cat >>confdefs.h
<<\_ACEOF
11403 #define __WIN32__ 1
11406 cat >>confdefs.h
<<\_ACEOF
11407 #define __WIN95__ 1
11410 cat >>confdefs.h
<<\_ACEOF
11411 #define __WINDOWS__ 1
11414 cat >>confdefs.h
<<\_ACEOF
11415 #define __GNUWIN32__ 1
11418 cat >>confdefs.h
<<\_ACEOF
11422 cat >>confdefs.h
<<\_ACEOF
11423 #define WINVER 0x0400
11427 if test "$doesnt_want_win32" = 1 ; then
11432 if test "$USE_UNIX" = 1 ; then
11434 cat >>confdefs.h
<<\_ACEOF
11441 cat >confcache
<<\_ACEOF
11442 # This file is a shell script that caches the results of configure
11443 # tests run on this system so they can be shared between configure
11444 # scripts and configure runs, see configure's option --config-cache.
11445 # It is not useful on other systems. If it contains results you don't
11446 # want to keep, you may remove or edit it.
11448 # config.status only pays attention to the cache file if you give it
11449 # the --recheck option to rerun configure.
11451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11453 # following values.
11457 # The following way of writing the cache mishandles newlines in values,
11458 # but we know of no workaround that is simple, portable, and efficient.
11459 # So, don't put newlines in cache variables' values.
11460 # Ultrix sh set writes to stderr and can't be redirected directly,
11461 # and sets the high bit in the cache file unless we assign to the vars.
11464 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11466 # `set' does not quote correctly, so add quotes (double-quote
11467 # substitution turns \\\\ into \\, and sed turns \\ into \).
11470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11473 # `set' quotes correctly as required by POSIX, so do not add quotes.
11475 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11484 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11486 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11487 if test -w $cache_file; then
11488 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11489 cat confcache
>$cache_file
11491 echo "not updating unwritable cache $cache_file"
11501 ac_cpp
='$CPP $CPPFLAGS'
11502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11505 if test -n "$ac_tool_prefix"; then
11506 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11507 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11508 echo "$as_me:$LINENO: checking for $ac_word" >&5
11509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11510 if test "${ac_cv_prog_CC+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 if test -n "$CC"; then
11514 ac_cv_prog_CC
="$CC" # Let the user override the test.
11516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11517 for as_dir
in $PATH
11520 test -z "$as_dir" && as_dir
=.
11521 for ac_exec_ext
in '' $ac_executable_extensions; do
11522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11523 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11533 if test -n "$CC"; then
11534 echo "$as_me:$LINENO: result: $CC" >&5
11535 echo "${ECHO_T}$CC" >&6
11537 echo "$as_me:$LINENO: result: no" >&5
11538 echo "${ECHO_T}no" >&6
11542 if test -z "$ac_cv_prog_CC"; then
11544 # Extract the first word of "gcc", so it can be a program name with args.
11545 set dummy gcc
; ac_word
=$2
11546 echo "$as_me:$LINENO: checking for $ac_word" >&5
11547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 if test -n "$ac_ct_CC"; then
11552 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11555 for as_dir
in $PATH
11558 test -z "$as_dir" && as_dir
=.
11559 for ac_exec_ext
in '' $ac_executable_extensions; do
11560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11561 ac_cv_prog_ac_ct_CC
="gcc"
11562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11570 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11571 if test -n "$ac_ct_CC"; then
11572 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11573 echo "${ECHO_T}$ac_ct_CC" >&6
11575 echo "$as_me:$LINENO: result: no" >&5
11576 echo "${ECHO_T}no" >&6
11581 CC
="$ac_cv_prog_CC"
11584 if test -z "$CC"; then
11585 if test -n "$ac_tool_prefix"; then
11586 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11587 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11588 echo "$as_me:$LINENO: checking for $ac_word" >&5
11589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11590 if test "${ac_cv_prog_CC+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 if test -n "$CC"; then
11594 ac_cv_prog_CC
="$CC" # Let the user override the test.
11596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11597 for as_dir
in $PATH
11600 test -z "$as_dir" && as_dir
=.
11601 for ac_exec_ext
in '' $ac_executable_extensions; do
11602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11603 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11613 if test -n "$CC"; then
11614 echo "$as_me:$LINENO: result: $CC" >&5
11615 echo "${ECHO_T}$CC" >&6
11617 echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6
11622 if test -z "$ac_cv_prog_CC"; then
11624 # Extract the first word of "cc", so it can be a program name with args.
11625 set dummy cc
; ac_word
=$2
11626 echo "$as_me:$LINENO: checking for $ac_word" >&5
11627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 if test -n "$ac_ct_CC"; then
11632 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11635 for as_dir
in $PATH
11638 test -z "$as_dir" && as_dir
=.
11639 for ac_exec_ext
in '' $ac_executable_extensions; do
11640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11641 ac_cv_prog_ac_ct_CC
="cc"
11642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11651 if test -n "$ac_ct_CC"; then
11652 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11653 echo "${ECHO_T}$ac_ct_CC" >&6
11655 echo "$as_me:$LINENO: result: no" >&5
11656 echo "${ECHO_T}no" >&6
11661 CC
="$ac_cv_prog_CC"
11665 if test -z "$CC"; then
11666 # Extract the first word of "cc", so it can be a program name with args.
11667 set dummy cc
; ac_word
=$2
11668 echo "$as_me:$LINENO: checking for $ac_word" >&5
11669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11670 if test "${ac_cv_prog_CC+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 if test -n "$CC"; then
11674 ac_cv_prog_CC
="$CC" # Let the user override the test.
11676 ac_prog_rejected
=no
11677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11678 for as_dir
in $PATH
11681 test -z "$as_dir" && as_dir
=.
11682 for ac_exec_ext
in '' $ac_executable_extensions; do
11683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11684 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11685 ac_prog_rejected
=yes
11689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11695 if test $ac_prog_rejected = yes; then
11696 # We found a bogon in the path, so make sure we never use it.
11697 set dummy
$ac_cv_prog_CC
11699 if test $# != 0; then
11700 # We chose a different compiler from the bogus one.
11701 # However, it has the same basename, so the bogon will be chosen
11702 # first if we set CC to just the basename; use the full file name.
11704 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11710 if test -n "$CC"; then
11711 echo "$as_me:$LINENO: result: $CC" >&5
11712 echo "${ECHO_T}$CC" >&6
11714 echo "$as_me:$LINENO: result: no" >&5
11715 echo "${ECHO_T}no" >&6
11719 if test -z "$CC"; then
11720 if test -n "$ac_tool_prefix"; then
11723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11724 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11725 echo "$as_me:$LINENO: checking for $ac_word" >&5
11726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11727 if test "${ac_cv_prog_CC+set}" = set; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 if test -n "$CC"; then
11731 ac_cv_prog_CC
="$CC" # Let the user override the test.
11733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11734 for as_dir
in $PATH
11737 test -z "$as_dir" && as_dir
=.
11738 for ac_exec_ext
in '' $ac_executable_extensions; do
11739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11740 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11750 if test -n "$CC"; then
11751 echo "$as_me:$LINENO: result: $CC" >&5
11752 echo "${ECHO_T}$CC" >&6
11754 echo "$as_me:$LINENO: result: no" >&5
11755 echo "${ECHO_T}no" >&6
11758 test -n "$CC" && break
11761 if test -z "$CC"; then
11765 # Extract the first word of "$ac_prog", so it can be a program name with args.
11766 set dummy
$ac_prog; ac_word
=$2
11767 echo "$as_me:$LINENO: checking for $ac_word" >&5
11768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 if test -n "$ac_ct_CC"; then
11773 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11776 for as_dir
in $PATH
11779 test -z "$as_dir" && as_dir
=.
11780 for ac_exec_ext
in '' $ac_executable_extensions; do
11781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11782 ac_cv_prog_ac_ct_CC
="$ac_prog"
11783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11792 if test -n "$ac_ct_CC"; then
11793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11794 echo "${ECHO_T}$ac_ct_CC" >&6
11796 echo "$as_me:$LINENO: result: no" >&5
11797 echo "${ECHO_T}no" >&6
11800 test -n "$ac_ct_CC" && break
11809 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11810 See \`config.log' for more details." >&5
11811 echo "$as_me: error: no acceptable C compiler found in \$PATH
11812 See \`config.log' for more details." >&2;}
11813 { (exit 1); exit 1; }; }
11815 # Provide some information about the compiler.
11816 echo "$as_me:$LINENO:" \
11817 "checking for C compiler version" >&5
11818 ac_compiler
=`set X $ac_compile; echo $2`
11819 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11820 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }
11824 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11825 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }
11829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11830 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }
11835 cat >conftest.
$ac_ext <<_ACEOF
11838 cat confdefs.h
>>conftest.
$ac_ext
11839 cat >>conftest.
$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11850 ac_clean_files_save
=$ac_clean_files
11851 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11852 # Try to create an executable without -o first, disregard a.out.
11853 # It will help us diagnose broken compilers, and finding out an intuition
11855 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11856 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11857 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11858 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11859 (eval $ac_link_default) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); }; then
11863 # Find the output, starting from the most likely. This scheme is
11864 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11867 # Be careful to initialize this variable, since it used to be cached.
11868 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11870 # b.out is created by i960 compilers.
11871 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11873 test -f "$ac_file" || continue
11875 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11878 # This is the source file.
11881 # We found the default executable, but exeext='' is most
11885 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11886 # FIXME: I believe we export ac_cv_exeext for Libtool,
11887 # but it would be cool to find out if it's true. Does anybody
11888 # maintain Libtool? --akim.
11889 export ac_cv_exeext
11896 echo "$as_me: failed program was:" >&5
11897 sed 's/^/| /' conftest.
$ac_ext >&5
11899 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11900 See \`config.log' for more details." >&5
11901 echo "$as_me: error: C compiler cannot create executables
11902 See \`config.log' for more details." >&2;}
11903 { (exit 77); exit 77; }; }
11906 ac_exeext
=$ac_cv_exeext
11907 echo "$as_me:$LINENO: result: $ac_file" >&5
11908 echo "${ECHO_T}$ac_file" >&6
11910 # Check the compiler produces executables we can run. If not, either
11911 # the compiler is broken, or we cross compile.
11912 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11913 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11914 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11915 # If not cross compiling, check that we can run a simple program.
11916 if test "$cross_compiling" != yes; then
11917 if { ac_try
='./$ac_file'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11925 if test "$cross_compiling" = maybe
; then
11926 cross_compiling
=yes
11928 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11929 If you meant to cross compile, use \`--host'.
11930 See \`config.log' for more details." >&5
11931 echo "$as_me: error: cannot run C compiled programs.
11932 If you meant to cross compile, use \`--host'.
11933 See \`config.log' for more details." >&2;}
11934 { (exit 1); exit 1; }; }
11938 echo "$as_me:$LINENO: result: yes" >&5
11939 echo "${ECHO_T}yes" >&6
11941 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11942 ac_clean_files
=$ac_clean_files_save
11943 # Check the compiler produces executables we can run. If not, either
11944 # the compiler is broken, or we cross compile.
11945 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11946 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11947 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11948 echo "${ECHO_T}$cross_compiling" >&6
11950 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11951 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11953 (eval $ac_link) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; then
11957 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11958 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11959 # work properly (i.e., refer to `conftest.exe'), while it won't with
11961 for ac_file
in conftest.exe conftest conftest.
*; do
11962 test -f "$ac_file" || continue
11964 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11965 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11966 export ac_cv_exeext
11972 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11973 See \`config.log' for more details." >&5
11974 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11975 See \`config.log' for more details." >&2;}
11976 { (exit 1); exit 1; }; }
11979 rm -f conftest
$ac_cv_exeext
11980 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11981 echo "${ECHO_T}$ac_cv_exeext" >&6
11983 rm -f conftest.
$ac_ext
11984 EXEEXT
=$ac_cv_exeext
11986 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11987 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11988 if test "${ac_cv_objext+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 cat >conftest.
$ac_ext <<_ACEOF
11994 cat confdefs.h
>>conftest.
$ac_ext
11995 cat >>conftest.
$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
12006 rm -f conftest.o conftest.obj
12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12008 (eval $ac_compile) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); }; then
12012 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12014 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12015 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.
$ac_ext >&5
12023 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12024 See \`config.log' for more details." >&5
12025 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12026 See \`config.log' for more details." >&2;}
12027 { (exit 1); exit 1; }; }
12030 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12032 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12033 echo "${ECHO_T}$ac_cv_objext" >&6
12034 OBJEXT
=$ac_cv_objext
12036 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12037 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12038 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12039 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 cat >conftest.
$ac_ext <<_ACEOF
12044 cat confdefs.h
>>conftest.
$ac_ext
12045 cat >>conftest.
$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12059 rm -f conftest.
$ac_objext
12060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12061 (eval $ac_compile) 2>conftest.er1
12063 grep -v '^ *+' conftest.er1
>conftest.err
12065 cat conftest.err
>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } &&
12068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; } &&
12074 { ac_try
='test -s conftest.$ac_objext'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; }; then
12080 ac_compiler_gnu
=yes
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.
$ac_ext >&5
12087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12088 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12091 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12092 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12093 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12094 ac_test_CFLAGS
=${CFLAGS+set}
12095 ac_save_CFLAGS
=$CFLAGS
12097 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12098 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12099 if test "${ac_cv_prog_cc_g+set}" = set; then
12100 echo $ECHO_N "(cached) $ECHO_C" >&6
12102 cat >conftest.
$ac_ext <<_ACEOF
12105 cat confdefs.h
>>conftest.
$ac_ext
12106 cat >>conftest.
$ac_ext <<_ACEOF
12107 /* end confdefs.h. */
12117 rm -f conftest.
$ac_objext
12118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12119 (eval $ac_compile) 2>conftest.er1
12121 grep -v '^ *+' conftest.er1
>conftest.err
12123 cat conftest.err
>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } &&
12126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; } &&
12132 { ac_try
='test -s conftest.$ac_objext'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; }; then
12138 ac_cv_prog_cc_g
=yes
12140 echo "$as_me: failed program was:" >&5
12141 sed 's/^/| /' conftest.
$ac_ext >&5
12145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12147 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12148 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12149 if test "$ac_test_CFLAGS" = set; then
12150 CFLAGS
=$ac_save_CFLAGS
12151 elif test $ac_cv_prog_cc_g = yes; then
12152 if test "$GCC" = yes; then
12158 if test "$GCC" = yes; then
12164 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12165 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12166 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 ac_cv_prog_cc_stdc
=no
12171 cat >conftest.
$ac_ext <<_ACEOF
12174 cat confdefs.h
>>conftest.
$ac_ext
12175 cat >>conftest.
$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12177 #include <stdarg.h>
12179 #include <sys/types.h>
12180 #include <sys/stat.h>
12181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12182 struct buf { int x; };
12183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12184 static char *e (p, i)
12190 static char *f (char * (*g) (char **, int), char **p, ...)
12195 s = g (p, va_arg (v,int));
12200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12201 function prototypes and stuff, but not '\xHH' hex character constants.
12202 These don't provoke an error unfortunately, instead are silently treated
12203 as 'x'. The following induces an error, until -std1 is added to get
12204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12205 array size at least. It's necessary to write '\x00'==0 to get something
12206 that's true only with -std1. */
12207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12209 int test (int i, double x);
12210 struct s1 {int (*f) (int a);};
12211 struct s2 {int (*f) (double a);};
12212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12223 # Don't try gcc -ansi; that turns off useful extensions and
12224 # breaks some systems' header files.
12225 # AIX -qlanglvl=ansi
12226 # Ultrix and OSF/1 -std1
12227 # HP-UX 10.20 and later -Ae
12228 # HP-UX older versions -Aa -D_HPUX_SOURCE
12229 # SVR4 -Xc -D__EXTENSIONS__
12230 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12232 CC
="$ac_save_CC $ac_arg"
12233 rm -f conftest.
$ac_objext
12234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12235 (eval $ac_compile) 2>conftest.er1
12237 grep -v '^ *+' conftest.er1
>conftest.err
12239 cat conftest.err
>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try
='test -s conftest.$ac_objext'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; }; then
12254 ac_cv_prog_cc_stdc
=$ac_arg
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.
$ac_ext >&5
12261 rm -f conftest.err conftest.
$ac_objext
12263 rm -f conftest.
$ac_ext conftest.
$ac_objext
12268 case "x$ac_cv_prog_cc_stdc" in
12270 echo "$as_me:$LINENO: result: none needed" >&5
12271 echo "${ECHO_T}none needed" >&6 ;;
12273 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12274 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12275 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12278 # Some people use a C++ compiler to compile C. Since we use `exit',
12279 # in C++ we need to declare it. In case someone uses the same compiler
12280 # for both compiling C and C++ we need to have the C++ compiler decide
12281 # the declaration of exit, since it's the most demanding environment.
12282 cat >conftest.
$ac_ext <<_ACEOF
12283 #ifndef __cplusplus
12287 rm -f conftest.
$ac_objext
12288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12289 (eval $ac_compile) 2>conftest.er1
12291 grep -v '^ *+' conftest.er1
>conftest.err
12293 cat conftest.err
>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } &&
12296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try
='test -s conftest.$ac_objext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 for ac_declaration
in \
12310 'extern "C" void std::exit (int) throw (); using std::exit;' \
12311 'extern "C" void std::exit (int); using std::exit;' \
12312 'extern "C" void exit (int) throw ();' \
12313 'extern "C" void exit (int);' \
12316 cat >conftest.
$ac_ext <<_ACEOF
12319 cat confdefs.h
>>conftest.
$ac_ext
12320 cat >>conftest.
$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12323 #include <stdlib.h>
12332 rm -f conftest.
$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>conftest.er1
12336 grep -v '^ *+' conftest.er1
>conftest.err
12338 cat conftest.err
>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } &&
12341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12343 (eval $ac_try) 2>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }; } &&
12347 { ac_try
='test -s conftest.$ac_objext'
12348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12349 (eval $ac_try) 2>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }; }; then
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.
$ac_ext >&5
12360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12361 cat >conftest.
$ac_ext <<_ACEOF
12364 cat confdefs.h
>>conftest.
$ac_ext
12365 cat >>conftest.
$ac_ext <<_ACEOF
12366 /* end confdefs.h. */
12376 rm -f conftest.
$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1
>conftest.err
12382 cat conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try
='test -s conftest.$ac_objext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.
$ac_ext >&5
12403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12406 if test -n "$ac_declaration"; then
12407 echo '#ifdef __cplusplus' >>confdefs.h
12408 echo $ac_declaration >>confdefs.h
12409 echo '#endif' >>confdefs.h
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.
$ac_ext >&5
12417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12419 ac_cpp
='$CPP $CPPFLAGS'
12420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12427 ac_cpp
='$CPP $CPPFLAGS'
12428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12432 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12433 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12434 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12435 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 cat >conftest.
$ac_ext <<_ACEOF
12440 cat confdefs.h
>>conftest.
$ac_ext
12441 cat >>conftest.
$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12448 #ifndef __INTEL_COMPILER
12456 rm -f conftest.
$ac_objext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12458 (eval $ac_compile) 2>conftest.er1
12460 grep -v '^ *+' conftest.er1
>conftest.err
12462 cat conftest.err
>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; } &&
12471 { ac_try
='test -s conftest.$ac_objext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.
$ac_ext >&5
12482 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12489 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12490 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12492 ac_cpp
='$CPP $CPPFLAGS'
12493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12497 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12504 if test "x$GCC" != "xyes"; then
12505 if test "xCC" = "xC"; then
12506 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12507 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12508 if test "${bakefile_cv_c_exto+set}" = set; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 cat >conftest.
$ac_ext <<_ACEOF
12514 cat confdefs.h
>>conftest.
$ac_ext
12515 cat >>conftest.
$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12526 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; then
12532 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12534 conftest.
$ac_ext.o
)
12535 bakefile_cv_c_exto
="-ext o"
12542 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12543 See \`config.log' for more details." >&5
12544 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12545 See \`config.log' for more details." >&2;}
12546 { (exit 1); exit 1; }; }
12550 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12553 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12554 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12555 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12556 if test "c" = "c"; then
12557 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12559 if test "c" = "cxx"; then
12560 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12564 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12565 unset ac_cv_prog_cc_g
12566 ac_test_CFLAGS
=${CFLAGS+set}
12567 ac_save_CFLAGS
=$CFLAGS
12569 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12570 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12571 if test "${ac_cv_prog_cc_g+set}" = set; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 cat >conftest.
$ac_ext <<_ACEOF
12577 cat confdefs.h
>>conftest.
$ac_ext
12578 cat >>conftest.
$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12589 rm -f conftest.
$ac_objext
12590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12591 (eval $ac_compile) 2>conftest.er1
12593 grep -v '^ *+' conftest.er1
>conftest.err
12595 cat conftest.err
>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } &&
12598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12600 (eval $ac_try) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); }; } &&
12604 { ac_try
='test -s conftest.$ac_objext'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; }; then
12610 ac_cv_prog_cc_g
=yes
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.
$ac_ext >&5
12617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12619 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12620 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12621 if test "$ac_test_CFLAGS" = set; then
12622 CFLAGS
=$ac_save_CFLAGS
12623 elif test $ac_cv_prog_cc_g = yes; then
12624 if test "$GCC" = yes; then
12630 if test "$GCC" = yes; then
12642 ac_cpp
='$CPP $CPPFLAGS'
12643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12647 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12648 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12649 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.
$ac_ext <<_ACEOF
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12670 rm -f conftest.
$ac_objext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12672 (eval $ac_compile) 2>conftest.er1
12674 grep -v '^ *+' conftest.er1
>conftest.err
12676 cat conftest.err
>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; } &&
12685 { ac_try
='test -s conftest.$ac_objext'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12691 bakefile_compiler_xlc
=yes
12693 echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.
$ac_ext >&5
12696 bakefile_compiler_xlc
=no
12698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12699 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12702 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12703 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12705 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12707 ac_cpp
='$CPP $CPPFLAGS'
12708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12717 ac_cpp
='$CPP $CPPFLAGS'
12718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12722 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12723 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12724 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12745 rm -f conftest.
$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>conftest.er1
12749 grep -v '^ *+' conftest.er1
>conftest.err
12751 cat conftest.err
>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; } &&
12760 { ac_try
='test -s conftest.$ac_objext'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; }; then
12766 bakefile_compiler_mwerks
=yes
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.
$ac_ext >&5
12771 bakefile_compiler_mwerks
=no
12773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12774 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12777 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12778 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12780 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12782 ac_cpp
='$CPP $CPPFLAGS'
12783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12789 ac_cpp
='$CPP $CPPFLAGS'
12790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12794 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12795 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12796 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12817 rm -f conftest.
$ac_objext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12819 (eval $ac_compile) 2>conftest.er1
12821 grep -v '^ *+' conftest.er1
>conftest.err
12823 cat conftest.err
>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } &&
12826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12828 (eval $ac_try) 2>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); }; } &&
12832 { ac_try
='test -s conftest.$ac_objext'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; }; then
12838 bakefile_compiler_xlc
=yes
12840 echo "$as_me: failed program was:" >&5
12841 sed 's/^/| /' conftest.
$ac_ext >&5
12843 bakefile_compiler_xlc
=no
12845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12846 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12849 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12850 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12852 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12854 ac_cpp
='$CPP $CPPFLAGS'
12855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12866 ac_cpp
='$CPP $CPPFLAGS'
12867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12871 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12872 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12873 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12887 #ifndef _SGI_COMPILER_VERSION
12895 rm -f conftest.
$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12899 grep -v '^ *+' conftest.er1
>conftest.err
12901 cat conftest.err
>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try
='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.
$ac_ext >&5
12921 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12928 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12929 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12931 ac_cpp
='$CPP $CPPFLAGS'
12932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12936 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12949 ac_cpp
='$CPP $CPPFLAGS'
12950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12954 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12955 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12956 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12957 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 cat >conftest.
$ac_ext <<_ACEOF
12962 cat confdefs.h
>>conftest.
$ac_ext
12963 cat >>conftest.
$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12978 rm -f conftest.
$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try
='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 bakefile_cv_c_compiler___HP_cc
=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.
$ac_ext >&5
13004 bakefile_cv_c_compiler___HP_cc
=no
13007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13011 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13012 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13014 ac_cpp
='$CPP $CPPFLAGS'
13015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13019 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13032 ac_cpp
='$CPP $CPPFLAGS'
13033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13037 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13038 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13039 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 cat >conftest.
$ac_ext <<_ACEOF
13045 cat confdefs.h
>>conftest.
$ac_ext
13046 cat >>conftest.
$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13061 rm -f conftest.
$ac_objext
13062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13063 (eval $ac_compile) 2>conftest.er1
13065 grep -v '^ *+' conftest.er1
>conftest.err
13067 cat conftest.err
>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } &&
13070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; } &&
13076 { ac_try
='test -s conftest.$ac_objext'
13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 (eval $ac_try) 2>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; }; then
13082 bakefile_cv_c_compiler___DECC
=yes
13084 echo "$as_me: failed program was:" >&5
13085 sed 's/^/| /' conftest.
$ac_ext >&5
13087 bakefile_cv_c_compiler___DECC
=no
13090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13094 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13095 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13097 ac_cpp
='$CPP $CPPFLAGS'
13098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13102 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13115 ac_cpp
='$CPP $CPPFLAGS'
13116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13120 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13121 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13122 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13144 rm -f conftest.
$ac_objext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13146 (eval $ac_compile) 2>conftest.er1
13148 grep -v '^ *+' conftest.er1
>conftest.err
13150 cat conftest.err
>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; } &&
13159 { ac_try
='test -s conftest.$ac_objext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 bakefile_cv_c_compiler___SUNPRO_C
=yes
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 bakefile_cv_c_compiler___SUNPRO_C
=no
13173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13177 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13178 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13180 ac_cpp
='$CPP $CPPFLAGS'
13181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13185 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13199 ac_cpp
='$CPP $CPPFLAGS'
13200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13203 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13204 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13205 # On Suns, sometimes $CPP names a directory.
13206 if test -n "$CPP" && test -d "$CPP"; then
13209 if test -z "$CPP"; then
13210 if test "${ac_cv_prog_CPP+set}" = set; then
13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13213 # Double quotes because CPP needs to be expanded
13214 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13216 ac_preproc_ok
=false
13217 for ac_c_preproc_warn_flag
in '' yes
13219 # Use a header file that comes with gcc, so configuring glibc
13220 # with a fresh cross-compiler works.
13221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13222 # <limits.h> exists even on freestanding compilers.
13223 # On the NeXT, cc -E runs the code through the compiler's parser,
13224 # not just through cpp. "Syntax error" is here to catch this case.
13225 cat >conftest.
$ac_ext <<_ACEOF
13228 cat confdefs.h
>>conftest.
$ac_ext
13229 cat >>conftest.
$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13232 # include <limits.h>
13234 # include <assert.h>
13238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13241 grep -v '^ *+' conftest.er1
>conftest.err
13243 cat conftest.err
>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } >/dev
/null
; then
13246 if test -s conftest.err
; then
13247 ac_cpp_err
=$ac_c_preproc_warn_flag
13248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13255 if test -z "$ac_cpp_err"; then
13258 echo "$as_me: failed program was:" >&5
13259 sed 's/^/| /' conftest.
$ac_ext >&5
13261 # Broken: fails on valid input.
13264 rm -f conftest.err conftest.
$ac_ext
13266 # OK, works on sane cases. Now check whether non-existent headers
13267 # can be detected and how.
13268 cat >conftest.
$ac_ext <<_ACEOF
13271 cat confdefs.h
>>conftest.
$ac_ext
13272 cat >>conftest.
$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274 #include <ac_nonexistent.h>
13276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13279 grep -v '^ *+' conftest.er1
>conftest.err
13281 cat conftest.err
>&5
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); } >/dev
/null
; then
13284 if test -s conftest.err
; then
13285 ac_cpp_err
=$ac_c_preproc_warn_flag
13286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13293 if test -z "$ac_cpp_err"; then
13294 # Broken: success on invalid input.
13297 echo "$as_me: failed program was:" >&5
13298 sed 's/^/| /' conftest.
$ac_ext >&5
13300 # Passes both tests.
13304 rm -f conftest.err conftest.
$ac_ext
13307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13308 rm -f conftest.err conftest.
$ac_ext
13309 if $ac_preproc_ok; then
13314 ac_cv_prog_CPP
=$CPP
13317 CPP
=$ac_cv_prog_CPP
13319 ac_cv_prog_CPP
=$CPP
13321 echo "$as_me:$LINENO: result: $CPP" >&5
13322 echo "${ECHO_T}$CPP" >&6
13323 ac_preproc_ok
=false
13324 for ac_c_preproc_warn_flag
in '' yes
13326 # Use a header file that comes with gcc, so configuring glibc
13327 # with a fresh cross-compiler works.
13328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13329 # <limits.h> exists even on freestanding compilers.
13330 # On the NeXT, cc -E runs the code through the compiler's parser,
13331 # not just through cpp. "Syntax error" is here to catch this case.
13332 cat >conftest.
$ac_ext <<_ACEOF
13335 cat confdefs.h
>>conftest.
$ac_ext
13336 cat >>conftest.
$ac_ext <<_ACEOF
13337 /* end confdefs.h. */
13339 # include <limits.h>
13341 # include <assert.h>
13345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13348 grep -v '^ *+' conftest.er1
>conftest.err
13350 cat conftest.err
>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } >/dev
/null
; then
13353 if test -s conftest.err
; then
13354 ac_cpp_err
=$ac_c_preproc_warn_flag
13355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13362 if test -z "$ac_cpp_err"; then
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13368 # Broken: fails on valid input.
13371 rm -f conftest.err conftest.
$ac_ext
13373 # OK, works on sane cases. Now check whether non-existent headers
13374 # can be detected and how.
13375 cat >conftest.
$ac_ext <<_ACEOF
13378 cat confdefs.h
>>conftest.
$ac_ext
13379 cat >>conftest.
$ac_ext <<_ACEOF
13380 /* end confdefs.h. */
13381 #include <ac_nonexistent.h>
13383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13386 grep -v '^ *+' conftest.er1
>conftest.err
13388 cat conftest.err
>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } >/dev
/null
; then
13391 if test -s conftest.err
; then
13392 ac_cpp_err
=$ac_c_preproc_warn_flag
13393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13400 if test -z "$ac_cpp_err"; then
13401 # Broken: success on invalid input.
13404 echo "$as_me: failed program was:" >&5
13405 sed 's/^/| /' conftest.
$ac_ext >&5
13407 # Passes both tests.
13411 rm -f conftest.err conftest.
$ac_ext
13414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13415 rm -f conftest.err conftest.
$ac_ext
13416 if $ac_preproc_ok; then
13419 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13420 See \`config.log' for more details." >&5
13421 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13422 See \`config.log' for more details." >&2;}
13423 { (exit 1); exit 1; }; }
13427 ac_cpp
='$CPP $CPPFLAGS'
13428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13433 echo "$as_me:$LINENO: checking for egrep" >&5
13434 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13435 if test "${ac_cv_prog_egrep+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13439 then ac_cv_prog_egrep
='grep -E'
13440 else ac_cv_prog_egrep
='egrep'
13443 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13444 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13445 EGREP
=$ac_cv_prog_egrep
13448 if test $ac_cv_c_compiler_gnu = yes; then
13449 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13450 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13451 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13452 echo $ECHO_N "(cached) $ECHO_C" >&6
13454 ac_pattern
="Autoconf.*'x'"
13455 cat >conftest.
$ac_ext <<_ACEOF
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13465 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13466 ac_cv_prog_gcc_traditional
=yes
13468 ac_cv_prog_gcc_traditional
=no
13473 if test $ac_cv_prog_gcc_traditional = no
; then
13474 cat >conftest.
$ac_ext <<_ACEOF
13477 cat confdefs.h
>>conftest.
$ac_ext
13478 cat >>conftest.
$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13480 #include <termio.h>
13483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13484 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13485 ac_cv_prog_gcc_traditional
=yes
13491 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13492 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13493 if test $ac_cv_prog_gcc_traditional = yes; then
13494 CC
="$CC -traditional"
13500 ac_cpp
='$CXXCPP $CPPFLAGS'
13501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13506 CXXFLAGS
=${CXXFLAGS:=}
13511 ac_cpp
='$CXXCPP $CPPFLAGS'
13512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13515 if test -n "$ac_tool_prefix"; then
13516 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13520 echo "$as_me:$LINENO: checking for $ac_word" >&5
13521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13522 if test "${ac_cv_prog_CXX+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 if test -n "$CXX"; then
13526 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13529 for as_dir
in $PATH
13532 test -z "$as_dir" && as_dir
=.
13533 for ac_exec_ext
in '' $ac_executable_extensions; do
13534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13535 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13544 CXX
=$ac_cv_prog_CXX
13545 if test -n "$CXX"; then
13546 echo "$as_me:$LINENO: result: $CXX" >&5
13547 echo "${ECHO_T}$CXX" >&6
13549 echo "$as_me:$LINENO: result: no" >&5
13550 echo "${ECHO_T}no" >&6
13553 test -n "$CXX" && break
13556 if test -z "$CXX"; then
13558 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13560 # Extract the first word of "$ac_prog", so it can be a program name with args.
13561 set dummy
$ac_prog; ac_word
=$2
13562 echo "$as_me:$LINENO: checking for $ac_word" >&5
13563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13564 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 if test -n "$ac_ct_CXX"; then
13568 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13571 for as_dir
in $PATH
13574 test -z "$as_dir" && as_dir
=.
13575 for ac_exec_ext
in '' $ac_executable_extensions; do
13576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13577 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13586 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13587 if test -n "$ac_ct_CXX"; then
13588 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13589 echo "${ECHO_T}$ac_ct_CXX" >&6
13591 echo "$as_me:$LINENO: result: no" >&5
13592 echo "${ECHO_T}no" >&6
13595 test -n "$ac_ct_CXX" && break
13597 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13603 # Provide some information about the compiler.
13604 echo "$as_me:$LINENO:" \
13605 "checking for C++ compiler version" >&5
13606 ac_compiler
=`set X $ac_compile; echo $2`
13607 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13608 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); }
13612 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13613 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); }
13617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13618 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }
13623 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13624 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13626 echo $ECHO_N "(cached) $ECHO_C" >&6
13628 cat >conftest.
$ac_ext <<_ACEOF
13631 cat confdefs.h
>>conftest.
$ac_ext
13632 cat >>conftest.
$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13646 rm -f conftest.
$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>conftest.er1
13650 grep -v '^ *+' conftest.er1
>conftest.err
13652 cat conftest.err
>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; } &&
13661 { ac_try
='test -s conftest.$ac_objext'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then
13667 ac_compiler_gnu
=yes
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.
$ac_ext >&5
13674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13675 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13678 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13679 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13680 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13681 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13682 ac_save_CXXFLAGS
=$CXXFLAGS
13684 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13685 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13686 if test "${ac_cv_prog_cxx_g+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 cat >conftest.
$ac_ext <<_ACEOF
13692 cat confdefs.h
>>conftest.
$ac_ext
13693 cat >>conftest.
$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13704 rm -f conftest.
$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>conftest.er1
13708 grep -v '^ *+' conftest.er1
>conftest.err
13710 cat conftest.err
>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
13719 { ac_try
='test -s conftest.$ac_objext'
13720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13721 (eval $ac_try) 2>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); }; }; then
13725 ac_cv_prog_cxx_g
=yes
13727 echo "$as_me: failed program was:" >&5
13728 sed 's/^/| /' conftest.
$ac_ext >&5
13730 ac_cv_prog_cxx_g
=no
13732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13734 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13735 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13736 if test "$ac_test_CXXFLAGS" = set; then
13737 CXXFLAGS
=$ac_save_CXXFLAGS
13738 elif test $ac_cv_prog_cxx_g = yes; then
13739 if test "$GXX" = yes; then
13745 if test "$GXX" = yes; then
13751 for ac_declaration
in \
13753 'extern "C" void std::exit (int) throw (); using std::exit;' \
13754 'extern "C" void std::exit (int); using std::exit;' \
13755 'extern "C" void exit (int) throw ();' \
13756 'extern "C" void exit (int);' \
13759 cat >conftest.
$ac_ext <<_ACEOF
13762 cat confdefs.h
>>conftest.
$ac_ext
13763 cat >>conftest.
$ac_ext <<_ACEOF
13764 /* end confdefs.h. */
13766 #include <stdlib.h>
13775 rm -f conftest.
$ac_objext
13776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13777 (eval $ac_compile) 2>conftest.er1
13779 grep -v '^ *+' conftest.er1
>conftest.err
13781 cat conftest.err
>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } &&
13784 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; } &&
13790 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.
$ac_ext >&5
13803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13804 cat >conftest.
$ac_ext <<_ACEOF
13807 cat confdefs.h
>>conftest.
$ac_ext
13808 cat >>conftest.
$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13819 rm -f conftest.
$ac_objext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13821 (eval $ac_compile) 2>conftest.er1
13823 grep -v '^ *+' conftest.er1
>conftest.err
13825 cat conftest.err
>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; } &&
13834 { ac_try
='test -s conftest.$ac_objext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.
$ac_ext >&5
13846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13849 if test -n "$ac_declaration"; then
13850 echo '#ifdef __cplusplus' >>confdefs.h
13851 echo $ac_declaration >>confdefs.h
13852 echo '#endif' >>confdefs.h
13856 ac_cpp
='$CXXCPP $CPPFLAGS'
13857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13864 ac_cpp
='$CXXCPP $CPPFLAGS'
13865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13869 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13870 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13871 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 cat >conftest.
$ac_ext <<_ACEOF
13877 cat confdefs.h
>>conftest.
$ac_ext
13878 cat >>conftest.
$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13885 #ifndef __INTEL_COMPILER
13893 rm -f conftest.
$ac_objext
13894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13895 (eval $ac_compile) 2>conftest.er1
13897 grep -v '^ *+' conftest.er1
>conftest.err
13899 cat conftest.err
>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); } &&
13902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13904 (eval $ac_try) 2>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); }; } &&
13908 { ac_try
='test -s conftest.$ac_objext'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; }; then
13914 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13916 echo "$as_me: failed program was:" >&5
13917 sed 's/^/| /' conftest.
$ac_ext >&5
13919 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13926 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13929 ac_cpp
='$CXXCPP $CPPFLAGS'
13930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13934 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13941 if test "x$GCXX" != "xyes"; then
13942 if test "xCXX" = "xC"; then
13943 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13944 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13945 if test "${bakefile_cv_cxx_exto+set}" = set; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13948 cat >conftest.
$ac_ext <<_ACEOF
13951 cat confdefs.h
>>conftest.
$ac_ext
13952 cat >>conftest.
$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13963 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13965 (eval $ac_compile) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; then
13969 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13971 conftest.
$ac_ext.o
)
13972 bakefile_cv_cxx_exto
="-ext o"
13979 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13980 See \`config.log' for more details." >&5
13981 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13982 See \`config.log' for more details." >&2;}
13983 { (exit 1); exit 1; }; }
13987 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13990 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13991 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13992 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13993 if test "cxx" = "c"; then
13994 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13996 if test "cxx" = "cxx"; then
13997 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14001 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14002 unset ac_cv_prog_cc_g
14003 ac_test_CFLAGS
=${CFLAGS+set}
14004 ac_save_CFLAGS
=$CFLAGS
14006 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14007 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14008 if test "${ac_cv_prog_cc_g+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 cat >conftest.
$ac_ext <<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14026 rm -f conftest.
$ac_objext
14027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14028 (eval $ac_compile) 2>conftest.er1
14030 grep -v '^ *+' conftest.er1
>conftest.err
14032 cat conftest.err
>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } &&
14035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; } &&
14041 { ac_try
='test -s conftest.$ac_objext'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; }; then
14047 ac_cv_prog_cc_g
=yes
14049 echo "$as_me: failed program was:" >&5
14050 sed 's/^/| /' conftest.
$ac_ext >&5
14054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14056 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14057 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14058 if test "$ac_test_CFLAGS" = set; then
14059 CFLAGS
=$ac_save_CFLAGS
14060 elif test $ac_cv_prog_cc_g = yes; then
14061 if test "$GCC" = yes; then
14067 if test "$GCC" = yes; then
14079 ac_cpp
='$CXXCPP $CPPFLAGS'
14080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14084 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14085 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14086 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14087 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 cat >conftest.
$ac_ext <<_ACEOF
14092 cat confdefs.h
>>conftest.
$ac_ext
14093 cat >>conftest.
$ac_ext <<_ACEOF
14094 /* end confdefs.h. */
14107 rm -f conftest.
$ac_objext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109 (eval $ac_compile) 2>conftest.er1
14111 grep -v '^ *+' conftest.er1
>conftest.err
14113 cat conftest.err
>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } &&
14116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; } &&
14122 { ac_try
='test -s conftest.$ac_objext'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; }; then
14128 bakefile_compiler_xlc
=yes
14130 echo "$as_me: failed program was:" >&5
14131 sed 's/^/| /' conftest.
$ac_ext >&5
14133 bakefile_compiler_xlc
=no
14135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14136 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14139 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14140 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14142 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14144 ac_cpp
='$CXXCPP $CPPFLAGS'
14145 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14146 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14147 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14154 ac_cpp
='$CXXCPP $CPPFLAGS'
14155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14159 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14160 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14161 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 cat >conftest.
$ac_ext <<_ACEOF
14167 cat confdefs.h
>>conftest.
$ac_ext
14168 cat >>conftest.
$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14182 rm -f conftest.
$ac_objext
14183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14184 (eval $ac_compile) 2>conftest.er1
14186 grep -v '^ *+' conftest.er1
>conftest.err
14188 cat conftest.err
>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); } &&
14191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14193 (eval $ac_try) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; } &&
14197 { ac_try
='test -s conftest.$ac_objext'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14203 bakefile_compiler_mwerks
=yes
14205 echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.
$ac_ext >&5
14208 bakefile_compiler_mwerks
=no
14210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14211 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14214 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14215 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14217 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14219 ac_cpp
='$CXXCPP $CPPFLAGS'
14220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14226 ac_cpp
='$CXXCPP $CPPFLAGS'
14227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14231 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14232 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14233 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 cat >conftest.
$ac_ext <<_ACEOF
14239 cat confdefs.h
>>conftest.
$ac_ext
14240 cat >>conftest.
$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14254 rm -f conftest.
$ac_objext
14255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14256 (eval $ac_compile) 2>conftest.er1
14258 grep -v '^ *+' conftest.er1
>conftest.err
14260 cat conftest.err
>&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14265 (eval $ac_try) 2>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); }; } &&
14269 { ac_try
='test -s conftest.$ac_objext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 bakefile_compiler_xlc
=yes
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.
$ac_ext >&5
14280 bakefile_compiler_xlc
=no
14282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14283 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14286 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14287 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14289 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14291 ac_cpp
='$CXXCPP $CPPFLAGS'
14292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14303 ac_cpp
='$CXXCPP $CPPFLAGS'
14304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14308 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14309 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14310 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 cat >conftest.
$ac_ext <<_ACEOF
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14324 #ifndef _SGI_COMPILER_VERSION
14332 rm -f conftest.
$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>conftest.er1
14336 grep -v '^ *+' conftest.er1
>conftest.err
14338 cat conftest.err
>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } &&
14341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try
='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.
$ac_ext >&5
14358 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14366 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14368 ac_cpp
='$CXXCPP $CPPFLAGS'
14369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14373 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14386 ac_cpp
='$CXXCPP $CPPFLAGS'
14387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14391 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14392 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14393 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 cat >conftest.
$ac_ext <<_ACEOF
14399 cat confdefs.h
>>conftest.
$ac_ext
14400 cat >>conftest.
$ac_ext <<_ACEOF
14401 /* end confdefs.h. */
14415 rm -f conftest.
$ac_objext
14416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14417 (eval $ac_compile) 2>conftest.er1
14419 grep -v '^ *+' conftest.er1
>conftest.err
14421 cat conftest.err
>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); } &&
14424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; } &&
14430 { ac_try
='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 bakefile_cv_cxx_compiler___HP_aCC
=yes
14438 echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.
$ac_ext >&5
14441 bakefile_cv_cxx_compiler___HP_aCC
=no
14444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14448 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14449 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14451 ac_cpp
='$CXXCPP $CPPFLAGS'
14452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14456 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14469 ac_cpp
='$CXXCPP $CPPFLAGS'
14470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14474 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14475 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14476 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 cat >conftest.
$ac_ext <<_ACEOF
14482 cat confdefs.h
>>conftest.
$ac_ext
14483 cat >>conftest.
$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14498 rm -f conftest.
$ac_objext
14499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14500 (eval $ac_compile) 2>conftest.er1
14502 grep -v '^ *+' conftest.er1
>conftest.err
14504 cat conftest.err
>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); } &&
14507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; } &&
14513 { ac_try
='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 bakefile_cv_cxx_compiler___DECCXX
=yes
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.
$ac_ext >&5
14524 bakefile_cv_cxx_compiler___DECCXX
=no
14527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14531 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14532 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14534 ac_cpp
='$CXXCPP $CPPFLAGS'
14535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14539 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14552 ac_cpp
='$CXXCPP $CPPFLAGS'
14553 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14554 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14555 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14557 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14558 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14559 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14573 #ifndef __SUNPRO_CC
14581 rm -f conftest.
$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14585 grep -v '^ *+' conftest.er1
>conftest.err
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try
='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.
$ac_ext >&5
14607 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14614 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14615 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14617 ac_cpp
='$CXXCPP $CPPFLAGS'
14618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14622 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14635 if test -n "$ac_tool_prefix"; then
14636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14637 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14638 echo "$as_me:$LINENO: checking for $ac_word" >&5
14639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14640 if test "${ac_cv_prog_RANLIB+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 if test -n "$RANLIB"; then
14644 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14647 for as_dir
in $PATH
14650 test -z "$as_dir" && as_dir
=.
14651 for ac_exec_ext
in '' $ac_executable_extensions; do
14652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14653 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14662 RANLIB
=$ac_cv_prog_RANLIB
14663 if test -n "$RANLIB"; then
14664 echo "$as_me:$LINENO: result: $RANLIB" >&5
14665 echo "${ECHO_T}$RANLIB" >&6
14667 echo "$as_me:$LINENO: result: no" >&5
14668 echo "${ECHO_T}no" >&6
14672 if test -z "$ac_cv_prog_RANLIB"; then
14673 ac_ct_RANLIB
=$RANLIB
14674 # Extract the first word of "ranlib", so it can be a program name with args.
14675 set dummy ranlib
; ac_word
=$2
14676 echo "$as_me:$LINENO: checking for $ac_word" >&5
14677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 if test -n "$ac_ct_RANLIB"; then
14682 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14685 for as_dir
in $PATH
14688 test -z "$as_dir" && as_dir
=.
14689 for ac_exec_ext
in '' $ac_executable_extensions; do
14690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14691 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14698 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14701 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14702 if test -n "$ac_ct_RANLIB"; then
14703 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14704 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14706 echo "$as_me:$LINENO: result: no" >&5
14707 echo "${ECHO_T}no" >&6
14710 RANLIB
=$ac_ct_RANLIB
14712 RANLIB
="$ac_cv_prog_RANLIB"
14716 if test -n "$ac_tool_prefix"; then
14717 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14718 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14719 echo "$as_me:$LINENO: checking for $ac_word" >&5
14720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14721 if test "${ac_cv_prog_AR+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 if test -n "$AR"; then
14725 ac_cv_prog_AR
="$AR" # Let the user override the test.
14727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14728 for as_dir
in $PATH
14731 test -z "$as_dir" && as_dir
=.
14732 for ac_exec_ext
in '' $ac_executable_extensions; do
14733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14734 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14744 if test -n "$AR"; then
14745 echo "$as_me:$LINENO: result: $AR" >&5
14746 echo "${ECHO_T}$AR" >&6
14748 echo "$as_me:$LINENO: result: no" >&5
14749 echo "${ECHO_T}no" >&6
14753 if test -z "$ac_cv_prog_AR"; then
14755 # Extract the first word of "ar", so it can be a program name with args.
14756 set dummy
ar; ac_word
=$2
14757 echo "$as_me:$LINENO: checking for $ac_word" >&5
14758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14759 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 if test -n "$ac_ct_AR"; then
14763 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14766 for as_dir
in $PATH
14769 test -z "$as_dir" && as_dir
=.
14770 for ac_exec_ext
in '' $ac_executable_extensions; do
14771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14772 ac_cv_prog_ac_ct_AR
="ar"
14773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14781 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14782 if test -n "$ac_ct_AR"; then
14783 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14784 echo "${ECHO_T}$ac_ct_AR" >&6
14786 echo "$as_me:$LINENO: result: no" >&5
14787 echo "${ECHO_T}no" >&6
14792 AR
="$ac_cv_prog_AR"
14795 if test "x$AR" = "x" ; then
14796 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14797 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14798 { (exit 1); exit 1; }; }
14801 # Find a good install program. We prefer a C program (faster),
14802 # so one script is as good as another. But avoid the broken or
14803 # incompatible versions:
14804 # SysV /etc/install, /usr/sbin/install
14805 # SunOS /usr/etc/install
14806 # IRIX /sbin/install
14808 # AmigaOS /C/install, which installs bootblocks on floppy discs
14809 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14810 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14811 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14812 # OS/2's system install, which has a completely different semantic
14813 # ./install, which can be erroneously created by make from ./install.sh.
14814 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14815 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14816 if test -z "$INSTALL"; then
14817 if test "${ac_cv_path_install+set}" = set; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14821 for as_dir
in $PATH
14824 test -z "$as_dir" && as_dir
=.
14825 # Account for people who put trailing slashes in PATH elements.
14827 .
/ | .
// | /cC
/* | \
14828 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14829 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14832 # OSF1 and SCO ODT 3.0 have their own names for install.
14833 # Don't use installbsd from OSF since it installs stuff as root
14835 for ac_prog
in ginstall scoinst
install; do
14836 for ac_exec_ext
in '' $ac_executable_extensions; do
14837 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14838 if test $ac_prog = install &&
14839 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14840 # AIX install. It has an incompatible calling convention.
14842 elif test $ac_prog = install &&
14843 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14844 # program-specific install script used by HP pwplus--don't use.
14847 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14859 if test "${ac_cv_path_install+set}" = set; then
14860 INSTALL
=$ac_cv_path_install
14862 # As a last resort, use the slow shell script. We don't cache a
14863 # path for INSTALL within a source directory, because that will
14864 # break other packages using the cache if that directory is
14865 # removed, or if the path is relative.
14866 INSTALL
=$ac_install_sh
14869 echo "$as_me:$LINENO: result: $INSTALL" >&5
14870 echo "${ECHO_T}$INSTALL" >&6
14872 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14873 # It thinks the first close brace ends the variable substitution.
14874 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14876 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14878 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14884 ?
:* ) # Drive letter, considered as absolute.
14887 INSTALL
=`pwd`/${INSTALL} ;;
14894 INSTALL_PROGRAM
="cp -fp"
14895 INSTALL_DATA
="cp -fp"
14901 if test -n "$ac_tool_prefix"; then
14902 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14903 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14904 echo "$as_me:$LINENO: checking for $ac_word" >&5
14905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14906 if test "${ac_cv_prog_STRIP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 if test -n "$STRIP"; then
14910 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14913 for as_dir
in $PATH
14916 test -z "$as_dir" && as_dir
=.
14917 for ac_exec_ext
in '' $ac_executable_extensions; do
14918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14919 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14928 STRIP
=$ac_cv_prog_STRIP
14929 if test -n "$STRIP"; then
14930 echo "$as_me:$LINENO: result: $STRIP" >&5
14931 echo "${ECHO_T}$STRIP" >&6
14933 echo "$as_me:$LINENO: result: no" >&5
14934 echo "${ECHO_T}no" >&6
14938 if test -z "$ac_cv_prog_STRIP"; then
14940 # Extract the first word of "strip", so it can be a program name with args.
14941 set dummy strip
; ac_word
=$2
14942 echo "$as_me:$LINENO: checking for $ac_word" >&5
14943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14944 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 if test -n "$ac_ct_STRIP"; then
14948 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14951 for as_dir
in $PATH
14954 test -z "$as_dir" && as_dir
=.
14955 for ac_exec_ext
in '' $ac_executable_extensions; do
14956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14957 ac_cv_prog_ac_ct_STRIP
="strip"
14958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14964 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14967 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14968 if test -n "$ac_ct_STRIP"; then
14969 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14970 echo "${ECHO_T}$ac_ct_STRIP" >&6
14972 echo "$as_me:$LINENO: result: no" >&5
14973 echo "${ECHO_T}no" >&6
14978 STRIP
="$ac_cv_prog_STRIP"
14982 if test "$wxUSE_WINE" = "yes"; then
14983 if test -n "$ac_tool_prefix"; then
14984 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14985 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14986 echo "$as_me:$LINENO: checking for $ac_word" >&5
14987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14988 if test "${ac_cv_prog_WINDRES+set}" = set; then
14989 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 if test -n "$WINDRES"; then
14992 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14995 for as_dir
in $PATH
14998 test -z "$as_dir" && as_dir
=.
14999 for ac_exec_ext
in '' $ac_executable_extensions; do
15000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15001 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15010 WINDRES
=$ac_cv_prog_WINDRES
15011 if test -n "$WINDRES"; then
15012 echo "$as_me:$LINENO: result: $WINDRES" >&5
15013 echo "${ECHO_T}$WINDRES" >&6
15015 echo "$as_me:$LINENO: result: no" >&5
15016 echo "${ECHO_T}no" >&6
15020 if test -z "$ac_cv_prog_WINDRES"; then
15021 ac_ct_WINDRES
=$WINDRES
15022 # Extract the first word of "wrc", so it can be a program name with args.
15023 set dummy wrc
; ac_word
=$2
15024 echo "$as_me:$LINENO: checking for $ac_word" >&5
15025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15026 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 if test -n "$ac_ct_WINDRES"; then
15030 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15033 for as_dir
in $PATH
15036 test -z "$as_dir" && as_dir
=.
15037 for ac_exec_ext
in '' $ac_executable_extensions; do
15038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15039 ac_cv_prog_ac_ct_WINDRES
="wrc"
15040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15048 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15049 if test -n "$ac_ct_WINDRES"; then
15050 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15051 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15053 echo "$as_me:$LINENO: result: no" >&5
15054 echo "${ECHO_T}no" >&6
15057 WINDRES
=$ac_ct_WINDRES
15059 WINDRES
="$ac_cv_prog_WINDRES"
15065 *-*-cygwin* | *-*-mingw32* )
15066 if test -n "$ac_tool_prefix"; then
15067 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15068 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15069 echo "$as_me:$LINENO: checking for $ac_word" >&5
15070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15071 if test "${ac_cv_prog_WINDRES+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 if test -n "$WINDRES"; then
15075 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15078 for as_dir
in $PATH
15081 test -z "$as_dir" && as_dir
=.
15082 for ac_exec_ext
in '' $ac_executable_extensions; do
15083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15084 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15093 WINDRES
=$ac_cv_prog_WINDRES
15094 if test -n "$WINDRES"; then
15095 echo "$as_me:$LINENO: result: $WINDRES" >&5
15096 echo "${ECHO_T}$WINDRES" >&6
15098 echo "$as_me:$LINENO: result: no" >&5
15099 echo "${ECHO_T}no" >&6
15103 if test -z "$ac_cv_prog_WINDRES"; then
15104 ac_ct_WINDRES
=$WINDRES
15105 # Extract the first word of "windres", so it can be a program name with args.
15106 set dummy windres
; ac_word
=$2
15107 echo "$as_me:$LINENO: checking for $ac_word" >&5
15108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15109 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 if test -n "$ac_ct_WINDRES"; then
15113 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15116 for as_dir
in $PATH
15119 test -z "$as_dir" && as_dir
=.
15120 for ac_exec_ext
in '' $ac_executable_extensions; do
15121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15122 ac_cv_prog_ac_ct_WINDRES
="windres"
15123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15131 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15132 if test -n "$ac_ct_WINDRES"; then
15133 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15134 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15136 echo "$as_me:$LINENO: result: no" >&5
15137 echo "${ECHO_T}no" >&6
15140 WINDRES
=$ac_ct_WINDRES
15142 WINDRES
="$ac_cv_prog_WINDRES"
15146 if test -n "$ac_tool_prefix"; then
15147 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15148 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15149 echo "$as_me:$LINENO: checking for $ac_word" >&5
15150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15151 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 if test -n "$DLLTOOL"; then
15155 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15158 for as_dir
in $PATH
15161 test -z "$as_dir" && as_dir
=.
15162 for ac_exec_ext
in '' $ac_executable_extensions; do
15163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15164 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15173 DLLTOOL
=$ac_cv_prog_DLLTOOL
15174 if test -n "$DLLTOOL"; then
15175 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15176 echo "${ECHO_T}$DLLTOOL" >&6
15178 echo "$as_me:$LINENO: result: no" >&5
15179 echo "${ECHO_T}no" >&6
15183 if test -z "$ac_cv_prog_DLLTOOL"; then
15184 ac_ct_DLLTOOL
=$DLLTOOL
15185 # Extract the first word of "dlltool", so it can be a program name with args.
15186 set dummy dlltool
; ac_word
=$2
15187 echo "$as_me:$LINENO: checking for $ac_word" >&5
15188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15189 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 if test -n "$ac_ct_DLLTOOL"; then
15193 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15196 for as_dir
in $PATH
15199 test -z "$as_dir" && as_dir
=.
15200 for ac_exec_ext
in '' $ac_executable_extensions; do
15201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15202 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15211 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15212 if test -n "$ac_ct_DLLTOOL"; then
15213 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15214 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15216 echo "$as_me:$LINENO: result: no" >&5
15217 echo "${ECHO_T}no" >&6
15220 DLLTOOL
=$ac_ct_DLLTOOL
15222 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15229 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15230 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15231 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15236 egrep -s GNU
> /dev
/null
); then
15237 wx_cv_prog_makeisgnu
="yes"
15239 wx_cv_prog_makeisgnu
="no"
15243 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15244 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15246 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15254 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15255 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15256 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15257 if test "${wx_cv_prog_makevpath+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 cat - << EOF > confMake
15267 if test ! -d sub
; then
15270 echo dummy
> sub
/file
15271 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15273 rm -f sub
/file check final_file confMake
15275 if test "$RESULT" = 0; then
15276 wx_cv_prog_makevpath
="yes"
15278 wx_cv_prog_makevpath
="no"
15282 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15283 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15285 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15286 { { echo "$as_me:$LINENO: error:
15287 You need a make-utility that is able to use the variable
15289 If your version of make does not support VPATH correctly,
15290 please install GNU-make (possibly as gmake), and start
15291 configure with the following command:
15292 export MAKE=gmake; ./configure for sh-type shells
15293 setenv MAKE gmake; ./configure for csh-type shells
15294 Also please do remember to use gmake in this case every time
15295 you are trying to compile.
15297 echo "$as_me: error:
15298 You need a make-utility that is able to use the variable
15300 If your version of make does not support VPATH correctly,
15301 please install GNU-make (possibly as gmake), and start
15302 configure with the following command:
15303 export MAKE=gmake; ./configure for sh-type shells
15304 setenv MAKE gmake; ./configure for csh-type shells
15305 Also please do remember to use gmake in this case every time
15306 you are trying to compile.
15308 { (exit 1); exit 1; }; }
15310 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15311 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15313 if test "$LN_S" = "ln -s"; then
15314 echo "$as_me:$LINENO: result: yes" >&5
15315 echo "${ECHO_T}yes" >&6
15317 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15318 echo "${ECHO_T}no, using $LN_S" >&6
15324 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15325 CXXFLAGS
="-qunique $CXXFLAGS"
15329 powerpc
-*-darwin* )
15330 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15331 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15332 cat >conftest.
$ac_ext <<_ACEOF
15335 cat confdefs.h
>>conftest.
$ac_ext
15336 cat >>conftest.
$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15342 #ifndef __POWERPC__
15343 choke me for lack of PowerPC
15350 rm -f conftest.
$ac_objext
15351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15352 (eval $ac_compile) 2>conftest.er1
15354 grep -v '^ *+' conftest.er1
>conftest.err
15356 cat conftest.err
>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); } &&
15359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; } &&
15365 { ac_try
='test -s conftest.$ac_objext'
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
15371 echo "$as_me:$LINENO: result: yes" >&5
15372 echo "${ECHO_T}yes" >&6
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15377 echo "$as_me:$LINENO: result: no" >&5
15378 echo "${ECHO_T}no" >&6
15379 cat >>confdefs.h
<<\_ACEOF
15380 #define __POWERPC__ 1
15385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15391 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15392 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15393 cat >conftest.
$ac_ext <<_ACEOF
15396 cat confdefs.h
>>conftest.
$ac_ext
15397 cat >>conftest.
$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15399 #include <CoreFoundation/CFBase.h>
15409 rm -f conftest.
$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; } &&
15424 { ac_try
='test -s conftest.$ac_objext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 echo "$as_me:$LINENO: result: yes" >&5
15431 echo "${ECHO_T}yes" >&6
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.
$ac_ext >&5
15436 echo "$as_me:$LINENO: result: no" >&5
15437 echo "${ECHO_T}no" >&6
15438 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15439 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15440 cat >conftest.
$ac_ext <<_ACEOF
15443 cat confdefs.h
>>conftest.
$ac_ext
15444 cat >>conftest.
$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 #define __CF_USE_FRAMEWORK_INCLUDES__
15447 #include <CoreFoundation/CFBase.h>
15457 rm -f conftest.
$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15461 grep -v '^ *+' conftest.er1
>conftest.err
15463 cat conftest.err
>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; } &&
15472 { ac_try
='test -s conftest.$ac_objext'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15478 echo "$as_me:$LINENO: result: yes" >&5
15479 echo "${ECHO_T}yes" >&6
15480 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.
$ac_ext >&5
15485 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15486 See \`config.log' for more details." >&5
15487 echo "$as_me: error: no. CoreFoundation not available.
15488 See \`config.log' for more details." >&2;}
15489 { (exit 1); exit 1; }; }
15492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15501 *-pc-os2_emx | *-pc-os2-emx )
15503 ac_cpp
='$CPP $CPPFLAGS'
15504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15508 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15509 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15510 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15511 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 ac_check_lib_save_LIBS
=$LIBS
15515 LIBS
="-lcExt $LIBS"
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15523 /* Override any gcc2 internal prototype to avoid an error. */
15527 /* We use char because int might match the return type of a gcc2
15528 builtin and then its argument prototype would still apply. */
15538 rm -f conftest.
$ac_objext conftest
$ac_exeext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15540 (eval $ac_link) 2>conftest.er1
15542 grep -v '^ *+' conftest.er1
>conftest.err
15544 cat conftest.err
>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; } &&
15553 { ac_try
='test -s conftest$ac_exeext'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; }; then
15559 ac_cv_lib_cExt_drand48
=yes
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.
$ac_ext >&5
15564 ac_cv_lib_cExt_drand48
=no
15566 rm -f conftest.err conftest.
$ac_objext \
15567 conftest
$ac_exeext conftest.
$ac_ext
15568 LIBS
=$ac_check_lib_save_LIBS
15570 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15571 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15572 if test $ac_cv_lib_cExt_drand48 = yes; then
15573 LIBS
="$LIBS -lcExt"
15577 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15579 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15580 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15581 if test "${wx_cv_gccversion+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 if test "$cross_compiling" = yes; then
15586 wx_cv_gccversion
="EMX2"
15589 cat >conftest.
$ac_ext <<_ACEOF
15592 cat confdefs.h
>>conftest.
$ac_ext
15593 cat >>conftest.
$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15600 FILE *f=fopen("conftestval", "w");
15605 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15607 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15617 rm -f conftest
$ac_exeext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15619 (eval $ac_link) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15628 wx_cv_gccversion
=`cat conftestval`
15630 echo "$as_me: program exited with status $ac_status" >&5
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15634 ( exit $ac_status )
15635 wx_cv_gccversion
="EMX2"
15637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15641 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15642 echo "${ECHO_T}$wx_cv_gccversion" >&6
15644 ac_cpp
='$CXXCPP $CPPFLAGS'
15645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15649 if test "$wx_cv_gccversion" = "EMX2"; then
15650 LIBS
="$LIBS -lstdcpp"
15651 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15653 if test "$wx_cv_gccversion" = "EMX3"; then
15654 LIBS
="$LIBS -lstdcxx -lgcc"
15655 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15657 LIBS
="$LIBS -lstdc++"
15660 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15661 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15662 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15669 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15670 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15671 if test "${ac_cv_string_strcasecmp+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 cat >conftest.
$ac_ext <<_ACEOF
15678 cat confdefs.h
>>conftest.
$ac_ext
15679 cat >>conftest.
$ac_ext <<_ACEOF
15680 /* end confdefs.h. */
15682 #include <string.h>
15688 strcasecmp("foo", "bar");
15694 rm -f conftest.
$ac_objext conftest
$ac_exeext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15696 (eval $ac_link) 2>conftest.er1
15698 grep -v '^ *+' conftest.er1
>conftest.err
15700 cat conftest.err
>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try
='test -s conftest$ac_exeext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_cv_string_strcasecmp
=yes
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.
$ac_ext >&5
15720 ac_cv_string_strcasecmp
=no
15723 rm -f conftest.err conftest.
$ac_objext \
15724 conftest
$ac_exeext conftest.
$ac_ext
15727 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15728 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15730 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15731 cat >>confdefs.h
<<\_ACEOF
15732 #define HAVE_STRCASECMP_IN_STRING_H 1
15736 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15737 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15738 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15739 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 cat >conftest.
$ac_ext <<_ACEOF
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15749 #include <strings.h>
15755 strcasecmp("foo", "bar");
15761 rm -f conftest.
$ac_objext conftest
$ac_exeext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15763 (eval $ac_link) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1
>conftest.err
15767 cat conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try
='test -s conftest$ac_exeext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_cv_strings_strcasecmp
=yes
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.
$ac_ext >&5
15787 ac_cv_strings_strcasecmp
=no
15790 rm -f conftest.err conftest.
$ac_objext \
15791 conftest
$ac_exeext conftest.
$ac_ext
15794 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15795 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15797 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15798 cat >>confdefs.h
<<\_ACEOF
15799 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15803 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15804 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15805 { (exit 1); exit 1; }; }
15814 ac_cpp
='$CXXCPP $CPPFLAGS'
15815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15818 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15819 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15820 if test -z "$CXXCPP"; then
15821 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 # Double quotes because CXXCPP needs to be expanded
15825 for CXXCPP
in "$CXX -E" "/lib/cpp"
15827 ac_preproc_ok
=false
15828 for ac_cxx_preproc_warn_flag
in '' yes
15830 # Use a header file that comes with gcc, so configuring glibc
15831 # with a fresh cross-compiler works.
15832 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15833 # <limits.h> exists even on freestanding compilers.
15834 # On the NeXT, cc -E runs the code through the compiler's parser,
15835 # not just through cpp. "Syntax error" is here to catch this case.
15836 cat >conftest.
$ac_ext <<_ACEOF
15839 cat confdefs.h
>>conftest.
$ac_ext
15840 cat >>conftest.
$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15843 # include <limits.h>
15845 # include <assert.h>
15849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15852 grep -v '^ *+' conftest.er1
>conftest.err
15854 cat conftest.err
>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } >/dev
/null
; then
15857 if test -s conftest.err
; then
15858 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15859 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15866 if test -z "$ac_cpp_err"; then
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.
$ac_ext >&5
15872 # Broken: fails on valid input.
15875 rm -f conftest.err conftest.
$ac_ext
15877 # OK, works on sane cases. Now check whether non-existent headers
15878 # can be detected and how.
15879 cat >conftest.
$ac_ext <<_ACEOF
15882 cat confdefs.h
>>conftest.
$ac_ext
15883 cat >>conftest.
$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 #include <ac_nonexistent.h>
15887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15888 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15890 grep -v '^ *+' conftest.er1
>conftest.err
15892 cat conftest.err
>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } >/dev
/null
; then
15895 if test -s conftest.err
; then
15896 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15897 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15904 if test -z "$ac_cpp_err"; then
15905 # Broken: success on invalid input.
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.
$ac_ext >&5
15911 # Passes both tests.
15915 rm -f conftest.err conftest.
$ac_ext
15918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15919 rm -f conftest.err conftest.
$ac_ext
15920 if $ac_preproc_ok; then
15925 ac_cv_prog_CXXCPP
=$CXXCPP
15928 CXXCPP
=$ac_cv_prog_CXXCPP
15930 ac_cv_prog_CXXCPP
=$CXXCPP
15932 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15933 echo "${ECHO_T}$CXXCPP" >&6
15934 ac_preproc_ok
=false
15935 for ac_cxx_preproc_warn_flag
in '' yes
15937 # Use a header file that comes with gcc, so configuring glibc
15938 # with a fresh cross-compiler works.
15939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15940 # <limits.h> exists even on freestanding compilers.
15941 # On the NeXT, cc -E runs the code through the compiler's parser,
15942 # not just through cpp. "Syntax error" is here to catch this case.
15943 cat >conftest.
$ac_ext <<_ACEOF
15946 cat confdefs.h
>>conftest.
$ac_ext
15947 cat >>conftest.
$ac_ext <<_ACEOF
15948 /* end confdefs.h. */
15950 # include <limits.h>
15952 # include <assert.h>
15956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15957 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15959 grep -v '^ *+' conftest.er1
>conftest.err
15961 cat conftest.err
>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } >/dev
/null
; then
15964 if test -s conftest.err
; then
15965 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15966 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15973 if test -z "$ac_cpp_err"; then
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.
$ac_ext >&5
15979 # Broken: fails on valid input.
15982 rm -f conftest.err conftest.
$ac_ext
15984 # OK, works on sane cases. Now check whether non-existent headers
15985 # can be detected and how.
15986 cat >conftest.
$ac_ext <<_ACEOF
15989 cat confdefs.h
>>conftest.
$ac_ext
15990 cat >>conftest.
$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 #include <ac_nonexistent.h>
15994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15997 grep -v '^ *+' conftest.er1
>conftest.err
15999 cat conftest.err
>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } >/dev
/null
; then
16002 if test -s conftest.err
; then
16003 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16004 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16011 if test -z "$ac_cpp_err"; then
16012 # Broken: success on invalid input.
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.
$ac_ext >&5
16018 # Passes both tests.
16022 rm -f conftest.err conftest.
$ac_ext
16025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16026 rm -f conftest.err conftest.
$ac_ext
16027 if $ac_preproc_ok; then
16030 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16031 See \`config.log' for more details." >&5
16032 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16033 See \`config.log' for more details." >&2;}
16034 { (exit 1); exit 1; }; }
16038 ac_cpp
='$CXXCPP $CPPFLAGS'
16039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16044 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16045 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16046 if test "${ac_cv_header_stdc+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 #include <stdlib.h>
16056 #include <stdarg.h>
16057 #include <string.h>
16068 rm -f conftest.
$ac_objext
16069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16070 (eval $ac_compile) 2>conftest.er1
16072 grep -v '^ *+' conftest.er1
>conftest.err
16074 cat conftest.err
>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; } &&
16083 { ac_try
='test -s conftest.$ac_objext'
16084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16085 (eval $ac_try) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; }; then
16089 ac_cv_header_stdc
=yes
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.
$ac_ext >&5
16094 ac_cv_header_stdc
=no
16096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16098 if test $ac_cv_header_stdc = yes; then
16099 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16100 cat >conftest.
$ac_ext <<_ACEOF
16103 cat confdefs.h
>>conftest.
$ac_ext
16104 cat >>conftest.
$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16106 #include <string.h>
16109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16110 $EGREP "memchr" >/dev
/null
2>&1; then
16113 ac_cv_header_stdc
=no
16119 if test $ac_cv_header_stdc = yes; then
16120 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16121 cat >conftest.
$ac_ext <<_ACEOF
16124 cat confdefs.h
>>conftest.
$ac_ext
16125 cat >>conftest.
$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 #include <stdlib.h>
16130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16131 $EGREP "free" >/dev
/null
2>&1; then
16134 ac_cv_header_stdc
=no
16140 if test $ac_cv_header_stdc = yes; then
16141 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16142 if test "$cross_compiling" = yes; then
16145 cat >conftest.
$ac_ext <<_ACEOF
16148 cat confdefs.h
>>conftest.
$ac_ext
16149 cat >>conftest.
$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16152 #if ((' ' & 0x0FF) == 0x020)
16153 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16154 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16156 # define ISLOWER(c) \
16157 (('a' <= (c) && (c) <= 'i') \
16158 || ('j' <= (c) && (c) <= 'r') \
16159 || ('s' <= (c) && (c) <= 'z'))
16160 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16163 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16168 for (i = 0; i < 256; i++)
16169 if (XOR (islower (i), ISLOWER (i))
16170 || toupper (i) != TOUPPER (i))
16175 rm -f conftest
$ac_exeext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16177 (eval $ac_link) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16188 echo "$as_me: program exited with status $ac_status" >&5
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ( exit $ac_status )
16193 ac_cv_header_stdc
=no
16195 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16199 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16200 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16201 if test $ac_cv_header_stdc = yes; then
16203 cat >>confdefs.h
<<\_ACEOF
16204 #define STDC_HEADERS 1
16209 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16219 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16220 inttypes.h stdint.h unistd.h
16222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16223 echo "$as_me:$LINENO: checking for $ac_header" >&5
16224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16226 echo $ECHO_N "(cached) $ECHO_C" >&6
16228 cat >conftest.
$ac_ext <<_ACEOF
16231 cat confdefs.h
>>conftest.
$ac_ext
16232 cat >>conftest.
$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16234 $ac_includes_default
16236 #include <$ac_header>
16238 rm -f conftest.
$ac_objext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16240 (eval $ac_compile) 2>conftest.er1
16242 grep -v '^ *+' conftest.er1
>conftest.err
16244 cat conftest.err
>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try
='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 eval "$as_ac_Header=yes"
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.
$ac_ext >&5
16264 eval "$as_ac_Header=no"
16266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16271 cat >>confdefs.h
<<_ACEOF
16272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16281 for ac_header
in stdlib.h
16283 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16285 echo "$as_me:$LINENO: checking for $ac_header" >&5
16286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16293 # Is the header compilable?
16294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16296 cat >conftest.
$ac_ext <<_ACEOF
16299 cat confdefs.h
>>conftest.
$ac_ext
16300 cat >>conftest.
$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 $ac_includes_default
16303 #include <$ac_header>
16305 rm -f conftest.
$ac_objext
16306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16307 (eval $ac_compile) 2>conftest.er1
16309 grep -v '^ *+' conftest.er1
>conftest.err
16311 cat conftest.err
>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } &&
16314 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try
='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_header_compiler
=yes
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.
$ac_ext >&5
16331 ac_header_compiler
=no
16333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16335 echo "${ECHO_T}$ac_header_compiler" >&6
16337 # Is the header present?
16338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16340 cat >conftest.
$ac_ext <<_ACEOF
16343 cat confdefs.h
>>conftest.
$ac_ext
16344 cat >>conftest.
$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16346 #include <$ac_header>
16348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16351 grep -v '^ *+' conftest.er1
>conftest.err
16353 cat conftest.err
>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } >/dev
/null
; then
16356 if test -s conftest.err
; then
16357 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16358 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16365 if test -z "$ac_cpp_err"; then
16366 ac_header_preproc
=yes
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.
$ac_ext >&5
16371 ac_header_preproc
=no
16373 rm -f conftest.err conftest.
$ac_ext
16374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16375 echo "${ECHO_T}$ac_header_preproc" >&6
16377 # So? What about this header?
16378 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16384 ac_header_preproc
=yes
16387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16401 ## ----------------------------------------- ##
16402 ## Report this to wx-dev@lists.wxwidgets.org ##
16403 ## ----------------------------------------- ##
16406 sed "s/^/$as_me: WARNING: /" >&2
16409 echo "$as_me:$LINENO: checking for $ac_header" >&5
16410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 eval "$as_ac_Header=\$ac_header_preproc"
16416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16421 cat >>confdefs.h
<<_ACEOF
16422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16430 for ac_header
in malloc.h
16432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16434 echo "$as_me:$LINENO: checking for $ac_header" >&5
16435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16442 # Is the header compilable?
16443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16445 cat >conftest.
$ac_ext <<_ACEOF
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16452 #include <$ac_header>
16454 rm -f conftest.
$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>conftest.er1
16458 grep -v '^ *+' conftest.er1
>conftest.err
16460 cat conftest.err
>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try
='test -s conftest.$ac_objext'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16475 ac_header_compiler
=yes
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.
$ac_ext >&5
16480 ac_header_compiler
=no
16482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16484 echo "${ECHO_T}$ac_header_compiler" >&6
16486 # Is the header present?
16487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <$ac_header>
16497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16500 grep -v '^ *+' conftest.er1
>conftest.err
16502 cat conftest.err
>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } >/dev
/null
; then
16505 if test -s conftest.err
; then
16506 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16507 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16514 if test -z "$ac_cpp_err"; then
16515 ac_header_preproc
=yes
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.
$ac_ext >&5
16520 ac_header_preproc
=no
16522 rm -f conftest.err conftest.
$ac_ext
16523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16524 echo "${ECHO_T}$ac_header_preproc" >&6
16526 # So? What about this header?
16527 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16533 ac_header_preproc
=yes
16536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16550 ## ----------------------------------------- ##
16551 ## Report this to wx-dev@lists.wxwidgets.org ##
16552 ## ----------------------------------------- ##
16555 sed "s/^/$as_me: WARNING: /" >&2
16558 echo "$as_me:$LINENO: checking for $ac_header" >&5
16559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16561 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 eval "$as_ac_Header=\$ac_header_preproc"
16565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16570 cat >>confdefs.h
<<_ACEOF
16571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16579 for ac_header
in unistd.h
16581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16583 echo "$as_me:$LINENO: checking for $ac_header" >&5
16584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16591 # Is the header compilable?
16592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16594 cat >conftest.
$ac_ext <<_ACEOF
16597 cat confdefs.h
>>conftest.
$ac_ext
16598 cat >>conftest.
$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16600 $ac_includes_default
16601 #include <$ac_header>
16603 rm -f conftest.
$ac_objext
16604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16605 (eval $ac_compile) 2>conftest.er1
16607 grep -v '^ *+' conftest.er1
>conftest.err
16609 cat conftest.err
>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } &&
16612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; } &&
16618 { ac_try
='test -s conftest.$ac_objext'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; }; then
16624 ac_header_compiler
=yes
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.
$ac_ext >&5
16629 ac_header_compiler
=no
16631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16633 echo "${ECHO_T}$ac_header_compiler" >&6
16635 # Is the header present?
16636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16638 cat >conftest.
$ac_ext <<_ACEOF
16641 cat confdefs.h
>>conftest.
$ac_ext
16642 cat >>conftest.
$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 #include <$ac_header>
16646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16649 grep -v '^ *+' conftest.er1
>conftest.err
16651 cat conftest.err
>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } >/dev
/null
; then
16654 if test -s conftest.err
; then
16655 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16656 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16663 if test -z "$ac_cpp_err"; then
16664 ac_header_preproc
=yes
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16669 ac_header_preproc
=no
16671 rm -f conftest.err conftest.
$ac_ext
16672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16673 echo "${ECHO_T}$ac_header_preproc" >&6
16675 # So? What about this header?
16676 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16682 ac_header_preproc
=yes
16685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16699 ## ----------------------------------------- ##
16700 ## Report this to wx-dev@lists.wxwidgets.org ##
16701 ## ----------------------------------------- ##
16704 sed "s/^/$as_me: WARNING: /" >&2
16707 echo "$as_me:$LINENO: checking for $ac_header" >&5
16708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 eval "$as_ac_Header=\$ac_header_preproc"
16714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16719 cat >>confdefs.h
<<_ACEOF
16720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16728 for ac_header
in wchar.h
16730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16732 echo "$as_me:$LINENO: checking for $ac_header" >&5
16733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16735 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16740 # Is the header compilable?
16741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16743 cat >conftest.
$ac_ext <<_ACEOF
16746 cat confdefs.h
>>conftest.
$ac_ext
16747 cat >>conftest.
$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16749 $ac_includes_default
16750 #include <$ac_header>
16752 rm -f conftest.
$ac_objext
16753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16754 (eval $ac_compile) 2>conftest.er1
16756 grep -v '^ *+' conftest.er1
>conftest.err
16758 cat conftest.err
>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; } &&
16767 { ac_try
='test -s conftest.$ac_objext'
16768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16769 (eval $ac_try) 2>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); }; }; then
16773 ac_header_compiler
=yes
16775 echo "$as_me: failed program was:" >&5
16776 sed 's/^/| /' conftest.
$ac_ext >&5
16778 ac_header_compiler
=no
16780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16782 echo "${ECHO_T}$ac_header_compiler" >&6
16784 # Is the header present?
16785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 #include <$ac_header>
16795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16798 grep -v '^ *+' conftest.er1
>conftest.err
16800 cat conftest.err
>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } >/dev
/null
; then
16803 if test -s conftest.err
; then
16804 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16805 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16812 if test -z "$ac_cpp_err"; then
16813 ac_header_preproc
=yes
16815 echo "$as_me: failed program was:" >&5
16816 sed 's/^/| /' conftest.
$ac_ext >&5
16818 ac_header_preproc
=no
16820 rm -f conftest.err conftest.
$ac_ext
16821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16822 echo "${ECHO_T}$ac_header_preproc" >&6
16824 # So? What about this header?
16825 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16831 ac_header_preproc
=yes
16834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16848 ## ----------------------------------------- ##
16849 ## Report this to wx-dev@lists.wxwidgets.org ##
16850 ## ----------------------------------------- ##
16853 sed "s/^/$as_me: WARNING: /" >&2
16856 echo "$as_me:$LINENO: checking for $ac_header" >&5
16857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 eval "$as_ac_Header=\$ac_header_preproc"
16863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16868 cat >>confdefs.h
<<_ACEOF
16869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16877 if test "$ac_cv_header_wchar_h" != "yes"; then
16879 for ac_header
in wcstr.h
16881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16883 echo "$as_me:$LINENO: checking for $ac_header" >&5
16884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16891 # Is the header compilable?
16892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16894 cat >conftest.
$ac_ext <<_ACEOF
16897 cat confdefs.h
>>conftest.
$ac_ext
16898 cat >>conftest.
$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16901 #include <$ac_header>
16903 rm -f conftest.
$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try
='test -s conftest.$ac_objext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 ac_header_compiler
=yes
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.
$ac_ext >&5
16929 ac_header_compiler
=no
16931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16933 echo "${ECHO_T}$ac_header_compiler" >&6
16935 # Is the header present?
16936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16938 cat >conftest.
$ac_ext <<_ACEOF
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 #include <$ac_header>
16946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } >/dev
/null
; then
16954 if test -s conftest.err
; then
16955 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16956 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16963 if test -z "$ac_cpp_err"; then
16964 ac_header_preproc
=yes
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.
$ac_ext >&5
16969 ac_header_preproc
=no
16971 rm -f conftest.err conftest.
$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16973 echo "${ECHO_T}$ac_header_preproc" >&6
16975 # So? What about this header?
16976 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16982 ac_header_preproc
=yes
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16999 ## ----------------------------------------- ##
17000 ## Report this to wx-dev@lists.wxwidgets.org ##
17001 ## ----------------------------------------- ##
17004 sed "s/^/$as_me: WARNING: /" >&2
17007 echo "$as_me:$LINENO: checking for $ac_header" >&5
17008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17012 eval "$as_ac_Header=\$ac_header_preproc"
17014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17019 cat >>confdefs.h
<<_ACEOF
17020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17030 for ac_header
in fnmatch.h
17032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17034 echo "$as_me:$LINENO: checking for $ac_header" >&5
17035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17042 # Is the header compilable?
17043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17045 cat >conftest.
$ac_ext <<_ACEOF
17048 cat confdefs.h
>>conftest.
$ac_ext
17049 cat >>conftest.
$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 $ac_includes_default
17052 #include <$ac_header>
17054 rm -f conftest.
$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try
='test -s conftest.$ac_objext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 ac_header_compiler
=yes
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17080 ac_header_compiler
=no
17082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17084 echo "${ECHO_T}$ac_header_compiler" >&6
17086 # Is the header present?
17087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17089 cat >conftest.
$ac_ext <<_ACEOF
17092 cat confdefs.h
>>conftest.
$ac_ext
17093 cat >>conftest.
$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 #include <$ac_header>
17097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17100 grep -v '^ *+' conftest.er1
>conftest.err
17102 cat conftest.err
>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } >/dev
/null
; then
17105 if test -s conftest.err
; then
17106 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17107 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17114 if test -z "$ac_cpp_err"; then
17115 ac_header_preproc
=yes
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.
$ac_ext >&5
17120 ac_header_preproc
=no
17122 rm -f conftest.err conftest.
$ac_ext
17123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17124 echo "${ECHO_T}$ac_header_preproc" >&6
17126 # So? What about this header?
17127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17133 ac_header_preproc
=yes
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17150 ## ----------------------------------------- ##
17151 ## Report this to wx-dev@lists.wxwidgets.org ##
17152 ## ----------------------------------------- ##
17155 sed "s/^/$as_me: WARNING: /" >&2
17158 echo "$as_me:$LINENO: checking for $ac_header" >&5
17159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 eval "$as_ac_Header=\$ac_header_preproc"
17165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17170 cat >>confdefs.h
<<_ACEOF
17171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17180 for ac_header
in langinfo.h
17182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17184 echo "$as_me:$LINENO: checking for $ac_header" >&5
17185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17192 # Is the header compilable?
17193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17195 cat >conftest.
$ac_ext <<_ACEOF
17198 cat confdefs.h
>>conftest.
$ac_ext
17199 cat >>conftest.
$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17202 #include <$ac_header>
17204 rm -f conftest.
$ac_objext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17206 (eval $ac_compile) 2>conftest.er1
17208 grep -v '^ *+' conftest.er1
>conftest.err
17210 cat conftest.err
>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } &&
17213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; } &&
17219 { ac_try
='test -s conftest.$ac_objext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17225 ac_header_compiler
=yes
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.
$ac_ext >&5
17230 ac_header_compiler
=no
17232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17234 echo "${ECHO_T}$ac_header_compiler" >&6
17236 # Is the header present?
17237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17239 cat >conftest.
$ac_ext <<_ACEOF
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 #include <$ac_header>
17247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17250 grep -v '^ *+' conftest.er1
>conftest.err
17252 cat conftest.err
>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } >/dev
/null
; then
17255 if test -s conftest.err
; then
17256 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17257 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17264 if test -z "$ac_cpp_err"; then
17265 ac_header_preproc
=yes
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.
$ac_ext >&5
17270 ac_header_preproc
=no
17272 rm -f conftest.err conftest.
$ac_ext
17273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17274 echo "${ECHO_T}$ac_header_preproc" >&6
17276 # So? What about this header?
17277 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17283 ac_header_preproc
=yes
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17300 ## ----------------------------------------- ##
17301 ## Report this to wx-dev@lists.wxwidgets.org ##
17302 ## ----------------------------------------- ##
17305 sed "s/^/$as_me: WARNING: /" >&2
17308 echo "$as_me:$LINENO: checking for $ac_header" >&5
17309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 eval "$as_ac_Header=\$ac_header_preproc"
17315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17320 cat >>confdefs.h
<<_ACEOF
17321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17330 *-pc-os2_emx | *-pc-os2-emx )
17331 if test $ac_cv_header_langinfo_h = "yes" \
17332 -a \
( "$wx_cv_gccversion" = "EMX2" \
17333 -o "$wx_cv_gccversion" = "EMX3" \
17334 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17335 LIBS
="$LIBS -lintl"
17340 if test "$USE_UNIX" = 1 ; then
17342 for ac_header
in sys
/select.h
17344 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17346 echo "$as_me:$LINENO: checking for $ac_header" >&5
17347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17354 # Is the header compilable?
17355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17357 cat >conftest.
$ac_ext <<_ACEOF
17360 cat confdefs.h
>>conftest.
$ac_ext
17361 cat >>conftest.
$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363 $ac_includes_default
17364 #include <$ac_header>
17366 rm -f conftest.
$ac_objext
17367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17368 (eval $ac_compile) 2>conftest.er1
17370 grep -v '^ *+' conftest.er1
>conftest.err
17372 cat conftest.err
>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); } &&
17375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; } &&
17381 { ac_try
='test -s conftest.$ac_objext'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; }; then
17387 ac_header_compiler
=yes
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17392 ac_header_compiler
=no
17394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17396 echo "${ECHO_T}$ac_header_compiler" >&6
17398 # Is the header present?
17399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17401 cat >conftest.
$ac_ext <<_ACEOF
17404 cat confdefs.h
>>conftest.
$ac_ext
17405 cat >>conftest.
$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407 #include <$ac_header>
17409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17412 grep -v '^ *+' conftest.er1
>conftest.err
17414 cat conftest.err
>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); } >/dev
/null
; then
17417 if test -s conftest.err
; then
17418 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17419 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17426 if test -z "$ac_cpp_err"; then
17427 ac_header_preproc
=yes
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.
$ac_ext >&5
17432 ac_header_preproc
=no
17434 rm -f conftest.err conftest.
$ac_ext
17435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17436 echo "${ECHO_T}$ac_header_preproc" >&6
17438 # So? What about this header?
17439 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17445 ac_header_preproc
=yes
17448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17462 ## ----------------------------------------- ##
17463 ## Report this to wx-dev@lists.wxwidgets.org ##
17464 ## ----------------------------------------- ##
17467 sed "s/^/$as_me: WARNING: /" >&2
17470 echo "$as_me:$LINENO: checking for $ac_header" >&5
17471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 eval "$as_ac_Header=\$ac_header_preproc"
17477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17482 cat >>confdefs.h
<<_ACEOF
17483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17493 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17494 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17495 if test "${ac_cv_c_const+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 cat >conftest.
$ac_ext <<_ACEOF
17501 cat confdefs.h
>>conftest.
$ac_ext
17502 cat >>conftest.
$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17508 /* FIXME: Include the comments suggested by Paul. */
17509 #ifndef __cplusplus
17510 /* Ultrix mips cc rejects this. */
17511 typedef int charset[2];
17513 /* SunOS 4.1.1 cc rejects this. */
17514 char const *const *ccp;
17516 /* NEC SVR4.0.2 mips cc rejects this. */
17517 struct point {int x, y;};
17518 static struct point const zero = {0,0};
17519 /* AIX XL C 1.02.0.0 rejects this.
17520 It does not let you subtract one const X* pointer from another in
17521 an arm of an if-expression whose if-part is not a constant
17523 const char *g = "string";
17524 ccp = &g + (g ? g-g : 0);
17525 /* HPUX 7.0 cc rejects these. */
17528 ccp = (char const *const *) p;
17529 { /* SCO 3.2v4 cc rejects this. */
17531 char const *s = 0 ? (char *) 0 : (char const *) 0;
17535 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17536 int x[] = {25, 17};
17537 const int *foo = &x[0];
17540 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17541 typedef const int *iptr;
17545 { /* AIX XL C 1.02.0.0 rejects this saying
17546 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17547 struct s { int j; const int *ap[3]; };
17548 struct s *b; b->j = 5;
17550 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17551 const int foo = 10;
17559 rm -f conftest.
$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; } &&
17574 { ac_try
='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.
$ac_ext >&5
17587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17589 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17590 echo "${ECHO_T}$ac_cv_c_const" >&6
17591 if test $ac_cv_c_const = no
; then
17593 cat >>confdefs.h
<<\_ACEOF
17599 echo "$as_me:$LINENO: checking for inline" >&5
17600 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17601 if test "${ac_cv_c_inline+set}" = set; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 for ac_kw
in inline __inline__ __inline
; do
17606 cat >conftest.
$ac_ext <<_ACEOF
17609 cat confdefs.h
>>conftest.
$ac_ext
17610 cat >>conftest.
$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 #ifndef __cplusplus
17614 static $ac_kw foo_t static_foo () {return 0; }
17615 $ac_kw foo_t foo () {return 0; }
17619 rm -f conftest.
$ac_objext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17621 (eval $ac_compile) 2>conftest.er1
17623 grep -v '^ *+' conftest.er1
>conftest.err
17625 cat conftest.err
>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try
='test -s conftest.$ac_objext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 ac_cv_c_inline
=$ac_kw; break
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.
$ac_ext >&5
17646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17650 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17651 echo "${ECHO_T}$ac_cv_c_inline" >&6
17654 case $ac_cv_c_inline in
17657 case $ac_cv_c_inline in
17659 *) ac_val
=$ac_cv_c_inline;;
17661 cat >>confdefs.h
<<_ACEOF
17662 #ifndef __cplusplus
17663 #define inline $ac_val
17670 echo "$as_me:$LINENO: checking for char" >&5
17671 echo $ECHO_N "checking for char... $ECHO_C" >&6
17672 if test "${ac_cv_type_char+set}" = set; then
17673 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 cat >conftest.
$ac_ext <<_ACEOF
17678 cat confdefs.h
>>conftest.
$ac_ext
17679 cat >>conftest.
$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681 $ac_includes_default
17693 rm -f conftest.
$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17697 grep -v '^ *+' conftest.er1
>conftest.err
17699 cat conftest.err
>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try
='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_type_char
=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.
$ac_ext >&5
17721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17723 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17724 echo "${ECHO_T}$ac_cv_type_char" >&6
17726 echo "$as_me:$LINENO: checking size of char" >&5
17727 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17728 if test "${ac_cv_sizeof_char+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 if test "$ac_cv_type_char" = yes; then
17732 # The cast to unsigned long works around a bug in the HP C Compiler
17733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17735 # This bug is HP SR number 8606223364.
17736 if test "$cross_compiling" = yes; then
17737 # Depending upon the size, compute the lo and hi bounds.
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 $ac_includes_default
17748 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>conftest.er1
17759 grep -v '^ *+' conftest.er1
>conftest.err
17761 cat conftest.err
>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try
='test -s conftest.$ac_objext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17778 cat >conftest.
$ac_ext <<_ACEOF
17781 cat confdefs.h
>>conftest.
$ac_ext
17782 cat >>conftest.
$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 $ac_includes_default
17788 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17795 rm -f conftest.
$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17799 grep -v '^ *+' conftest.er1
>conftest.err
17801 cat conftest.err
>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try
='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_hi
=$ac_mid; break
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 ac_lo
=`expr $ac_mid + 1`
17822 if test $ac_lo -le $ac_mid; then
17826 ac_mid
=`expr 2 '*' $ac_mid + 1`
17828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 cat >conftest.
$ac_ext <<_ACEOF
17837 cat confdefs.h
>>conftest.
$ac_ext
17838 cat >>conftest.
$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17840 $ac_includes_default
17844 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17851 rm -f conftest.
$ac_objext
17852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17853 (eval $ac_compile) 2>conftest.er1
17855 grep -v '^ *+' conftest.er1
>conftest.err
17857 cat conftest.err
>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } &&
17860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try
='test -s conftest.$ac_objext'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; }; then
17874 cat >conftest.
$ac_ext <<_ACEOF
17877 cat confdefs.h
>>conftest.
$ac_ext
17878 cat >>conftest.
$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 $ac_includes_default
17884 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17891 rm -f conftest.
$ac_objext
17892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17893 (eval $ac_compile) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; } &&
17906 { ac_try
='test -s conftest.$ac_objext'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; }; then
17912 ac_lo
=$ac_mid; break
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.
$ac_ext >&5
17917 ac_hi
=`expr '(' $ac_mid ')' - 1`
17918 if test $ac_mid -le $ac_hi; then
17922 ac_mid
=`expr 2 '*' $ac_mid`
17924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.
$ac_ext >&5
17932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17935 # Binary search between lo and hi bounds.
17936 while test "x$ac_lo" != "x$ac_hi"; do
17937 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17938 cat >conftest.
$ac_ext <<_ACEOF
17941 cat confdefs.h
>>conftest.
$ac_ext
17942 cat >>conftest.
$ac_ext <<_ACEOF
17943 /* end confdefs.h. */
17944 $ac_includes_default
17948 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17955 rm -f conftest.
$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957 (eval $ac_compile) 2>conftest.er1
17959 grep -v '^ *+' conftest.er1
>conftest.err
17961 cat conftest.err
>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; } &&
17970 { ac_try
='test -s conftest.$ac_objext'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.
$ac_ext >&5
17981 ac_lo
=`expr '(' $ac_mid ')' + 1`
17983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17986 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17987 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17988 See \`config.log' for more details." >&5
17989 echo "$as_me: error: cannot compute sizeof (char), 77
17990 See \`config.log' for more details." >&2;}
17991 { (exit 1); exit 1; }; } ;;
17994 if test "$cross_compiling" = yes; then
17995 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17996 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17997 { (exit 1); exit 1; }; }
17999 cat >conftest.
$ac_ext <<_ACEOF
18002 cat confdefs.h
>>conftest.
$ac_ext
18003 cat >>conftest.
$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18006 long longval () { return (long) (sizeof (char)); }
18007 unsigned long ulongval () { return (long) (sizeof (char)); }
18009 #include <stdlib.h>
18014 FILE *f = fopen ("conftest.val", "w");
18017 if (((long) (sizeof (char))) < 0)
18019 long i = longval ();
18020 if (i != ((long) (sizeof (char))))
18022 fprintf (f, "%ld\n", i);
18026 unsigned long i = ulongval ();
18027 if (i != ((long) (sizeof (char))))
18029 fprintf (f, "%lu\n", i);
18031 exit (ferror (f) || fclose (f) != 0);
18037 rm -f conftest
$ac_exeext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18039 (eval $ac_link) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; }; then
18048 ac_cv_sizeof_char
=`cat conftest.val`
18050 echo "$as_me: program exited with status $ac_status" >&5
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 ( exit $ac_status )
18055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18056 See \`config.log' for more details." >&5
18057 echo "$as_me: error: cannot compute sizeof (char), 77
18058 See \`config.log' for more details." >&2;}
18059 { (exit 1); exit 1; }; }
18061 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18066 ac_cv_sizeof_char
=0
18069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18070 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18071 cat >>confdefs.h
<<_ACEOF
18072 #define SIZEOF_CHAR $ac_cv_sizeof_char
18076 echo "$as_me:$LINENO: checking for short" >&5
18077 echo $ECHO_N "checking for short... $ECHO_C" >&6
18078 if test "${ac_cv_type_short+set}" = set; then
18079 echo $ECHO_N "(cached) $ECHO_C" >&6
18081 cat >conftest.
$ac_ext <<_ACEOF
18084 cat confdefs.h
>>conftest.
$ac_ext
18085 cat >>conftest.
$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18087 $ac_includes_default
18093 if (sizeof (short))
18099 rm -f conftest.
$ac_objext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18101 (eval $ac_compile) 2>conftest.er1
18103 grep -v '^ *+' conftest.er1
>conftest.err
18105 cat conftest.err
>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; } &&
18114 { ac_try
='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_cv_type_short
=yes
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.
$ac_ext >&5
18125 ac_cv_type_short
=no
18127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18129 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18130 echo "${ECHO_T}$ac_cv_type_short" >&6
18132 echo "$as_me:$LINENO: checking size of short" >&5
18133 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18134 if test "${ac_cv_sizeof_short+set}" = set; then
18135 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 if test "$ac_cv_type_short" = yes; then
18138 # The cast to unsigned long works around a bug in the HP C Compiler
18139 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18140 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18141 # This bug is HP SR number 8606223364.
18142 if test "$cross_compiling" = yes; then
18143 # Depending upon the size, compute the lo and hi bounds.
18144 cat >conftest.
$ac_ext <<_ACEOF
18147 cat confdefs.h
>>conftest.
$ac_ext
18148 cat >>conftest.
$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18150 $ac_includes_default
18154 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18161 rm -f conftest.
$ac_objext
18162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18163 (eval $ac_compile) 2>conftest.er1
18165 grep -v '^ *+' conftest.er1
>conftest.err
18167 cat conftest.err
>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } &&
18170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; } &&
18176 { ac_try
='test -s conftest.$ac_objext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18184 cat >conftest.
$ac_ext <<_ACEOF
18187 cat confdefs.h
>>conftest.
$ac_ext
18188 cat >>conftest.
$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 $ac_includes_default
18194 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18201 rm -f conftest.
$ac_objext
18202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18203 (eval $ac_compile) 2>conftest.er1
18205 grep -v '^ *+' conftest.er1
>conftest.err
18207 cat conftest.err
>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } &&
18210 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; } &&
18216 { ac_try
='test -s conftest.$ac_objext'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; }; then
18222 ac_hi
=$ac_mid; break
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.
$ac_ext >&5
18227 ac_lo
=`expr $ac_mid + 1`
18228 if test $ac_lo -le $ac_mid; then
18232 ac_mid
=`expr 2 '*' $ac_mid + 1`
18234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.
$ac_ext >&5
18240 cat >conftest.
$ac_ext <<_ACEOF
18243 cat confdefs.h
>>conftest.
$ac_ext
18244 cat >>conftest.
$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 $ac_includes_default
18250 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18257 rm -f conftest.
$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18261 grep -v '^ *+' conftest.er1
>conftest.err
18263 cat conftest.err
>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try
='test -s conftest.$ac_objext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18280 cat >conftest.
$ac_ext <<_ACEOF
18283 cat confdefs.h
>>conftest.
$ac_ext
18284 cat >>conftest.
$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 $ac_includes_default
18290 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18297 rm -f conftest.
$ac_objext
18298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18299 (eval $ac_compile) 2>conftest.er1
18301 grep -v '^ *+' conftest.er1
>conftest.err
18303 cat conftest.err
>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308 (eval $ac_try) 2>&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); }; } &&
18312 { ac_try
='test -s conftest.$ac_objext'
18313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314 (eval $ac_try) 2>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); }; }; then
18318 ac_lo
=$ac_mid; break
18320 echo "$as_me: failed program was:" >&5
18321 sed 's/^/| /' conftest.
$ac_ext >&5
18323 ac_hi
=`expr '(' $ac_mid ')' - 1`
18324 if test $ac_mid -le $ac_hi; then
18328 ac_mid
=`expr 2 '*' $ac_mid`
18330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.
$ac_ext >&5
18338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18341 # Binary search between lo and hi bounds.
18342 while test "x$ac_lo" != "x$ac_hi"; do
18343 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18344 cat >conftest.
$ac_ext <<_ACEOF
18347 cat confdefs.h
>>conftest.
$ac_ext
18348 cat >>conftest.
$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 $ac_includes_default
18354 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18361 rm -f conftest.
$ac_objext
18362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18363 (eval $ac_compile) 2>conftest.er1
18365 grep -v '^ *+' conftest.er1
>conftest.err
18367 cat conftest.err
>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } &&
18370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; } &&
18376 { ac_try
='test -s conftest.$ac_objext'
18377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378 (eval $ac_try) 2>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); }; }; then
18384 echo "$as_me: failed program was:" >&5
18385 sed 's/^/| /' conftest.
$ac_ext >&5
18387 ac_lo
=`expr '(' $ac_mid ')' + 1`
18389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18392 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18394 See \`config.log' for more details." >&5
18395 echo "$as_me: error: cannot compute sizeof (short), 77
18396 See \`config.log' for more details." >&2;}
18397 { (exit 1); exit 1; }; } ;;
18400 if test "$cross_compiling" = yes; then
18401 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18402 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18403 { (exit 1); exit 1; }; }
18405 cat >conftest.
$ac_ext <<_ACEOF
18408 cat confdefs.h
>>conftest.
$ac_ext
18409 cat >>conftest.
$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 $ac_includes_default
18412 long longval () { return (long) (sizeof (short)); }
18413 unsigned long ulongval () { return (long) (sizeof (short)); }
18415 #include <stdlib.h>
18420 FILE *f = fopen ("conftest.val", "w");
18423 if (((long) (sizeof (short))) < 0)
18425 long i = longval ();
18426 if (i != ((long) (sizeof (short))))
18428 fprintf (f, "%ld\n", i);
18432 unsigned long i = ulongval ();
18433 if (i != ((long) (sizeof (short))))
18435 fprintf (f, "%lu\n", i);
18437 exit (ferror (f) || fclose (f) != 0);
18443 rm -f conftest
$ac_exeext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18445 (eval $ac_link) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18450 (eval $ac_try) 2>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); }; }; then
18454 ac_cv_sizeof_short
=`cat conftest.val`
18456 echo "$as_me: program exited with status $ac_status" >&5
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.
$ac_ext >&5
18460 ( exit $ac_status )
18461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18462 See \`config.log' for more details." >&5
18463 echo "$as_me: error: cannot compute sizeof (short), 77
18464 See \`config.log' for more details." >&2;}
18465 { (exit 1); exit 1; }; }
18467 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18472 ac_cv_sizeof_short
=0
18475 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18476 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18477 cat >>confdefs.h
<<_ACEOF
18478 #define SIZEOF_SHORT $ac_cv_sizeof_short
18482 echo "$as_me:$LINENO: checking for void *" >&5
18483 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18484 if test "${ac_cv_type_void_p+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 cat >conftest.
$ac_ext <<_ACEOF
18490 cat confdefs.h
>>conftest.
$ac_ext
18491 cat >>conftest.
$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 $ac_includes_default
18499 if (sizeof (void *))
18505 rm -f conftest.
$ac_objext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18507 (eval $ac_compile) 2>conftest.er1
18509 grep -v '^ *+' conftest.er1
>conftest.err
18511 cat conftest.err
>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try
='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 ac_cv_type_void_p
=yes
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.
$ac_ext >&5
18531 ac_cv_type_void_p
=no
18533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18535 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18536 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18538 echo "$as_me:$LINENO: checking size of void *" >&5
18539 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18540 if test "${ac_cv_sizeof_void_p+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18543 if test "$ac_cv_type_void_p" = yes; then
18544 # The cast to unsigned long works around a bug in the HP C Compiler
18545 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18546 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18547 # This bug is HP SR number 8606223364.
18548 if test "$cross_compiling" = yes; then
18549 # Depending upon the size, compute the lo and hi bounds.
18550 cat >conftest.
$ac_ext <<_ACEOF
18553 cat confdefs.h
>>conftest.
$ac_ext
18554 cat >>conftest.
$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 $ac_includes_default
18560 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18567 rm -f conftest.
$ac_objext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18569 (eval $ac_compile) 2>conftest.er1
18571 grep -v '^ *+' conftest.er1
>conftest.err
18573 cat conftest.err
>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; } &&
18582 { ac_try
='test -s conftest.$ac_objext'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
18590 cat >conftest.
$ac_ext <<_ACEOF
18593 cat confdefs.h
>>conftest.
$ac_ext
18594 cat >>conftest.
$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18600 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18607 rm -f conftest.
$ac_objext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18609 (eval $ac_compile) 2>conftest.er1
18611 grep -v '^ *+' conftest.er1
>conftest.err
18613 cat conftest.err
>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; } &&
18622 { ac_try
='test -s conftest.$ac_objext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_hi
=$ac_mid; break
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.
$ac_ext >&5
18633 ac_lo
=`expr $ac_mid + 1`
18634 if test $ac_lo -le $ac_mid; then
18638 ac_mid
=`expr 2 '*' $ac_mid + 1`
18640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.
$ac_ext >&5
18646 cat >conftest.
$ac_ext <<_ACEOF
18649 cat confdefs.h
>>conftest.
$ac_ext
18650 cat >>conftest.
$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 $ac_includes_default
18656 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18663 rm -f conftest.
$ac_objext
18664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18665 (eval $ac_compile) 2>conftest.er1
18667 grep -v '^ *+' conftest.er1
>conftest.err
18669 cat conftest.err
>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } &&
18672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18674 (eval $ac_try) 2>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; } &&
18678 { ac_try
='test -s conftest.$ac_objext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18686 cat >conftest.
$ac_ext <<_ACEOF
18689 cat confdefs.h
>>conftest.
$ac_ext
18690 cat >>conftest.
$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 $ac_includes_default
18696 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18703 rm -f conftest.
$ac_objext
18704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18705 (eval $ac_compile) 2>conftest.er1
18707 grep -v '^ *+' conftest.er1
>conftest.err
18709 cat conftest.err
>&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); } &&
18712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; } &&
18718 { ac_try
='test -s conftest.$ac_objext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 ac_lo
=$ac_mid; break
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.
$ac_ext >&5
18729 ac_hi
=`expr '(' $ac_mid ')' - 1`
18730 if test $ac_mid -le $ac_hi; then
18734 ac_mid
=`expr 2 '*' $ac_mid`
18736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 # Binary search between lo and hi bounds.
18748 while test "x$ac_lo" != "x$ac_hi"; do
18749 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18750 cat >conftest.
$ac_ext <<_ACEOF
18753 cat confdefs.h
>>conftest.
$ac_ext
18754 cat >>conftest.
$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 $ac_includes_default
18760 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18767 rm -f conftest.
$ac_objext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18769 (eval $ac_compile) 2>conftest.er1
18771 grep -v '^ *+' conftest.er1
>conftest.err
18773 cat conftest.err
>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18778 (eval $ac_try) 2>&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); }; } &&
18782 { ac_try
='test -s conftest.$ac_objext'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; }; then
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.
$ac_ext >&5
18793 ac_lo
=`expr '(' $ac_mid ')' + 1`
18795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18798 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18799 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18800 See \`config.log' for more details." >&5
18801 echo "$as_me: error: cannot compute sizeof (void *), 77
18802 See \`config.log' for more details." >&2;}
18803 { (exit 1); exit 1; }; } ;;
18806 if test "$cross_compiling" = yes; then
18807 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18808 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18809 { (exit 1); exit 1; }; }
18811 cat >conftest.
$ac_ext <<_ACEOF
18814 cat confdefs.h
>>conftest.
$ac_ext
18815 cat >>conftest.
$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18817 $ac_includes_default
18818 long longval () { return (long) (sizeof (void *)); }
18819 unsigned long ulongval () { return (long) (sizeof (void *)); }
18821 #include <stdlib.h>
18826 FILE *f = fopen ("conftest.val", "w");
18829 if (((long) (sizeof (void *))) < 0)
18831 long i = longval ();
18832 if (i != ((long) (sizeof (void *))))
18834 fprintf (f, "%ld\n", i);
18838 unsigned long i = ulongval ();
18839 if (i != ((long) (sizeof (void *))))
18841 fprintf (f, "%lu\n", i);
18843 exit (ferror (f) || fclose (f) != 0);
18849 rm -f conftest
$ac_exeext
18850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18851 (eval $ac_link) 2>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; }; then
18860 ac_cv_sizeof_void_p
=`cat conftest.val`
18862 echo "$as_me: program exited with status $ac_status" >&5
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.
$ac_ext >&5
18866 ( exit $ac_status )
18867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18868 See \`config.log' for more details." >&5
18869 echo "$as_me: error: cannot compute sizeof (void *), 77
18870 See \`config.log' for more details." >&2;}
18871 { (exit 1); exit 1; }; }
18873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18878 ac_cv_sizeof_void_p
=0
18881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18882 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18883 cat >>confdefs.h
<<_ACEOF
18884 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18888 echo "$as_me:$LINENO: checking for int" >&5
18889 echo $ECHO_N "checking for int... $ECHO_C" >&6
18890 if test "${ac_cv_type_int+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 cat >conftest.
$ac_ext <<_ACEOF
18896 cat confdefs.h
>>conftest.
$ac_ext
18897 cat >>conftest.
$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18899 $ac_includes_default
18911 rm -f conftest.
$ac_objext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18913 (eval $ac_compile) 2>conftest.er1
18915 grep -v '^ *+' conftest.er1
>conftest.err
18917 cat conftest.err
>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } &&
18920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; } &&
18926 { ac_try
='test -s conftest.$ac_objext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.
$ac_ext >&5
18939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18941 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18942 echo "${ECHO_T}$ac_cv_type_int" >&6
18944 echo "$as_me:$LINENO: checking size of int" >&5
18945 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18946 if test "${ac_cv_sizeof_int+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 if test "$ac_cv_type_int" = yes; then
18950 # The cast to unsigned long works around a bug in the HP C Compiler
18951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18953 # This bug is HP SR number 8606223364.
18954 if test "$cross_compiling" = yes; then
18955 # Depending upon the size, compute the lo and hi bounds.
18956 cat >conftest.
$ac_ext <<_ACEOF
18959 cat confdefs.h
>>conftest.
$ac_ext
18960 cat >>conftest.
$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 $ac_includes_default
18966 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18973 rm -f conftest.
$ac_objext
18974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18975 (eval $ac_compile) 2>conftest.er1
18977 grep -v '^ *+' conftest.er1
>conftest.err
18979 cat conftest.err
>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } &&
18982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; } &&
18988 { ac_try
='test -s conftest.$ac_objext'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; }; then
18996 cat >conftest.
$ac_ext <<_ACEOF
18999 cat confdefs.h
>>conftest.
$ac_ext
19000 cat >>conftest.
$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 $ac_includes_default
19006 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19013 rm -f conftest.
$ac_objext
19014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19015 (eval $ac_compile) 2>conftest.er1
19017 grep -v '^ *+' conftest.er1
>conftest.err
19019 cat conftest.err
>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; } &&
19028 { ac_try
='test -s conftest.$ac_objext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_hi
=$ac_mid; break
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.
$ac_ext >&5
19039 ac_lo
=`expr $ac_mid + 1`
19040 if test $ac_lo -le $ac_mid; then
19044 ac_mid
=`expr 2 '*' $ac_mid + 1`
19046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.
$ac_ext >&5
19052 cat >conftest.
$ac_ext <<_ACEOF
19055 cat confdefs.h
>>conftest.
$ac_ext
19056 cat >>conftest.
$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 $ac_includes_default
19062 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19069 rm -f conftest.
$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19073 grep -v '^ *+' conftest.er1
>conftest.err
19075 cat conftest.err
>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19092 cat >conftest.
$ac_ext <<_ACEOF
19095 cat confdefs.h
>>conftest.
$ac_ext
19096 cat >>conftest.
$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 $ac_includes_default
19102 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19109 rm -f conftest.
$ac_objext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19111 (eval $ac_compile) 2>conftest.er1
19113 grep -v '^ *+' conftest.er1
>conftest.err
19115 cat conftest.err
>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; } &&
19124 { ac_try
='test -s conftest.$ac_objext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19130 ac_lo
=$ac_mid; break
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.
$ac_ext >&5
19135 ac_hi
=`expr '(' $ac_mid ')' - 1`
19136 if test $ac_mid -le $ac_hi; then
19140 ac_mid
=`expr 2 '*' $ac_mid`
19142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.
$ac_ext >&5
19150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19153 # Binary search between lo and hi bounds.
19154 while test "x$ac_lo" != "x$ac_hi"; do
19155 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19156 cat >conftest.
$ac_ext <<_ACEOF
19159 cat confdefs.h
>>conftest.
$ac_ext
19160 cat >>conftest.
$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 $ac_includes_default
19166 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19173 rm -f conftest.
$ac_objext
19174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19175 (eval $ac_compile) 2>conftest.er1
19177 grep -v '^ *+' conftest.er1
>conftest.err
19179 cat conftest.err
>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } &&
19182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; } &&
19188 { ac_try
='test -s conftest.$ac_objext'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.
$ac_ext >&5
19199 ac_lo
=`expr '(' $ac_mid ')' + 1`
19201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19204 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19205 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19206 See \`config.log' for more details." >&5
19207 echo "$as_me: error: cannot compute sizeof (int), 77
19208 See \`config.log' for more details." >&2;}
19209 { (exit 1); exit 1; }; } ;;
19212 if test "$cross_compiling" = yes; then
19213 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19214 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19215 { (exit 1); exit 1; }; }
19217 cat >conftest.
$ac_ext <<_ACEOF
19220 cat confdefs.h
>>conftest.
$ac_ext
19221 cat >>conftest.
$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224 long longval () { return (long) (sizeof (int)); }
19225 unsigned long ulongval () { return (long) (sizeof (int)); }
19227 #include <stdlib.h>
19232 FILE *f = fopen ("conftest.val", "w");
19235 if (((long) (sizeof (int))) < 0)
19237 long i = longval ();
19238 if (i != ((long) (sizeof (int))))
19240 fprintf (f, "%ld\n", i);
19244 unsigned long i = ulongval ();
19245 if (i != ((long) (sizeof (int))))
19247 fprintf (f, "%lu\n", i);
19249 exit (ferror (f) || fclose (f) != 0);
19255 rm -f conftest
$ac_exeext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257 (eval $ac_link) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 ac_cv_sizeof_int
=`cat conftest.val`
19268 echo "$as_me: program exited with status $ac_status" >&5
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.
$ac_ext >&5
19272 ( exit $ac_status )
19273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19274 See \`config.log' for more details." >&5
19275 echo "$as_me: error: cannot compute sizeof (int), 77
19276 See \`config.log' for more details." >&2;}
19277 { (exit 1); exit 1; }; }
19279 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19288 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19289 cat >>confdefs.h
<<_ACEOF
19290 #define SIZEOF_INT $ac_cv_sizeof_int
19294 echo "$as_me:$LINENO: checking for long" >&5
19295 echo $ECHO_N "checking for long... $ECHO_C" >&6
19296 if test "${ac_cv_type_long+set}" = set; then
19297 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 cat >conftest.
$ac_ext <<_ACEOF
19302 cat confdefs.h
>>conftest.
$ac_ext
19303 cat >>conftest.
$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19305 $ac_includes_default
19317 rm -f conftest.
$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19321 grep -v '^ *+' conftest.er1
>conftest.err
19323 cat conftest.err
>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19338 ac_cv_type_long
=yes
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19347 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19348 echo "${ECHO_T}$ac_cv_type_long" >&6
19350 echo "$as_me:$LINENO: checking size of long" >&5
19351 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19352 if test "${ac_cv_sizeof_long+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 if test "$ac_cv_type_long" = yes; then
19356 # The cast to unsigned long works around a bug in the HP C Compiler
19357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19359 # This bug is HP SR number 8606223364.
19360 if test "$cross_compiling" = yes; then
19361 # Depending upon the size, compute the lo and hi bounds.
19362 cat >conftest.
$ac_ext <<_ACEOF
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19372 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19379 rm -f conftest.
$ac_objext
19380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19381 (eval $ac_compile) 2>conftest.er1
19383 grep -v '^ *+' conftest.er1
>conftest.err
19385 cat conftest.err
>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } &&
19388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; } &&
19394 { ac_try
='test -s conftest.$ac_objext'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; }; then
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19412 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19419 rm -f conftest.
$ac_objext
19420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19421 (eval $ac_compile) 2>conftest.er1
19423 grep -v '^ *+' conftest.er1
>conftest.err
19425 cat conftest.err
>&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } &&
19428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; } &&
19434 { ac_try
='test -s conftest.$ac_objext'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; }; then
19440 ac_hi
=$ac_mid; break
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.
$ac_ext >&5
19445 ac_lo
=`expr $ac_mid + 1`
19446 if test $ac_lo -le $ac_mid; then
19450 ac_mid
=`expr 2 '*' $ac_mid + 1`
19452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.
$ac_ext >&5
19458 cat >conftest.
$ac_ext <<_ACEOF
19461 cat confdefs.h
>>conftest.
$ac_ext
19462 cat >>conftest.
$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 $ac_includes_default
19468 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19475 rm -f conftest.
$ac_objext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>conftest.er1
19479 grep -v '^ *+' conftest.er1
>conftest.err
19481 cat conftest.err
>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try
='test -s conftest.$ac_objext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19498 cat >conftest.
$ac_ext <<_ACEOF
19501 cat confdefs.h
>>conftest.
$ac_ext
19502 cat >>conftest.
$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19508 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19515 rm -f conftest.
$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try
='test -s conftest.$ac_objext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 ac_lo
=$ac_mid; break
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.
$ac_ext >&5
19541 ac_hi
=`expr '(' $ac_mid ')' - 1`
19542 if test $ac_mid -le $ac_hi; then
19546 ac_mid
=`expr 2 '*' $ac_mid`
19548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19559 # Binary search between lo and hi bounds.
19560 while test "x$ac_lo" != "x$ac_hi"; do
19561 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19562 cat >conftest.
$ac_ext <<_ACEOF
19565 cat confdefs.h
>>conftest.
$ac_ext
19566 cat >>conftest.
$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19572 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19579 rm -f conftest.
$ac_objext
19580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19581 (eval $ac_compile) 2>conftest.er1
19583 grep -v '^ *+' conftest.er1
>conftest.err
19585 cat conftest.err
>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); } &&
19588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19594 { ac_try
='test -s conftest.$ac_objext'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; }; then
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.
$ac_ext >&5
19605 ac_lo
=`expr '(' $ac_mid ')' + 1`
19607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19610 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19612 See \`config.log' for more details." >&5
19613 echo "$as_me: error: cannot compute sizeof (long), 77
19614 See \`config.log' for more details." >&2;}
19615 { (exit 1); exit 1; }; } ;;
19618 if test "$cross_compiling" = yes; then
19619 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19620 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19621 { (exit 1); exit 1; }; }
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 long longval () { return (long) (sizeof (long)); }
19631 unsigned long ulongval () { return (long) (sizeof (long)); }
19633 #include <stdlib.h>
19638 FILE *f = fopen ("conftest.val", "w");
19641 if (((long) (sizeof (long))) < 0)
19643 long i = longval ();
19644 if (i != ((long) (sizeof (long))))
19646 fprintf (f, "%ld\n", i);
19650 unsigned long i = ulongval ();
19651 if (i != ((long) (sizeof (long))))
19653 fprintf (f, "%lu\n", i);
19655 exit (ferror (f) || fclose (f) != 0);
19661 rm -f conftest
$ac_exeext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19663 (eval $ac_link) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19672 ac_cv_sizeof_long
=`cat conftest.val`
19674 echo "$as_me: program exited with status $ac_status" >&5
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ( exit $ac_status )
19679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19680 See \`config.log' for more details." >&5
19681 echo "$as_me: error: cannot compute sizeof (long), 77
19682 See \`config.log' for more details." >&2;}
19683 { (exit 1); exit 1; }; }
19685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19690 ac_cv_sizeof_long
=0
19693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19694 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19695 cat >>confdefs.h
<<_ACEOF
19696 #define SIZEOF_LONG $ac_cv_sizeof_long
19700 echo "$as_me:$LINENO: checking for size_t" >&5
19701 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19702 if test "${ac_cv_type_size_t+set}" = set; then
19703 echo $ECHO_N "(cached) $ECHO_C" >&6
19705 cat >conftest.
$ac_ext <<_ACEOF
19708 cat confdefs.h
>>conftest.
$ac_ext
19709 cat >>conftest.
$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19711 $ac_includes_default
19717 if (sizeof (size_t))
19723 rm -f conftest.
$ac_objext
19724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19725 (eval $ac_compile) 2>conftest.er1
19727 grep -v '^ *+' conftest.er1
>conftest.err
19729 cat conftest.err
>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } &&
19732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; } &&
19738 { ac_try
='test -s conftest.$ac_objext'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 ac_cv_type_size_t
=yes
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.
$ac_ext >&5
19749 ac_cv_type_size_t
=no
19751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19753 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19754 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19756 echo "$as_me:$LINENO: checking size of size_t" >&5
19757 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19758 if test "${ac_cv_sizeof_size_t+set}" = set; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 if test "$ac_cv_type_size_t" = yes; then
19762 # The cast to unsigned long works around a bug in the HP C Compiler
19763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19765 # This bug is HP SR number 8606223364.
19766 if test "$cross_compiling" = yes; then
19767 # Depending upon the size, compute the lo and hi bounds.
19768 cat >conftest.
$ac_ext <<_ACEOF
19771 cat confdefs.h
>>conftest.
$ac_ext
19772 cat >>conftest.
$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19778 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19785 rm -f conftest.
$ac_objext
19786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19787 (eval $ac_compile) 2>conftest.er1
19789 grep -v '^ *+' conftest.er1
>conftest.err
19791 cat conftest.err
>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); } &&
19794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; } &&
19800 { ac_try
='test -s conftest.$ac_objext'
19801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19802 (eval $ac_try) 2>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); }; }; then
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19818 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19825 rm -f conftest.
$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19829 grep -v '^ *+' conftest.er1
>conftest.err
19831 cat conftest.err
>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try
='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_hi
=$ac_mid; break
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.
$ac_ext >&5
19851 ac_lo
=`expr $ac_mid + 1`
19852 if test $ac_lo -le $ac_mid; then
19856 ac_mid
=`expr 2 '*' $ac_mid + 1`
19858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.
$ac_ext >&5
19864 cat >conftest.
$ac_ext <<_ACEOF
19867 cat confdefs.h
>>conftest.
$ac_ext
19868 cat >>conftest.
$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870 $ac_includes_default
19874 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19881 rm -f conftest.
$ac_objext
19882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19883 (eval $ac_compile) 2>conftest.er1
19885 grep -v '^ *+' conftest.er1
>conftest.err
19887 cat conftest.err
>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } &&
19890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try
='test -s conftest.$ac_objext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19904 cat >conftest.
$ac_ext <<_ACEOF
19907 cat confdefs.h
>>conftest.
$ac_ext
19908 cat >>conftest.
$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19914 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19921 rm -f conftest.
$ac_objext
19922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19923 (eval $ac_compile) 2>conftest.er1
19925 grep -v '^ *+' conftest.er1
>conftest.err
19927 cat conftest.err
>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
19930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try
='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_lo
=$ac_mid; break
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.
$ac_ext >&5
19947 ac_hi
=`expr '(' $ac_mid ')' - 1`
19948 if test $ac_mid -le $ac_hi; then
19952 ac_mid
=`expr 2 '*' $ac_mid`
19954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.
$ac_ext >&5
19962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19965 # Binary search between lo and hi bounds.
19966 while test "x$ac_lo" != "x$ac_hi"; do
19967 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19968 cat >conftest.
$ac_ext <<_ACEOF
19971 cat confdefs.h
>>conftest.
$ac_ext
19972 cat >>conftest.
$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 $ac_includes_default
19978 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19985 rm -f conftest.
$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987 (eval $ac_compile) 2>conftest.er1
19989 grep -v '^ *+' conftest.er1
>conftest.err
19991 cat conftest.err
>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try
='test -s conftest.$ac_objext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.
$ac_ext >&5
20011 ac_lo
=`expr '(' $ac_mid ')' + 1`
20013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20016 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20017 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20018 See \`config.log' for more details." >&5
20019 echo "$as_me: error: cannot compute sizeof (size_t), 77
20020 See \`config.log' for more details." >&2;}
20021 { (exit 1); exit 1; }; } ;;
20024 if test "$cross_compiling" = yes; then
20025 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20026 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20027 { (exit 1); exit 1; }; }
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
20036 long longval () { return (long) (sizeof (size_t)); }
20037 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20039 #include <stdlib.h>
20044 FILE *f = fopen ("conftest.val", "w");
20047 if (((long) (sizeof (size_t))) < 0)
20049 long i = longval ();
20050 if (i != ((long) (sizeof (size_t))))
20052 fprintf (f, "%ld\n", i);
20056 unsigned long i = ulongval ();
20057 if (i != ((long) (sizeof (size_t))))
20059 fprintf (f, "%lu\n", i);
20061 exit (ferror (f) || fclose (f) != 0);
20067 rm -f conftest
$ac_exeext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20069 (eval $ac_link) 2>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 ac_cv_sizeof_size_t
=`cat conftest.val`
20080 echo "$as_me: program exited with status $ac_status" >&5
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.
$ac_ext >&5
20084 ( exit $ac_status )
20085 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20086 See \`config.log' for more details." >&5
20087 echo "$as_me: error: cannot compute sizeof (size_t), 77
20088 See \`config.log' for more details." >&2;}
20089 { (exit 1); exit 1; }; }
20091 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20096 ac_cv_sizeof_size_t
=0
20099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20100 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20101 cat >>confdefs.h
<<_ACEOF
20102 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20109 echo "$as_me:$LINENO: checking for long long" >&5
20110 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20111 if test "${ac_cv_type_long_long+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20124 if ((long long *) 0)
20126 if (sizeof (long long))
20132 rm -f conftest.
$ac_objext
20133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20134 (eval $ac_compile) 2>conftest.er1
20136 grep -v '^ *+' conftest.er1
>conftest.err
20138 cat conftest.err
>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); } &&
20141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try
='test -s conftest.$ac_objext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 ac_cv_type_long_long
=yes
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20158 ac_cv_type_long_long
=no
20160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20162 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20163 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20165 echo "$as_me:$LINENO: checking size of long long" >&5
20166 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20167 if test "${ac_cv_sizeof_long_long+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 if test "$ac_cv_type_long_long" = yes; then
20171 # The cast to unsigned long works around a bug in the HP C Compiler
20172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20174 # This bug is HP SR number 8606223364.
20175 if test "$cross_compiling" = yes; then
20176 # Depending upon the size, compute the lo and hi bounds.
20177 cat >conftest.
$ac_ext <<_ACEOF
20180 cat confdefs.h
>>conftest.
$ac_ext
20181 cat >>conftest.
$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 $ac_includes_default
20187 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20194 rm -f conftest.
$ac_objext
20195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20196 (eval $ac_compile) 2>conftest.er1
20198 grep -v '^ *+' conftest.er1
>conftest.err
20200 cat conftest.err
>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); } &&
20203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; } &&
20209 { ac_try
='test -s conftest.$ac_objext'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; }; then
20217 cat >conftest.
$ac_ext <<_ACEOF
20220 cat confdefs.h
>>conftest.
$ac_ext
20221 cat >>conftest.
$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20227 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20234 rm -f conftest.
$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20238 grep -v '^ *+' conftest.er1
>conftest.err
20240 cat conftest.err
>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_hi
=$ac_mid; break
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 ac_lo
=`expr $ac_mid + 1`
20261 if test $ac_lo -le $ac_mid; then
20265 ac_mid
=`expr 2 '*' $ac_mid + 1`
20267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20270 echo "$as_me: failed program was:" >&5
20271 sed 's/^/| /' conftest.
$ac_ext >&5
20273 cat >conftest.
$ac_ext <<_ACEOF
20276 cat confdefs.h
>>conftest.
$ac_ext
20277 cat >>conftest.
$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20279 $ac_includes_default
20283 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20290 rm -f conftest.
$ac_objext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20292 (eval $ac_compile) 2>conftest.er1
20294 grep -v '^ *+' conftest.er1
>conftest.err
20296 cat conftest.err
>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try
='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20323 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20330 rm -f conftest.
$ac_objext
20331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20332 (eval $ac_compile) 2>conftest.er1
20334 grep -v '^ *+' conftest.er1
>conftest.err
20336 cat conftest.err
>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); } &&
20339 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try
='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_lo
=$ac_mid; break
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.
$ac_ext >&5
20356 ac_hi
=`expr '(' $ac_mid ')' - 1`
20357 if test $ac_mid -le $ac_hi; then
20361 ac_mid
=`expr 2 '*' $ac_mid`
20363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.
$ac_ext >&5
20371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20374 # Binary search between lo and hi bounds.
20375 while test "x$ac_lo" != "x$ac_hi"; do
20376 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20377 cat >conftest.
$ac_ext <<_ACEOF
20380 cat confdefs.h
>>conftest.
$ac_ext
20381 cat >>conftest.
$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 $ac_includes_default
20387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20394 rm -f conftest.
$ac_objext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20396 (eval $ac_compile) 2>conftest.er1
20398 grep -v '^ *+' conftest.er1
>conftest.err
20400 cat conftest.err
>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try
='test -s conftest.$ac_objext'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; }; then
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.
$ac_ext >&5
20420 ac_lo
=`expr '(' $ac_mid ')' + 1`
20422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20425 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20426 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20427 See \`config.log' for more details." >&5
20428 echo "$as_me: error: cannot compute sizeof (long long), 77
20429 See \`config.log' for more details." >&2;}
20430 { (exit 1); exit 1; }; } ;;
20433 if test "$cross_compiling" = yes; then
20434 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20435 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20436 { (exit 1); exit 1; }; }
20438 cat >conftest.
$ac_ext <<_ACEOF
20441 cat confdefs.h
>>conftest.
$ac_ext
20442 cat >>conftest.
$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 $ac_includes_default
20445 long longval () { return (long) (sizeof (long long)); }
20446 unsigned long ulongval () { return (long) (sizeof (long long)); }
20448 #include <stdlib.h>
20453 FILE *f = fopen ("conftest.val", "w");
20456 if (((long) (sizeof (long long))) < 0)
20458 long i = longval ();
20459 if (i != ((long) (sizeof (long long))))
20461 fprintf (f, "%ld\n", i);
20465 unsigned long i = ulongval ();
20466 if (i != ((long) (sizeof (long long))))
20468 fprintf (f, "%lu\n", i);
20470 exit (ferror (f) || fclose (f) != 0);
20476 rm -f conftest
$ac_exeext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20478 (eval $ac_link) 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; }; then
20487 ac_cv_sizeof_long_long
=`cat conftest.val`
20489 echo "$as_me: program exited with status $ac_status" >&5
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.
$ac_ext >&5
20493 ( exit $ac_status )
20494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20495 See \`config.log' for more details." >&5
20496 echo "$as_me: error: cannot compute sizeof (long long), 77
20497 See \`config.log' for more details." >&2;}
20498 { (exit 1); exit 1; }; }
20500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20505 ac_cv_sizeof_long_long
=0
20508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20509 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20510 cat >>confdefs.h
<<_ACEOF
20511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20517 echo "$as_me:$LINENO: checking for long long" >&5
20518 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20519 if test "${ac_cv_type_long_long+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20522 cat >conftest.
$ac_ext <<_ACEOF
20525 cat confdefs.h
>>conftest.
$ac_ext
20526 cat >>conftest.
$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 $ac_includes_default
20532 if ((long long *) 0)
20534 if (sizeof (long long))
20540 rm -f conftest.
$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>conftest.er1
20544 grep -v '^ *+' conftest.er1
>conftest.err
20546 cat conftest.err
>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; } &&
20555 { ac_try
='test -s conftest.$ac_objext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_type_long_long
=yes
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 ac_cv_type_long_long
=no
20568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20570 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20571 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20573 echo "$as_me:$LINENO: checking size of long long" >&5
20574 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20575 if test "${ac_cv_sizeof_long_long+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20578 if test "$ac_cv_type_long_long" = yes; then
20579 # The cast to unsigned long works around a bug in the HP C Compiler
20580 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20581 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20582 # This bug is HP SR number 8606223364.
20583 if test "$cross_compiling" = yes; then
20584 # Depending upon the size, compute the lo and hi bounds.
20585 cat >conftest.
$ac_ext <<_ACEOF
20588 cat confdefs.h
>>conftest.
$ac_ext
20589 cat >>conftest.
$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 $ac_includes_default
20595 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20602 rm -f conftest.
$ac_objext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20604 (eval $ac_compile) 2>conftest.er1
20606 grep -v '^ *+' conftest.er1
>conftest.err
20608 cat conftest.err
>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; } &&
20617 { ac_try
='test -s conftest.$ac_objext'
20618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20619 (eval $ac_try) 2>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); }; }; then
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20635 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20642 rm -f conftest.
$ac_objext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20644 (eval $ac_compile) 2>conftest.er1
20646 grep -v '^ *+' conftest.er1
>conftest.err
20648 cat conftest.err
>&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; } &&
20657 { ac_try
='test -s conftest.$ac_objext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 ac_hi
=$ac_mid; break
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.
$ac_ext >&5
20668 ac_lo
=`expr $ac_mid + 1`
20669 if test $ac_lo -le $ac_mid; then
20673 ac_mid
=`expr 2 '*' $ac_mid + 1`
20675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.
$ac_ext >&5
20681 cat >conftest.
$ac_ext <<_ACEOF
20684 cat confdefs.h
>>conftest.
$ac_ext
20685 cat >>conftest.
$ac_ext <<_ACEOF
20686 /* end confdefs.h. */
20687 $ac_includes_default
20691 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20698 rm -f conftest.
$ac_objext
20699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20700 (eval $ac_compile) 2>conftest.er1
20702 grep -v '^ *+' conftest.er1
>conftest.err
20704 cat conftest.err
>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20709 (eval $ac_try) 2>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; } &&
20713 { ac_try
='test -s conftest.$ac_objext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20721 cat >conftest.
$ac_ext <<_ACEOF
20724 cat confdefs.h
>>conftest.
$ac_ext
20725 cat >>conftest.
$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 $ac_includes_default
20731 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20738 rm -f conftest.
$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>conftest.er1
20742 grep -v '^ *+' conftest.er1
>conftest.err
20744 cat conftest.err
>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try
='test -s conftest.$ac_objext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_lo
=$ac_mid; break
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.
$ac_ext >&5
20764 ac_hi
=`expr '(' $ac_mid ')' - 1`
20765 if test $ac_mid -le $ac_hi; then
20769 ac_mid
=`expr 2 '*' $ac_mid`
20771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.
$ac_ext >&5
20779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20782 # Binary search between lo and hi bounds.
20783 while test "x$ac_lo" != "x$ac_hi"; do
20784 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20785 cat >conftest.
$ac_ext <<_ACEOF
20788 cat confdefs.h
>>conftest.
$ac_ext
20789 cat >>conftest.
$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 $ac_includes_default
20795 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20802 rm -f conftest.
$ac_objext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20804 (eval $ac_compile) 2>conftest.er1
20806 grep -v '^ *+' conftest.er1
>conftest.err
20808 cat conftest.err
>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20813 (eval $ac_try) 2>&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); }; } &&
20817 { ac_try
='test -s conftest.$ac_objext'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; }; then
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.
$ac_ext >&5
20828 ac_lo
=`expr '(' $ac_mid ')' + 1`
20830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20833 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20834 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20835 See \`config.log' for more details." >&5
20836 echo "$as_me: error: cannot compute sizeof (long long), 77
20837 See \`config.log' for more details." >&2;}
20838 { (exit 1); exit 1; }; } ;;
20841 if test "$cross_compiling" = yes; then
20842 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20843 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20844 { (exit 1); exit 1; }; }
20846 cat >conftest.
$ac_ext <<_ACEOF
20849 cat confdefs.h
>>conftest.
$ac_ext
20850 cat >>conftest.
$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20853 long longval () { return (long) (sizeof (long long)); }
20854 unsigned long ulongval () { return (long) (sizeof (long long)); }
20856 #include <stdlib.h>
20861 FILE *f = fopen ("conftest.val", "w");
20864 if (((long) (sizeof (long long))) < 0)
20866 long i = longval ();
20867 if (i != ((long) (sizeof (long long))))
20869 fprintf (f, "%ld\n", i);
20873 unsigned long i = ulongval ();
20874 if (i != ((long) (sizeof (long long))))
20876 fprintf (f, "%lu\n", i);
20878 exit (ferror (f) || fclose (f) != 0);
20884 rm -f conftest
$ac_exeext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886 (eval $ac_link) 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_sizeof_long_long
=`cat conftest.val`
20897 echo "$as_me: program exited with status $ac_status" >&5
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.
$ac_ext >&5
20901 ( exit $ac_status )
20902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20903 See \`config.log' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (long long), 77
20905 See \`config.log' for more details." >&2;}
20906 { (exit 1); exit 1; }; }
20908 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20913 ac_cv_sizeof_long_long
=0
20916 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20917 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20918 cat >>confdefs.h
<<_ACEOF
20919 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20923 if test "$ac_cv_sizeof_long_long" != "0"; then
20924 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20928 echo "$as_me:$LINENO: checking for long long" >&5
20929 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20930 if test "${ac_cv_type_long_long+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 cat >conftest.
$ac_ext <<_ACEOF
20936 cat confdefs.h
>>conftest.
$ac_ext
20937 cat >>conftest.
$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20943 if ((long long *) 0)
20945 if (sizeof (long long))
20951 rm -f conftest.
$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } &&
20960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try
='test -s conftest.$ac_objext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 ac_cv_type_long_long
=yes
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.
$ac_ext >&5
20977 ac_cv_type_long_long
=no
20979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20981 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20982 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20984 echo "$as_me:$LINENO: checking size of long long" >&5
20985 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20986 if test "${ac_cv_sizeof_long_long+set}" = set; then
20987 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 if test "$ac_cv_type_long_long" = yes; then
20990 # The cast to unsigned long works around a bug in the HP C Compiler
20991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20993 # This bug is HP SR number 8606223364.
20994 if test "$cross_compiling" = yes; then
20995 # Depending upon the size, compute the lo and hi bounds.
20996 cat >conftest.
$ac_ext <<_ACEOF
20999 cat confdefs.h
>>conftest.
$ac_ext
21000 cat >>conftest.
$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 $ac_includes_default
21006 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21013 rm -f conftest.
$ac_objext
21014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21015 (eval $ac_compile) 2>conftest.er1
21017 grep -v '^ *+' conftest.er1
>conftest.err
21019 cat conftest.err
>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; } &&
21028 { ac_try
='test -s conftest.$ac_objext'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21036 cat >conftest.
$ac_ext <<_ACEOF
21039 cat confdefs.h
>>conftest.
$ac_ext
21040 cat >>conftest.
$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 $ac_includes_default
21046 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21053 rm -f conftest.
$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055 (eval $ac_compile) 2>conftest.er1
21057 grep -v '^ *+' conftest.er1
>conftest.err
21059 cat conftest.err
>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } &&
21062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try
='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_hi
=$ac_mid; break
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.
$ac_ext >&5
21079 ac_lo
=`expr $ac_mid + 1`
21080 if test $ac_lo -le $ac_mid; then
21084 ac_mid
=`expr 2 '*' $ac_mid + 1`
21086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.
$ac_ext >&5
21092 cat >conftest.
$ac_ext <<_ACEOF
21095 cat confdefs.h
>>conftest.
$ac_ext
21096 cat >>conftest.
$ac_ext <<_ACEOF
21097 /* end confdefs.h. */
21098 $ac_includes_default
21102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21109 rm -f conftest.
$ac_objext
21110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21111 (eval $ac_compile) 2>conftest.er1
21113 grep -v '^ *+' conftest.er1
>conftest.err
21115 cat conftest.err
>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } &&
21118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try
='test -s conftest.$ac_objext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21132 cat >conftest.
$ac_ext <<_ACEOF
21135 cat confdefs.h
>>conftest.
$ac_ext
21136 cat >>conftest.
$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21142 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21149 rm -f conftest.
$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21153 grep -v '^ *+' conftest.er1
>conftest.err
21155 cat conftest.err
>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try
='test -s conftest.$ac_objext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_lo
=$ac_mid; break
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 ac_hi
=`expr '(' $ac_mid ')' - 1`
21176 if test $ac_mid -le $ac_hi; then
21180 ac_mid
=`expr 2 '*' $ac_mid`
21182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.
$ac_ext >&5
21190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21193 # Binary search between lo and hi bounds.
21194 while test "x$ac_lo" != "x$ac_hi"; do
21195 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21196 cat >conftest.
$ac_ext <<_ACEOF
21199 cat confdefs.h
>>conftest.
$ac_ext
21200 cat >>conftest.
$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21213 rm -f conftest.
$ac_objext
21214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21215 (eval $ac_compile) 2>conftest.er1
21217 grep -v '^ *+' conftest.er1
>conftest.err
21219 cat conftest.err
>&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); } &&
21222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; } &&
21228 { ac_try
='test -s conftest.$ac_objext'
21229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21230 (eval $ac_try) 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; }; then
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.
$ac_ext >&5
21239 ac_lo
=`expr '(' $ac_mid ')' + 1`
21241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21244 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21245 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21246 See \`config.log' for more details." >&5
21247 echo "$as_me: error: cannot compute sizeof (long long), 77
21248 See \`config.log' for more details." >&2;}
21249 { (exit 1); exit 1; }; } ;;
21252 if test "$cross_compiling" = yes; then
21253 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21254 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21255 { (exit 1); exit 1; }; }
21257 cat >conftest.
$ac_ext <<_ACEOF
21260 cat confdefs.h
>>conftest.
$ac_ext
21261 cat >>conftest.
$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 $ac_includes_default
21264 long longval () { return (long) (sizeof (long long)); }
21265 unsigned long ulongval () { return (long) (sizeof (long long)); }
21267 #include <stdlib.h>
21272 FILE *f = fopen ("conftest.val", "w");
21275 if (((long) (sizeof (long long))) < 0)
21277 long i = longval ();
21278 if (i != ((long) (sizeof (long long))))
21280 fprintf (f, "%ld\n", i);
21284 unsigned long i = ulongval ();
21285 if (i != ((long) (sizeof (long long))))
21287 fprintf (f, "%lu\n", i);
21289 exit (ferror (f) || fclose (f) != 0);
21295 rm -f conftest
$ac_exeext
21296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21297 (eval $ac_link) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21306 ac_cv_sizeof_long_long
=`cat conftest.val`
21308 echo "$as_me: program exited with status $ac_status" >&5
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.
$ac_ext >&5
21312 ( exit $ac_status )
21313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21314 See \`config.log' for more details." >&5
21315 echo "$as_me: error: cannot compute sizeof (long long), 77
21316 See \`config.log' for more details." >&2;}
21317 { (exit 1); exit 1; }; }
21319 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21324 ac_cv_sizeof_long_long
=0
21327 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21328 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21329 cat >>confdefs.h
<<_ACEOF
21330 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21336 echo "$as_me:$LINENO: checking for wchar_t" >&5
21337 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21338 if test "${ac_cv_type_wchar_t+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21350 # error "fake wchar_t"
21352 #ifdef HAVE_WCHAR_H
21354 # include <stddef.h>
21356 # include <wchar.h>
21358 #ifdef HAVE_STDLIB_H
21359 # include <stdlib.h>
21370 if (sizeof (wchar_t))
21376 rm -f conftest.
$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378 (eval $ac_compile) 2>conftest.er1
21380 grep -v '^ *+' conftest.er1
>conftest.err
21382 cat conftest.err
>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } &&
21385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; } &&
21391 { ac_try
='test -s conftest.$ac_objext'
21392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393 (eval $ac_try) 2>&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); }; }; then
21397 ac_cv_type_wchar_t
=yes
21399 echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.
$ac_ext >&5
21402 ac_cv_type_wchar_t
=no
21404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21406 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21407 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21409 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21410 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21411 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21414 if test "$ac_cv_type_wchar_t" = yes; then
21415 # The cast to unsigned long works around a bug in the HP C Compiler
21416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21418 # This bug is HP SR number 8606223364.
21419 if test "$cross_compiling" = yes; then
21420 # Depending upon the size, compute the lo and hi bounds.
21421 cat >conftest.
$ac_ext <<_ACEOF
21424 cat confdefs.h
>>conftest.
$ac_ext
21425 cat >>conftest.
$ac_ext <<_ACEOF
21426 /* end confdefs.h. */
21428 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21429 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21430 # error "fake wchar_t"
21432 #ifdef HAVE_WCHAR_H
21434 # include <stddef.h>
21436 # include <wchar.h>
21438 #ifdef HAVE_STDLIB_H
21439 # include <stdlib.h>
21448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21455 rm -f conftest.
$ac_objext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21457 (eval $ac_compile) 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try
='test -s conftest.$ac_objext'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; }; then
21478 cat >conftest.
$ac_ext <<_ACEOF
21481 cat confdefs.h
>>conftest.
$ac_ext
21482 cat >>conftest.
$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21485 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21486 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21487 # error "fake wchar_t"
21489 #ifdef HAVE_WCHAR_H
21491 # include <stddef.h>
21493 # include <wchar.h>
21495 #ifdef HAVE_STDLIB_H
21496 # include <stdlib.h>
21505 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21512 rm -f conftest.
$ac_objext
21513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21514 (eval $ac_compile) 2>conftest.er1
21516 grep -v '^ *+' conftest.er1
>conftest.err
21518 cat conftest.err
>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } &&
21521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; } &&
21527 { ac_try
='test -s conftest.$ac_objext'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 ac_hi
=$ac_mid; break
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.
$ac_ext >&5
21538 ac_lo
=`expr $ac_mid + 1`
21539 if test $ac_lo -le $ac_mid; then
21543 ac_mid
=`expr 2 '*' $ac_mid + 1`
21545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.
$ac_ext >&5
21551 cat >conftest.
$ac_ext <<_ACEOF
21554 cat confdefs.h
>>conftest.
$ac_ext
21555 cat >>conftest.
$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21558 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21559 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21560 # error "fake wchar_t"
21562 #ifdef HAVE_WCHAR_H
21564 # include <stddef.h>
21566 # include <wchar.h>
21568 #ifdef HAVE_STDLIB_H
21569 # include <stdlib.h>
21578 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21585 rm -f conftest.
$ac_objext
21586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21587 (eval $ac_compile) 2>conftest.er1
21589 grep -v '^ *+' conftest.er1
>conftest.err
21591 cat conftest.err
>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); } &&
21594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; } &&
21600 { ac_try
='test -s conftest.$ac_objext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21608 cat >conftest.
$ac_ext <<_ACEOF
21611 cat confdefs.h
>>conftest.
$ac_ext
21612 cat >>conftest.
$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21615 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21616 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21617 # error "fake wchar_t"
21619 #ifdef HAVE_WCHAR_H
21621 # include <stddef.h>
21623 # include <wchar.h>
21625 #ifdef HAVE_STDLIB_H
21626 # include <stdlib.h>
21635 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21642 rm -f conftest.
$ac_objext
21643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21644 (eval $ac_compile) 2>conftest.er1
21646 grep -v '^ *+' conftest.er1
>conftest.err
21648 cat conftest.err
>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } &&
21651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; } &&
21657 { ac_try
='test -s conftest.$ac_objext'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; }; then
21663 ac_lo
=$ac_mid; break
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.
$ac_ext >&5
21668 ac_hi
=`expr '(' $ac_mid ')' - 1`
21669 if test $ac_mid -le $ac_hi; then
21673 ac_mid
=`expr 2 '*' $ac_mid`
21675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.
$ac_ext >&5
21683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21686 # Binary search between lo and hi bounds.
21687 while test "x$ac_lo" != "x$ac_hi"; do
21688 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21689 cat >conftest.
$ac_ext <<_ACEOF
21692 cat confdefs.h
>>conftest.
$ac_ext
21693 cat >>conftest.
$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21696 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21697 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21698 # error "fake wchar_t"
21700 #ifdef HAVE_WCHAR_H
21702 # include <stddef.h>
21704 # include <wchar.h>
21706 #ifdef HAVE_STDLIB_H
21707 # include <stdlib.h>
21716 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21723 rm -f conftest.
$ac_objext
21724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21725 (eval $ac_compile) 2>conftest.er1
21727 grep -v '^ *+' conftest.er1
>conftest.err
21729 cat conftest.err
>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } &&
21732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; } &&
21738 { ac_try
='test -s conftest.$ac_objext'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; }; then
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.
$ac_ext >&5
21749 ac_lo
=`expr '(' $ac_mid ')' + 1`
21751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21754 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21755 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21756 See \`config.log' for more details." >&5
21757 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21758 See \`config.log' for more details." >&2;}
21759 { (exit 1); exit 1; }; } ;;
21762 if test "$cross_compiling" = yes; then
21763 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21764 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21765 { (exit 1); exit 1; }; }
21767 cat >conftest.
$ac_ext <<_ACEOF
21770 cat confdefs.h
>>conftest.
$ac_ext
21771 cat >>conftest.
$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21774 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21775 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21776 # error "fake wchar_t"
21778 #ifdef HAVE_WCHAR_H
21780 # include <stddef.h>
21782 # include <wchar.h>
21784 #ifdef HAVE_STDLIB_H
21785 # include <stdlib.h>
21791 long longval () { return (long) (sizeof (wchar_t)); }
21792 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21794 #include <stdlib.h>
21799 FILE *f = fopen ("conftest.val", "w");
21802 if (((long) (sizeof (wchar_t))) < 0)
21804 long i = longval ();
21805 if (i != ((long) (sizeof (wchar_t))))
21807 fprintf (f, "%ld\n", i);
21811 unsigned long i = ulongval ();
21812 if (i != ((long) (sizeof (wchar_t))))
21814 fprintf (f, "%lu\n", i);
21816 exit (ferror (f) || fclose (f) != 0);
21822 rm -f conftest
$ac_exeext
21823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21824 (eval $ac_link) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21835 echo "$as_me: program exited with status $ac_status" >&5
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.
$ac_ext >&5
21839 ( exit $ac_status )
21840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21841 See \`config.log' for more details." >&5
21842 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21843 See \`config.log' for more details." >&2;}
21844 { (exit 1); exit 1; }; }
21846 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21851 ac_cv_sizeof_wchar_t
=0
21854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21855 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21856 cat >>confdefs.h
<<_ACEOF
21857 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21861 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21867 echo "$as_me:$LINENO: checking for va_copy" >&5
21868 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21869 if test "${wx_cv_func_va_copy+set}" = set; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 cat >conftest.
$ac_ext <<_ACEOF
21875 #include <stdarg.h>
21876 void foo(char *f, ...)
21890 rm -f conftest.
$ac_objext conftest
$ac_exeext
21891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21892 (eval $ac_link) 2>conftest.er1
21894 grep -v '^ *+' conftest.er1
>conftest.err
21896 cat conftest.err
>&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); } &&
21899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21901 (eval $ac_try) 2>&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }; } &&
21905 { ac_try
='test -s conftest$ac_exeext'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; }; then
21911 wx_cv_func_va_copy
=yes
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.
$ac_ext >&5
21916 wx_cv_func_va_copy
=no
21919 rm -f conftest.err conftest.
$ac_objext \
21920 conftest
$ac_exeext conftest.
$ac_ext
21924 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21925 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21927 if test $wx_cv_func_va_copy = "yes"; then
21928 cat >>confdefs.h
<<\_ACEOF
21929 #define HAVE_VA_COPY 1
21933 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21934 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21935 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 if test "$cross_compiling" = yes; then
21940 wx_cv_type_va_list_lvalue
=yes
21943 cat >conftest.
$ac_ext <<_ACEOF
21945 #include <stdarg.h>
21946 int foo(char *f, ...)
21951 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21959 return foo("hi", 17);
21962 rm -f conftest
$ac_exeext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964 (eval $ac_link) 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 wx_cv_type_va_list_lvalue
=yes
21975 echo "$as_me: program exited with status $ac_status" >&5
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.
$ac_ext >&5
21979 ( exit $ac_status )
21980 wx_cv_type_va_list_lvalue
=no
21982 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21987 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21988 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21990 if test $wx_cv_type_va_list_lvalue != "yes"; then
21991 cat >>confdefs.h
<<\_ACEOF
21992 #define VA_LIST_IS_ARRAY 1
21998 # Check whether --enable-largefile or --disable-largefile was given.
21999 if test "${enable_largefile+set}" = set; then
22000 enableval
="$enable_largefile"
22003 if test "$enable_largefile" != no
; then
22006 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22007 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22008 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22009 echo $ECHO_N "(cached) $ECHO_C" >&6
22012 cat >conftest.
$ac_ext <<_ACEOF
22015 cat confdefs.h
>>conftest.
$ac_ext
22016 cat >>conftest.
$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 #define _FILE_OFFSET_BITS 64
22019 #include <sys/types.h>
22024 unsigned int field: sizeof(off_t) == 8;
22031 rm -f conftest.
$ac_objext
22032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22033 (eval $ac_compile) 2>conftest.er1
22035 grep -v '^ *+' conftest.er1
>conftest.err
22037 cat conftest.err
>&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } &&
22040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22042 (eval $ac_try) 2>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); }; } &&
22046 { ac_try
='test -s conftest.$ac_objext'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; }; then
22052 ac_cv_sys_file_offset_bits
=64
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.
$ac_ext >&5
22057 ac_cv_sys_file_offset_bits
=no
22059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22063 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22064 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22066 if test "$ac_cv_sys_file_offset_bits" != no
; then
22068 cat >>confdefs.h
<<_ACEOF
22069 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22074 if test "x$wx_largefile" != "xyes"; then
22076 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22077 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22078 if test "${ac_cv_sys_large_files+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22082 cat >conftest.
$ac_ext <<_ACEOF
22085 cat confdefs.h
>>conftest.
$ac_ext
22086 cat >>conftest.
$ac_ext <<_ACEOF
22087 /* end confdefs.h. */
22088 #define _LARGE_FILES 1
22089 #include <sys/types.h>
22094 unsigned int field: sizeof(off_t) == 8;
22101 rm -f conftest.
$ac_objext
22102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22103 (eval $ac_compile) 2>conftest.er1
22105 grep -v '^ *+' conftest.er1
>conftest.err
22107 cat conftest.err
>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } &&
22110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; } &&
22116 { ac_try
='test -s conftest.$ac_objext'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; }; then
22122 ac_cv_sys_large_files
=1
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.
$ac_ext >&5
22127 ac_cv_sys_large_files
=no
22129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22133 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22134 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22136 if test "$ac_cv_sys_large_files" != no
; then
22138 cat >>confdefs.h
<<_ACEOF
22139 #define _LARGE_FILES $ac_cv_sys_large_files
22146 echo "$as_me:$LINENO: checking if large file support is available" >&5
22147 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22148 if test "x$wx_largefile" = "xyes"; then
22149 cat >>confdefs.h
<<\_ACEOF
22150 #define HAVE_LARGEFILE_SUPPORT 1
22154 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22155 echo "${ECHO_T}$wx_largefile" >&6
22159 if test "x$wx_largefile" = "xyes"; then
22160 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22161 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22163 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22164 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22165 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22166 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22170 cat >conftest.
$ac_ext <<_ACEOF
22173 cat confdefs.h
>>conftest.
$ac_ext
22174 cat >>conftest.
$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22181 #ifndef __STDC_EXT__
22189 rm -f conftest.
$ac_objext
22190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22191 (eval $ac_compile) 2>conftest.er1
22193 grep -v '^ *+' conftest.er1
>conftest.err
22195 cat conftest.err
>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } &&
22198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; } &&
22204 { ac_try
='test -s conftest.$ac_objext'
22205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22206 (eval $ac_try) 2>&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); }; }; then
22210 wx_cv_STDC_EXT_required
=no
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.
$ac_ext >&5
22215 wx_cv_STDC_EXT_required
=yes
22218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22222 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22223 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22224 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22225 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22229 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22231 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22232 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22233 if test "${ac_cv_sys_largefile_source+set}" = set; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 ac_cv_sys_largefile_source
=no
22238 cat >conftest.
$ac_ext <<_ACEOF
22241 cat confdefs.h
>>conftest.
$ac_ext
22242 cat >>conftest.
$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22253 rm -f conftest.
$ac_objext
22254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22255 (eval $ac_compile) 2>conftest.er1
22257 grep -v '^ *+' conftest.er1
>conftest.err
22259 cat conftest.err
>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); } &&
22262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; } &&
22268 { ac_try
='test -s conftest.$ac_objext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22281 cat >conftest.
$ac_ext <<_ACEOF
22284 cat confdefs.h
>>conftest.
$ac_ext
22285 cat >>conftest.
$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22287 #define _LARGEFILE_SOURCE 1
22297 rm -f conftest.
$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>conftest.er1
22301 grep -v '^ *+' conftest.er1
>conftest.err
22303 cat conftest.err
>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; } &&
22312 { ac_try
='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 ac_cv_sys_largefile_source
=1; break
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.
$ac_ext >&5
22324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22328 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22329 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22330 if test "$ac_cv_sys_largefile_source" != no
; then
22332 cat >>confdefs.h
<<_ACEOF
22333 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22339 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22340 # in glibc 2.1.3, but that breaks too many other things.
22341 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22342 echo "$as_me:$LINENO: checking for fseeko" >&5
22343 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22344 if test "${ac_cv_func_fseeko+set}" = set; then
22345 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 cat >conftest.
$ac_ext <<_ACEOF
22350 cat confdefs.h
>>conftest.
$ac_ext
22351 cat >>conftest.
$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22357 return fseeko && fseeko (stdin, 0, 0);
22362 rm -f conftest.
$ac_objext conftest
$ac_exeext
22363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22364 (eval $ac_link) 2>conftest.er1
22366 grep -v '^ *+' conftest.er1
>conftest.err
22368 cat conftest.err
>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; } &&
22377 { ac_try
='test -s conftest$ac_exeext'
22378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22379 (eval $ac_try) 2>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); }; }; then
22383 ac_cv_func_fseeko
=yes
22385 echo "$as_me: failed program was:" >&5
22386 sed 's/^/| /' conftest.
$ac_ext >&5
22388 ac_cv_func_fseeko
=no
22390 rm -f conftest.err conftest.
$ac_objext \
22391 conftest
$ac_exeext conftest.
$ac_ext
22393 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22394 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22395 if test $ac_cv_func_fseeko = yes; then
22397 cat >>confdefs.h
<<\_ACEOF
22398 #define HAVE_FSEEKO 1
22403 if test "$ac_cv_sys_largefile_source" != no
; then
22404 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22408 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22409 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22410 if test "${ac_cv_c_bigendian+set}" = set; then
22411 echo $ECHO_N "(cached) $ECHO_C" >&6
22413 ac_cv_c_bigendian
=unknown
22414 # See if sys/param.h defines the BYTE_ORDER macro.
22415 cat >conftest.
$ac_ext <<_ACEOF
22418 cat confdefs.h
>>conftest.
$ac_ext
22419 cat >>conftest.
$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 #include <sys/types.h>
22422 #include <sys/param.h>
22427 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22428 bogus endian macros
22434 rm -f conftest.
$ac_objext
22435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22436 (eval $ac_compile) 2>conftest.er1
22438 grep -v '^ *+' conftest.er1
>conftest.err
22440 cat conftest.err
>&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } &&
22443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; } &&
22449 { ac_try
='test -s conftest.$ac_objext'
22450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451 (eval $ac_try) 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; }; then
22455 # It does; now see whether it defined to BIG_ENDIAN or not.
22456 cat >conftest.
$ac_ext <<_ACEOF
22459 cat confdefs.h
>>conftest.
$ac_ext
22460 cat >>conftest.
$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 #include <sys/types.h>
22463 #include <sys/param.h>
22468 #if BYTE_ORDER != BIG_ENDIAN
22475 rm -f conftest.
$ac_objext
22476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22477 (eval $ac_compile) 2>conftest.er1
22479 grep -v '^ *+' conftest.er1
>conftest.err
22481 cat conftest.err
>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); } &&
22484 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22486 (eval $ac_try) 2>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); }; } &&
22490 { ac_try
='test -s conftest.$ac_objext'
22491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492 (eval $ac_try) 2>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; }; then
22496 ac_cv_c_bigendian
=yes
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.
$ac_ext >&5
22501 ac_cv_c_bigendian
=no
22503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.
$ac_ext >&5
22509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22510 if test $ac_cv_c_bigendian = unknown
; then
22511 if test "$cross_compiling" = yes; then
22512 ac_cv_c_bigendian
=unknown
22514 cat >conftest.
$ac_ext <<_ACEOF
22517 cat confdefs.h
>>conftest.
$ac_ext
22518 cat >>conftest.
$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22521 /* Are we little or big endian? From Harbison&Steele. */
22525 char c[sizeof (long)];
22528 exit (u.c[sizeof (long) - 1] == 1);
22531 rm -f conftest
$ac_exeext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 ac_cv_c_bigendian
=no
22544 echo "$as_me: program exited with status $ac_status" >&5
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22548 ( exit $ac_status )
22549 ac_cv_c_bigendian
=yes
22551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22555 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22556 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22557 if test $ac_cv_c_bigendian = unknown
; then
22558 { 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
22559 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;}
22561 if test $ac_cv_c_bigendian = yes; then
22562 cat >>confdefs.h
<<\_ACEOF
22563 #define WORDS_BIGENDIAN 1
22573 ac_cpp
='$CXXCPP $CPPFLAGS'
22574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22580 for ac_header
in iostream
22582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22584 echo "$as_me:$LINENO: checking for $ac_header" >&5
22585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22587 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22592 # Is the header compilable?
22593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 $ac_includes_default
22602 #include <$ac_header>
22604 rm -f conftest.
$ac_objext
22605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22606 (eval $ac_compile) 2>conftest.er1
22608 grep -v '^ *+' conftest.er1
>conftest.err
22610 cat conftest.err
>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } &&
22613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615 (eval $ac_try) 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; } &&
22619 { ac_try
='test -s conftest.$ac_objext'
22620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22621 (eval $ac_try) 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); }; }; then
22625 ac_header_compiler
=yes
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.
$ac_ext >&5
22630 ac_header_compiler
=no
22632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22634 echo "${ECHO_T}$ac_header_compiler" >&6
22636 # Is the header present?
22637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22639 cat >conftest.
$ac_ext <<_ACEOF
22642 cat confdefs.h
>>conftest.
$ac_ext
22643 cat >>conftest.
$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 #include <$ac_header>
22647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22650 grep -v '^ *+' conftest.er1
>conftest.err
22652 cat conftest.err
>&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } >/dev
/null
; then
22655 if test -s conftest.err
; then
22656 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22657 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22664 if test -z "$ac_cpp_err"; then
22665 ac_header_preproc
=yes
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.
$ac_ext >&5
22670 ac_header_preproc
=no
22672 rm -f conftest.err conftest.
$ac_ext
22673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22674 echo "${ECHO_T}$ac_header_preproc" >&6
22676 # So? What about this header?
22677 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22683 ac_header_preproc
=yes
22686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22700 ## ----------------------------------------- ##
22701 ## Report this to wx-dev@lists.wxwidgets.org ##
22702 ## ----------------------------------------- ##
22705 sed "s/^/$as_me: WARNING: /" >&2
22708 echo "$as_me:$LINENO: checking for $ac_header" >&5
22709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22711 echo $ECHO_N "(cached) $ECHO_C" >&6
22713 eval "$as_ac_Header=\$ac_header_preproc"
22715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22720 cat >>confdefs.h
<<_ACEOF
22721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22729 if test "$ac_cv_header_iostream" = "yes" ; then
22732 cat >>confdefs.h
<<\_ACEOF
22733 #define wxUSE_IOSTREAMH 1
22739 ac_cpp
='$CXXCPP $CPPFLAGS'
22740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22747 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22748 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22749 if test "${wx_cv_cpp_bool+set}" = set; then
22750 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 ac_cpp
='$CXXCPP $CPPFLAGS'
22757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22762 cat >conftest.
$ac_ext <<_ACEOF
22765 cat confdefs.h
>>conftest.
$ac_ext
22766 cat >>conftest.
$ac_ext <<_ACEOF
22767 /* end confdefs.h. */
22782 rm -f conftest.
$ac_objext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22784 (eval $ac_compile) 2>conftest.er1
22786 grep -v '^ *+' conftest.er1
>conftest.err
22788 cat conftest.err
>&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; } &&
22797 { ac_try
='test -s conftest.$ac_objext'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.
$ac_ext >&5
22815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22818 ac_cpp
='$CXXCPP $CPPFLAGS'
22819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22825 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22826 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22828 if test "$wx_cv_cpp_bool" = "yes"; then
22829 cat >>confdefs.h
<<\_ACEOF
22830 #define HAVE_BOOL 1
22837 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22838 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22839 if test "${wx_cv_explicit+set}" = set; then
22840 echo $ECHO_N "(cached) $ECHO_C" >&6
22846 ac_cpp
='$CXXCPP $CPPFLAGS'
22847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22852 cat >conftest.
$ac_ext <<_ACEOF
22855 cat confdefs.h
>>conftest.
$ac_ext
22856 cat >>conftest.
$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22859 class Foo { public: explicit Foo(int) {} };
22871 rm -f conftest.
$ac_objext
22872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22873 (eval $ac_compile) 2>conftest.er1
22875 grep -v '^ *+' conftest.er1
>conftest.err
22877 cat conftest.err
>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); } &&
22880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; } &&
22886 { ac_try
='test -s conftest.$ac_objext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22893 cat >conftest.
$ac_ext <<_ACEOF
22896 cat confdefs.h
>>conftest.
$ac_ext
22897 cat >>conftest.
$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22900 class Foo { public: explicit Foo(int) {} };
22901 static void TakeFoo(const Foo& foo) { }
22914 rm -f conftest.
$ac_objext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22916 (eval $ac_compile) 2>conftest.er1
22918 grep -v '^ *+' conftest.er1
>conftest.err
22920 cat conftest.err
>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try
='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.
$ac_ext >&5
22943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.
$ac_ext >&5
22952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22955 ac_cpp
='$CXXCPP $CPPFLAGS'
22956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22962 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22963 echo "${ECHO_T}$wx_cv_explicit" >&6
22965 if test "$wx_cv_explicit" = "yes"; then
22966 cat >>confdefs.h
<<\_ACEOF
22967 #define HAVE_EXPLICIT 1
22973 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22974 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22975 if test "${ac_cv_cxx_const_cast+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22981 ac_cpp
='$CXXCPP $CPPFLAGS'
22982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22986 cat >conftest.
$ac_ext <<_ACEOF
22989 cat confdefs.h
>>conftest.
$ac_ext
22990 cat >>conftest.
$ac_ext <<_ACEOF
22991 /* end confdefs.h. */
22996 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23001 rm -f conftest.
$ac_objext
23002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23003 (eval $ac_compile) 2>conftest.er1
23005 grep -v '^ *+' conftest.er1
>conftest.err
23007 cat conftest.err
>&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } &&
23010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23012 (eval $ac_try) 2>&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; } &&
23016 { ac_try
='test -s conftest.$ac_objext'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; }; then
23022 ac_cv_cxx_const_cast
=yes
23024 echo "$as_me: failed program was:" >&5
23025 sed 's/^/| /' conftest.
$ac_ext >&5
23027 ac_cv_cxx_const_cast
=no
23029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23031 ac_cpp
='$CXXCPP $CPPFLAGS'
23032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23038 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23039 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23040 if test "$ac_cv_cxx_const_cast" = yes; then
23042 cat >>confdefs.h
<<\_ACEOF
23043 #define HAVE_CONST_CAST
23048 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23049 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23050 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23051 echo $ECHO_N "(cached) $ECHO_C" >&6
23056 ac_cpp
='$CXXCPP $CPPFLAGS'
23057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23061 cat >conftest.
$ac_ext <<_ACEOF
23064 cat confdefs.h
>>conftest.
$ac_ext
23065 cat >>conftest.
$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 #include <typeinfo>
23068 class Base { public : Base () {} virtual void f () = 0;};
23069 class Derived : public Base { public : Derived () {} virtual void f () {} };
23070 class Unrelated { public : Unrelated () {} };
23071 int g (Unrelated&) { return 0; }
23076 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23081 rm -f conftest.
$ac_objext
23082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23083 (eval $ac_compile) 2>conftest.er1
23085 grep -v '^ *+' conftest.er1
>conftest.err
23087 cat conftest.err
>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; } &&
23096 { ac_try
='test -s conftest.$ac_objext'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23102 ac_cv_cxx_reinterpret_cast
=yes
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.
$ac_ext >&5
23107 ac_cv_cxx_reinterpret_cast
=no
23109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23111 ac_cpp
='$CXXCPP $CPPFLAGS'
23112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23118 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23119 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23120 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23122 cat >>confdefs.h
<<\_ACEOF
23123 #define HAVE_REINTERPRET_CAST
23128 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23129 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23130 if test "${ac_cv_cxx_static_cast+set}" = set; then
23131 echo $ECHO_N "(cached) $ECHO_C" >&6
23136 ac_cpp
='$CXXCPP $CPPFLAGS'
23137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23141 cat >conftest.
$ac_ext <<_ACEOF
23144 cat confdefs.h
>>conftest.
$ac_ext
23145 cat >>conftest.
$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 #include <typeinfo>
23148 class Base { public : Base () {} virtual void f () = 0; };
23149 class Derived : public Base { public : Derived () {} virtual void f () {} };
23150 int g (Derived&) { return 0; }
23155 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23160 rm -f conftest.
$ac_objext
23161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23162 (eval $ac_compile) 2>conftest.er1
23164 grep -v '^ *+' conftest.er1
>conftest.err
23166 cat conftest.err
>&5
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); } &&
23169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; } &&
23175 { ac_try
='test -s conftest.$ac_objext'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; }; then
23181 ac_cv_cxx_static_cast
=yes
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.
$ac_ext >&5
23186 ac_cv_cxx_static_cast
=no
23188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23190 ac_cpp
='$CXXCPP $CPPFLAGS'
23191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23197 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23198 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23199 if test "$ac_cv_cxx_static_cast" = yes; then
23201 cat >>confdefs.h
<<\_ACEOF
23202 #define HAVE_STATIC_CAST
23208 if test "x$SUNCXX" = xyes
; then
23209 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23212 if test "x$SUNCC" = xyes
; then
23213 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23216 if test "x$SGICC" = "xyes"; then
23217 CFLAGS
="-woff 3970 $CFLAGS"
23219 if test "x$SGICXX" = "xyes"; then
23220 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23223 if test "x$HPCC" = "xyes"; then
23224 CFLAGS
="+W 2011,2450 $CFLAGS"
23226 if test "x$HPCXX" = "xyes"; then
23227 CXXFLAGS
="+W 2340 $CXXFLAGS"
23230 if test "x$COMPAQCXX" = "xyes"; then
23231 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23234 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23235 if test "$wxUSE_UNICODE" = "yes"; then
23236 std_string
="std::wstring"
23237 char_type
="wchar_t"
23239 std_string
="std::string"
23243 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23244 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23245 cat >conftest.
$ac_ext <<_ACEOF
23248 cat confdefs.h
>>conftest.
$ac_ext
23249 cat >>conftest.
$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23260 rm -f conftest.
$ac_objext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23262 (eval $ac_compile) 2>conftest.er1
23264 grep -v '^ *+' conftest.er1
>conftest.err
23266 cat conftest.err
>&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23271 (eval $ac_try) 2>&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); }; } &&
23275 { ac_try
='test -s conftest.$ac_objext'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; }; then
23281 echo "$as_me:$LINENO: result: yes" >&5
23282 echo "${ECHO_T}yes" >&6
23283 cat >>confdefs.h
<<\_ACEOF
23284 #define HAVE_STD_WSTRING 1
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.
$ac_ext >&5
23291 echo "$as_me:$LINENO: result: no" >&5
23292 echo "${ECHO_T}no" >&6
23293 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23294 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23295 cat >conftest.
$ac_ext <<_ACEOF
23298 cat confdefs.h
>>conftest.
$ac_ext
23299 cat >>conftest.
$ac_ext <<_ACEOF
23300 /* end confdefs.h. */
23302 #ifdef HAVE_WCHAR_H
23304 # include <stddef.h>
23306 # include <wchar.h>
23308 #ifdef HAVE_STDLIB_H
23309 # include <stdlib.h>
23317 std::basic_string<$char_type> foo;
23318 const $char_type* dummy = foo.c_str();
23323 rm -f conftest.
$ac_objext
23324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23325 (eval $ac_compile) 2>conftest.er1
23327 grep -v '^ *+' conftest.er1
>conftest.err
23329 cat conftest.err
>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; } &&
23338 { ac_try
='test -s conftest.$ac_objext'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 echo "$as_me:$LINENO: result: yes" >&5
23345 echo "${ECHO_T}yes" >&6
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.
$ac_ext >&5
23350 echo "$as_me:$LINENO: result: no" >&5
23351 echo "${ECHO_T}no" >&6
23352 if test "$wxUSE_STL" = "yes"; then
23353 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23354 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23355 { (exit 1); exit 1; }; }
23356 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23357 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23358 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23359 { (exit 1); exit 1; }; }
23361 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23362 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23363 wxUSE_STD_STRING
=no
23368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23374 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23375 echo "$as_me:$LINENO: checking for std::istream" >&5
23376 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23377 if test "${ac_cv_type_std__istream+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23380 cat >conftest.
$ac_ext <<_ACEOF
23383 cat confdefs.h
>>conftest.
$ac_ext
23384 cat >>conftest.
$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 #include <iostream>
23391 if ((std::istream *) 0)
23393 if (sizeof (std::istream))
23399 rm -f conftest.
$ac_objext
23400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23401 (eval $ac_compile) 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; } &&
23414 { ac_try
='test -s conftest.$ac_objext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 ac_cv_type_std__istream
=yes
23422 echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.
$ac_ext >&5
23425 ac_cv_type_std__istream
=no
23427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23429 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23430 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23431 if test $ac_cv_type_std__istream = yes; then
23433 cat >>confdefs.h
<<_ACEOF
23434 #define HAVE_STD__ISTREAM 1
23439 wxUSE_STD_IOSTREAM
=no
23441 echo "$as_me:$LINENO: checking for std::ostream" >&5
23442 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23443 if test "${ac_cv_type_std__ostream+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 cat >conftest.
$ac_ext <<_ACEOF
23449 cat confdefs.h
>>conftest.
$ac_ext
23450 cat >>conftest.
$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23452 #include <iostream>
23457 if ((std::ostream *) 0)
23459 if (sizeof (std::ostream))
23465 rm -f conftest.
$ac_objext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 (eval $ac_compile) 2>conftest.er1
23469 grep -v '^ *+' conftest.er1
>conftest.err
23471 cat conftest.err
>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; } &&
23480 { ac_try
='test -s conftest.$ac_objext'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; }; then
23486 ac_cv_type_std__ostream
=yes
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.
$ac_ext >&5
23491 ac_cv_type_std__ostream
=no
23493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23495 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23496 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23497 if test $ac_cv_type_std__ostream = yes; then
23499 cat >>confdefs.h
<<_ACEOF
23500 #define HAVE_STD__OSTREAM 1
23505 wxUSE_STD_IOSTREAM
=no
23509 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23510 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23511 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23512 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23513 { (exit 1); exit 1; }; }
23515 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23516 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23521 if test "$wxUSE_STL" = "yes"; then
23522 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23523 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23524 cat >conftest.
$ac_ext <<_ACEOF
23527 cat confdefs.h
>>conftest.
$ac_ext
23528 cat >>conftest.
$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23531 #include <functional>
23532 #include <algorithm>
23538 std::vector<int> moo;
23539 std::list<int> foo;
23540 std::vector<int>::iterator it =
23541 std::find_if(moo.begin(), moo.end(),
23542 std::bind2nd(std::less<int>(), 3));
23547 rm -f conftest.
$ac_objext
23548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23549 (eval $ac_compile) 2>conftest.er1
23551 grep -v '^ *+' conftest.er1
>conftest.err
23553 cat conftest.err
>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; } &&
23562 { ac_try
='test -s conftest.$ac_objext'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; }; then
23568 echo "$as_me:$LINENO: result: yes" >&5
23569 echo "${ECHO_T}yes" >&6
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.
$ac_ext >&5
23574 echo "$as_me:$LINENO: result: no" >&5
23575 echo "${ECHO_T}no" >&6
23576 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23577 echo "$as_me: error: Basic STL functionality missing" >&2;}
23578 { (exit 1); exit 1; }; }
23580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23582 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23583 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23584 cat >conftest.
$ac_ext <<_ACEOF
23587 cat confdefs.h
>>conftest.
$ac_ext
23588 cat >>conftest.
$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23594 std::string foo, bar;
23596 foo.compare(1, 1, bar);
23597 foo.compare(1, 1, bar, 1, 1);
23599 foo.compare(1, 1, "");
23600 foo.compare(1, 1, "", 2);
23605 rm -f conftest.
$ac_objext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23607 (eval $ac_compile) 2>conftest.er1
23609 grep -v '^ *+' conftest.er1
>conftest.err
23611 cat conftest.err
>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23616 (eval $ac_try) 2>&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; } &&
23620 { ac_try
='test -s conftest.$ac_objext'
23621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23622 (eval $ac_try) 2>&5
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); }; }; then
23626 echo "$as_me:$LINENO: result: yes" >&5
23627 echo "${ECHO_T}yes" >&6
23628 cat >>confdefs.h
<<\_ACEOF
23629 #define HAVE_STD_STRING_COMPARE 1
23633 echo "$as_me: failed program was:" >&5
23634 sed 's/^/| /' conftest.
$ac_ext >&5
23636 echo "$as_me:$LINENO: result: no" >&5
23637 echo "${ECHO_T}no" >&6
23639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23641 if test "${ac_cv_header_hash_map+set}" = set; then
23642 echo "$as_me:$LINENO: checking for hash_map" >&5
23643 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23644 if test "${ac_cv_header_hash_map+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23648 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23650 # Is the header compilable?
23651 echo "$as_me:$LINENO: checking hash_map usability" >&5
23652 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23653 cat >conftest.
$ac_ext <<_ACEOF
23656 cat confdefs.h
>>conftest.
$ac_ext
23657 cat >>conftest.
$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659 $ac_includes_default
23660 #include <hash_map>
23662 rm -f conftest.
$ac_objext
23663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23664 (eval $ac_compile) 2>conftest.er1
23666 grep -v '^ *+' conftest.er1
>conftest.err
23668 cat conftest.err
>&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } &&
23671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try
='test -s conftest.$ac_objext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 ac_header_compiler
=yes
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.
$ac_ext >&5
23688 ac_header_compiler
=no
23690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23692 echo "${ECHO_T}$ac_header_compiler" >&6
23694 # Is the header present?
23695 echo "$as_me:$LINENO: checking hash_map presence" >&5
23696 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23697 cat >conftest.
$ac_ext <<_ACEOF
23700 cat confdefs.h
>>conftest.
$ac_ext
23701 cat >>conftest.
$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 #include <hash_map>
23705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23708 grep -v '^ *+' conftest.er1
>conftest.err
23710 cat conftest.err
>&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } >/dev
/null
; then
23713 if test -s conftest.err
; then
23714 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23715 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23722 if test -z "$ac_cpp_err"; then
23723 ac_header_preproc
=yes
23725 echo "$as_me: failed program was:" >&5
23726 sed 's/^/| /' conftest.
$ac_ext >&5
23728 ac_header_preproc
=no
23730 rm -f conftest.err conftest.
$ac_ext
23731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23732 echo "${ECHO_T}$ac_header_preproc" >&6
23734 # So? What about this header?
23735 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23737 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23738 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23739 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23740 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23741 ac_header_preproc
=yes
23744 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23745 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23746 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23747 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23748 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23749 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23751 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23752 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23753 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23754 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23755 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23758 ## ----------------------------------------- ##
23759 ## Report this to wx-dev@lists.wxwidgets.org ##
23760 ## ----------------------------------------- ##
23763 sed "s/^/$as_me: WARNING: /" >&2
23766 echo "$as_me:$LINENO: checking for hash_map" >&5
23767 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23768 if test "${ac_cv_header_hash_map+set}" = set; then
23769 echo $ECHO_N "(cached) $ECHO_C" >&6
23771 ac_cv_header_hash_map
=$ac_header_preproc
23773 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23774 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23777 if test $ac_cv_header_hash_map = yes; then
23778 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23779 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23780 cat >conftest.
$ac_ext <<_ACEOF
23783 cat confdefs.h
>>conftest.
$ac_ext
23784 cat >>conftest.
$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23786 #include <hash_map>
23787 #include <hash_set>
23791 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23792 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23797 rm -f conftest.
$ac_objext
23798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23799 (eval $ac_compile) 2>conftest.er1
23801 grep -v '^ *+' conftest.er1
>conftest.err
23803 cat conftest.err
>&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); } &&
23806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 (eval $ac_try) 2>&5
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); }; } &&
23812 { ac_try
='test -s conftest.$ac_objext'
23813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23814 (eval $ac_try) 2>&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; }; then
23818 echo "$as_me:$LINENO: result: yes" >&5
23819 echo "${ECHO_T}yes" >&6
23820 cat >>confdefs.h
<<\_ACEOF
23821 #define HAVE_HASH_MAP 1
23824 cat >>confdefs.h
<<\_ACEOF
23825 #define HAVE_STD_HASH_MAP 1
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.
$ac_ext >&5
23832 echo "$as_me:$LINENO: result: no" >&5
23833 echo "${ECHO_T}no" >&6
23835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23841 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23842 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23843 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23848 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23850 # Is the header compilable?
23851 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23852 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23853 cat >conftest.
$ac_ext <<_ACEOF
23856 cat confdefs.h
>>conftest.
$ac_ext
23857 cat >>conftest.
$ac_ext <<_ACEOF
23858 /* end confdefs.h. */
23859 $ac_includes_default
23860 #include <ext/hash_map>
23862 rm -f conftest.
$ac_objext
23863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23864 (eval $ac_compile) 2>conftest.er1
23866 grep -v '^ *+' conftest.er1
>conftest.err
23868 cat conftest.err
>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } &&
23871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; } &&
23877 { ac_try
='test -s conftest.$ac_objext'
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; }; then
23883 ac_header_compiler
=yes
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.
$ac_ext >&5
23888 ac_header_compiler
=no
23890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23892 echo "${ECHO_T}$ac_header_compiler" >&6
23894 # Is the header present?
23895 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23896 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23897 cat >conftest.
$ac_ext <<_ACEOF
23900 cat confdefs.h
>>conftest.
$ac_ext
23901 cat >>conftest.
$ac_ext <<_ACEOF
23902 /* end confdefs.h. */
23903 #include <ext/hash_map>
23905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23908 grep -v '^ *+' conftest.er1
>conftest.err
23910 cat conftest.err
>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } >/dev
/null
; then
23913 if test -s conftest.err
; then
23914 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23915 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23922 if test -z "$ac_cpp_err"; then
23923 ac_header_preproc
=yes
23925 echo "$as_me: failed program was:" >&5
23926 sed 's/^/| /' conftest.
$ac_ext >&5
23928 ac_header_preproc
=no
23930 rm -f conftest.err conftest.
$ac_ext
23931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23932 echo "${ECHO_T}$ac_header_preproc" >&6
23934 # So? What about this header?
23935 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23937 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23938 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23939 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23940 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23941 ac_header_preproc
=yes
23944 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23945 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23946 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23947 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23948 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23949 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23950 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23951 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23953 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23955 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23958 ## ----------------------------------------- ##
23959 ## Report this to wx-dev@lists.wxwidgets.org ##
23960 ## ----------------------------------------- ##
23963 sed "s/^/$as_me: WARNING: /" >&2
23966 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23967 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23968 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 ac_cv_header_ext_hash_map
=$ac_header_preproc
23973 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23974 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23977 if test $ac_cv_header_ext_hash_map = yes; then
23978 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23979 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23980 cat >conftest.
$ac_ext <<_ACEOF
23983 cat confdefs.h
>>conftest.
$ac_ext
23984 cat >>conftest.
$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 #include <ext/hash_map>
23987 #include <ext/hash_set>
23991 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23992 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23997 rm -f conftest.
$ac_objext
23998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23999 (eval $ac_compile) 2>conftest.er1
24001 grep -v '^ *+' conftest.er1
>conftest.err
24003 cat conftest.err
>&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } &&
24006 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; } &&
24012 { ac_try
='test -s conftest.$ac_objext'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; }; then
24018 echo "$as_me:$LINENO: result: yes" >&5
24019 echo "${ECHO_T}yes" >&6
24020 cat >>confdefs.h
<<\_ACEOF
24021 #define HAVE_EXT_HASH_MAP 1
24024 cat >>confdefs.h
<<\_ACEOF
24025 #define HAVE_GNU_CXX_HASH_MAP 1
24029 echo "$as_me: failed program was:" >&5
24030 sed 's/^/| /' conftest.
$ac_ext >&5
24032 echo "$as_me:$LINENO: result: no" >&5
24033 echo "${ECHO_T}no" >&6
24035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24044 /usr/local/include \
24046 /usr/Motif-2.1/include \
24047 /usr/Motif-1.2/include \
24048 /usr/include/Motif1.2 \
24051 /usr/openwin/include \
24055 /usr/X11R6/include \
24056 /usr/X11R6.4/include \
24057 /usr/X11R5/include \
24058 /usr/X11R4/include \
24060 /usr/include/X11R6 \
24061 /usr/include/X11R5 \
24062 /usr/include/X11R4 \
24064 /usr/local/X11R6/include \
24065 /usr/local/X11R5/include \
24066 /usr/local/X11R4/include \
24068 /usr/local/include/X11R6 \
24069 /usr/local/include/X11R5 \
24070 /usr/local/include/X11R4 \
24074 /usr/local/X11/include \
24075 /usr/local/include/X11 \
24077 /usr/XFree86/include/X11 \
24080 /usr/openwin/share/include"
24082 echo "$as_me:$LINENO: checking for libraries directory" >&5
24083 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24087 if test "${wx_cv_std_libpath+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24092 for e
in a so sl dylib dll.a
; do
24094 if test -f $libc; then
24097 cat >conftest.
$ac_ext <<_ACEOF
24098 int main() { return 0; }
24100 rm -f conftest.
$ac_objext conftest
$ac_exeext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24102 (eval $ac_link) 2>conftest.er1
24104 grep -v '^ *+' conftest.er1
>conftest.err
24106 cat conftest.err
>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } &&
24109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; } &&
24115 { ac_try
='test -s conftest$ac_exeext'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24123 echo "$as_me: failed program was:" >&5
24124 sed 's/^/| /' conftest.
$ac_ext >&5
24127 rm -f conftest.err conftest.
$ac_objext \
24128 conftest
$ac_exeext conftest.
$ac_ext
24130 if test "x$wx_cv_std_libpath" != "x"; then
24136 if test "x$wx_cv_std_libpath" = "x"; then
24137 wx_cv_std_libpath
="lib"
24146 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24147 wx_cv_std_libpath
="lib/64"
24149 wx_cv_std_libpath
="lib"
24154 if test "$ac_cv_sizeof_void_p" = 8 -a \
24155 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24156 wx_cv_std_libpath
="lib64"
24158 wx_cv_std_libpath
="lib"
24163 wx_cv_std_libpath
="lib";
24167 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24168 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24170 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24172 if test "$build" != "$host" -a "$GCC" = yes; then
24173 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24174 cross_root
=`dirname $cross_root`
24175 cross_root
=`dirname $cross_root`
24177 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24178 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24179 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24181 if test -z "$PKG_CONFIG_PATH"; then
24182 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24183 export PKG_CONFIG_PATH
24186 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24189 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24191 if test -f "$ac_dir/X11/Intrinsic.h"; then
24192 ac_find_includes
=$ac_dir
24197 x_includes
=$ac_find_includes
24199 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24202 for ac_dir
in $SEARCH_LIB;
24204 for ac_extension
in a so sl dylib dll.a
; do
24205 if test -f "$ac_dir/libXt.$ac_extension"; then
24206 ac_find_libraries
=$ac_dir
24212 x_libraries
=$ac_find_libraries
24218 cat >confcache
<<\_ACEOF
24219 # This file is a shell script that caches the results of configure
24220 # tests run on this system so they can be shared between configure
24221 # scripts and configure runs, see configure's option --config-cache.
24222 # It is not useful on other systems. If it contains results you don't
24223 # want to keep, you may remove or edit it.
24225 # config.status only pays attention to the cache file if you give it
24226 # the --recheck option to rerun configure.
24228 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24229 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24230 # following values.
24234 # The following way of writing the cache mishandles newlines in values,
24235 # but we know of no workaround that is simple, portable, and efficient.
24236 # So, don't put newlines in cache variables' values.
24237 # Ultrix sh set writes to stderr and can't be redirected directly,
24238 # and sets the high bit in the cache file unless we assign to the vars.
24241 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24243 # `set' does not quote correctly, so add quotes (double-quote
24244 # substitution turns \\\\ into \\, and sed turns \\ into \).
24247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24250 # `set' quotes correctly as required by POSIX, so do not add quotes.
24252 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24261 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24263 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24264 if test -w $cache_file; then
24265 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24266 cat confcache
>$cache_file
24268 echo "not updating unwritable cache $cache_file"
24273 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24274 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24275 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24276 if test "${wx_cv_lib_glibc21+set}" = set; then
24277 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 cat >conftest.
$ac_ext <<_ACEOF
24283 cat confdefs.h
>>conftest.
$ac_ext
24284 cat >>conftest.
$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 #include <features.h>
24291 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24299 rm -f conftest.
$ac_objext
24300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24301 (eval $ac_compile) 2>conftest.er1
24303 grep -v '^ *+' conftest.er1
>conftest.err
24305 cat conftest.err
>&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } &&
24308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24310 (eval $ac_try) 2>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); }; } &&
24314 { ac_try
='test -s conftest.$ac_objext'
24315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24316 (eval $ac_try) 2>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); }; }; then
24321 wx_cv_lib_glibc21
=yes
24324 echo "$as_me: failed program was:" >&5
24325 sed 's/^/| /' conftest.
$ac_ext >&5
24328 wx_cv_lib_glibc21
=no
24332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24335 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24336 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24337 if test "$wx_cv_lib_glibc21" = "yes"; then
24338 cat >>confdefs.h
<<\_ACEOF
24339 #define wxHAVE_GLIBC2 1
24345 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24346 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24347 cat >>confdefs.h
<<\_ACEOF
24348 #define _GNU_SOURCE 1
24359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24360 echo "$as_me:$LINENO: checking for $ac_func" >&5
24361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24362 if eval "test \"\${$as_ac_var+set}\" = set"; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 cat >conftest.
$ac_ext <<_ACEOF
24368 cat confdefs.h
>>conftest.
$ac_ext
24369 cat >>conftest.
$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24373 #define $ac_func innocuous_$ac_func
24375 /* System header to define __stub macros and hopefully few prototypes,
24376 which can conflict with char $ac_func (); below.
24377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24378 <limits.h> exists even on freestanding compilers. */
24381 # include <limits.h>
24383 # include <assert.h>
24388 /* Override any gcc2 internal prototype to avoid an error. */
24393 /* We use char because int might match the return type of a gcc2
24394 builtin and then its argument prototype would still apply. */
24396 /* The GNU C library defines this for functions which it implements
24397 to always fail with ENOSYS. Some functions are actually named
24398 something starting with __ and the normal name is an alias. */
24399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24402 char (*f) () = $ac_func;
24411 return f != $ac_func;
24416 rm -f conftest.
$ac_objext conftest
$ac_exeext
24417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24418 (eval $ac_link) 2>conftest.er1
24420 grep -v '^ *+' conftest.er1
>conftest.err
24422 cat conftest.err
>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; } &&
24431 { ac_try
='test -s conftest$ac_exeext'
24432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433 (eval $ac_try) 2>&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); }; }; then
24437 eval "$as_ac_var=yes"
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.
$ac_ext >&5
24442 eval "$as_ac_var=no"
24444 rm -f conftest.err conftest.
$ac_objext \
24445 conftest
$ac_exeext conftest.
$ac_ext
24447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24449 if test `eval echo '${'$as_ac_var'}'` = yes; then
24450 cat >>confdefs.h
<<_ACEOF
24451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24458 for ac_func
in floor
24460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24461 echo "$as_me:$LINENO: checking for $ac_func" >&5
24462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24463 if eval "test \"\${$as_ac_var+set}\" = set"; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24466 cat >conftest.
$ac_ext <<_ACEOF
24469 cat confdefs.h
>>conftest.
$ac_ext
24470 cat >>conftest.
$ac_ext <<_ACEOF
24471 /* end confdefs.h. */
24472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24474 #define $ac_func innocuous_$ac_func
24476 /* System header to define __stub macros and hopefully few prototypes,
24477 which can conflict with char $ac_func (); below.
24478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24479 <limits.h> exists even on freestanding compilers. */
24482 # include <limits.h>
24484 # include <assert.h>
24489 /* Override any gcc2 internal prototype to avoid an error. */
24494 /* We use char because int might match the return type of a gcc2
24495 builtin and then its argument prototype would still apply. */
24497 /* The GNU C library defines this for functions which it implements
24498 to always fail with ENOSYS. Some functions are actually named
24499 something starting with __ and the normal name is an alias. */
24500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24503 char (*f) () = $ac_func;
24512 return f != $ac_func;
24517 rm -f conftest.
$ac_objext conftest
$ac_exeext
24518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24519 (eval $ac_link) 2>conftest.er1
24521 grep -v '^ *+' conftest.er1
>conftest.err
24523 cat conftest.err
>&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } &&
24526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24528 (eval $ac_try) 2>&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); }; } &&
24532 { ac_try
='test -s conftest$ac_exeext'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; }; then
24538 eval "$as_ac_var=yes"
24540 echo "$as_me: failed program was:" >&5
24541 sed 's/^/| /' conftest.
$ac_ext >&5
24543 eval "$as_ac_var=no"
24545 rm -f conftest.err conftest.
$ac_objext \
24546 conftest
$ac_exeext conftest.
$ac_ext
24548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24550 if test `eval echo '${'$as_ac_var'}'` = yes; then
24551 cat >>confdefs.h
<<_ACEOF
24552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24558 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24559 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24560 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24561 echo "$as_me:$LINENO: result: yes" >&5
24562 echo "${ECHO_T}yes" >&6
24564 echo "$as_me:$LINENO: result: no" >&5
24565 echo "${ECHO_T}no" >&6
24567 # use different functions to avoid configure caching
24573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24574 echo "$as_me:$LINENO: checking for $ac_func" >&5
24575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24576 if eval "test \"\${$as_ac_var+set}\" = set"; then
24577 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 cat >conftest.
$ac_ext <<_ACEOF
24582 cat confdefs.h
>>conftest.
$ac_ext
24583 cat >>conftest.
$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24587 #define $ac_func innocuous_$ac_func
24589 /* System header to define __stub macros and hopefully few prototypes,
24590 which can conflict with char $ac_func (); below.
24591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24592 <limits.h> exists even on freestanding compilers. */
24595 # include <limits.h>
24597 # include <assert.h>
24602 /* Override any gcc2 internal prototype to avoid an error. */
24607 /* We use char because int might match the return type of a gcc2
24608 builtin and then its argument prototype would still apply. */
24610 /* The GNU C library defines this for functions which it implements
24611 to always fail with ENOSYS. Some functions are actually named
24612 something starting with __ and the normal name is an alias. */
24613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24616 char (*f) () = $ac_func;
24625 return f != $ac_func;
24630 rm -f conftest.
$ac_objext conftest
$ac_exeext
24631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24632 (eval $ac_link) 2>conftest.er1
24634 grep -v '^ *+' conftest.er1
>conftest.err
24636 cat conftest.err
>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } &&
24639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24641 (eval $ac_try) 2>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; } &&
24645 { ac_try
='test -s conftest$ac_exeext'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; }; then
24651 eval "$as_ac_var=yes"
24653 echo "$as_me: failed program was:" >&5
24654 sed 's/^/| /' conftest.
$ac_ext >&5
24656 eval "$as_ac_var=no"
24658 rm -f conftest.err conftest.
$ac_objext \
24659 conftest
$ac_exeext conftest.
$ac_ext
24661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24663 if test `eval echo '${'$as_ac_var'}'` = yes; then
24664 cat >>confdefs.h
<<_ACEOF
24665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24672 for ac_func
in ceil
24674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24675 echo "$as_me:$LINENO: checking for $ac_func" >&5
24676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24677 if eval "test \"\${$as_ac_var+set}\" = set"; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 cat >conftest.
$ac_ext <<_ACEOF
24683 cat confdefs.h
>>conftest.
$ac_ext
24684 cat >>conftest.
$ac_ext <<_ACEOF
24685 /* end confdefs.h. */
24686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24688 #define $ac_func innocuous_$ac_func
24690 /* System header to define __stub macros and hopefully few prototypes,
24691 which can conflict with char $ac_func (); below.
24692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24693 <limits.h> exists even on freestanding compilers. */
24696 # include <limits.h>
24698 # include <assert.h>
24703 /* Override any gcc2 internal prototype to avoid an error. */
24708 /* We use char because int might match the return type of a gcc2
24709 builtin and then its argument prototype would still apply. */
24711 /* The GNU C library defines this for functions which it implements
24712 to always fail with ENOSYS. Some functions are actually named
24713 something starting with __ and the normal name is an alias. */
24714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24717 char (*f) () = $ac_func;
24726 return f != $ac_func;
24731 rm -f conftest.
$ac_objext conftest
$ac_exeext
24732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24733 (eval $ac_link) 2>conftest.er1
24735 grep -v '^ *+' conftest.er1
>conftest.err
24737 cat conftest.err
>&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } &&
24740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24742 (eval $ac_try) 2>&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); }; } &&
24746 { ac_try
='test -s conftest$ac_exeext'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; }; then
24752 eval "$as_ac_var=yes"
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.
$ac_ext >&5
24757 eval "$as_ac_var=no"
24759 rm -f conftest.err conftest.
$ac_objext \
24760 conftest
$ac_exeext conftest.
$ac_ext
24762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24764 if test `eval echo '${'$as_ac_var'}'` = yes; then
24765 cat >>confdefs.h
<<_ACEOF
24766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24772 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24773 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24774 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24775 echo "$as_me:$LINENO: result: yes" >&5
24776 echo "${ECHO_T}yes" >&6
24778 echo "$as_me:$LINENO: result: no" >&5
24779 echo "${ECHO_T}no" >&6
24780 # not sure we should warn the user, crash, etc.
24786 if test "$wxUSE_REGEX" != "no"; then
24787 cat >>confdefs.h
<<\_ACEOF
24788 #define wxUSE_REGEX 1
24792 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24793 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24794 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24795 wxUSE_REGEX
=builtin
24798 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24799 if test "${ac_cv_header_regex_h+set}" = set; then
24800 echo "$as_me:$LINENO: checking for regex.h" >&5
24801 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24802 if test "${ac_cv_header_regex_h+set}" = set; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24805 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24806 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24808 # Is the header compilable?
24809 echo "$as_me:$LINENO: checking regex.h usability" >&5
24810 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24811 cat >conftest.
$ac_ext <<_ACEOF
24814 cat confdefs.h
>>conftest.
$ac_ext
24815 cat >>conftest.
$ac_ext <<_ACEOF
24816 /* end confdefs.h. */
24817 $ac_includes_default
24820 rm -f conftest.
$ac_objext
24821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24822 (eval $ac_compile) 2>conftest.er1
24824 grep -v '^ *+' conftest.er1
>conftest.err
24826 cat conftest.err
>&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } &&
24829 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24831 (eval $ac_try) 2>&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); }; } &&
24835 { ac_try
='test -s conftest.$ac_objext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 ac_header_compiler
=yes
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.
$ac_ext >&5
24846 ac_header_compiler
=no
24848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24850 echo "${ECHO_T}$ac_header_compiler" >&6
24852 # Is the header present?
24853 echo "$as_me:$LINENO: checking regex.h presence" >&5
24854 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24855 cat >conftest.
$ac_ext <<_ACEOF
24858 cat confdefs.h
>>conftest.
$ac_ext
24859 cat >>conftest.
$ac_ext <<_ACEOF
24860 /* end confdefs.h. */
24863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24866 grep -v '^ *+' conftest.er1
>conftest.err
24868 cat conftest.err
>&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } >/dev
/null
; then
24871 if test -s conftest.err
; then
24872 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24873 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24880 if test -z "$ac_cpp_err"; then
24881 ac_header_preproc
=yes
24883 echo "$as_me: failed program was:" >&5
24884 sed 's/^/| /' conftest.
$ac_ext >&5
24886 ac_header_preproc
=no
24888 rm -f conftest.err conftest.
$ac_ext
24889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24890 echo "${ECHO_T}$ac_header_preproc" >&6
24892 # So? What about this header?
24893 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24895 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24896 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24897 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24898 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24899 ac_header_preproc
=yes
24902 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24903 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24904 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24905 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24906 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24907 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24908 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24909 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24910 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24911 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24912 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24913 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24916 ## ----------------------------------------- ##
24917 ## Report this to wx-dev@lists.wxwidgets.org ##
24918 ## ----------------------------------------- ##
24921 sed "s/^/$as_me: WARNING: /" >&2
24924 echo "$as_me:$LINENO: checking for regex.h" >&5
24925 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24926 if test "${ac_cv_header_regex_h+set}" = set; then
24927 echo $ECHO_N "(cached) $ECHO_C" >&6
24929 ac_cv_header_regex_h
=$ac_header_preproc
24931 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24932 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24935 if test $ac_cv_header_regex_h = yes; then
24938 for ac_func
in regcomp re_search
24940 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24941 echo "$as_me:$LINENO: checking for $ac_func" >&5
24942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24943 if eval "test \"\${$as_ac_var+set}\" = set"; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 cat >conftest.
$ac_ext <<_ACEOF
24949 cat confdefs.h
>>conftest.
$ac_ext
24950 cat >>conftest.
$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24954 #define $ac_func innocuous_$ac_func
24956 /* System header to define __stub macros and hopefully few prototypes,
24957 which can conflict with char $ac_func (); below.
24958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24959 <limits.h> exists even on freestanding compilers. */
24962 # include <limits.h>
24964 # include <assert.h>
24969 /* Override any gcc2 internal prototype to avoid an error. */
24974 /* We use char because int might match the return type of a gcc2
24975 builtin and then its argument prototype would still apply. */
24977 /* The GNU C library defines this for functions which it implements
24978 to always fail with ENOSYS. Some functions are actually named
24979 something starting with __ and the normal name is an alias. */
24980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24983 char (*f) () = $ac_func;
24992 return f != $ac_func;
24997 rm -f conftest.
$ac_objext conftest
$ac_exeext
24998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24999 (eval $ac_link) 2>conftest.er1
25001 grep -v '^ *+' conftest.er1
>conftest.err
25003 cat conftest.err
>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); } &&
25006 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try
='test -s conftest$ac_exeext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25018 eval "$as_ac_var=yes"
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.
$ac_ext >&5
25023 eval "$as_ac_var=no"
25025 rm -f conftest.err conftest.
$ac_objext \
25026 conftest
$ac_exeext conftest.
$ac_ext
25028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25030 if test `eval echo '${'$as_ac_var'}'` = yes; then
25031 cat >>confdefs.h
<<_ACEOF
25032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25042 if test "x$ac_cv_func_regcomp" != "xyes"; then
25043 if test "$wxUSE_REGEX" = "sys" ; then
25044 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25045 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25046 { (exit 1); exit 1; }; }
25048 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25049 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25050 wxUSE_REGEX
=builtin
25054 cat >>confdefs.h
<<\_ACEOF
25055 #define WX_NO_REGEX_ADVANCED 1
25064 if test "$wxUSE_ZLIB" != "no" ; then
25065 cat >>confdefs.h
<<\_ACEOF
25066 #define wxUSE_ZLIB 1
25070 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25071 if test "$USE_DARWIN" = 1; then
25072 system_zlib_h_ok
="yes"
25074 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25075 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25076 if test "${ac_cv_header_zlib_h+set}" = set; then
25077 echo $ECHO_N "(cached) $ECHO_C" >&6
25079 if test "$cross_compiling" = yes; then
25080 unset ac_cv_header_zlib_h
25083 cat >conftest.
$ac_ext <<_ACEOF
25086 cat confdefs.h
>>conftest.
$ac_ext
25087 cat >>conftest.
$ac_ext <<_ACEOF
25088 /* end confdefs.h. */
25095 FILE *f=fopen("conftestval", "w");
25098 ZLIB_VERSION[0] == '1' &&
25099 (ZLIB_VERSION[2] > '1' ||
25100 (ZLIB_VERSION[2] == '1' &&
25101 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25106 rm -f conftest
$ac_exeext
25107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25108 (eval $ac_link) 2>&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 ac_cv_header_zlib_h
=`cat conftestval`
25119 echo "$as_me: program exited with status $ac_status" >&5
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.
$ac_ext >&5
25123 ( exit $ac_status )
25124 ac_cv_header_zlib_h
=no
25126 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25130 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25131 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25132 if test "${ac_cv_header_zlib_h+set}" = set; then
25133 echo "$as_me:$LINENO: checking for zlib.h" >&5
25134 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25135 if test "${ac_cv_header_zlib_h+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25139 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25141 # Is the header compilable?
25142 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25143 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25144 cat >conftest.
$ac_ext <<_ACEOF
25147 cat confdefs.h
>>conftest.
$ac_ext
25148 cat >>conftest.
$ac_ext <<_ACEOF
25149 /* end confdefs.h. */
25150 $ac_includes_default
25153 rm -f conftest.
$ac_objext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25155 (eval $ac_compile) 2>conftest.er1
25157 grep -v '^ *+' conftest.er1
>conftest.err
25159 cat conftest.err
>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } &&
25162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; } &&
25168 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
25174 ac_header_compiler
=yes
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.
$ac_ext >&5
25179 ac_header_compiler
=no
25181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25183 echo "${ECHO_T}$ac_header_compiler" >&6
25185 # Is the header present?
25186 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25187 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25188 cat >conftest.
$ac_ext <<_ACEOF
25191 cat confdefs.h
>>conftest.
$ac_ext
25192 cat >>conftest.
$ac_ext <<_ACEOF
25193 /* end confdefs.h. */
25196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25199 grep -v '^ *+' conftest.er1
>conftest.err
25201 cat conftest.err
>&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); } >/dev
/null
; then
25204 if test -s conftest.err
; then
25205 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25206 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25213 if test -z "$ac_cpp_err"; then
25214 ac_header_preproc
=yes
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.
$ac_ext >&5
25219 ac_header_preproc
=no
25221 rm -f conftest.err conftest.
$ac_ext
25222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25223 echo "${ECHO_T}$ac_header_preproc" >&6
25225 # So? What about this header?
25226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25228 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25229 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25230 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25231 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25232 ac_header_preproc
=yes
25235 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25236 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25237 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25238 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25239 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25240 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25241 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25242 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25243 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25244 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25245 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25246 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25249 ## ----------------------------------------- ##
25250 ## Report this to wx-dev@lists.wxwidgets.org ##
25251 ## ----------------------------------------- ##
25254 sed "s/^/$as_me: WARNING: /" >&2
25257 echo "$as_me:$LINENO: checking for zlib.h" >&5
25258 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25259 if test "${ac_cv_header_zlib_h+set}" = set; then
25260 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 ac_cv_header_zlib_h
=$ac_header_preproc
25264 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25265 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25271 system_zlib_h_ok
=$ac_cv_header_zlib_h
25274 if test "$system_zlib_h_ok" = "yes"; then
25275 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25276 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25277 if test "${ac_cv_lib_z_deflate+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 ac_check_lib_save_LIBS
=$LIBS
25282 cat >conftest.
$ac_ext <<_ACEOF
25285 cat confdefs.h
>>conftest.
$ac_ext
25286 cat >>conftest.
$ac_ext <<_ACEOF
25287 /* end confdefs.h. */
25289 /* Override any gcc2 internal prototype to avoid an error. */
25293 /* We use char because int might match the return type of a gcc2
25294 builtin and then its argument prototype would still apply. */
25304 rm -f conftest.
$ac_objext conftest
$ac_exeext
25305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25306 (eval $ac_link) 2>conftest.er1
25308 grep -v '^ *+' conftest.er1
>conftest.err
25310 cat conftest.err
>&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } &&
25313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315 (eval $ac_try) 2>&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); }; } &&
25319 { ac_try
='test -s conftest$ac_exeext'
25320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25321 (eval $ac_try) 2>&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); }; }; then
25325 ac_cv_lib_z_deflate
=yes
25327 echo "$as_me: failed program was:" >&5
25328 sed 's/^/| /' conftest.
$ac_ext >&5
25330 ac_cv_lib_z_deflate
=no
25332 rm -f conftest.err conftest.
$ac_objext \
25333 conftest
$ac_exeext conftest.
$ac_ext
25334 LIBS
=$ac_check_lib_save_LIBS
25336 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25337 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25338 if test $ac_cv_lib_z_deflate = yes; then
25344 if test "x$ZLIB_LINK" = "x" ; then
25345 if test "$wxUSE_ZLIB" = "sys" ; then
25346 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25347 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25348 { (exit 1); exit 1; }; }
25350 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25351 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25362 if test "$wxUSE_LIBPNG" != "no" ; then
25363 cat >>confdefs.h
<<\_ACEOF
25364 #define wxUSE_LIBPNG 1
25368 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25369 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25370 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25374 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25375 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25376 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25377 wxUSE_LIBPNG
=builtin
25380 if test "$wxUSE_MGL" != 1 ; then
25381 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25382 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25383 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25384 if test "${ac_cv_header_png_h+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 if test "$cross_compiling" = yes; then
25388 unset ac_cv_header_png_h
25391 cat >conftest.
$ac_ext <<_ACEOF
25394 cat confdefs.h
>>conftest.
$ac_ext
25395 cat >>conftest.
$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25403 FILE *f=fopen("conftestval", "w");
25406 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25411 rm -f conftest
$ac_exeext
25412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25413 (eval $ac_link) 2>&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; }; then
25422 ac_cv_header_png_h
=`cat conftestval`
25424 echo "$as_me: program exited with status $ac_status" >&5
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.
$ac_ext >&5
25428 ( exit $ac_status )
25429 ac_cv_header_png_h
=no
25431 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25435 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25436 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25437 if test "${ac_cv_header_png_h+set}" = set; then
25438 echo "$as_me:$LINENO: checking for png.h" >&5
25439 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25440 if test "${ac_cv_header_png_h+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25444 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25446 # Is the header compilable?
25447 echo "$as_me:$LINENO: checking png.h usability" >&5
25448 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25449 cat >conftest.
$ac_ext <<_ACEOF
25452 cat confdefs.h
>>conftest.
$ac_ext
25453 cat >>conftest.
$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 $ac_includes_default
25458 rm -f conftest.
$ac_objext
25459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25460 (eval $ac_compile) 2>conftest.er1
25462 grep -v '^ *+' conftest.er1
>conftest.err
25464 cat conftest.err
>&5
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); } &&
25467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25469 (eval $ac_try) 2>&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); }; } &&
25473 { ac_try
='test -s conftest.$ac_objext'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; }; then
25479 ac_header_compiler
=yes
25481 echo "$as_me: failed program was:" >&5
25482 sed 's/^/| /' conftest.
$ac_ext >&5
25484 ac_header_compiler
=no
25486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25488 echo "${ECHO_T}$ac_header_compiler" >&6
25490 # Is the header present?
25491 echo "$as_me:$LINENO: checking png.h presence" >&5
25492 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25493 cat >conftest.
$ac_ext <<_ACEOF
25496 cat confdefs.h
>>conftest.
$ac_ext
25497 cat >>conftest.
$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25504 grep -v '^ *+' conftest.er1
>conftest.err
25506 cat conftest.err
>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } >/dev
/null
; then
25509 if test -s conftest.err
; then
25510 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25511 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25518 if test -z "$ac_cpp_err"; then
25519 ac_header_preproc
=yes
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.
$ac_ext >&5
25524 ac_header_preproc
=no
25526 rm -f conftest.err conftest.
$ac_ext
25527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25528 echo "${ECHO_T}$ac_header_preproc" >&6
25530 # So? What about this header?
25531 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25533 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25534 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25535 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25536 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25537 ac_header_preproc
=yes
25540 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25541 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25542 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25543 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25544 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25545 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25546 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25547 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25548 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25549 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25550 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25551 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25554 ## ----------------------------------------- ##
25555 ## Report this to wx-dev@lists.wxwidgets.org ##
25556 ## ----------------------------------------- ##
25559 sed "s/^/$as_me: WARNING: /" >&2
25562 echo "$as_me:$LINENO: checking for png.h" >&5
25563 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25564 if test "${ac_cv_header_png_h+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 ac_cv_header_png_h
=$ac_header_preproc
25569 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25570 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25576 if test "$ac_cv_header_png_h" = "yes"; then
25577 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25578 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25579 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 ac_check_lib_save_LIBS
=$LIBS
25583 LIBS
="-lpng -lz -lm $LIBS"
25584 cat >conftest.
$ac_ext <<_ACEOF
25587 cat confdefs.h
>>conftest.
$ac_ext
25588 cat >>conftest.
$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25591 /* Override any gcc2 internal prototype to avoid an error. */
25595 /* We use char because int might match the return type of a gcc2
25596 builtin and then its argument prototype would still apply. */
25597 char png_check_sig ();
25606 rm -f conftest.
$ac_objext conftest
$ac_exeext
25607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25608 (eval $ac_link) 2>conftest.er1
25610 grep -v '^ *+' conftest.er1
>conftest.err
25612 cat conftest.err
>&5
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); } &&
25615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25617 (eval $ac_try) 2>&5
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); }; } &&
25621 { ac_try
='test -s conftest$ac_exeext'
25622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25623 (eval $ac_try) 2>&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); }; }; then
25627 ac_cv_lib_png_png_check_sig
=yes
25629 echo "$as_me: failed program was:" >&5
25630 sed 's/^/| /' conftest.
$ac_ext >&5
25632 ac_cv_lib_png_png_check_sig
=no
25634 rm -f conftest.err conftest.
$ac_objext \
25635 conftest
$ac_exeext conftest.
$ac_ext
25636 LIBS
=$ac_check_lib_save_LIBS
25638 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25639 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25640 if test $ac_cv_lib_png_png_check_sig = yes; then
25641 PNG_LINK
=" -lpng -lz"
25646 if test "x$PNG_LINK" = "x" ; then
25647 if test "$wxUSE_LIBPNG" = "sys" ; then
25648 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25649 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25650 { (exit 1); exit 1; }; }
25652 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25653 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25654 wxUSE_LIBPNG
=builtin
25662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25667 if test "$wxUSE_LIBJPEG" != "no" ; then
25668 cat >>confdefs.h
<<\_ACEOF
25669 #define wxUSE_LIBJPEG 1
25673 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25674 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25675 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25679 if test "$wxUSE_MGL" != 1 ; then
25680 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25681 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25682 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25683 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25684 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 cat >conftest.
$ac_ext <<_ACEOF
25689 cat confdefs.h
>>conftest.
$ac_ext
25690 cat >>conftest.
$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25693 #undef HAVE_STDLIB_H
25695 #include <jpeglib.h>
25706 rm -f conftest.
$ac_objext
25707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25708 (eval $ac_compile) 2>conftest.er1
25710 grep -v '^ *+' conftest.er1
>conftest.err
25712 cat conftest.err
>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } &&
25715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try
='test -s conftest.$ac_objext'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; }; then
25727 ac_cv_header_jpeglib_h
=yes
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.
$ac_ext >&5
25732 ac_cv_header_jpeglib_h
=no
25735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25739 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25740 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25742 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25743 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25744 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25745 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25746 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 ac_check_lib_save_LIBS
=$LIBS
25749 LIBS
="-ljpeg $LIBS"
25750 cat >conftest.
$ac_ext <<_ACEOF
25753 cat confdefs.h
>>conftest.
$ac_ext
25754 cat >>conftest.
$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25757 /* Override any gcc2 internal prototype to avoid an error. */
25761 /* We use char because int might match the return type of a gcc2
25762 builtin and then its argument prototype would still apply. */
25763 char jpeg_read_header ();
25767 jpeg_read_header ();
25772 rm -f conftest.
$ac_objext conftest
$ac_exeext
25773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25774 (eval $ac_link) 2>conftest.er1
25776 grep -v '^ *+' conftest.er1
>conftest.err
25778 cat conftest.err
>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } &&
25781 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; } &&
25787 { ac_try
='test -s conftest$ac_exeext'
25788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789 (eval $ac_try) 2>&5
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); }; }; then
25793 ac_cv_lib_jpeg_jpeg_read_header
=yes
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.
$ac_ext >&5
25798 ac_cv_lib_jpeg_jpeg_read_header
=no
25800 rm -f conftest.err conftest.
$ac_objext \
25801 conftest
$ac_exeext conftest.
$ac_ext
25802 LIBS
=$ac_check_lib_save_LIBS
25804 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25805 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25806 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25807 JPEG_LINK
=" -ljpeg"
25812 if test "x$JPEG_LINK" = "x" ; then
25813 if test "$wxUSE_LIBJPEG" = "sys" ; then
25814 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25815 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25816 { (exit 1); exit 1; }; }
25818 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25819 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25820 wxUSE_LIBJPEG
=builtin
25831 TIFF_PREREQ_LINKS
=-lm
25832 if test "$wxUSE_LIBTIFF" != "no" ; then
25833 cat >>confdefs.h
<<\_ACEOF
25834 #define wxUSE_LIBTIFF 1
25838 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25839 if test "$wxUSE_LIBJPEG" = "sys"; then
25840 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25842 if test "$wxUSE_ZLIB" = "sys"; then
25843 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25845 if test "${ac_cv_header_tiffio_h+set}" = set; then
25846 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25847 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25848 if test "${ac_cv_header_tiffio_h+set}" = set; then
25849 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25852 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25854 # Is the header compilable?
25855 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25856 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25857 cat >conftest.
$ac_ext <<_ACEOF
25860 cat confdefs.h
>>conftest.
$ac_ext
25861 cat >>conftest.
$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863 $ac_includes_default
25864 #include <tiffio.h>
25866 rm -f conftest.
$ac_objext
25867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25868 (eval $ac_compile) 2>conftest.er1
25870 grep -v '^ *+' conftest.er1
>conftest.err
25872 cat conftest.err
>&5
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); } &&
25875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877 (eval $ac_try) 2>&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); }; } &&
25881 { ac_try
='test -s conftest.$ac_objext'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; }; then
25887 ac_header_compiler
=yes
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.
$ac_ext >&5
25892 ac_header_compiler
=no
25894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25896 echo "${ECHO_T}$ac_header_compiler" >&6
25898 # Is the header present?
25899 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25900 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25901 cat >conftest.
$ac_ext <<_ACEOF
25904 cat confdefs.h
>>conftest.
$ac_ext
25905 cat >>conftest.
$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 #include <tiffio.h>
25909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25912 grep -v '^ *+' conftest.er1
>conftest.err
25914 cat conftest.err
>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } >/dev
/null
; then
25917 if test -s conftest.err
; then
25918 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25919 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25926 if test -z "$ac_cpp_err"; then
25927 ac_header_preproc
=yes
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.
$ac_ext >&5
25932 ac_header_preproc
=no
25934 rm -f conftest.err conftest.
$ac_ext
25935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25936 echo "${ECHO_T}$ac_header_preproc" >&6
25938 # So? What about this header?
25939 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25941 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25942 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25943 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25944 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25945 ac_header_preproc
=yes
25948 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25949 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25950 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25951 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25952 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25953 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25954 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25955 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25956 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25957 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25958 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25959 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25962 ## ----------------------------------------- ##
25963 ## Report this to wx-dev@lists.wxwidgets.org ##
25964 ## ----------------------------------------- ##
25967 sed "s/^/$as_me: WARNING: /" >&2
25970 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25971 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25972 if test "${ac_cv_header_tiffio_h+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 ac_cv_header_tiffio_h
=$ac_header_preproc
25977 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25978 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25981 if test $ac_cv_header_tiffio_h = yes; then
25983 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25984 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25985 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 ac_check_lib_save_LIBS
=$LIBS
25989 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25990 cat >conftest.
$ac_ext <<_ACEOF
25993 cat confdefs.h
>>conftest.
$ac_ext
25994 cat >>conftest.
$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25997 /* Override any gcc2 internal prototype to avoid an error. */
26001 /* We use char because int might match the return type of a gcc2
26002 builtin and then its argument prototype would still apply. */
26012 rm -f conftest.
$ac_objext conftest
$ac_exeext
26013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26014 (eval $ac_link) 2>conftest.er1
26016 grep -v '^ *+' conftest.er1
>conftest.err
26018 cat conftest.err
>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } &&
26021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; } &&
26027 { ac_try
='test -s conftest$ac_exeext'
26028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26029 (eval $ac_try) 2>&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); }; }; then
26033 ac_cv_lib_tiff_TIFFError
=yes
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.
$ac_ext >&5
26038 ac_cv_lib_tiff_TIFFError
=no
26040 rm -f conftest.err conftest.
$ac_objext \
26041 conftest
$ac_exeext conftest.
$ac_ext
26042 LIBS
=$ac_check_lib_save_LIBS
26044 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26045 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26046 if test $ac_cv_lib_tiff_TIFFError = yes; then
26047 TIFF_LINK
=" -ltiff"
26056 if test "x$TIFF_LINK" = "x" ; then
26057 if test "$wxUSE_LIBTIFF" = "sys" ; then
26058 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26059 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26060 { (exit 1); exit 1; }; }
26062 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26063 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26064 wxUSE_LIBTIFF
=builtin
26073 if test "$wxUSE_WCHAR_T" != "yes"; then
26074 if test "$wxUSE_EXPAT" != "no"; then
26075 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26076 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26079 if test "$wxUSE_XML" != "no"; then
26080 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26081 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26086 if test "$wxUSE_EXPAT" != "no"; then
26088 cat >>confdefs.h
<<\_ACEOF
26089 #define wxUSE_EXPAT 1
26092 cat >>confdefs.h
<<\_ACEOF
26093 #define wxUSE_XML 1
26097 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26098 if test "${ac_cv_header_expat_h+set}" = set; then
26099 echo "$as_me:$LINENO: checking for expat.h" >&5
26100 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26101 if test "${ac_cv_header_expat_h+set}" = set; then
26102 echo $ECHO_N "(cached) $ECHO_C" >&6
26104 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26105 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26107 # Is the header compilable?
26108 echo "$as_me:$LINENO: checking expat.h usability" >&5
26109 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26110 cat >conftest.
$ac_ext <<_ACEOF
26113 cat confdefs.h
>>conftest.
$ac_ext
26114 cat >>conftest.
$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116 $ac_includes_default
26119 rm -f conftest.
$ac_objext
26120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26121 (eval $ac_compile) 2>conftest.er1
26123 grep -v '^ *+' conftest.er1
>conftest.err
26125 cat conftest.err
>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); } &&
26128 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; } &&
26134 { ac_try
='test -s conftest.$ac_objext'
26135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26136 (eval $ac_try) 2>&5
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); }; }; then
26140 ac_header_compiler
=yes
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.
$ac_ext >&5
26145 ac_header_compiler
=no
26147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26149 echo "${ECHO_T}$ac_header_compiler" >&6
26151 # Is the header present?
26152 echo "$as_me:$LINENO: checking expat.h presence" >&5
26153 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26154 cat >conftest.
$ac_ext <<_ACEOF
26157 cat confdefs.h
>>conftest.
$ac_ext
26158 cat >>conftest.
$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26165 grep -v '^ *+' conftest.er1
>conftest.err
26167 cat conftest.err
>&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } >/dev
/null
; then
26170 if test -s conftest.err
; then
26171 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26172 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26179 if test -z "$ac_cpp_err"; then
26180 ac_header_preproc
=yes
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.
$ac_ext >&5
26185 ac_header_preproc
=no
26187 rm -f conftest.err conftest.
$ac_ext
26188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26189 echo "${ECHO_T}$ac_header_preproc" >&6
26191 # So? What about this header?
26192 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26194 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26195 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26196 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26197 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26198 ac_header_preproc
=yes
26201 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26202 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26203 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26204 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26205 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26206 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26207 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26208 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26209 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26210 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26211 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26212 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26215 ## ----------------------------------------- ##
26216 ## Report this to wx-dev@lists.wxwidgets.org ##
26217 ## ----------------------------------------- ##
26220 sed "s/^/$as_me: WARNING: /" >&2
26223 echo "$as_me:$LINENO: checking for expat.h" >&5
26224 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26225 if test "${ac_cv_header_expat_h+set}" = set; then
26226 echo $ECHO_N "(cached) $ECHO_C" >&6
26228 ac_cv_header_expat_h
=$ac_header_preproc
26230 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26231 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26234 if test $ac_cv_header_expat_h = yes; then
26239 if test "x$found_expat_h" = "x1"; then
26240 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26241 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26242 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 cat >conftest.
$ac_ext <<_ACEOF
26249 cat confdefs.h
>>conftest.
$ac_ext
26250 cat >>conftest.
$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26261 rm -f conftest.
$ac_objext
26262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26263 (eval $ac_compile) 2>conftest.er1
26265 grep -v '^ *+' conftest.er1
>conftest.err
26267 cat conftest.err
>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } &&
26270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; } &&
26276 { ac_try
='test -s conftest.$ac_objext'
26277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278 (eval $ac_try) 2>&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); }; }; then
26282 wx_cv_expat_is_not_broken
=yes
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.
$ac_ext >&5
26287 wx_cv_expat_is_not_broken
=no
26290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26294 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26295 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26296 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26297 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26298 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26299 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 ac_check_lib_save_LIBS
=$LIBS
26303 LIBS
="-lexpat $LIBS"
26304 cat >conftest.
$ac_ext <<_ACEOF
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26311 /* Override any gcc2 internal prototype to avoid an error. */
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317 char XML_ParserCreate ();
26321 XML_ParserCreate ();
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>conftest.er1
26330 grep -v '^ *+' conftest.er1
>conftest.err
26332 cat conftest.err
>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; } &&
26341 { ac_try
='test -s conftest$ac_exeext'
26342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343 (eval $ac_try) 2>&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 ac_cv_lib_expat_XML_ParserCreate
=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.
$ac_ext >&5
26352 ac_cv_lib_expat_XML_ParserCreate
=no
26354 rm -f conftest.err conftest.
$ac_objext \
26355 conftest
$ac_exeext conftest.
$ac_ext
26356 LIBS
=$ac_check_lib_save_LIBS
26358 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26359 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26360 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26361 EXPAT_LINK
=" -lexpat"
26366 if test "x$EXPAT_LINK" = "x" ; then
26367 if test "$wxUSE_EXPAT" = "sys" ; then
26368 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26369 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26370 { (exit 1); exit 1; }; }
26372 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26373 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26374 wxUSE_EXPAT
=builtin
26380 if test "$wxUSE_EXPAT" = "builtin" ; then
26383 subdirs
="$subdirs src/expat"
26390 if test "$wxUSE_LIBMSPACK" != "no"; then
26391 if test "${ac_cv_header_mspack_h+set}" = set; then
26392 echo "$as_me:$LINENO: checking for mspack.h" >&5
26393 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26394 if test "${ac_cv_header_mspack_h+set}" = set; then
26395 echo $ECHO_N "(cached) $ECHO_C" >&6
26397 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26398 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26400 # Is the header compilable?
26401 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26402 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26403 cat >conftest.
$ac_ext <<_ACEOF
26406 cat confdefs.h
>>conftest.
$ac_ext
26407 cat >>conftest.
$ac_ext <<_ACEOF
26408 /* end confdefs.h. */
26409 $ac_includes_default
26410 #include <mspack.h>
26412 rm -f conftest.
$ac_objext
26413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26414 (eval $ac_compile) 2>conftest.er1
26416 grep -v '^ *+' conftest.er1
>conftest.err
26418 cat conftest.err
>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; } &&
26427 { ac_try
='test -s conftest.$ac_objext'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; }; then
26433 ac_header_compiler
=yes
26435 echo "$as_me: failed program was:" >&5
26436 sed 's/^/| /' conftest.
$ac_ext >&5
26438 ac_header_compiler
=no
26440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26442 echo "${ECHO_T}$ac_header_compiler" >&6
26444 # Is the header present?
26445 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26446 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26447 cat >conftest.
$ac_ext <<_ACEOF
26450 cat confdefs.h
>>conftest.
$ac_ext
26451 cat >>conftest.
$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26453 #include <mspack.h>
26455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26458 grep -v '^ *+' conftest.er1
>conftest.err
26460 cat conftest.err
>&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } >/dev
/null
; then
26463 if test -s conftest.err
; then
26464 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26465 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26472 if test -z "$ac_cpp_err"; then
26473 ac_header_preproc
=yes
26475 echo "$as_me: failed program was:" >&5
26476 sed 's/^/| /' conftest.
$ac_ext >&5
26478 ac_header_preproc
=no
26480 rm -f conftest.err conftest.
$ac_ext
26481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26482 echo "${ECHO_T}$ac_header_preproc" >&6
26484 # So? What about this header?
26485 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26487 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26488 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26489 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26490 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26491 ac_header_preproc
=yes
26494 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26495 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26496 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26497 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26498 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26499 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26500 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26501 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26502 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26503 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26504 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26505 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26508 ## ----------------------------------------- ##
26509 ## Report this to wx-dev@lists.wxwidgets.org ##
26510 ## ----------------------------------------- ##
26513 sed "s/^/$as_me: WARNING: /" >&2
26516 echo "$as_me:$LINENO: checking for mspack.h" >&5
26517 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26518 if test "${ac_cv_header_mspack_h+set}" = set; then
26519 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 ac_cv_header_mspack_h
=$ac_header_preproc
26523 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26524 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26527 if test $ac_cv_header_mspack_h = yes; then
26532 if test "x$found_mspack_h" = "x1"; then
26533 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26534 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26535 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26536 echo $ECHO_N "(cached) $ECHO_C" >&6
26538 ac_check_lib_save_LIBS
=$LIBS
26539 LIBS
="-lmspack $LIBS"
26540 cat >conftest.
$ac_ext <<_ACEOF
26543 cat confdefs.h
>>conftest.
$ac_ext
26544 cat >>conftest.
$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26547 /* Override any gcc2 internal prototype to avoid an error. */
26551 /* We use char because int might match the return type of a gcc2
26552 builtin and then its argument prototype would still apply. */
26553 char mspack_create_chm_decompressor ();
26557 mspack_create_chm_decompressor ();
26562 rm -f conftest.
$ac_objext conftest
$ac_exeext
26563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26564 (eval $ac_link) 2>conftest.er1
26566 grep -v '^ *+' conftest.er1
>conftest.err
26568 cat conftest.err
>&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); } &&
26571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573 (eval $ac_try) 2>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); }; } &&
26577 { ac_try
='test -s conftest$ac_exeext'
26578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26579 (eval $ac_try) 2>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); }; }; then
26583 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.
$ac_ext >&5
26588 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26590 rm -f conftest.err conftest.
$ac_objext \
26591 conftest
$ac_exeext conftest.
$ac_ext
26592 LIBS
=$ac_check_lib_save_LIBS
26594 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26595 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26596 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26597 MSPACK_LINK
=" -lmspack"
26601 if test "x$MSPACK_LINK" = "x" ; then
26606 if test "$wxUSE_LIBMSPACK" != "no"; then
26607 cat >>confdefs.h
<<\_ACEOF
26608 #define wxUSE_LIBMSPACK 1
26622 if test "$USE_WIN32" = 1 ; then
26624 for ac_header
in w32api.h
26626 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26628 echo "$as_me:$LINENO: checking for $ac_header" >&5
26629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26631 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26636 # Is the header compilable?
26637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26639 cat >conftest.
$ac_ext <<_ACEOF
26642 cat confdefs.h
>>conftest.
$ac_ext
26643 cat >>conftest.
$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26645 $ac_includes_default
26646 #include <$ac_header>
26648 rm -f conftest.
$ac_objext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26650 (eval $ac_compile) 2>conftest.er1
26652 grep -v '^ *+' conftest.er1
>conftest.err
26654 cat conftest.err
>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; } &&
26663 { ac_try
='test -s conftest.$ac_objext'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; }; then
26669 ac_header_compiler
=yes
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.
$ac_ext >&5
26674 ac_header_compiler
=no
26676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26678 echo "${ECHO_T}$ac_header_compiler" >&6
26680 # Is the header present?
26681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26683 cat >conftest.
$ac_ext <<_ACEOF
26686 cat confdefs.h
>>conftest.
$ac_ext
26687 cat >>conftest.
$ac_ext <<_ACEOF
26688 /* end confdefs.h. */
26689 #include <$ac_header>
26691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26694 grep -v '^ *+' conftest.er1
>conftest.err
26696 cat conftest.err
>&5
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); } >/dev
/null
; then
26699 if test -s conftest.err
; then
26700 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26701 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26708 if test -z "$ac_cpp_err"; then
26709 ac_header_preproc
=yes
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.
$ac_ext >&5
26714 ac_header_preproc
=no
26716 rm -f conftest.err conftest.
$ac_ext
26717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26718 echo "${ECHO_T}$ac_header_preproc" >&6
26720 # So? What about this header?
26721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26727 ac_header_preproc
=yes
26730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26744 ## ----------------------------------------- ##
26745 ## Report this to wx-dev@lists.wxwidgets.org ##
26746 ## ----------------------------------------- ##
26749 sed "s/^/$as_me: WARNING: /" >&2
26752 echo "$as_me:$LINENO: checking for $ac_header" >&5
26753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26755 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 eval "$as_ac_Header=\$ac_header_preproc"
26759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26764 cat >>confdefs.h
<<_ACEOF
26765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26772 if test "${ac_cv_header_windows_h+set}" = set; then
26773 echo "$as_me:$LINENO: checking for windows.h" >&5
26774 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26775 if test "${ac_cv_header_windows_h+set}" = set; then
26776 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26779 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26781 # Is the header compilable?
26782 echo "$as_me:$LINENO: checking windows.h usability" >&5
26783 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26784 cat >conftest.
$ac_ext <<_ACEOF
26787 cat confdefs.h
>>conftest.
$ac_ext
26788 cat >>conftest.
$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26790 $ac_includes_default
26791 #include <windows.h>
26793 rm -f conftest.
$ac_objext
26794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26795 (eval $ac_compile) 2>conftest.er1
26797 grep -v '^ *+' conftest.er1
>conftest.err
26799 cat conftest.err
>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; } &&
26808 { ac_try
='test -s conftest.$ac_objext'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; }; then
26814 ac_header_compiler
=yes
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.
$ac_ext >&5
26819 ac_header_compiler
=no
26821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26823 echo "${ECHO_T}$ac_header_compiler" >&6
26825 # Is the header present?
26826 echo "$as_me:$LINENO: checking windows.h presence" >&5
26827 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26828 cat >conftest.
$ac_ext <<_ACEOF
26831 cat confdefs.h
>>conftest.
$ac_ext
26832 cat >>conftest.
$ac_ext <<_ACEOF
26833 /* end confdefs.h. */
26834 #include <windows.h>
26836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26839 grep -v '^ *+' conftest.er1
>conftest.err
26841 cat conftest.err
>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } >/dev
/null
; then
26844 if test -s conftest.err
; then
26845 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26846 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26853 if test -z "$ac_cpp_err"; then
26854 ac_header_preproc
=yes
26856 echo "$as_me: failed program was:" >&5
26857 sed 's/^/| /' conftest.
$ac_ext >&5
26859 ac_header_preproc
=no
26861 rm -f conftest.err conftest.
$ac_ext
26862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26863 echo "${ECHO_T}$ac_header_preproc" >&6
26865 # So? What about this header?
26866 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26868 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26869 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26870 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26871 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26872 ac_header_preproc
=yes
26875 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26876 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26877 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26878 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26879 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26880 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26881 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26882 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26883 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26884 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26885 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26886 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26889 ## ----------------------------------------- ##
26890 ## Report this to wx-dev@lists.wxwidgets.org ##
26891 ## ----------------------------------------- ##
26894 sed "s/^/$as_me: WARNING: /" >&2
26897 echo "$as_me:$LINENO: checking for windows.h" >&5
26898 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26899 if test "${ac_cv_header_windows_h+set}" = set; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26902 ac_cv_header_windows_h
=$ac_header_preproc
26904 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26905 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26908 if test $ac_cv_header_windows_h = yes; then
26912 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26913 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26914 { (exit 1); exit 1; }; }
26920 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26922 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26923 LIBS
="$LIBS -loleacc"
26928 LIBS
="$LIBS -lkernel32 -luser32"
26931 if test "$wxUSE_ODBC" = "sys" ; then
26934 if test "$wxUSE_ODBC" = "yes" ; then
26935 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26936 cat >>confdefs.h
<<\_ACEOF
26937 #define wxUSE_ODBC 1
26942 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26943 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26945 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26947 WIN32INSTALL
=win32install
26950 if test "$wxUSE_GUI" = "yes"; then
26960 if test "$wxUSE_COCOA" = 1 ; then
26961 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26962 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26963 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26964 wxUSE_PRINTING_ARCHITECTURE
=no
26966 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26967 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26968 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26969 wxUSE_DRAG_AND_DROP
=no
26971 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26972 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26973 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26978 if test "$wxUSE_MSW" = 1 ; then
26984 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26988 if test "$wxUSE_GTK" = 1; then
26990 ac_cpp
='$CPP $CPPFLAGS'
26991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26996 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26997 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26999 gtk_version_cached
=1
27000 if test "${wx_cv_lib_gtk+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 gtk_version_cached
=0
27005 echo "$as_me:$LINENO: result: " >&5
27006 echo "${ECHO_T}" >&6
27009 if test "$wxUSE_THREADS" = "yes"; then
27010 GTK_MODULES
=gthread
27014 if test "x$wxGTK_VERSION" != "x1"
27018 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27023 # Check whether --enable-gtktest or --disable-gtktest was given.
27024 if test "${enable_gtktest+set}" = set; then
27025 enableval
="$enable_gtktest"
27031 pkg_config_args
=gtk
+-2.0
27032 for module
in .
$GTK_MODULES
27036 pkg_config_args
="$pkg_config_args gthread-2.0"
27043 # Extract the first word of "pkg-config", so it can be a program name with args.
27044 set dummy pkg
-config; ac_word
=$2
27045 echo "$as_me:$LINENO: checking for $ac_word" >&5
27046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27047 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27050 case $PKG_CONFIG in
27052 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27056 for as_dir
in $PATH
27059 test -z "$as_dir" && as_dir
=.
27060 for ac_exec_ext
in '' $ac_executable_extensions; do
27061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27062 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27069 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27073 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27075 if test -n "$PKG_CONFIG"; then
27076 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27077 echo "${ECHO_T}$PKG_CONFIG" >&6
27079 echo "$as_me:$LINENO: result: no" >&5
27080 echo "${ECHO_T}no" >&6
27084 if test x
$PKG_CONFIG != xno
; then
27085 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27088 echo "*** pkg-config too old; version 0.7 or better required."
27096 min_gtk_version
=2.0.0
27097 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27098 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27100 if test x
$PKG_CONFIG != xno
; then
27101 ## don't try to run the test against uninstalled libtool libs
27102 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27103 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27107 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27114 if test x
"$no_gtk" = x
; then
27115 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27116 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27117 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27119 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27121 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27123 if test "x$enable_gtktest" = "xyes" ; then
27124 ac_save_CFLAGS
="$CFLAGS"
27125 ac_save_LIBS
="$LIBS"
27126 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27127 LIBS
="$GTK_LIBS $LIBS"
27129 if test "$cross_compiling" = yes; then
27130 echo $ac_n "cross compiling; assumed OK... $ac_c"
27132 cat >conftest.
$ac_ext <<_ACEOF
27135 cat confdefs.h
>>conftest.
$ac_ext
27136 cat >>conftest.
$ac_ext <<_ACEOF
27137 /* end confdefs.h. */
27139 #include <gtk/gtk.h>
27141 #include <stdlib.h>
27146 int major, minor, micro;
27149 system ("touch conf.gtktest");
27151 /* HP/UX 9 (%@#!) writes to sscanf strings */
27152 tmp_version = g_strdup("$min_gtk_version");
27153 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27154 printf("%s, bad version string\n", "$min_gtk_version");
27158 if ((gtk_major_version != $gtk_config_major_version) ||
27159 (gtk_minor_version != $gtk_config_minor_version) ||
27160 (gtk_micro_version != $gtk_config_micro_version))
27162 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27163 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27164 gtk_major_version, gtk_minor_version, gtk_micro_version);
27165 printf ("*** was found! If pkg-config was correct, then it is best\n");
27166 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27167 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27168 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27169 printf("*** required on your system.\n");
27170 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27171 printf("*** to point to the correct configuration files\n");
27173 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27174 (gtk_minor_version != GTK_MINOR_VERSION) ||
27175 (gtk_micro_version != GTK_MICRO_VERSION))
27177 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27178 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27179 printf("*** library (version %d.%d.%d)\n",
27180 gtk_major_version, gtk_minor_version, gtk_micro_version);
27184 if ((gtk_major_version > major) ||
27185 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27186 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27192 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27193 gtk_major_version, gtk_minor_version, gtk_micro_version);
27194 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27195 major, minor, micro);
27196 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27198 printf("*** If you have already installed a sufficiently new version, this error\n");
27199 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27200 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27201 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27202 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27203 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27204 printf("*** so that the correct libraries are found at run-time))\n");
27211 rm -f conftest
$ac_exeext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27213 (eval $ac_link) 2>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; }; then
27224 echo "$as_me: program exited with status $ac_status" >&5
27225 echo "$as_me: failed program was:" >&5
27226 sed 's/^/| /' conftest.
$ac_ext >&5
27228 ( exit $ac_status )
27231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27233 CFLAGS
="$ac_save_CFLAGS"
27234 LIBS
="$ac_save_LIBS"
27237 if test "x$no_gtk" = x
; then
27238 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27239 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27242 echo "$as_me:$LINENO: result: no" >&5
27243 echo "${ECHO_T}no" >&6
27244 if test "$PKG_CONFIG" = "no" ; then
27245 echo "*** A new enough version of pkg-config was not found."
27246 echo "*** See http://pkgconfig.sourceforge.net"
27248 if test -f conf.gtktest
; then
27251 echo "*** Could not run GTK+ test program, checking why..."
27252 ac_save_CFLAGS
="$CFLAGS"
27253 ac_save_LIBS
="$LIBS"
27254 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27255 LIBS
="$LIBS $GTK_LIBS"
27256 cat >conftest.
$ac_ext <<_ACEOF
27259 cat confdefs.h
>>conftest.
$ac_ext
27260 cat >>conftest.
$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27263 #include <gtk/gtk.h>
27269 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27274 rm -f conftest.
$ac_objext conftest
$ac_exeext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27276 (eval $ac_link) 2>conftest.er1
27278 grep -v '^ *+' conftest.er1
>conftest.err
27280 cat conftest.err
>&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } &&
27283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; } &&
27289 { ac_try
='test -s conftest$ac_exeext'
27290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27291 (eval $ac_try) 2>&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); }; }; then
27295 echo "*** The test program compiled, but did not run. This usually means"
27296 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27297 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27298 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27299 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27300 echo "*** is required on your system"
27302 echo "*** If you have an old version installed, it is best to remove it, although"
27303 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.
$ac_ext >&5
27308 echo "*** The test program failed to compile or link. See the file config.log for the"
27309 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27311 rm -f conftest.err conftest.
$ac_objext \
27312 conftest
$ac_exeext conftest.
$ac_ext
27313 CFLAGS
="$ac_save_CFLAGS"
27314 LIBS
="$ac_save_LIBS"
27328 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27329 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27330 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27332 if test "$wxUSE_SHARED" != "yes"; then
27333 GTK_LIBS
="$GTK_LIBS -lX11"
27338 if test -z "$wx_cv_lib_gtk"; then
27339 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27341 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27342 if test "${with_gtk_prefix+set}" = set; then
27343 withval
="$with_gtk_prefix"
27344 gtk_config_prefix
="$withval"
27346 gtk_config_prefix
=""
27349 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27350 if test "${with_gtk_exec_prefix+set}" = set; then
27351 withval
="$with_gtk_exec_prefix"
27352 gtk_config_exec_prefix
="$withval"
27354 gtk_config_exec_prefix
=""
27356 # Check whether --enable-gtktest or --disable-gtktest was given.
27357 if test "${enable_gtktest+set}" = set; then
27358 enableval
="$enable_gtktest"
27364 for module
in .
$GTK_MODULES
27368 gtk_config_args
="$gtk_config_args gthread"
27373 if test x
$gtk_config_exec_prefix != x
; then
27374 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27375 if test x
${GTK_CONFIG+set} != xset
; then
27376 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27379 if test x
$gtk_config_prefix != x
; then
27380 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27381 if test x
${GTK_CONFIG+set} != xset
; then
27382 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27386 # Extract the first word of "gtk-config", so it can be a program name with args.
27387 set dummy gtk
-config; ac_word
=$2
27388 echo "$as_me:$LINENO: checking for $ac_word" >&5
27389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27390 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 case $GTK_CONFIG in
27395 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27399 for as_dir
in $PATH
27402 test -z "$as_dir" && as_dir
=.
27403 for ac_exec_ext
in '' $ac_executable_extensions; do
27404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27405 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27412 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27416 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27418 if test -n "$GTK_CONFIG"; then
27419 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27420 echo "${ECHO_T}$GTK_CONFIG" >&6
27422 echo "$as_me:$LINENO: result: no" >&5
27423 echo "${ECHO_T}no" >&6
27426 min_gtk_version
=1.2.7
27427 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27428 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27430 if test "$GTK_CONFIG" = "no" ; then
27433 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27434 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27435 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27437 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27439 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27441 if test "x$enable_gtktest" = "xyes" ; then
27442 ac_save_CFLAGS
="$CFLAGS"
27443 ac_save_LIBS
="$LIBS"
27444 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27445 LIBS
="$GTK_LIBS $LIBS"
27447 if test "$cross_compiling" = yes; then
27448 echo $ac_n "cross compiling; assumed OK... $ac_c"
27450 cat >conftest.
$ac_ext <<_ACEOF
27453 cat confdefs.h
>>conftest.
$ac_ext
27454 cat >>conftest.
$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27457 #include <gtk/gtk.h>
27459 #include <stdlib.h>
27464 int major, minor, micro;
27467 system ("touch conf.gtktest");
27469 /* HP/UX 9 (%@#!) writes to sscanf strings */
27470 tmp_version = g_strdup("$min_gtk_version");
27471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27472 printf("%s, bad version string\n", "$min_gtk_version");
27476 if ((gtk_major_version != $gtk_config_major_version) ||
27477 (gtk_minor_version != $gtk_config_minor_version) ||
27478 (gtk_micro_version != $gtk_config_micro_version))
27480 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27482 gtk_major_version, gtk_minor_version, gtk_micro_version);
27483 printf ("*** was found! If gtk-config was correct, then it is best\n");
27484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27487 printf("*** required on your system.\n");
27488 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27489 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27490 printf("*** before re-running configure\n");
27492 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27494 (gtk_minor_version != GTK_MINOR_VERSION) ||
27495 (gtk_micro_version != GTK_MICRO_VERSION))
27497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27499 printf("*** library (version %d.%d.%d)\n",
27500 gtk_major_version, gtk_minor_version, gtk_micro_version);
27502 #endif /* defined (GTK_MAJOR_VERSION) ... */
27505 if ((gtk_major_version > major) ||
27506 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27507 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27513 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27514 gtk_major_version, gtk_minor_version, gtk_micro_version);
27515 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27516 major, minor, micro);
27517 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27519 printf("*** If you have already installed a sufficiently new version, this error\n");
27520 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27521 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27522 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27523 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27524 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27525 printf("*** so that the correct libraries are found at run-time))\n");
27532 rm -f conftest
$ac_exeext
27533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27534 (eval $ac_link) 2>&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27539 (eval $ac_try) 2>&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); }; }; then
27545 echo "$as_me: program exited with status $ac_status" >&5
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.
$ac_ext >&5
27549 ( exit $ac_status )
27552 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27554 CFLAGS
="$ac_save_CFLAGS"
27555 LIBS
="$ac_save_LIBS"
27558 if test "x$no_gtk" = x
; then
27559 echo "$as_me:$LINENO: result: yes" >&5
27560 echo "${ECHO_T}yes" >&6
27561 wx_cv_lib_gtk
=1.2.7
27563 echo "$as_me:$LINENO: result: no" >&5
27564 echo "${ECHO_T}no" >&6
27565 if test "$GTK_CONFIG" = "no" ; then
27566 echo "*** The gtk-config script installed by GTK could not be found"
27567 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27568 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27569 echo "*** full path to gtk-config."
27571 if test -f conf.gtktest
; then
27574 echo "*** Could not run GTK test program, checking why..."
27575 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27576 LIBS
="$LIBS $GTK_LIBS"
27577 cat >conftest.
$ac_ext <<_ACEOF
27580 cat confdefs.h
>>conftest.
$ac_ext
27581 cat >>conftest.
$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27584 #include <gtk/gtk.h>
27590 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27595 rm -f conftest.
$ac_objext conftest
$ac_exeext
27596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27597 (eval $ac_link) 2>conftest.er1
27599 grep -v '^ *+' conftest.er1
>conftest.err
27601 cat conftest.err
>&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); } &&
27604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27606 (eval $ac_try) 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); }; } &&
27610 { ac_try
='test -s conftest$ac_exeext'
27611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27612 (eval $ac_try) 2>&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); }; }; then
27616 echo "*** The test program compiled, but did not run. This usually means"
27617 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27618 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27619 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27620 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27621 echo "*** is required on your system"
27623 echo "*** If you have an old version installed, it is best to remove it, although"
27624 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27626 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27627 echo "*** came with the system with the command"
27629 echo "*** rpm --erase --nodeps gtk gtk-devel"
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.
$ac_ext >&5
27634 echo "*** The test program failed to compile or link. See the file config.log for the"
27635 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27636 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27637 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27639 rm -f conftest.err conftest.
$ac_objext \
27640 conftest
$ac_exeext conftest.
$ac_ext
27641 CFLAGS
="$ac_save_CFLAGS"
27642 LIBS
="$ac_save_LIBS"
27654 if test -z "$wx_cv_lib_gtk"; then
27656 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27657 if test "${with_gtk_prefix+set}" = set; then
27658 withval
="$with_gtk_prefix"
27659 gtk_config_prefix
="$withval"
27661 gtk_config_prefix
=""
27664 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27665 if test "${with_gtk_exec_prefix+set}" = set; then
27666 withval
="$with_gtk_exec_prefix"
27667 gtk_config_exec_prefix
="$withval"
27669 gtk_config_exec_prefix
=""
27671 # Check whether --enable-gtktest or --disable-gtktest was given.
27672 if test "${enable_gtktest+set}" = set; then
27673 enableval
="$enable_gtktest"
27679 for module
in .
$GTK_MODULES
27683 gtk_config_args
="$gtk_config_args gthread"
27688 if test x
$gtk_config_exec_prefix != x
; then
27689 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27690 if test x
${GTK_CONFIG+set} != xset
; then
27691 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27694 if test x
$gtk_config_prefix != x
; then
27695 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27696 if test x
${GTK_CONFIG+set} != xset
; then
27697 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27701 # Extract the first word of "gtk-config", so it can be a program name with args.
27702 set dummy gtk
-config; ac_word
=$2
27703 echo "$as_me:$LINENO: checking for $ac_word" >&5
27704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27705 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27706 echo $ECHO_N "(cached) $ECHO_C" >&6
27708 case $GTK_CONFIG in
27710 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27714 for as_dir
in $PATH
27717 test -z "$as_dir" && as_dir
=.
27718 for ac_exec_ext
in '' $ac_executable_extensions; do
27719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27720 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27727 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27731 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27733 if test -n "$GTK_CONFIG"; then
27734 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27735 echo "${ECHO_T}$GTK_CONFIG" >&6
27737 echo "$as_me:$LINENO: result: no" >&5
27738 echo "${ECHO_T}no" >&6
27741 min_gtk_version
=1.2.3
27742 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27743 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27745 if test "$GTK_CONFIG" = "no" ; then
27748 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27749 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27750 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27751 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27752 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27753 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27754 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27755 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27756 if test "x$enable_gtktest" = "xyes" ; then
27757 ac_save_CFLAGS
="$CFLAGS"
27758 ac_save_LIBS
="$LIBS"
27759 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27760 LIBS
="$GTK_LIBS $LIBS"
27762 if test "$cross_compiling" = yes; then
27763 echo $ac_n "cross compiling; assumed OK... $ac_c"
27765 cat >conftest.
$ac_ext <<_ACEOF
27768 cat confdefs.h
>>conftest.
$ac_ext
27769 cat >>conftest.
$ac_ext <<_ACEOF
27770 /* end confdefs.h. */
27772 #include <gtk/gtk.h>
27774 #include <stdlib.h>
27779 int major, minor, micro;
27782 system ("touch conf.gtktest");
27784 /* HP/UX 9 (%@#!) writes to sscanf strings */
27785 tmp_version = g_strdup("$min_gtk_version");
27786 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27787 printf("%s, bad version string\n", "$min_gtk_version");
27791 if ((gtk_major_version != $gtk_config_major_version) ||
27792 (gtk_minor_version != $gtk_config_minor_version) ||
27793 (gtk_micro_version != $gtk_config_micro_version))
27795 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27796 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27797 gtk_major_version, gtk_minor_version, gtk_micro_version);
27798 printf ("*** was found! If gtk-config was correct, then it is best\n");
27799 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27800 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27801 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27802 printf("*** required on your system.\n");
27803 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27804 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27805 printf("*** before re-running configure\n");
27807 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27808 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27809 (gtk_minor_version != GTK_MINOR_VERSION) ||
27810 (gtk_micro_version != GTK_MICRO_VERSION))
27812 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27813 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27814 printf("*** library (version %d.%d.%d)\n",
27815 gtk_major_version, gtk_minor_version, gtk_micro_version);
27817 #endif /* defined (GTK_MAJOR_VERSION) ... */
27820 if ((gtk_major_version > major) ||
27821 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27822 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27828 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27829 gtk_major_version, gtk_minor_version, gtk_micro_version);
27830 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27831 major, minor, micro);
27832 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27834 printf("*** If you have already installed a sufficiently new version, this error\n");
27835 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27836 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27837 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27838 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27839 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27840 printf("*** so that the correct libraries are found at run-time))\n");
27847 rm -f conftest
$ac_exeext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27849 (eval $ac_link) 2>&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; }; then
27860 echo "$as_me: program exited with status $ac_status" >&5
27861 echo "$as_me: failed program was:" >&5
27862 sed 's/^/| /' conftest.
$ac_ext >&5
27864 ( exit $ac_status )
27867 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27869 CFLAGS
="$ac_save_CFLAGS"
27870 LIBS
="$ac_save_LIBS"
27873 if test "x$no_gtk" = x
; then
27874 echo "$as_me:$LINENO: result: yes" >&5
27875 echo "${ECHO_T}yes" >&6
27876 wx_cv_lib_gtk
=1.2.3
27878 echo "$as_me:$LINENO: result: no" >&5
27879 echo "${ECHO_T}no" >&6
27880 if test "$GTK_CONFIG" = "no" ; then
27881 echo "*** The gtk-config script installed by GTK could not be found"
27882 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27883 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27884 echo "*** full path to gtk-config."
27886 if test -f conf.gtktest
; then
27889 echo "*** Could not run GTK test program, checking why..."
27890 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27891 LIBS
="$LIBS $GTK_LIBS"
27892 cat >conftest.
$ac_ext <<_ACEOF
27895 cat confdefs.h
>>conftest.
$ac_ext
27896 cat >>conftest.
$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27899 #include <gtk/gtk.h>
27905 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27910 rm -f conftest.
$ac_objext conftest
$ac_exeext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27912 (eval $ac_link) 2>conftest.er1
27914 grep -v '^ *+' conftest.er1
>conftest.err
27916 cat conftest.err
>&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } &&
27919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; } &&
27925 { ac_try
='test -s conftest$ac_exeext'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; }; then
27931 echo "*** The test program compiled, but did not run. This usually means"
27932 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27933 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27934 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27935 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27936 echo "*** is required on your system"
27938 echo "*** If you have an old version installed, it is best to remove it, although"
27939 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27941 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27942 echo "*** came with the system with the command"
27944 echo "*** rpm --erase --nodeps gtk gtk-devel"
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.
$ac_ext >&5
27949 echo "*** The test program failed to compile or link. See the file config.log for the"
27950 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27951 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27952 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27954 rm -f conftest.err conftest.
$ac_objext \
27955 conftest
$ac_exeext conftest.
$ac_ext
27956 CFLAGS
="$ac_save_CFLAGS"
27957 LIBS
="$ac_save_LIBS"
27972 if test -z "$wx_cv_lib_gtk"; then
27975 wx_cv_cflags_gtk
=$GTK_CFLAGS
27976 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27983 if test "$gtk_version_cached" = 1; then
27984 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27985 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27988 case "$wx_cv_lib_gtk" in
27997 *) { { echo "$as_me:$LINENO: error:
27998 The development files for GTK+ were not found. For GTK+ 2, please
27999 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28000 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28001 and that the version is 1.2.3 or above. Also check that the
28002 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28003 --libs' are in the LD_LIBRARY_PATH or equivalent.
28005 echo "$as_me: error:
28006 The development files for GTK+ were not found. For GTK+ 2, please
28007 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28008 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28009 and that the version is 1.2.3 or above. Also check that the
28010 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28011 --libs' are in the LD_LIBRARY_PATH or equivalent.
28013 { (exit 1); exit 1; }; }
28017 if test "$WXGTK20" = 1; then
28018 save_CFLAGS
="$CFLAGS"
28020 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28021 LIBS
="$LIBS $wx_cv_libs_gtk"
28023 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28024 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28025 cat >conftest.
$ac_ext <<_ACEOF
28028 cat confdefs.h
>>conftest.
$ac_ext
28029 cat >>conftest.
$ac_ext <<_ACEOF
28030 /* end confdefs.h. */
28032 #include <gtk/gtk.h>
28038 void *f = gtk_icon_size_lookup;
28044 rm -f conftest.
$ac_objext
28045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28046 (eval $ac_compile) 2>conftest.er1
28048 grep -v '^ *+' conftest.er1
>conftest.err
28050 cat conftest.err
>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } &&
28053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055 (eval $ac_try) 2>&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; } &&
28059 { ac_try
='test -s conftest.$ac_objext'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; }; then
28066 echo "$as_me:$LINENO: result: no" >&5
28067 echo "${ECHO_T}no" >&6
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.
$ac_ext >&5
28074 cat >>confdefs.h
<<\_ACEOF
28075 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28078 echo "$as_me:$LINENO: result: yes" >&5
28079 echo "${ECHO_T}yes" >&6
28082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28084 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28085 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28086 cat >conftest.
$ac_ext <<_ACEOF
28089 cat confdefs.h
>>conftest.
$ac_ext
28090 cat >>conftest.
$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28093 #include <gtk/gtk.h>
28099 #if !GTK_CHECK_VERSION(2,6,0)
28107 rm -f conftest.
$ac_objext
28108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28109 (eval $ac_compile) 2>conftest.er1
28111 grep -v '^ *+' conftest.er1
>conftest.err
28113 cat conftest.err
>&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } &&
28116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; } &&
28122 { ac_try
='test -s conftest.$ac_objext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28129 cat >>confdefs.h
<<\_ACEOF
28130 #define __WXGTK26__ 1
28133 cat >>confdefs.h
<<\_ACEOF
28134 #define __WXGTK24__ 1
28137 echo "$as_me:$LINENO: result: yes" >&5
28138 echo "${ECHO_T}yes" >&6
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.
$ac_ext >&5
28146 echo "$as_me:$LINENO: result: no" >&5
28147 echo "${ECHO_T}no" >&6
28151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28153 if test "$ac_wxgtk26" = 0; then
28154 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28155 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28156 cat >conftest.
$ac_ext <<_ACEOF
28159 cat confdefs.h
>>conftest.
$ac_ext
28160 cat >>conftest.
$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28163 #include <gtk/gtk.h>
28169 #if !GTK_CHECK_VERSION(2,4,0)
28177 rm -f conftest.
$ac_objext
28178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28179 (eval $ac_compile) 2>conftest.er1
28181 grep -v '^ *+' conftest.er1
>conftest.err
28183 cat conftest.err
>&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } &&
28186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28188 (eval $ac_try) 2>&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); }; } &&
28192 { ac_try
='test -s conftest.$ac_objext'
28193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194 (eval $ac_try) 2>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; }; then
28199 cat >>confdefs.h
<<\_ACEOF
28200 #define __WXGTK24__ 1
28203 echo "$as_me:$LINENO: result: yes" >&5
28204 echo "${ECHO_T}yes" >&6
28207 echo "$as_me: failed program was:" >&5
28208 sed 's/^/| /' conftest.
$ac_ext >&5
28211 echo "$as_me:$LINENO: result: no" >&5
28212 echo "${ECHO_T}no" >&6
28215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28218 CFLAGS
="$save_CFLAGS"
28221 if test "$wxUSE_UNICODE" = "yes"; then
28222 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28223 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28229 ac_cpp
='$CXXCPP $CPPFLAGS'
28230 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28231 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28232 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28235 if test "$USE_DARWIN" != 1; then
28237 for ac_func
in poll
28239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28240 echo "$as_me:$LINENO: checking for $ac_func" >&5
28241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28242 if eval "test \"\${$as_ac_var+set}\" = set"; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 cat >conftest.
$ac_ext <<_ACEOF
28248 cat confdefs.h
>>conftest.
$ac_ext
28249 cat >>conftest.
$ac_ext <<_ACEOF
28250 /* end confdefs.h. */
28251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28253 #define $ac_func innocuous_$ac_func
28255 /* System header to define __stub macros and hopefully few prototypes,
28256 which can conflict with char $ac_func (); below.
28257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28258 <limits.h> exists even on freestanding compilers. */
28261 # include <limits.h>
28263 # include <assert.h>
28268 /* Override any gcc2 internal prototype to avoid an error. */
28273 /* We use char because int might match the return type of a gcc2
28274 builtin and then its argument prototype would still apply. */
28276 /* The GNU C library defines this for functions which it implements
28277 to always fail with ENOSYS. Some functions are actually named
28278 something starting with __ and the normal name is an alias. */
28279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28282 char (*f) () = $ac_func;
28291 return f != $ac_func;
28296 rm -f conftest.
$ac_objext conftest
$ac_exeext
28297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28298 (eval $ac_link) 2>conftest.er1
28300 grep -v '^ *+' conftest.er1
>conftest.err
28302 cat conftest.err
>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } &&
28305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; } &&
28311 { ac_try
='test -s conftest$ac_exeext'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; }; then
28317 eval "$as_ac_var=yes"
28319 echo "$as_me: failed program was:" >&5
28320 sed 's/^/| /' conftest.
$ac_ext >&5
28322 eval "$as_ac_var=no"
28324 rm -f conftest.err conftest.
$ac_objext \
28325 conftest
$ac_exeext conftest.
$ac_ext
28327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28329 if test `eval echo '${'$as_ac_var'}'` = yes; then
28330 cat >>confdefs.h
<<_ACEOF
28331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28339 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28340 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28342 AFMINSTALL
=afminstall
28346 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28347 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28348 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28351 ac_check_lib_save_LIBS
=$LIBS
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28360 /* Override any gcc2 internal prototype to avoid an error. */
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char gdk_im_open ();
28375 rm -f conftest.
$ac_objext conftest
$ac_exeext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28377 (eval $ac_link) 2>conftest.er1
28379 grep -v '^ *+' conftest.er1
>conftest.err
28381 cat conftest.err
>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try
='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28396 ac_cv_lib_gdk_gdk_im_open
=yes
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.
$ac_ext >&5
28401 ac_cv_lib_gdk_gdk_im_open
=no
28403 rm -f conftest.err conftest.
$ac_objext \
28404 conftest
$ac_exeext conftest.
$ac_ext
28405 LIBS
=$ac_check_lib_save_LIBS
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28408 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28409 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28410 cat >>confdefs.h
<<\_ACEOF
28418 if test "$wxUSE_GPE" = "yes"; then
28419 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28420 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28423 for ac_dir
in $SEARCH_LIB;
28425 for ac_extension
in a so sl dylib dll.a
; do
28426 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28427 ac_find_libraries
=$ac_dir
28433 if test "$ac_find_libraries" != "" ; then
28435 if test "$ac_find_libraries" = "default location"; then
28438 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28440 if test $result = 0; then
28443 ac_path_to_link
=" -L$ac_find_libraries"
28447 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28449 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28450 echo "${ECHO_T}found in $ac_find_libraries" >&6
28452 echo "$as_me:$LINENO: result: not found" >&5
28453 echo "${ECHO_T}not found" >&6
28459 if test "$wxUSE_MGL" = 1; then
28460 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28461 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28462 if test "x$MGL_ROOT" = x
; then
28463 echo "$as_me:$LINENO: result: not found" >&5
28464 echo "${ECHO_T}not found" >&6
28465 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28466 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28467 { (exit 1); exit 1; }; }
28469 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28470 echo "${ECHO_T}$MGL_ROOT" >&6
28473 echo "$as_me:$LINENO: checking for libmgl location" >&5
28474 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28477 if test "x$wxUSE_SHARED" = xyes
; then
28478 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28480 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28484 mgl_os_candidates
="dos32/dj2"
28487 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28488 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28489 { (exit 1); exit 1; }; }
28495 for mgl_os_i
in $mgl_os_candidates ; do
28496 if test "x$mgl_os" = x
; then
28497 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28498 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28499 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28504 if test "x$mgl_lib_type" = x
; then
28505 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28506 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28507 mgl_lib_type
=release
28514 if test "x$mgl_os" = x
; then
28515 echo "$as_me:$LINENO: result: not found" >&5
28516 echo "${ECHO_T}not found" >&6
28517 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28518 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28519 { (exit 1); exit 1; }; }
28521 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28522 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28524 wxUSE_UNIVERSAL
="yes"
28526 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28527 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28529 AFMINSTALL
=afminstall
28534 if test "$wxUSE_MICROWIN" = 1; then
28535 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28536 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28537 if test "x$MICROWINDOWS" = x
; then
28538 echo "$as_me:$LINENO: result: not found" >&5
28539 echo "${ECHO_T}not found" >&6
28540 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28541 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28542 { (exit 1); exit 1; }; }
28544 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28545 echo "${ECHO_T}$MICROWINDOWS" >&6
28548 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28549 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28550 echo "${ECHO_T}MicroWindows' libraries found." >&6
28552 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28553 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28554 { (exit 1); exit 1; }; }
28557 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28558 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28560 wxUSE_UNIVERSAL
="yes"
28562 AFMINSTALL
=afminstall
28564 GUIDIST
=MICROWIN_DIST
28566 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28569 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28571 if test "x$ac_path_x_has_been_run" != xyes
; then
28572 echo "$as_me:$LINENO: checking for X" >&5
28573 echo $ECHO_N "checking for X... $ECHO_C" >&6
28575 ac_path_x_has_been_run
=yes
28577 # Check whether --with-x or --without-x was given.
28578 if test "${with_x+set}" = set; then
28582 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28583 if test "x$with_x" = xno
; then
28584 # The user explicitly disabled X.
28587 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28588 # Both variables are already set.
28591 if test "${ac_cv_have_x+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 # One or both of the vars are not set, and there is no cached value.
28595 ac_x_includes
=no ac_x_libraries
=no
28596 rm -fr conftest.dir
28597 if mkdir conftest.dir
; then
28599 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28600 cat >Imakefile
<<'_ACEOF'
28602 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28604 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28605 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28606 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28607 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28608 for ac_extension
in a so sl
; do
28609 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28610 test -f $ac_im_libdir/libX11.
$ac_extension; then
28611 ac_im_usrlibdir
=$ac_im_libdir; break
28614 # Screen out bogus values from the imake configuration. They are
28615 # bogus both because they are the default anyway, and because
28616 # using them would break gcc on systems where it needs fixed includes.
28617 case $ac_im_incroot in
28619 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28621 case $ac_im_usrlibdir in
28622 /usr
/lib
| /lib
) ;;
28623 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28627 rm -fr conftest.dir
28630 # Standard set of common directories for X headers.
28631 # Check X11 before X11Rn because it is often a symlink to the current release.
28643 /usr/local/X11/include
28644 /usr/local/X11R6/include
28645 /usr/local/X11R5/include
28646 /usr/local/X11R4/include
28648 /usr/local/include/X11
28649 /usr/local/include/X11R6
28650 /usr/local/include/X11R5
28651 /usr/local/include/X11R4
28655 /usr/XFree86/include/X11
28659 /usr/unsupported/include
28660 /usr/athena/include
28661 /usr/local/x11r5/include
28662 /usr/lpp/Xamples/include
28664 /usr/openwin/include
28665 /usr/openwin/share/include'
28667 if test "$ac_x_includes" = no
; then
28668 # Guess where to find include files, by looking for a specified header file.
28669 # First, try using that file with no special directory specified.
28670 cat >conftest.
$ac_ext <<_ACEOF
28673 cat confdefs.h
>>conftest.
$ac_ext
28674 cat >>conftest.
$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676 #include <X11/Intrinsic.h>
28678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28681 grep -v '^ *+' conftest.er1
>conftest.err
28683 cat conftest.err
>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } >/dev
/null
; then
28686 if test -s conftest.err
; then
28687 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28688 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28695 if test -z "$ac_cpp_err"; then
28696 # We can compile using X headers with no special include directory.
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.
$ac_ext >&5
28702 for ac_dir
in $ac_x_header_dirs; do
28703 if test -r "$ac_dir/X11/Intrinsic.h"; then
28704 ac_x_includes
=$ac_dir
28709 rm -f conftest.err conftest.
$ac_ext
28710 fi # $ac_x_includes = no
28712 if test "$ac_x_libraries" = no
; then
28713 # Check for the libraries.
28714 # See if we find them without any special options.
28715 # Don't add to $LIBS permanently.
28718 cat >conftest.
$ac_ext <<_ACEOF
28721 cat confdefs.h
>>conftest.
$ac_ext
28722 cat >>conftest.
$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28724 #include <X11/Intrinsic.h>
28733 rm -f conftest.
$ac_objext conftest
$ac_exeext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28735 (eval $ac_link) 2>conftest.er1
28737 grep -v '^ *+' conftest.er1
>conftest.err
28739 cat conftest.err
>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
28748 { ac_try
='test -s conftest$ac_exeext'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; }; then
28755 # We can link X programs with no special library path.
28758 echo "$as_me: failed program was:" >&5
28759 sed 's/^/| /' conftest.
$ac_ext >&5
28762 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28764 # Don't even attempt the hair of trying to link an X program!
28765 for ac_extension
in a so sl
; do
28766 if test -r $ac_dir/libXt.
$ac_extension; then
28767 ac_x_libraries
=$ac_dir
28773 rm -f conftest.err conftest.
$ac_objext \
28774 conftest
$ac_exeext conftest.
$ac_ext
28775 fi # $ac_x_libraries = no
28777 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28778 # Didn't find X anywhere. Cache the known absence of X.
28779 ac_cv_have_x
="have_x=no"
28781 # Record where we found X for the cache.
28782 ac_cv_have_x
="have_x=yes \
28783 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28788 eval "$ac_cv_have_x"
28791 if test "$have_x" != yes; then
28792 echo "$as_me:$LINENO: result: $have_x" >&5
28793 echo "${ECHO_T}$have_x" >&6
28796 # If each of the values was on the command line, it overrides each guess.
28797 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28798 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28799 # Update the cache value to reflect the command line values.
28800 ac_cv_have_x
="have_x=yes \
28801 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28802 # It might be that x_includes is empty (headers are found in the
28803 # standard search path. Then output the corresponding message
28804 ac_out_x_includes
=$x_includes
28805 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28806 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28807 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28811 if test "$no_x" = yes; then
28812 # Not all programs may use this symbol, but it does not hurt to define it.
28814 cat >>confdefs.h
<<\_ACEOF
28815 #define X_DISPLAY_MISSING 1
28818 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28820 if test -n "$x_includes"; then
28821 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28824 # It would also be nice to do this for all -L options, not just this one.
28825 if test -n "$x_libraries"; then
28826 X_LIBS
="$X_LIBS -L$x_libraries"
28827 # For Solaris; some versions of Sun CC require a space after -R and
28828 # others require no space. Words are not sufficient . . . .
28829 case `(uname -sr) 2>/dev/null` in
28831 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28832 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28833 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28834 cat >conftest.
$ac_ext <<_ACEOF
28837 cat confdefs.h
>>conftest.
$ac_ext
28838 cat >>conftest.
$ac_ext <<_ACEOF
28839 /* end confdefs.h. */
28849 rm -f conftest.
$ac_objext conftest
$ac_exeext
28850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28851 (eval $ac_link) 2>conftest.er1
28853 grep -v '^ *+' conftest.er1
>conftest.err
28855 cat conftest.err
>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); } &&
28858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; } &&
28864 { ac_try
='test -s conftest$ac_exeext'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; }; then
28872 echo "$as_me: failed program was:" >&5
28873 sed 's/^/| /' conftest.
$ac_ext >&5
28877 rm -f conftest.err conftest.
$ac_objext \
28878 conftest
$ac_exeext conftest.
$ac_ext
28879 if test $ac_R_nospace = yes; then
28880 echo "$as_me:$LINENO: result: no" >&5
28881 echo "${ECHO_T}no" >&6
28882 X_LIBS
="$X_LIBS -R$x_libraries"
28884 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28885 cat >conftest.
$ac_ext <<_ACEOF
28888 cat confdefs.h
>>conftest.
$ac_ext
28889 cat >>conftest.
$ac_ext <<_ACEOF
28890 /* end confdefs.h. */
28900 rm -f conftest.
$ac_objext conftest
$ac_exeext
28901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28902 (eval $ac_link) 2>conftest.er1
28904 grep -v '^ *+' conftest.er1
>conftest.err
28906 cat conftest.err
>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } &&
28909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; } &&
28915 { ac_try
='test -s conftest$ac_exeext'
28916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28917 (eval $ac_try) 2>&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); }; }; then
28923 echo "$as_me: failed program was:" >&5
28924 sed 's/^/| /' conftest.
$ac_ext >&5
28928 rm -f conftest.err conftest.
$ac_objext \
28929 conftest
$ac_exeext conftest.
$ac_ext
28930 if test $ac_R_space = yes; then
28931 echo "$as_me:$LINENO: result: yes" >&5
28932 echo "${ECHO_T}yes" >&6
28933 X_LIBS
="$X_LIBS -R $x_libraries"
28935 echo "$as_me:$LINENO: result: neither works" >&5
28936 echo "${ECHO_T}neither works" >&6
28939 LIBS
=$ac_xsave_LIBS
28943 # Check for system-dependent libraries X programs must link with.
28944 # Do this before checking for the system-independent R6 libraries
28945 # (-lICE), since we may need -lsocket or whatever for X linking.
28947 if test "$ISC" = yes; then
28948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28950 # Martyn Johnson says this is needed for Ultrix, if the X
28951 # libraries were built with DECnet support. And Karl Berry says
28952 # the Alpha needs dnet_stub (dnet does not exist).
28953 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28954 cat >conftest.
$ac_ext <<_ACEOF
28957 cat confdefs.h
>>conftest.
$ac_ext
28958 cat >>conftest.
$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28961 /* Override any gcc2 internal prototype to avoid an error. */
28965 /* We use char because int might match the return type of a gcc2
28966 builtin and then its argument prototype would still apply. */
28967 char XOpenDisplay ();
28976 rm -f conftest.
$ac_objext conftest
$ac_exeext
28977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28978 (eval $ac_link) 2>conftest.er1
28980 grep -v '^ *+' conftest.er1
>conftest.err
28982 cat conftest.err
>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } &&
28985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; } &&
28991 { ac_try
='test -s conftest$ac_exeext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28999 echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.
$ac_ext >&5
29002 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29003 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29004 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 ac_check_lib_save_LIBS
=$LIBS
29008 LIBS
="-ldnet $LIBS"
29009 cat >conftest.
$ac_ext <<_ACEOF
29012 cat confdefs.h
>>conftest.
$ac_ext
29013 cat >>conftest.
$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29016 /* Override any gcc2 internal prototype to avoid an error. */
29020 /* We use char because int might match the return type of a gcc2
29021 builtin and then its argument prototype would still apply. */
29031 rm -f conftest.
$ac_objext conftest
$ac_exeext
29032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29033 (eval $ac_link) 2>conftest.er1
29035 grep -v '^ *+' conftest.er1
>conftest.err
29037 cat conftest.err
>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); } &&
29040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; } &&
29046 { ac_try
='test -s conftest$ac_exeext'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; }; then
29052 ac_cv_lib_dnet_dnet_ntoa
=yes
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.
$ac_ext >&5
29057 ac_cv_lib_dnet_dnet_ntoa
=no
29059 rm -f conftest.err conftest.
$ac_objext \
29060 conftest
$ac_exeext conftest.
$ac_ext
29061 LIBS
=$ac_check_lib_save_LIBS
29063 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29064 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29065 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29069 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29070 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29071 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29072 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29073 echo $ECHO_N "(cached) $ECHO_C" >&6
29075 ac_check_lib_save_LIBS
=$LIBS
29076 LIBS
="-ldnet_stub $LIBS"
29077 cat >conftest.
$ac_ext <<_ACEOF
29080 cat confdefs.h
>>conftest.
$ac_ext
29081 cat >>conftest.
$ac_ext <<_ACEOF
29082 /* end confdefs.h. */
29084 /* Override any gcc2 internal prototype to avoid an error. */
29088 /* We use char because int might match the return type of a gcc2
29089 builtin and then its argument prototype would still apply. */
29099 rm -f conftest.
$ac_objext conftest
$ac_exeext
29100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101 (eval $ac_link) 2>conftest.er1
29103 grep -v '^ *+' conftest.er1
>conftest.err
29105 cat conftest.err
>&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); } &&
29108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29110 (eval $ac_try) 2>&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); }; } &&
29114 { ac_try
='test -s conftest$ac_exeext'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; }; then
29120 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29122 echo "$as_me: failed program was:" >&5
29123 sed 's/^/| /' conftest.
$ac_ext >&5
29125 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29127 rm -f conftest.err conftest.
$ac_objext \
29128 conftest
$ac_exeext conftest.
$ac_ext
29129 LIBS
=$ac_check_lib_save_LIBS
29131 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29132 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29133 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29139 rm -f conftest.err conftest.
$ac_objext \
29140 conftest
$ac_exeext conftest.
$ac_ext
29141 LIBS
="$ac_xsave_LIBS"
29143 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29144 # to get the SysV transport functions.
29145 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29147 # The nsl library prevents programs from opening the X display
29148 # on Irix 5.2, according to T.E. Dickey.
29149 # The functions gethostbyname, getservbyname, and inet_addr are
29150 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29151 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29152 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29153 if test "${ac_cv_func_gethostbyname+set}" = set; then
29154 echo $ECHO_N "(cached) $ECHO_C" >&6
29156 cat >conftest.
$ac_ext <<_ACEOF
29159 cat confdefs.h
>>conftest.
$ac_ext
29160 cat >>conftest.
$ac_ext <<_ACEOF
29161 /* end confdefs.h. */
29162 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29164 #define gethostbyname innocuous_gethostbyname
29166 /* System header to define __stub macros and hopefully few prototypes,
29167 which can conflict with char gethostbyname (); below.
29168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29169 <limits.h> exists even on freestanding compilers. */
29172 # include <limits.h>
29174 # include <assert.h>
29177 #undef gethostbyname
29179 /* Override any gcc2 internal prototype to avoid an error. */
29184 /* We use char because int might match the return type of a gcc2
29185 builtin and then its argument prototype would still apply. */
29186 char gethostbyname ();
29187 /* The GNU C library defines this for functions which it implements
29188 to always fail with ENOSYS. Some functions are actually named
29189 something starting with __ and the normal name is an alias. */
29190 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29193 char (*f) () = gethostbyname;
29202 return f != gethostbyname;
29207 rm -f conftest.
$ac_objext conftest
$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29211 grep -v '^ *+' conftest.er1
>conftest.err
29213 cat conftest.err
>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; } &&
29222 { ac_try
='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 ac_cv_func_gethostbyname
=yes
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.
$ac_ext >&5
29233 ac_cv_func_gethostbyname
=no
29235 rm -f conftest.err conftest.
$ac_objext \
29236 conftest
$ac_exeext conftest.
$ac_ext
29238 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29239 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29241 if test $ac_cv_func_gethostbyname = no
; then
29242 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29243 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29244 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29245 echo $ECHO_N "(cached) $ECHO_C" >&6
29247 ac_check_lib_save_LIBS
=$LIBS
29249 cat >conftest.
$ac_ext <<_ACEOF
29252 cat confdefs.h
>>conftest.
$ac_ext
29253 cat >>conftest.
$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29256 /* Override any gcc2 internal prototype to avoid an error. */
29260 /* We use char because int might match the return type of a gcc2
29261 builtin and then its argument prototype would still apply. */
29262 char gethostbyname ();
29271 rm -f conftest.
$ac_objext conftest
$ac_exeext
29272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29273 (eval $ac_link) 2>conftest.er1
29275 grep -v '^ *+' conftest.er1
>conftest.err
29277 cat conftest.err
>&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } &&
29280 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; } &&
29286 { ac_try
='test -s conftest$ac_exeext'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; }; then
29292 ac_cv_lib_nsl_gethostbyname
=yes
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.
$ac_ext >&5
29297 ac_cv_lib_nsl_gethostbyname
=no
29299 rm -f conftest.err conftest.
$ac_objext \
29300 conftest
$ac_exeext conftest.
$ac_ext
29301 LIBS
=$ac_check_lib_save_LIBS
29303 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29304 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29305 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29306 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29309 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29310 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29311 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29312 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 ac_check_lib_save_LIBS
=$LIBS
29317 cat >conftest.
$ac_ext <<_ACEOF
29320 cat confdefs.h
>>conftest.
$ac_ext
29321 cat >>conftest.
$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29324 /* Override any gcc2 internal prototype to avoid an error. */
29328 /* We use char because int might match the return type of a gcc2
29329 builtin and then its argument prototype would still apply. */
29330 char gethostbyname ();
29339 rm -f conftest.
$ac_objext conftest
$ac_exeext
29340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29341 (eval $ac_link) 2>conftest.er1
29343 grep -v '^ *+' conftest.er1
>conftest.err
29345 cat conftest.err
>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; } &&
29354 { ac_try
='test -s conftest$ac_exeext'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 ac_cv_lib_bsd_gethostbyname
=yes
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.
$ac_ext >&5
29365 ac_cv_lib_bsd_gethostbyname
=no
29367 rm -f conftest.err conftest.
$ac_objext \
29368 conftest
$ac_exeext conftest.
$ac_ext
29369 LIBS
=$ac_check_lib_save_LIBS
29371 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29372 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29373 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29374 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29380 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29381 # socket/setsockopt and other routines are undefined under SCO ODT
29382 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29383 # on later versions), says Simon Leinen: it contains gethostby*
29384 # variants that don't use the name server (or something). -lsocket
29385 # must be given before -lnsl if both are needed. We assume that
29386 # if connect needs -lnsl, so does gethostbyname.
29387 echo "$as_me:$LINENO: checking for connect" >&5
29388 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29389 if test "${ac_cv_func_connect+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 cat >conftest.
$ac_ext <<_ACEOF
29395 cat confdefs.h
>>conftest.
$ac_ext
29396 cat >>conftest.
$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29398 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29400 #define connect innocuous_connect
29402 /* System header to define __stub macros and hopefully few prototypes,
29403 which can conflict with char connect (); below.
29404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29405 <limits.h> exists even on freestanding compilers. */
29408 # include <limits.h>
29410 # include <assert.h>
29415 /* Override any gcc2 internal prototype to avoid an error. */
29420 /* We use char because int might match the return type of a gcc2
29421 builtin and then its argument prototype would still apply. */
29423 /* The GNU C library defines this for functions which it implements
29424 to always fail with ENOSYS. Some functions are actually named
29425 something starting with __ and the normal name is an alias. */
29426 #if defined (__stub_connect) || defined (__stub___connect)
29429 char (*f) () = connect;
29438 return f != connect;
29443 rm -f conftest.
$ac_objext conftest
$ac_exeext
29444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29445 (eval $ac_link) 2>conftest.er1
29447 grep -v '^ *+' conftest.er1
>conftest.err
29449 cat conftest.err
>&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); } &&
29452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29454 (eval $ac_try) 2>&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); }; } &&
29458 { ac_try
='test -s conftest$ac_exeext'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; }; then
29464 ac_cv_func_connect
=yes
29466 echo "$as_me: failed program was:" >&5
29467 sed 's/^/| /' conftest.
$ac_ext >&5
29469 ac_cv_func_connect
=no
29471 rm -f conftest.err conftest.
$ac_objext \
29472 conftest
$ac_exeext conftest.
$ac_ext
29474 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29475 echo "${ECHO_T}$ac_cv_func_connect" >&6
29477 if test $ac_cv_func_connect = no
; then
29478 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29479 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29480 if test "${ac_cv_lib_socket_connect+set}" = set; then
29481 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 ac_check_lib_save_LIBS
=$LIBS
29484 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29485 cat >conftest.
$ac_ext <<_ACEOF
29488 cat confdefs.h
>>conftest.
$ac_ext
29489 cat >>conftest.
$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29492 /* Override any gcc2 internal prototype to avoid an error. */
29496 /* We use char because int might match the return type of a gcc2
29497 builtin and then its argument prototype would still apply. */
29507 rm -f conftest.
$ac_objext conftest
$ac_exeext
29508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29509 (eval $ac_link) 2>conftest.er1
29511 grep -v '^ *+' conftest.er1
>conftest.err
29513 cat conftest.err
>&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); } &&
29516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29518 (eval $ac_try) 2>&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); }; } &&
29522 { ac_try
='test -s conftest$ac_exeext'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; }; then
29528 ac_cv_lib_socket_connect
=yes
29530 echo "$as_me: failed program was:" >&5
29531 sed 's/^/| /' conftest.
$ac_ext >&5
29533 ac_cv_lib_socket_connect
=no
29535 rm -f conftest.err conftest.
$ac_objext \
29536 conftest
$ac_exeext conftest.
$ac_ext
29537 LIBS
=$ac_check_lib_save_LIBS
29539 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29540 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29541 if test $ac_cv_lib_socket_connect = yes; then
29542 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29547 # Guillermo Gomez says -lposix is necessary on A/UX.
29548 echo "$as_me:$LINENO: checking for remove" >&5
29549 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29550 if test "${ac_cv_func_remove+set}" = set; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 cat >conftest.
$ac_ext <<_ACEOF
29556 cat confdefs.h
>>conftest.
$ac_ext
29557 cat >>conftest.
$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29561 #define remove innocuous_remove
29563 /* System header to define __stub macros and hopefully few prototypes,
29564 which can conflict with char remove (); below.
29565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29566 <limits.h> exists even on freestanding compilers. */
29569 # include <limits.h>
29571 # include <assert.h>
29576 /* Override any gcc2 internal prototype to avoid an error. */
29581 /* We use char because int might match the return type of a gcc2
29582 builtin and then its argument prototype would still apply. */
29584 /* The GNU C library defines this for functions which it implements
29585 to always fail with ENOSYS. Some functions are actually named
29586 something starting with __ and the normal name is an alias. */
29587 #if defined (__stub_remove) || defined (__stub___remove)
29590 char (*f) () = remove;
29599 return f != remove;
29604 rm -f conftest.
$ac_objext conftest
$ac_exeext
29605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29606 (eval $ac_link) 2>conftest.er1
29608 grep -v '^ *+' conftest.er1
>conftest.err
29610 cat conftest.err
>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); } &&
29613 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try
='test -s conftest$ac_exeext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 ac_cv_func_remove
=yes
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.
$ac_ext >&5
29630 ac_cv_func_remove
=no
29632 rm -f conftest.err conftest.
$ac_objext \
29633 conftest
$ac_exeext conftest.
$ac_ext
29635 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29636 echo "${ECHO_T}$ac_cv_func_remove" >&6
29638 if test $ac_cv_func_remove = no
; then
29639 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29640 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29641 if test "${ac_cv_lib_posix_remove+set}" = set; then
29642 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 ac_check_lib_save_LIBS
=$LIBS
29645 LIBS
="-lposix $LIBS"
29646 cat >conftest.
$ac_ext <<_ACEOF
29649 cat confdefs.h
>>conftest.
$ac_ext
29650 cat >>conftest.
$ac_ext <<_ACEOF
29651 /* end confdefs.h. */
29653 /* Override any gcc2 internal prototype to avoid an error. */
29657 /* We use char because int might match the return type of a gcc2
29658 builtin and then its argument prototype would still apply. */
29668 rm -f conftest.
$ac_objext conftest
$ac_exeext
29669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29670 (eval $ac_link) 2>conftest.er1
29672 grep -v '^ *+' conftest.er1
>conftest.err
29674 cat conftest.err
>&5
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); } &&
29677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29679 (eval $ac_try) 2>&5
29681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29682 (exit $ac_status); }; } &&
29683 { ac_try
='test -s conftest$ac_exeext'
29684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29685 (eval $ac_try) 2>&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); }; }; then
29689 ac_cv_lib_posix_remove
=yes
29691 echo "$as_me: failed program was:" >&5
29692 sed 's/^/| /' conftest.
$ac_ext >&5
29694 ac_cv_lib_posix_remove
=no
29696 rm -f conftest.err conftest.
$ac_objext \
29697 conftest
$ac_exeext conftest.
$ac_ext
29698 LIBS
=$ac_check_lib_save_LIBS
29700 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29701 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29702 if test $ac_cv_lib_posix_remove = yes; then
29703 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29708 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29709 echo "$as_me:$LINENO: checking for shmat" >&5
29710 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29711 if test "${ac_cv_func_shmat+set}" = set; then
29712 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 cat >conftest.
$ac_ext <<_ACEOF
29717 cat confdefs.h
>>conftest.
$ac_ext
29718 cat >>conftest.
$ac_ext <<_ACEOF
29719 /* end confdefs.h. */
29720 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29722 #define shmat innocuous_shmat
29724 /* System header to define __stub macros and hopefully few prototypes,
29725 which can conflict with char shmat (); below.
29726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29727 <limits.h> exists even on freestanding compilers. */
29730 # include <limits.h>
29732 # include <assert.h>
29737 /* Override any gcc2 internal prototype to avoid an error. */
29742 /* We use char because int might match the return type of a gcc2
29743 builtin and then its argument prototype would still apply. */
29745 /* The GNU C library defines this for functions which it implements
29746 to always fail with ENOSYS. Some functions are actually named
29747 something starting with __ and the normal name is an alias. */
29748 #if defined (__stub_shmat) || defined (__stub___shmat)
29751 char (*f) () = shmat;
29765 rm -f conftest.
$ac_objext conftest
$ac_exeext
29766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29767 (eval $ac_link) 2>conftest.er1
29769 grep -v '^ *+' conftest.er1
>conftest.err
29771 cat conftest.err
>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } &&
29774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try
='test -s conftest$ac_exeext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29786 ac_cv_func_shmat
=yes
29788 echo "$as_me: failed program was:" >&5
29789 sed 's/^/| /' conftest.
$ac_ext >&5
29791 ac_cv_func_shmat
=no
29793 rm -f conftest.err conftest.
$ac_objext \
29794 conftest
$ac_exeext conftest.
$ac_ext
29796 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29797 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29799 if test $ac_cv_func_shmat = no
; then
29800 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29801 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29802 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 ac_check_lib_save_LIBS
=$LIBS
29807 cat >conftest.
$ac_ext <<_ACEOF
29810 cat confdefs.h
>>conftest.
$ac_ext
29811 cat >>conftest.
$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29814 /* Override any gcc2 internal prototype to avoid an error. */
29818 /* We use char because int might match the return type of a gcc2
29819 builtin and then its argument prototype would still apply. */
29829 rm -f conftest.
$ac_objext conftest
$ac_exeext
29830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29831 (eval $ac_link) 2>conftest.er1
29833 grep -v '^ *+' conftest.er1
>conftest.err
29835 cat conftest.err
>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } &&
29838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; } &&
29844 { ac_try
='test -s conftest$ac_exeext'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; }; then
29850 ac_cv_lib_ipc_shmat
=yes
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.
$ac_ext >&5
29855 ac_cv_lib_ipc_shmat
=no
29857 rm -f conftest.err conftest.
$ac_objext \
29858 conftest
$ac_exeext conftest.
$ac_ext
29859 LIBS
=$ac_check_lib_save_LIBS
29861 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29862 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29863 if test $ac_cv_lib_ipc_shmat = yes; then
29864 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29870 # Check for libraries that X11R6 Xt/Xaw programs need.
29871 ac_save_LDFLAGS
=$LDFLAGS
29872 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29873 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29874 # check for ICE first), but we must link in the order -lSM -lICE or
29875 # we get undefined symbols. So assume we have SM if we have ICE.
29876 # These have to be linked with before -lX11, unlike the other
29877 # libraries we check for below, so use a different variable.
29878 # John Interrante, Karl Berry
29879 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29880 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29881 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29882 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 ac_check_lib_save_LIBS
=$LIBS
29885 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29886 cat >conftest.
$ac_ext <<_ACEOF
29889 cat confdefs.h
>>conftest.
$ac_ext
29890 cat >>conftest.
$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29893 /* Override any gcc2 internal prototype to avoid an error. */
29897 /* We use char because int might match the return type of a gcc2
29898 builtin and then its argument prototype would still apply. */
29899 char IceConnectionNumber ();
29903 IceConnectionNumber ();
29908 rm -f conftest.
$ac_objext conftest
$ac_exeext
29909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29910 (eval $ac_link) 2>conftest.er1
29912 grep -v '^ *+' conftest.er1
>conftest.err
29914 cat conftest.err
>&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); } &&
29917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29919 (eval $ac_try) 2>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); }; } &&
29923 { ac_try
='test -s conftest$ac_exeext'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; }; then
29929 ac_cv_lib_ICE_IceConnectionNumber
=yes
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.
$ac_ext >&5
29934 ac_cv_lib_ICE_IceConnectionNumber
=no
29936 rm -f conftest.err conftest.
$ac_objext \
29937 conftest
$ac_exeext conftest.
$ac_ext
29938 LIBS
=$ac_check_lib_save_LIBS
29940 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29941 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29942 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29943 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29946 LDFLAGS
=$ac_save_LDFLAGS
29951 if test "$no_x" = "yes"; then
29952 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29953 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29954 { (exit 1); exit 1; }; }
29957 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29958 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29959 AFMINSTALL
=afminstall
29960 COMPILED_X_PROGRAM
=0
29964 if test "$wxUSE_X11" = 1; then
29965 if test "$wxUSE_NANOX" = "yes"; then
29966 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29967 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29968 if test "x$MICROWIN" = x
; then
29969 echo "$as_me:$LINENO: result: not found" >&5
29970 echo "${ECHO_T}not found" >&6
29971 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29972 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29973 { (exit 1); exit 1; }; }
29975 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29976 echo "${ECHO_T}$MICROWIN" >&6
29977 cat >>confdefs.h
<<\_ACEOF
29978 #define wxUSE_NANOX 1
29984 if test "$wxUSE_UNICODE" = "yes"; then
29988 if test -z "$PKG_CONFIG"; then
29989 # Extract the first word of "pkg-config", so it can be a program name with args.
29990 set dummy pkg
-config; ac_word
=$2
29991 echo "$as_me:$LINENO: checking for $ac_word" >&5
29992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29993 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29994 echo $ECHO_N "(cached) $ECHO_C" >&6
29996 case $PKG_CONFIG in
29998 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30002 for as_dir
in $PATH
30005 test -z "$as_dir" && as_dir
=.
30006 for ac_exec_ext
in '' $ac_executable_extensions; do
30007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30008 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30015 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30019 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30021 if test -n "$PKG_CONFIG"; then
30022 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30023 echo "${ECHO_T}$PKG_CONFIG" >&6
30025 echo "$as_me:$LINENO: result: no" >&5
30026 echo "${ECHO_T}no" >&6
30031 if test "$PKG_CONFIG" = "no" ; then
30032 echo "*** The pkg-config script could not be found. Make sure it is"
30033 echo "*** in your path, or set the PKG_CONFIG environment variable"
30034 echo "*** to the full path to pkg-config."
30035 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30037 PKG_CONFIG_MIN_VERSION
=0.9.0
30038 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30039 echo "$as_me:$LINENO: checking for pangox" >&5
30040 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
30042 if $PKG_CONFIG --exists "pangox" ; then
30043 echo "$as_me:$LINENO: result: yes" >&5
30044 echo "${ECHO_T}yes" >&6
30047 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
30048 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
30049 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
30050 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
30051 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
30053 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
30054 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
30055 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
30056 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
30057 echo "${ECHO_T}$PANGOX_LIBS" >&6
30061 ## If we have a custom action on failure, don't print errors, but
30062 ## do set a variable so people can do so.
30063 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30070 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30071 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30075 if test $succeeded = yes; then
30077 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30082 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30083 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30084 { (exit 1); exit 1; }; }
30092 if test -z "$PKG_CONFIG"; then
30093 # Extract the first word of "pkg-config", so it can be a program name with args.
30094 set dummy pkg
-config; ac_word
=$2
30095 echo "$as_me:$LINENO: checking for $ac_word" >&5
30096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30097 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30100 case $PKG_CONFIG in
30102 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30106 for as_dir
in $PATH
30109 test -z "$as_dir" && as_dir
=.
30110 for ac_exec_ext
in '' $ac_executable_extensions; do
30111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30112 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30119 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30123 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30125 if test -n "$PKG_CONFIG"; then
30126 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30127 echo "${ECHO_T}$PKG_CONFIG" >&6
30129 echo "$as_me:$LINENO: result: no" >&5
30130 echo "${ECHO_T}no" >&6
30135 if test "$PKG_CONFIG" = "no" ; then
30136 echo "*** The pkg-config script could not be found. Make sure it is"
30137 echo "*** in your path, or set the PKG_CONFIG environment variable"
30138 echo "*** to the full path to pkg-config."
30139 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30141 PKG_CONFIG_MIN_VERSION
=0.9.0
30142 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30143 echo "$as_me:$LINENO: checking for pangoft2" >&5
30144 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
30146 if $PKG_CONFIG --exists "pangoft2" ; then
30147 echo "$as_me:$LINENO: result: yes" >&5
30148 echo "${ECHO_T}yes" >&6
30151 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
30152 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
30153 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
30154 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
30155 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
30157 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
30158 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
30159 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
30160 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
30161 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
30165 ## If we have a custom action on failure, don't print errors, but
30166 ## do set a variable so people can do so.
30167 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30174 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30175 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30179 if test $succeeded = yes; then
30181 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30182 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30186 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30187 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30188 wxUSE_PRINTING_ARCHITECTURE
="no"
30196 if test -z "$PKG_CONFIG"; then
30197 # Extract the first word of "pkg-config", so it can be a program name with args.
30198 set dummy pkg
-config; ac_word
=$2
30199 echo "$as_me:$LINENO: checking for $ac_word" >&5
30200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30201 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30202 echo $ECHO_N "(cached) $ECHO_C" >&6
30204 case $PKG_CONFIG in
30206 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30210 for as_dir
in $PATH
30213 test -z "$as_dir" && as_dir
=.
30214 for ac_exec_ext
in '' $ac_executable_extensions; do
30215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30216 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30223 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
30227 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30229 if test -n "$PKG_CONFIG"; then
30230 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30231 echo "${ECHO_T}$PKG_CONFIG" >&6
30233 echo "$as_me:$LINENO: result: no" >&5
30234 echo "${ECHO_T}no" >&6
30239 if test "$PKG_CONFIG" = "no" ; then
30240 echo "*** The pkg-config script could not be found. Make sure it is"
30241 echo "*** in your path, or set the PKG_CONFIG environment variable"
30242 echo "*** to the full path to pkg-config."
30243 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30245 PKG_CONFIG_MIN_VERSION
=0.9.0
30246 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30247 echo "$as_me:$LINENO: checking for pangoxft" >&5
30248 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30250 if $PKG_CONFIG --exists "pangoxft" ; then
30251 echo "$as_me:$LINENO: result: yes" >&5
30252 echo "${ECHO_T}yes" >&6
30255 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30256 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30257 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
30258 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30259 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30261 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30262 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30263 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
30264 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30265 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30269 ## If we have a custom action on failure, don't print errors, but
30270 ## do set a variable so people can do so.
30271 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30278 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30279 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30283 if test $succeeded = yes; then
30285 cat >>confdefs.h
<<\_ACEOF
30286 #define HAVE_PANGO_XFT 1
30289 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30290 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30294 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30295 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30300 save_CXXFLAGS
="$CXXFLAGS"
30302 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30303 LIBS
="$LIBS $PANGOX_LIBS"
30305 for ac_func
in pango_font_family_is_monospace
30307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30308 echo "$as_me:$LINENO: checking for $ac_func" >&5
30309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30310 if eval "test \"\${$as_ac_var+set}\" = set"; then
30311 echo $ECHO_N "(cached) $ECHO_C" >&6
30313 cat >conftest.
$ac_ext <<_ACEOF
30316 cat confdefs.h
>>conftest.
$ac_ext
30317 cat >>conftest.
$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30321 #define $ac_func innocuous_$ac_func
30323 /* System header to define __stub macros and hopefully few prototypes,
30324 which can conflict with char $ac_func (); below.
30325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30326 <limits.h> exists even on freestanding compilers. */
30329 # include <limits.h>
30331 # include <assert.h>
30336 /* Override any gcc2 internal prototype to avoid an error. */
30341 /* We use char because int might match the return type of a gcc2
30342 builtin and then its argument prototype would still apply. */
30344 /* The GNU C library defines this for functions which it implements
30345 to always fail with ENOSYS. Some functions are actually named
30346 something starting with __ and the normal name is an alias. */
30347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30350 char (*f) () = $ac_func;
30359 return f != $ac_func;
30364 rm -f conftest.
$ac_objext conftest
$ac_exeext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30366 (eval $ac_link) 2>conftest.er1
30368 grep -v '^ *+' conftest.er1
>conftest.err
30370 cat conftest.err
>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; } &&
30379 { ac_try
='test -s conftest$ac_exeext'
30380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381 (eval $ac_try) 2>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); }; }; then
30385 eval "$as_ac_var=yes"
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.
$ac_ext >&5
30390 eval "$as_ac_var=no"
30392 rm -f conftest.err conftest.
$ac_objext \
30393 conftest
$ac_exeext conftest.
$ac_ext
30395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30397 if test `eval echo '${'$as_ac_var'}'` = yes; then
30398 cat >>confdefs.h
<<_ACEOF
30399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30405 CXXFLAGS
="$save_CXXFLAGS"
30409 wxUSE_UNIVERSAL
="yes"
30411 if test "$wxUSE_NANOX" = "yes"; then
30412 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30413 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"
30414 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30416 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30423 if test "$wxUSE_MOTIF" = 1; then
30424 if test "$wxUSE_UNICODE" = "yes"; then
30425 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30426 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30427 { (exit 1); exit 1; }; }
30430 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30431 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30434 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30436 if test -f "$ac_dir/Xm/Xm.h"; then
30437 ac_find_includes
=$ac_dir
30442 if test "$ac_find_includes" != "" ; then
30443 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30444 echo "${ECHO_T}found in $ac_find_includes" >&6
30446 if test "x$ac_find_includes" = "x/usr/include"; then
30447 ac_path_to_include
=""
30449 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30451 if test $result = 0; then
30452 ac_path_to_include
=""
30454 ac_path_to_include
=" -I$ac_find_includes"
30458 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30460 save_CXXFLAGS
=$CXXFLAGS
30461 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30463 cat >conftest.
$ac_ext <<_ACEOF
30466 cat confdefs.h
>>conftest.
$ac_ext
30467 cat >>conftest.
$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30477 version = xmUseVersion;
30483 rm -f conftest.
$ac_objext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30485 (eval $ac_compile) 2>conftest.er1
30487 grep -v '^ *+' conftest.er1
>conftest.err
30489 cat conftest.err
>&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } &&
30492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try
='test -s conftest.$ac_objext'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30505 echo "$as_me:$LINENO: result: found in default search path" >&5
30506 echo "${ECHO_T}found in default search path" >&6
30507 COMPILED_X_PROGRAM
=1
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.
$ac_ext >&5
30514 echo "$as_me:$LINENO: result: no" >&5
30515 echo "${ECHO_T}no" >&6
30516 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30517 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30518 { (exit 1); exit 1; }; }
30522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30524 CXXFLAGS
=$save_CXXFLAGS
30528 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30529 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30532 for ac_dir
in $SEARCH_LIB;
30534 for ac_extension
in a so sl dylib dll.a
; do
30535 if test -f "$ac_dir/libXm.$ac_extension"; then
30536 ac_find_libraries
=$ac_dir
30543 if test "x$ac_find_libraries" != "x" ; then
30544 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30545 echo "${ECHO_T}found in $ac_find_libraries" >&6
30548 if test "$ac_find_libraries" = "default location"; then
30551 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30553 if test $result = 0; then
30556 ac_path_to_link
=" -L$ac_find_libraries"
30560 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30562 save_CXXFLAGS
=$CXXFLAGS
30563 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30565 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30567 cat >conftest.
$ac_ext <<_ACEOF
30570 cat confdefs.h
>>conftest.
$ac_ext
30571 cat >>conftest.
$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30581 version = xmUseVersion;
30587 rm -f conftest.
$ac_objext conftest
$ac_exeext
30588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30589 (eval $ac_link) 2>conftest.er1
30591 grep -v '^ *+' conftest.er1
>conftest.err
30593 cat conftest.err
>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try
='test -s conftest$ac_exeext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30609 echo "$as_me:$LINENO: result: found in default search path" >&5
30610 echo "${ECHO_T}found in default search path" >&6
30611 COMPILED_X_PROGRAM
=1
30614 echo "$as_me: failed program was:" >&5
30615 sed 's/^/| /' conftest.
$ac_ext >&5
30618 echo "$as_me:$LINENO: result: no" >&5
30619 echo "${ECHO_T}no" >&6
30620 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30621 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30622 { (exit 1); exit 1; }; }
30626 rm -f conftest.err conftest.
$ac_objext \
30627 conftest
$ac_exeext conftest.
$ac_ext
30629 CXXFLAGS
=$save_CXXFLAGS
30633 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30634 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30638 for libp
in "" " -lXp"; do
30639 if test "$libs_found" = "0"; then
30640 for libsm_ice
in "" " -lSM -lICE"; do
30641 if test "$libs_found" = "0"; then
30643 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30644 save_CXXFLAGS
=$CXXFLAGS
30645 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30647 cat >conftest.
$ac_ext <<_ACEOF
30650 cat confdefs.h
>>conftest.
$ac_ext
30651 cat >>conftest.
$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30655 #include <Xm/List.h>
30661 XmString string = NULL;
30664 XmListAddItem(w, string, position);
30670 rm -f conftest.
$ac_objext conftest
$ac_exeext
30671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30672 (eval $ac_link) 2>conftest.er1
30674 grep -v '^ *+' conftest.er1
>conftest.err
30676 cat conftest.err
>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } &&
30679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; } &&
30685 { ac_try
='test -s conftest$ac_exeext'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; }; then
30693 libsm_ice_link
="$libsm_ice"
30694 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30695 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.
$ac_ext >&5
30705 rm -f conftest.err conftest.
$ac_objext \
30706 conftest
$ac_exeext conftest.
$ac_ext
30709 CXXFLAGS
=$save_CXXFLAGS
30715 if test "$libs_found" = "0"; then
30716 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30717 echo "${ECHO_T}can't find the right libraries" >&6
30718 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30719 echo "$as_me: error: can't link a simple motif program" >&2;}
30720 { (exit 1); exit 1; }; }
30723 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30724 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30725 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 ac_check_lib_save_LIBS
=$LIBS
30730 cat >conftest.
$ac_ext <<_ACEOF
30733 cat confdefs.h
>>conftest.
$ac_ext
30734 cat >>conftest.
$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30737 /* Override any gcc2 internal prototype to avoid an error. */
30741 /* We use char because int might match the return type of a gcc2
30742 builtin and then its argument prototype would still apply. */
30743 char SgCreateList ();
30752 rm -f conftest.
$ac_objext conftest
$ac_exeext
30753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30754 (eval $ac_link) 2>conftest.er1
30756 grep -v '^ *+' conftest.er1
>conftest.err
30758 cat conftest.err
>&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } &&
30761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30763 (eval $ac_try) 2>&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); }; } &&
30767 { ac_try
='test -s conftest$ac_exeext'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; }; then
30773 ac_cv_lib_Sgm_SgCreateList
=yes
30775 echo "$as_me: failed program was:" >&5
30776 sed 's/^/| /' conftest.
$ac_ext >&5
30778 ac_cv_lib_Sgm_SgCreateList
=no
30780 rm -f conftest.err conftest.
$ac_objext \
30781 conftest
$ac_exeext conftest.
$ac_ext
30782 LIBS
=$ac_check_lib_save_LIBS
30784 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30785 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30786 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30787 libsgm_link
=" -lSgm"
30791 save_CXXFLAGS
=$CXXFLAGS
30792 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30794 echo "$as_me:$LINENO: checking for Motif 2" >&5
30795 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30796 if test "${wx_cv_lib_motif2+set}" = set; then
30797 echo $ECHO_N "(cached) $ECHO_C" >&6
30799 cat >conftest.
$ac_ext <<_ACEOF
30802 cat confdefs.h
>>conftest.
$ac_ext
30803 cat >>conftest.
$ac_ext <<_ACEOF
30804 /* end confdefs.h. */
30812 #if XmVersion < 2000
30820 rm -f conftest.
$ac_objext
30821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30822 (eval $ac_compile) 2>conftest.er1
30824 grep -v '^ *+' conftest.er1
>conftest.err
30826 cat conftest.err
>&5
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); } &&
30829 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831 (eval $ac_try) 2>&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); }; } &&
30835 { ac_try
='test -s conftest.$ac_objext'
30836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30837 (eval $ac_try) 2>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; }; then
30841 wx_cv_lib_motif2
="yes"
30843 echo "$as_me: failed program was:" >&5
30844 sed 's/^/| /' conftest.
$ac_ext >&5
30846 wx_cv_lib_motif2
="no"
30848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30850 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30851 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30852 if test "$wx_cv_lib_motif2" = "yes"; then
30853 cat >>confdefs.h
<<\_ACEOF
30854 #define __WXMOTIF20__ 1
30858 cat >>confdefs.h
<<\_ACEOF
30859 #define __WXMOTIF20__ 0
30864 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30865 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30866 if test "${wx_cv_lib_lesstif+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 cat >conftest.
$ac_ext <<_ACEOF
30872 cat confdefs.h
>>conftest.
$ac_ext
30873 cat >>conftest.
$ac_ext <<_ACEOF
30874 /* end confdefs.h. */
30882 #if !defined(LesstifVersion) || LesstifVersion <= 0
30890 rm -f conftest.
$ac_objext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30892 (eval $ac_compile) 2>conftest.er1
30894 grep -v '^ *+' conftest.er1
>conftest.err
30896 cat conftest.err
>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; } &&
30905 { ac_try
='test -s conftest.$ac_objext'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30911 wx_cv_lib_lesstif
="yes"
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.
$ac_ext >&5
30916 wx_cv_lib_lesstif
="no"
30918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30921 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30922 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30923 if test "$wx_cv_lib_lesstif" = "yes"; then
30924 cat >>confdefs.h
<<\_ACEOF
30925 #define __WXLESSTIF__ 1
30929 cat >>confdefs.h
<<\_ACEOF
30930 #define __WXLESSTIF__ 0
30935 CXXFLAGS
=$save_CXXFLAGS
30937 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30942 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30943 if test "$wxUSE_LIBXPM" = "sys"; then
30944 echo "$as_me:$LINENO: checking for Xpm library" >&5
30945 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30948 for ac_dir
in $SEARCH_LIB;
30950 for ac_extension
in a so sl dylib dll.a
; do
30951 if test -f "$ac_dir/libXpm.$ac_extension"; then
30952 ac_find_libraries
=$ac_dir
30958 if test "$ac_find_libraries" != "" ; then
30960 if test "$ac_find_libraries" = "default location"; then
30963 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30965 if test $result = 0; then
30968 ac_path_to_link
=" -L$ac_find_libraries"
30972 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30973 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30974 echo "${ECHO_T}found in $ac_find_libraries" >&6
30976 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30977 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30978 if test "${wx_cv_x11_xpm_h+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 save_CXXFLAGS
=$CXXFLAGS
30983 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30985 cat >conftest.
$ac_ext <<_ACEOF
30988 cat confdefs.h
>>conftest.
$ac_ext
30989 cat >>conftest.
$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30992 #include <X11/xpm.h>
30999 version = XpmLibraryVersion();
31005 rm -f conftest.
$ac_objext
31006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31007 (eval $ac_compile) 2>conftest.er1
31009 grep -v '^ *+' conftest.er1
>conftest.err
31011 cat conftest.err
>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } &&
31014 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; } &&
31020 { ac_try
='test -s conftest.$ac_objext'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; }; then
31026 wx_cv_x11_xpm_h
=yes
31028 echo "$as_me: failed program was:" >&5
31029 sed 's/^/| /' conftest.
$ac_ext >&5
31034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31036 CXXFLAGS
=$save_CXXFLAGS
31040 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31041 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31043 if test $wx_cv_x11_xpm_h = "yes"; then
31044 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31045 cat >>confdefs.h
<<\_ACEOF
31046 #define wxHAVE_LIB_XPM 1
31050 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31051 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31057 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31058 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31059 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31060 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 ac_check_lib_save_LIBS
=$LIBS
31063 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31064 cat >conftest.
$ac_ext <<_ACEOF
31067 cat confdefs.h
>>conftest.
$ac_ext
31068 cat >>conftest.
$ac_ext <<_ACEOF
31069 /* end confdefs.h. */
31071 /* Override any gcc2 internal prototype to avoid an error. */
31075 /* We use char because int might match the return type of a gcc2
31076 builtin and then its argument prototype would still apply. */
31077 char XShapeQueryExtension ();
31081 XShapeQueryExtension ();
31086 rm -f conftest.
$ac_objext conftest
$ac_exeext
31087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31088 (eval $ac_link) 2>conftest.er1
31090 grep -v '^ *+' conftest.er1
>conftest.err
31092 cat conftest.err
>&5
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); } &&
31095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31097 (eval $ac_try) 2>&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); }; } &&
31101 { ac_try
='test -s conftest$ac_exeext'
31102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103 (eval $ac_try) 2>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; }; then
31107 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.
$ac_ext >&5
31112 ac_cv_lib_Xext_XShapeQueryExtension
=no
31114 rm -f conftest.err conftest.
$ac_objext \
31115 conftest
$ac_exeext conftest.
$ac_ext
31116 LIBS
=$ac_check_lib_save_LIBS
31118 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31119 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31120 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31122 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31128 if test "$wxHAVE_XEXT_LIB" = 1; then
31129 save_CXXFLAGS
="$CXXFLAGS"
31130 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31132 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31133 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31134 cat >conftest.
$ac_ext <<_ACEOF
31137 cat confdefs.h
>>conftest.
$ac_ext
31138 cat >>conftest.
$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31141 #include <X11/Xlib.h>
31142 #include <X11/extensions/shape.h>
31148 int dummy1, dummy2;
31149 XShapeQueryExtension((Display*)NULL,
31150 (int*)NULL, (int*)NULL);
31156 rm -f conftest.
$ac_objext
31157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31158 (eval $ac_compile) 2>conftest.er1
31160 grep -v '^ *+' conftest.er1
>conftest.err
31162 cat conftest.err
>&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); } &&
31165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31167 (eval $ac_try) 2>&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; } &&
31171 { ac_try
='test -s conftest.$ac_objext'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; }; then
31178 cat >>confdefs.h
<<\_ACEOF
31179 #define HAVE_XSHAPE 1
31182 echo "$as_me:$LINENO: result: found" >&5
31183 echo "${ECHO_T}found" >&6
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.
$ac_ext >&5
31190 echo "$as_me:$LINENO: result: not found" >&5
31191 echo "${ECHO_T}not found" >&6
31194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31195 CXXFLAGS
="$save_CXXFLAGS"
31200 if test "$wxUSE_MAC" = 1; then
31201 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31202 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31203 if test "$GCC" = yes; then
31204 echo "$as_me:$LINENO: result: gcc" >&5
31205 echo "${ECHO_T}gcc" >&6
31206 CPPFLAGS_PASCAL
="-fpascal-strings"
31207 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31208 echo "$as_me:$LINENO: result: xlc" >&5
31209 echo "${ECHO_T}xlc" >&6
31210 CPPFLAGS_PASCAL
="-qmacpstr"
31212 echo "$as_me:$LINENO: result: none" >&5
31213 echo "${ECHO_T}none" >&6
31216 if test "x$wxUSE_UNIX" = "xyes"; then
31217 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31219 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31224 WXBASEPORT
="_carbon"
31227 if test "$wxUSE_COCOA" = 1; then
31232 if test "$wxUSE_PM" = 1; then
31235 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31236 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31237 if test "${wx_cv_spbcdata+set}" = set; then
31238 echo $ECHO_N "(cached) $ECHO_C" >&6
31241 cat >conftest.
$ac_ext <<_ACEOF
31244 cat confdefs.h
>>conftest.
$ac_ext
31245 cat >>conftest.
$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31261 rm -f conftest.
$ac_objext
31262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31263 (eval $ac_compile) 2>conftest.er1
31265 grep -v '^ *+' conftest.er1
>conftest.err
31267 cat conftest.err
>&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); } &&
31270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272 (eval $ac_try) 2>&5
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); }; } &&
31276 { ac_try
='test -s conftest.$ac_objext'
31277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31278 (eval $ac_try) 2>&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); }; }; then
31284 echo "$as_me: failed program was:" >&5
31285 sed 's/^/| /' conftest.
$ac_ext >&5
31290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31294 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31295 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31297 if test $wx_cv_spbcdata = "yes"; then
31298 cat >>confdefs.h
<<\_ACEOF
31299 #define HAVE_SPBCDATA 1
31305 if test "$TOOLKIT" = "PM" ; then
31308 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31311 if test "$wxUSE_UNIVERSAL" = "yes"; then
31312 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31316 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31317 DISTDIR
="wx\$(TOOLKIT)"
31323 if test "$USE_WIN32" = 1 ; then
31327 GUIDIST
="BASE_DIST"
31332 if test "$wxUSE_GUI" = "yes"; then
31333 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31335 for ac_header
in X
11/Xlib.h
31337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31339 echo "$as_me:$LINENO: checking for $ac_header" >&5
31340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31347 # Is the header compilable?
31348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31350 cat >conftest.
$ac_ext <<_ACEOF
31353 cat confdefs.h
>>conftest.
$ac_ext
31354 cat >>conftest.
$ac_ext <<_ACEOF
31355 /* end confdefs.h. */
31356 $ac_includes_default
31357 #include <$ac_header>
31359 rm -f conftest.
$ac_objext
31360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31361 (eval $ac_compile) 2>conftest.er1
31363 grep -v '^ *+' conftest.er1
>conftest.err
31365 cat conftest.err
>&5
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); } &&
31368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31370 (eval $ac_try) 2>&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); }; } &&
31374 { ac_try
='test -s conftest.$ac_objext'
31375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376 (eval $ac_try) 2>&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); }; }; then
31380 ac_header_compiler
=yes
31382 echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.
$ac_ext >&5
31385 ac_header_compiler
=no
31387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31389 echo "${ECHO_T}$ac_header_compiler" >&6
31391 # Is the header present?
31392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31394 cat >conftest.
$ac_ext <<_ACEOF
31397 cat confdefs.h
>>conftest.
$ac_ext
31398 cat >>conftest.
$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31400 #include <$ac_header>
31402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31405 grep -v '^ *+' conftest.er1
>conftest.err
31407 cat conftest.err
>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } >/dev
/null
; then
31410 if test -s conftest.err
; then
31411 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31412 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31419 if test -z "$ac_cpp_err"; then
31420 ac_header_preproc
=yes
31422 echo "$as_me: failed program was:" >&5
31423 sed 's/^/| /' conftest.
$ac_ext >&5
31425 ac_header_preproc
=no
31427 rm -f conftest.err conftest.
$ac_ext
31428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31429 echo "${ECHO_T}$ac_header_preproc" >&6
31431 # So? What about this header?
31432 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31438 ac_header_preproc
=yes
31441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31455 ## ----------------------------------------- ##
31456 ## Report this to wx-dev@lists.wxwidgets.org ##
31457 ## ----------------------------------------- ##
31460 sed "s/^/$as_me: WARNING: /" >&2
31463 echo "$as_me:$LINENO: checking for $ac_header" >&5
31464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 eval "$as_ac_Header=\$ac_header_preproc"
31470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31475 cat >>confdefs.h
<<_ACEOF
31476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31484 for ac_header
in X
11/XKBlib.h
31486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31487 echo "$as_me:$LINENO: checking for $ac_header" >&5
31488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31490 echo $ECHO_N "(cached) $ECHO_C" >&6
31492 cat >conftest.
$ac_ext <<_ACEOF
31495 cat confdefs.h
>>conftest.
$ac_ext
31496 cat >>conftest.
$ac_ext <<_ACEOF
31497 /* end confdefs.h. */
31499 #if HAVE_X11_XLIB_H
31500 #include <X11/Xlib.h>
31504 #include <$ac_header>
31506 rm -f conftest.
$ac_objext
31507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31508 (eval $ac_compile) 2>conftest.er1
31510 grep -v '^ *+' conftest.er1
>conftest.err
31512 cat conftest.err
>&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } &&
31515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; } &&
31521 { ac_try
='test -s conftest.$ac_objext'
31522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31523 (eval $ac_try) 2>&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); }; }; then
31527 eval "$as_ac_Header=yes"
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.
$ac_ext >&5
31532 eval "$as_ac_Header=no"
31534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31539 cat >>confdefs.h
<<_ACEOF
31540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31555 if test "$TOOLKIT" != "MSW" ; then
31557 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31559 if test "${ac_cv_header_sql_h+set}" = set; then
31560 echo "$as_me:$LINENO: checking for sql.h" >&5
31561 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31562 if test "${ac_cv_header_sql_h+set}" = set; then
31563 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31566 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31568 # Is the header compilable?
31569 echo "$as_me:$LINENO: checking sql.h usability" >&5
31570 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31571 cat >conftest.
$ac_ext <<_ACEOF
31574 cat confdefs.h
>>conftest.
$ac_ext
31575 cat >>conftest.
$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577 $ac_includes_default
31580 rm -f conftest.
$ac_objext
31581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31582 (eval $ac_compile) 2>conftest.er1
31584 grep -v '^ *+' conftest.er1
>conftest.err
31586 cat conftest.err
>&5
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); } &&
31589 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; } &&
31595 { ac_try
='test -s conftest.$ac_objext'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; }; then
31601 ac_header_compiler
=yes
31603 echo "$as_me: failed program was:" >&5
31604 sed 's/^/| /' conftest.
$ac_ext >&5
31606 ac_header_compiler
=no
31608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31610 echo "${ECHO_T}$ac_header_compiler" >&6
31612 # Is the header present?
31613 echo "$as_me:$LINENO: checking sql.h presence" >&5
31614 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31615 cat >conftest.
$ac_ext <<_ACEOF
31618 cat confdefs.h
>>conftest.
$ac_ext
31619 cat >>conftest.
$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31626 grep -v '^ *+' conftest.er1
>conftest.err
31628 cat conftest.err
>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } >/dev
/null
; then
31631 if test -s conftest.err
; then
31632 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31633 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31640 if test -z "$ac_cpp_err"; then
31641 ac_header_preproc
=yes
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.
$ac_ext >&5
31646 ac_header_preproc
=no
31648 rm -f conftest.err conftest.
$ac_ext
31649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31650 echo "${ECHO_T}$ac_header_preproc" >&6
31652 # So? What about this header?
31653 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31655 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31656 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31657 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31658 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31659 ac_header_preproc
=yes
31662 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31663 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31664 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31665 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31666 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31667 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31668 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31669 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31670 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31671 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31672 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31673 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31676 ## ----------------------------------------- ##
31677 ## Report this to wx-dev@lists.wxwidgets.org ##
31678 ## ----------------------------------------- ##
31681 sed "s/^/$as_me: WARNING: /" >&2
31684 echo "$as_me:$LINENO: checking for sql.h" >&5
31685 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31686 if test "${ac_cv_header_sql_h+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31689 ac_cv_header_sql_h
=$ac_header_preproc
31691 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31692 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31695 if test $ac_cv_header_sql_h = yes; then
31700 if test "x$found_sql_h" = "x1" ; then
31701 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31702 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31703 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 ac_check_lib_save_LIBS
=$LIBS
31707 LIBS
="-liodbc $LIBS"
31708 cat >conftest.
$ac_ext <<_ACEOF
31711 cat confdefs.h
>>conftest.
$ac_ext
31712 cat >>conftest.
$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31715 /* Override any gcc2 internal prototype to avoid an error. */
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31721 char SQLAllocEnv ();
31730 rm -f conftest.
$ac_objext conftest
$ac_exeext
31731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31732 (eval $ac_link) 2>conftest.er1
31734 grep -v '^ *+' conftest.er1
>conftest.err
31736 cat conftest.err
>&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } &&
31739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31741 (eval $ac_try) 2>&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); }; } &&
31745 { ac_try
='test -s conftest$ac_exeext'
31746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747 (eval $ac_try) 2>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; }; then
31751 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.
$ac_ext >&5
31756 ac_cv_lib_iodbc_SQLAllocEnv
=no
31758 rm -f conftest.err conftest.
$ac_objext \
31759 conftest
$ac_exeext conftest.
$ac_ext
31760 LIBS
=$ac_check_lib_save_LIBS
31762 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31763 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31764 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31765 ODBC_LINK
=" -liodbc"
31768 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31769 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31770 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31771 echo $ECHO_N "(cached) $ECHO_C" >&6
31773 ac_check_lib_save_LIBS
=$LIBS
31774 LIBS
="-lunixodbc $LIBS"
31775 cat >conftest.
$ac_ext <<_ACEOF
31778 cat confdefs.h
>>conftest.
$ac_ext
31779 cat >>conftest.
$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31782 /* Override any gcc2 internal prototype to avoid an error. */
31786 /* We use char because int might match the return type of a gcc2
31787 builtin and then its argument prototype would still apply. */
31788 char SQLAllocEnv ();
31797 rm -f conftest.
$ac_objext conftest
$ac_exeext
31798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31799 (eval $ac_link) 2>conftest.er1
31801 grep -v '^ *+' conftest.er1
>conftest.err
31803 cat conftest.err
>&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); } &&
31806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; } &&
31812 { ac_try
='test -s conftest$ac_exeext'
31813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31814 (eval $ac_try) 2>&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); }; }; then
31818 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.
$ac_ext >&5
31823 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31825 rm -f conftest.err conftest.
$ac_objext \
31826 conftest
$ac_exeext conftest.
$ac_ext
31827 LIBS
=$ac_check_lib_save_LIBS
31829 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31830 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31831 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31832 ODBC_LINK
=" -lunixodbc"
31835 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31836 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31837 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31838 echo $ECHO_N "(cached) $ECHO_C" >&6
31840 ac_check_lib_save_LIBS
=$LIBS
31841 LIBS
="-lodbc $LIBS"
31842 cat >conftest.
$ac_ext <<_ACEOF
31845 cat confdefs.h
>>conftest.
$ac_ext
31846 cat >>conftest.
$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31849 /* Override any gcc2 internal prototype to avoid an error. */
31853 /* We use char because int might match the return type of a gcc2
31854 builtin and then its argument prototype would still apply. */
31855 char SQLAllocEnv ();
31864 rm -f conftest.
$ac_objext conftest
$ac_exeext
31865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31866 (eval $ac_link) 2>conftest.er1
31868 grep -v '^ *+' conftest.er1
>conftest.err
31870 cat conftest.err
>&5
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); } &&
31873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31875 (eval $ac_try) 2>&5
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); }; } &&
31879 { ac_try
='test -s conftest$ac_exeext'
31880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31881 (eval $ac_try) 2>&5
31883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31884 (exit $ac_status); }; }; then
31885 ac_cv_lib_odbc_SQLAllocEnv
=yes
31887 echo "$as_me: failed program was:" >&5
31888 sed 's/^/| /' conftest.
$ac_ext >&5
31890 ac_cv_lib_odbc_SQLAllocEnv
=no
31892 rm -f conftest.err conftest.
$ac_objext \
31893 conftest
$ac_exeext conftest.
$ac_ext
31894 LIBS
=$ac_check_lib_save_LIBS
31896 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31897 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31898 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31899 ODBC_LINK
=" -lodbc"
31909 if test "x$ODBC_LINK" = "x" ; then
31910 if test "$wxUSE_ODBC" = "sys" ; then
31911 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31912 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31913 { (exit 1); exit 1; }; }
31915 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31916 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31924 if test "$wxUSE_ODBC" = "builtin" ; then
31925 cat >>confdefs.h
<<\_ACEOF
31926 #define wxUSE_BUILTIN_IODBC 1
31932 if test "$wxUSE_ODBC" != "no" ; then
31933 cat >>confdefs.h
<<\_ACEOF
31934 #define wxUSE_ODBC 1
31937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31939 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31943 if test "$wxUSE_DISPLAY" = "yes"; then
31944 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31945 echo "$as_me:$LINENO: checking for Xinerama" >&5
31946 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31949 for ac_dir
in $SEARCH_LIB;
31951 for ac_extension
in a so sl dylib dll.a
; do
31952 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31953 ac_find_libraries
=$ac_dir
31959 if test "$ac_find_libraries" != "" ; then
31961 if test "$ac_find_libraries" = "default location"; then
31964 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31966 if test $result = 0; then
31969 ac_path_to_link
=" -L$ac_find_libraries"
31973 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31974 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31976 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31977 echo "$as_me:$LINENO: result: yes" >&5
31978 echo "${ECHO_T}yes" >&6
31980 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31981 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31984 for ac_dir
in $SEARCH_LIB;
31986 for ac_extension
in a so sl dylib dll.a
; do
31987 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31988 ac_find_libraries
=$ac_dir
31994 if test "$ac_find_libraries" != "" ; then
31995 echo "$as_me:$LINENO: result: yes" >&5
31996 echo "${ECHO_T}yes" >&6
31998 for ac_header
in X
11/extensions
/xf86vmode.h
32000 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32001 echo "$as_me:$LINENO: checking for $ac_header" >&5
32002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32004 echo $ECHO_N "(cached) $ECHO_C" >&6
32006 cat >conftest.
$ac_ext <<_ACEOF
32009 cat confdefs.h
>>conftest.
$ac_ext
32010 cat >>conftest.
$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32013 #if HAVE_X11_XLIB_H
32014 #include <X11/Xlib.h>
32018 #include <$ac_header>
32020 rm -f conftest.
$ac_objext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32022 (eval $ac_compile) 2>conftest.er1
32024 grep -v '^ *+' conftest.er1
>conftest.err
32026 cat conftest.err
>&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } &&
32029 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; } &&
32035 { ac_try
='test -s conftest.$ac_objext'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; }; then
32041 eval "$as_ac_Header=yes"
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.
$ac_ext >&5
32046 eval "$as_ac_Header=no"
32048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32053 cat >>confdefs.h
<<_ACEOF
32054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32057 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32064 echo "$as_me:$LINENO: result: no" >&5
32065 echo "${ECHO_T}no" >&6
32069 echo "$as_me:$LINENO: result: no" >&5
32070 echo "${ECHO_T}no" >&6
32071 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32072 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32075 elif test "$wxUSE_MSW" = 1; then
32077 for ac_header
in ddraw.h
32079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32080 echo "$as_me:$LINENO: checking for $ac_header" >&5
32081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32083 echo $ECHO_N "(cached) $ECHO_C" >&6
32085 cat >conftest.
$ac_ext <<_ACEOF
32088 cat confdefs.h
>>conftest.
$ac_ext
32089 cat >>conftest.
$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091 #include <windows.h>
32093 #include <$ac_header>
32095 rm -f conftest.
$ac_objext
32096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32097 (eval $ac_compile) 2>conftest.er1
32099 grep -v '^ *+' conftest.er1
>conftest.err
32101 cat conftest.err
>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); } &&
32104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; } &&
32110 { ac_try
='test -s conftest.$ac_objext'
32111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32112 (eval $ac_try) 2>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; }; then
32116 eval "$as_ac_Header=yes"
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.
$ac_ext >&5
32121 eval "$as_ac_Header=no"
32123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32128 cat >>confdefs.h
<<_ACEOF
32129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32141 if test "$wxUSE_OPENGL" = "yes"; then
32142 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32143 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32144 elif test "$wxUSE_MSW" = 1; then
32145 OPENGL_LIBS
="-lopengl32 -lglu32"
32150 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32152 if test -f "$ac_dir/GL/gl.h"; then
32153 ac_find_includes
=$ac_dir
32158 if test "$ac_find_includes" != "" ; then
32159 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32160 echo "${ECHO_T}found in $ac_find_includes" >&6
32162 if test "x$ac_find_includes" = "x/usr/include"; then
32163 ac_path_to_include
=""
32165 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32167 if test $result = 0; then
32168 ac_path_to_include
=""
32170 ac_path_to_include
=" -I$ac_find_includes"
32174 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32177 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32178 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32179 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32180 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32181 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32184 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32186 # Is the header compilable?
32187 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32188 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32189 cat >conftest.
$ac_ext <<_ACEOF
32192 cat confdefs.h
>>conftest.
$ac_ext
32193 cat >>conftest.
$ac_ext <<_ACEOF
32194 /* end confdefs.h. */
32195 $ac_includes_default
32198 rm -f conftest.
$ac_objext
32199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32200 (eval $ac_compile) 2>conftest.er1
32202 grep -v '^ *+' conftest.er1
>conftest.err
32204 cat conftest.err
>&5
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); } &&
32207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32209 (eval $ac_try) 2>&5
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 (exit $ac_status); }; } &&
32213 { ac_try
='test -s conftest.$ac_objext'
32214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215 (eval $ac_try) 2>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; }; then
32219 ac_header_compiler
=yes
32221 echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.
$ac_ext >&5
32224 ac_header_compiler
=no
32226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32228 echo "${ECHO_T}$ac_header_compiler" >&6
32230 # Is the header present?
32231 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32232 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32233 cat >conftest.
$ac_ext <<_ACEOF
32236 cat confdefs.h
>>conftest.
$ac_ext
32237 cat >>conftest.
$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32244 grep -v '^ *+' conftest.er1
>conftest.err
32246 cat conftest.err
>&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); } >/dev
/null
; then
32249 if test -s conftest.err
; then
32250 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32251 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32258 if test -z "$ac_cpp_err"; then
32259 ac_header_preproc
=yes
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.
$ac_ext >&5
32264 ac_header_preproc
=no
32266 rm -f conftest.err conftest.
$ac_ext
32267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32268 echo "${ECHO_T}$ac_header_preproc" >&6
32270 # So? What about this header?
32271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32273 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32274 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32275 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32276 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32277 ac_header_preproc
=yes
32280 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32281 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32282 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32283 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32284 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32285 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32286 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32287 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32288 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32289 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32290 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32291 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32294 ## ----------------------------------------- ##
32295 ## Report this to wx-dev@lists.wxwidgets.org ##
32296 ## ----------------------------------------- ##
32299 sed "s/^/$as_me: WARNING: /" >&2
32302 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32303 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32304 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 ac_cv_header_GL_gl_h
=$ac_header_preproc
32309 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32310 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32313 if test $ac_cv_header_GL_gl_h = yes; then
32317 echo "$as_me:$LINENO: checking for -lGL" >&5
32318 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32321 for ac_dir
in $SEARCH_LIB;
32323 for ac_extension
in a so sl dylib dll.a
; do
32324 if test -f "$ac_dir/libGL.$ac_extension"; then
32325 ac_find_libraries
=$ac_dir
32331 if test "$ac_find_libraries" != "" ; then
32332 echo "$as_me:$LINENO: result: yes" >&5
32333 echo "${ECHO_T}yes" >&6
32336 if test "$ac_find_libraries" = "default location"; then
32339 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32341 if test $result = 0; then
32344 ac_path_to_link
=" -L$ac_find_libraries"
32348 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32349 LDFLAGS_GL
="$ac_path_to_link"
32352 echo "$as_me:$LINENO: checking for -lGLU" >&5
32353 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32356 for ac_dir
in $SEARCH_LIB;
32358 for ac_extension
in a so sl dylib dll.a
; do
32359 if test -f "$ac_dir/libGLU.$ac_extension"; then
32360 ac_find_libraries
=$ac_dir
32366 if test "$ac_find_libraries" != "" ; then
32368 if test "$ac_find_libraries" = "default location"; then
32371 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32373 if test $result = 0; then
32376 ac_path_to_link
=" -L$ac_find_libraries"
32380 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32381 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32382 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32386 OPENGL_LIBS
="-lGL -lGLU"
32387 echo "$as_me:$LINENO: result: yes" >&5
32388 echo "${ECHO_T}yes" >&6
32390 echo "$as_me:$LINENO: result: no" >&5
32391 echo "${ECHO_T}no" >&6
32394 echo "$as_me:$LINENO: result: no" >&5
32395 echo "${ECHO_T}no" >&6
32398 if test "$found_gl" != 1; then
32399 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32400 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32403 for ac_dir
in $SEARCH_LIB;
32405 for ac_extension
in a so sl dylib dll.a
; do
32406 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32407 ac_find_libraries
=$ac_dir
32413 if test "$ac_find_libraries" != "" ; then
32415 if test "$ac_find_libraries" = "default location"; then
32418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32420 if test $result = 0; then
32423 ac_path_to_link
=" -L$ac_find_libraries"
32427 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32428 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32429 echo "$as_me:$LINENO: result: yes" >&5
32430 echo "${ECHO_T}yes" >&6
32432 echo "$as_me:$LINENO: result: no" >&5
32433 echo "${ECHO_T}no" >&6
32441 if test "x$OPENGL_LIBS" = "x"; then
32442 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32443 echo "$as_me: error: OpenGL libraries not available" >&2;}
32444 { (exit 1); exit 1; }; }
32448 if test "$wxUSE_OPENGL" = "yes"; then
32450 cat >>confdefs.h
<<\_ACEOF
32451 #define wxUSE_OPENGL 1
32454 cat >>confdefs.h
<<\_ACEOF
32455 #define wxUSE_GLCANVAS 1
32458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32463 if test -n "$TOOLKIT" ; then
32464 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32469 if test "$wxUSE_SHARED" = "yes"; then
32473 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32474 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32479 if test "$wxUSE_SHARED" = "yes"; then
32482 found_versioning
=no
32485 if test $found_versioning = no
; then
32486 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32487 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32488 if test "${wx_cv_version_script+set}" = set; then
32489 echo $ECHO_N "(cached) $ECHO_C" >&6
32492 echo "VER_1 { *; };" >conftest.sym
32493 echo "int main() { return 0; }" >conftest.cpp
32496 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32497 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32499 (eval $ac_try) 2>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; } ; then
32503 if test -s conftest.stderr
; then
32504 wx_cv_version_script
=no
32506 wx_cv_version_script
=yes
32509 wx_cv_version_script
=no
32512 if test $wx_cv_version_script = yes
32514 echo "struct B { virtual ~B() { } }; \
32515 struct D : public B { }; \
32516 void F() { D d; }" > conftest.cpp
32519 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32520 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32522 (eval $ac_try) 2>&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); }; } &&
32527 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32528 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; }
32536 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32537 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; }
32544 wx_cv_version_script
=yes
32546 wx_cv_version_script
=no
32551 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32552 rm -f conftest1.output conftest2.output conftest3.output
32555 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32556 echo "${ECHO_T}$wx_cv_version_script" >&6
32557 if test $wx_cv_version_script = yes ; then
32558 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32564 *-*-linux* | *-*-gnu* )
32565 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32566 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32570 if test "$GCC" = yes ; then
32571 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32573 saveLdflags
="$LDFLAGS"
32574 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32575 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32576 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32577 cat >conftest.
$ac_ext <<_ACEOF
32580 cat confdefs.h
>>conftest.
$ac_ext
32581 cat >>conftest.
$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32592 rm -f conftest.
$ac_objext conftest
$ac_exeext
32593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32594 (eval $ac_link) 2>conftest.er1
32596 grep -v '^ *+' conftest.er1
>conftest.err
32598 cat conftest.err
>&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); } &&
32601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; } &&
32607 { ac_try
='test -s conftest$ac_exeext'
32608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32609 (eval $ac_try) 2>&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); }; }; then
32614 echo "$as_me:$LINENO: result: yes" >&5
32615 echo "${ECHO_T}yes" >&6
32616 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32617 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.
$ac_ext >&5
32624 echo "$as_me:$LINENO: result: no" >&5
32625 echo "${ECHO_T}no" >&6
32626 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32627 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32628 LDFLAGS
="$saveLdflags -Wl,-R,/"
32629 cat >conftest.
$ac_ext <<_ACEOF
32632 cat confdefs.h
>>conftest.
$ac_ext
32633 cat >>conftest.
$ac_ext <<_ACEOF
32634 /* end confdefs.h. */
32644 rm -f conftest.
$ac_objext conftest
$ac_exeext
32645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32646 (eval $ac_link) 2>conftest.er1
32648 grep -v '^ *+' conftest.er1
>conftest.err
32650 cat conftest.err
>&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); } &&
32653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 (eval $ac_try) 2>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; } &&
32659 { ac_try
='test -s conftest$ac_exeext'
32660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32661 (eval $ac_try) 2>&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); }; }; then
32666 echo "$as_me:$LINENO: result: yes" >&5
32667 echo "${ECHO_T}yes" >&6
32668 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32669 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.
$ac_ext >&5
32676 echo "$as_me:$LINENO: result: no" >&5
32677 echo "${ECHO_T}no" >&6
32680 rm -f conftest.err conftest.
$ac_objext \
32681 conftest
$ac_exeext conftest.
$ac_ext
32684 rm -f conftest.err conftest.
$ac_objext \
32685 conftest
$ac_exeext conftest.
$ac_ext
32686 LDFLAGS
="$saveLdflags"
32688 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32689 WXCONFIG_RPATH
="-R\$libdir"
32694 install_name_tool
=`which install_name_tool`
32695 if test "$install_name_tool" -a -x "$install_name_tool"; then
32696 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32697 cat <<EOF >change-install-names
32699 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32700 inst_cmd="install_name_tool "
32701 for i in \${libnames} ; do
32702 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32706 chmod +x change
-install-names
32710 *-*-cygwin* | *-*-mingw32* )
32711 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32715 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32716 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32721 if test $wxUSE_RPATH = "no"; then
32722 SAMPLES_RPATH_FLAG
=''
32723 SAMPLES_RPATH_POSTLINK
=''
32731 config_linkage_component
="-static"
32738 lib_unicode_suffix
=
32740 if test "$wxUSE_UNICODE" = "yes"; then
32741 lib_unicode_suffix
=u
32742 WX_CHARTYPE
="unicode"
32747 WX_DEBUGTYPE
="release"
32749 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32751 WX_DEBUGTYPE
="debug"
32755 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32756 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32759 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32763 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32765 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32767 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32769 if test "$cross_compiling" = "yes"; then
32770 HOST_SUFFIX
="-$host_alias"
32771 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32772 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32775 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32776 if test "${TOOLKIT_DIR}" = "os2"; then
32777 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32779 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32784 if test "$wxUSE_COCOA" = 1; then
32788 ac_cpp
='$CPP $CPPFLAGS'
32789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32795 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32796 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32797 cat >conftest.
$ac_ext <<_ACEOF
32800 cat confdefs.h
>>conftest.
$ac_ext
32801 cat >>conftest.
$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32803 #include <AppKit/NSEvent.h>
32804 #include <CoreFoundation/CoreFoundation.h>
32814 rm -f conftest.
$ac_objext
32815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32816 (eval $ac_compile) 2>conftest.er1
32818 grep -v '^ *+' conftest.er1
>conftest.err
32820 cat conftest.err
>&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } &&
32823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32825 (eval $ac_try) 2>&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); }; } &&
32829 { ac_try
='test -s conftest.$ac_objext'
32830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32831 (eval $ac_try) 2>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); }; }; then
32835 echo "$as_me:$LINENO: result: no" >&5
32836 echo "${ECHO_T}no" >&6
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.
$ac_ext >&5
32841 echo "$as_me:$LINENO: result: yes" >&5
32842 echo "${ECHO_T}yes" >&6
32843 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32844 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32845 cat >conftest.
$ac_ext <<_ACEOF
32848 cat confdefs.h
>>conftest.
$ac_ext
32849 cat >>conftest.
$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851 #define __Point__ 1
32852 #include <AppKit/NSEvent.h>
32853 #include <CoreFoundation/CoreFoundation.h>
32863 rm -f conftest.
$ac_objext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32865 (eval $ac_compile) 2>conftest.er1
32867 grep -v '^ *+' conftest.er1
>conftest.err
32869 cat conftest.err
>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } &&
32872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32874 (eval $ac_try) 2>&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); }; } &&
32878 { ac_try
='test -s conftest.$ac_objext'
32879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32880 (eval $ac_try) 2>&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); }; }; then
32884 echo "$as_me:$LINENO: result: yes" >&5
32885 echo "${ECHO_T}yes" >&6
32886 cat >>confdefs.h
<<\_ACEOF
32887 #define __Point__ 1
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.
$ac_ext >&5
32895 { { echo "$as_me:$LINENO: error: no
32896 See \`config.log' for more details." >&5
32897 echo "$as_me: error: no
32898 See \`config.log' for more details." >&2;}
32899 { (exit 1); exit 1; }; }
32902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32907 ac_cpp
='$CXXCPP $CPPFLAGS'
32908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32914 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32915 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32916 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32918 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32920 # Extract the first word of "Rez", so it can be a program name with args.
32921 set dummy Rez
; ac_word
=$2
32922 echo "$as_me:$LINENO: checking for $ac_word" >&5
32923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32924 if test "${ac_cv_prog_REZ+set}" = set; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 if test -n "$REZ"; then
32928 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32931 for as_dir
in $PATH
32934 test -z "$as_dir" && as_dir
=.
32935 for ac_exec_ext
in '' $ac_executable_extensions; do
32936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32937 ac_cv_prog_REZ
="Rez"
32938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32944 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32947 REZ
=$ac_cv_prog_REZ
32948 if test -n "$REZ"; then
32949 echo "$as_me:$LINENO: result: $REZ" >&5
32950 echo "${ECHO_T}$REZ" >&6
32952 echo "$as_me:$LINENO: result: no" >&5
32953 echo "${ECHO_T}no" >&6
32956 # Extract the first word of "DeRez", so it can be a program name with args.
32957 set dummy DeRez
; ac_word
=$2
32958 echo "$as_me:$LINENO: checking for $ac_word" >&5
32959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32960 if test "${ac_cv_prog_DEREZ+set}" = set; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 if test -n "$DEREZ"; then
32964 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32967 for as_dir
in $PATH
32970 test -z "$as_dir" && as_dir
=.
32971 for ac_exec_ext
in '' $ac_executable_extensions; do
32972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32973 ac_cv_prog_DEREZ
="DeRez"
32974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32980 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32983 DEREZ
=$ac_cv_prog_DEREZ
32984 if test -n "$DEREZ"; then
32985 echo "$as_me:$LINENO: result: $DEREZ" >&5
32986 echo "${ECHO_T}$DEREZ" >&6
32988 echo "$as_me:$LINENO: result: no" >&5
32989 echo "${ECHO_T}no" >&6
32992 # Extract the first word of "SetFile", so it can be a program name with args.
32993 set dummy SetFile
; ac_word
=$2
32994 echo "$as_me:$LINENO: checking for $ac_word" >&5
32995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32996 if test "${ac_cv_prog_SETFILE+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 if test -n "$SETFILE"; then
33000 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33003 for as_dir
in $PATH
33006 test -z "$as_dir" && as_dir
=.
33007 for ac_exec_ext
in '' $ac_executable_extensions; do
33008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33009 ac_cv_prog_SETFILE
="SetFile"
33010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33016 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33019 SETFILE
=$ac_cv_prog_SETFILE
33020 if test -n "$SETFILE"; then
33021 echo "$as_me:$LINENO: result: $SETFILE" >&5
33022 echo "${ECHO_T}$SETFILE" >&6
33024 echo "$as_me:$LINENO: result: no" >&5
33025 echo "${ECHO_T}no" >&6
33029 MACSETFILE
="\$(SETFILE)"
33031 if test "$wxUSE_MAC" = 1; then
33032 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33034 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33036 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33037 RESCOMP
="echo -n \| $REZ"
33038 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33044 if test "$wxUSE_PM" = 1; then
33046 WXCONFIG_RESFLAGS
="-ep"
33048 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33050 POSTLINK_COMMAND
="@true"
33057 echo "$as_me:$LINENO: checking for mode_t" >&5
33058 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33059 if test "${ac_cv_type_mode_t+set}" = set; then
33060 echo $ECHO_N "(cached) $ECHO_C" >&6
33062 cat >conftest.
$ac_ext <<_ACEOF
33065 cat confdefs.h
>>conftest.
$ac_ext
33066 cat >>conftest.
$ac_ext <<_ACEOF
33067 /* end confdefs.h. */
33068 $ac_includes_default
33074 if (sizeof (mode_t))
33080 rm -f conftest.
$ac_objext
33081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33082 (eval $ac_compile) 2>conftest.er1
33084 grep -v '^ *+' conftest.er1
>conftest.err
33086 cat conftest.err
>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; } &&
33095 { ac_try
='test -s conftest.$ac_objext'
33096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33097 (eval $ac_try) 2>&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); }; }; then
33101 ac_cv_type_mode_t
=yes
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.
$ac_ext >&5
33106 ac_cv_type_mode_t
=no
33108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33110 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33111 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33112 if test $ac_cv_type_mode_t = yes; then
33116 cat >>confdefs.h
<<_ACEOF
33122 echo "$as_me:$LINENO: checking for off_t" >&5
33123 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33124 if test "${ac_cv_type_off_t+set}" = set; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 cat >conftest.
$ac_ext <<_ACEOF
33130 cat confdefs.h
>>conftest.
$ac_ext
33131 cat >>conftest.
$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33133 $ac_includes_default
33139 if (sizeof (off_t))
33145 rm -f conftest.
$ac_objext
33146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33147 (eval $ac_compile) 2>conftest.er1
33149 grep -v '^ *+' conftest.er1
>conftest.err
33151 cat conftest.err
>&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } &&
33154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33156 (eval $ac_try) 2>&5
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); }; } &&
33160 { ac_try
='test -s conftest.$ac_objext'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; }; then
33166 ac_cv_type_off_t
=yes
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.
$ac_ext >&5
33171 ac_cv_type_off_t
=no
33173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33175 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33176 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33177 if test $ac_cv_type_off_t = yes; then
33181 cat >>confdefs.h
<<_ACEOF
33187 echo "$as_me:$LINENO: checking for pid_t" >&5
33188 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33189 if test "${ac_cv_type_pid_t+set}" = set; then
33190 echo $ECHO_N "(cached) $ECHO_C" >&6
33192 cat >conftest.
$ac_ext <<_ACEOF
33195 cat confdefs.h
>>conftest.
$ac_ext
33196 cat >>conftest.
$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198 $ac_includes_default
33204 if (sizeof (pid_t))
33210 rm -f conftest.
$ac_objext
33211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33212 (eval $ac_compile) 2>conftest.er1
33214 grep -v '^ *+' conftest.er1
>conftest.err
33216 cat conftest.err
>&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); } &&
33219 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33221 (eval $ac_try) 2>&5
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); }; } &&
33225 { ac_try
='test -s conftest.$ac_objext'
33226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33227 (eval $ac_try) 2>&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); }; }; then
33231 ac_cv_type_pid_t
=yes
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.
$ac_ext >&5
33236 ac_cv_type_pid_t
=no
33238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33240 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33241 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33242 if test $ac_cv_type_pid_t = yes; then
33246 cat >>confdefs.h
<<_ACEOF
33252 echo "$as_me:$LINENO: checking for size_t" >&5
33253 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33254 if test "${ac_cv_type_size_t+set}" = set; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33257 cat >conftest.
$ac_ext <<_ACEOF
33260 cat confdefs.h
>>conftest.
$ac_ext
33261 cat >>conftest.
$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33263 $ac_includes_default
33269 if (sizeof (size_t))
33275 rm -f conftest.
$ac_objext
33276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33277 (eval $ac_compile) 2>conftest.er1
33279 grep -v '^ *+' conftest.er1
>conftest.err
33281 cat conftest.err
>&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); } &&
33284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33286 (eval $ac_try) 2>&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); }; } &&
33290 { ac_try
='test -s conftest.$ac_objext'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; }; then
33296 ac_cv_type_size_t
=yes
33298 echo "$as_me: failed program was:" >&5
33299 sed 's/^/| /' conftest.
$ac_ext >&5
33301 ac_cv_type_size_t
=no
33303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33305 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33306 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33307 if test $ac_cv_type_size_t = yes; then
33311 cat >>confdefs.h
<<_ACEOF
33312 #define size_t unsigned
33317 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33318 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33319 if test "${ac_cv_type_uid_t+set}" = set; then
33320 echo $ECHO_N "(cached) $ECHO_C" >&6
33322 cat >conftest.
$ac_ext <<_ACEOF
33325 cat confdefs.h
>>conftest.
$ac_ext
33326 cat >>conftest.
$ac_ext <<_ACEOF
33327 /* end confdefs.h. */
33328 #include <sys/types.h>
33331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33332 $EGREP "uid_t" >/dev
/null
2>&1; then
33333 ac_cv_type_uid_t
=yes
33335 ac_cv_type_uid_t
=no
33340 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33341 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33342 if test $ac_cv_type_uid_t = no
; then
33344 cat >>confdefs.h
<<\_ACEOF
33349 cat >>confdefs.h
<<\_ACEOF
33356 echo "$as_me:$LINENO: checking for ssize_t" >&5
33357 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33358 if test "${ac_cv_type_ssize_t+set}" = set; then
33359 echo $ECHO_N "(cached) $ECHO_C" >&6
33361 cat >conftest.
$ac_ext <<_ACEOF
33364 cat confdefs.h
>>conftest.
$ac_ext
33365 cat >>conftest.
$ac_ext <<_ACEOF
33366 /* end confdefs.h. */
33367 $ac_includes_default
33373 if (sizeof (ssize_t))
33379 rm -f conftest.
$ac_objext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33381 (eval $ac_compile) 2>conftest.er1
33383 grep -v '^ *+' conftest.er1
>conftest.err
33385 cat conftest.err
>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } &&
33388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; } &&
33394 { ac_try
='test -s conftest.$ac_objext'
33395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396 (eval $ac_try) 2>&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); }; }; then
33400 ac_cv_type_ssize_t
=yes
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.
$ac_ext >&5
33405 ac_cv_type_ssize_t
=no
33407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33409 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33410 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33411 if test $ac_cv_type_ssize_t = yes; then
33413 cat >>confdefs.h
<<_ACEOF
33414 #define HAVE_SSIZE_T 1
33421 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33422 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33423 if test "${wx_cv_size_t_is_uint+set}" = set; then
33424 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 cat >conftest.
$ac_ext <<_ACEOF
33430 cat confdefs.h
>>conftest.
$ac_ext
33431 cat >>conftest.
$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433 #include <stddef.h>
33440 struct Foo { void foo(size_t); void foo(unsigned int); };
33448 rm -f conftest.
$ac_objext
33449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33450 (eval $ac_compile) 2>conftest.er1
33452 grep -v '^ *+' conftest.er1
>conftest.err
33454 cat conftest.err
>&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); } &&
33457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33459 (eval $ac_try) 2>&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); }; } &&
33463 { ac_try
='test -s conftest.$ac_objext'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; }; then
33469 wx_cv_size_t_is_uint
=no
33471 echo "$as_me: failed program was:" >&5
33472 sed 's/^/| /' conftest.
$ac_ext >&5
33474 wx_cv_size_t_is_uint
=yes
33477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33481 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33482 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33484 if test "$wx_cv_size_t_is_uint" = "yes"; then
33485 cat >>confdefs.h
<<\_ACEOF
33486 #define wxSIZE_T_IS_UINT 1
33490 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33491 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33492 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33495 cat >conftest.
$ac_ext <<_ACEOF
33498 cat confdefs.h
>>conftest.
$ac_ext
33499 cat >>conftest.
$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 #include <stddef.h>
33508 struct Foo { void foo(size_t); void foo(unsigned long); };
33516 rm -f conftest.
$ac_objext
33517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33518 (eval $ac_compile) 2>conftest.er1
33520 grep -v '^ *+' conftest.er1
>conftest.err
33522 cat conftest.err
>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); } &&
33525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33527 (eval $ac_try) 2>&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); }; } &&
33531 { ac_try
='test -s conftest.$ac_objext'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; }; then
33537 wx_cv_size_t_is_ulong
=no
33539 echo "$as_me: failed program was:" >&5
33540 sed 's/^/| /' conftest.
$ac_ext >&5
33542 wx_cv_size_t_is_ulong
=yes
33545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33548 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33549 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33551 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33552 cat >>confdefs.h
<<\_ACEOF
33553 #define wxSIZE_T_IS_ULONG 1
33560 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33561 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33562 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33563 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 cat >conftest.
$ac_ext <<_ACEOF
33569 cat confdefs.h
>>conftest.
$ac_ext
33570 cat >>conftest.
$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33585 rm -f conftest.
$ac_objext
33586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33587 (eval $ac_compile) 2>conftest.er1
33589 grep -v '^ *+' conftest.er1
>conftest.err
33591 cat conftest.err
>&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); } &&
33594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; } &&
33600 { ac_try
='test -s conftest.$ac_objext'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; }; then
33607 wx_cv_struct_pw_gecos
=yes
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.
$ac_ext >&5
33614 wx_cv_struct_pw_gecos
=no
33618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33622 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33623 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33625 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33626 cat >>confdefs.h
<<\_ACEOF
33627 #define HAVE_PW_GECOS 1
33633 if test "$wxUSE_WCHAR_T" = "yes"; then
33634 cat >>confdefs.h
<<\_ACEOF
33635 #define wxUSE_WCHAR_T 1
33642 for ac_func
in wcslen
33644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33645 echo "$as_me:$LINENO: checking for $ac_func" >&5
33646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33647 if eval "test \"\${$as_ac_var+set}\" = set"; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 cat >conftest.
$ac_ext <<_ACEOF
33653 cat confdefs.h
>>conftest.
$ac_ext
33654 cat >>conftest.
$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33658 #define $ac_func innocuous_$ac_func
33660 /* System header to define __stub macros and hopefully few prototypes,
33661 which can conflict with char $ac_func (); below.
33662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33663 <limits.h> exists even on freestanding compilers. */
33666 # include <limits.h>
33668 # include <assert.h>
33673 /* Override any gcc2 internal prototype to avoid an error. */
33678 /* We use char because int might match the return type of a gcc2
33679 builtin and then its argument prototype would still apply. */
33681 /* The GNU C library defines this for functions which it implements
33682 to always fail with ENOSYS. Some functions are actually named
33683 something starting with __ and the normal name is an alias. */
33684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33687 char (*f) () = $ac_func;
33696 return f != $ac_func;
33701 rm -f conftest.
$ac_objext conftest
$ac_exeext
33702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33703 (eval $ac_link) 2>conftest.er1
33705 grep -v '^ *+' conftest.er1
>conftest.err
33707 cat conftest.err
>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } &&
33710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; } &&
33716 { ac_try
='test -s conftest$ac_exeext'
33717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33718 (eval $ac_try) 2>&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; }; then
33722 eval "$as_ac_var=yes"
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.
$ac_ext >&5
33727 eval "$as_ac_var=no"
33729 rm -f conftest.err conftest.
$ac_objext \
33730 conftest
$ac_exeext conftest.
$ac_ext
33732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33734 if test `eval echo '${'$as_ac_var'}'` = yes; then
33735 cat >>confdefs.h
<<_ACEOF
33736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33743 if test "$WCSLEN_FOUND" = 0; then
33744 if test "$TOOLKIT" = "MSW"; then
33745 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33746 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33747 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 ac_check_lib_save_LIBS
=$LIBS
33751 LIBS
="-lmsvcrt $LIBS"
33752 cat >conftest.
$ac_ext <<_ACEOF
33755 cat confdefs.h
>>conftest.
$ac_ext
33756 cat >>conftest.
$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33759 /* Override any gcc2 internal prototype to avoid an error. */
33763 /* We use char because int might match the return type of a gcc2
33764 builtin and then its argument prototype would still apply. */
33774 rm -f conftest.
$ac_objext conftest
$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33778 grep -v '^ *+' conftest.er1
>conftest.err
33780 cat conftest.err
>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; } &&
33789 { ac_try
='test -s conftest$ac_exeext'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; }; then
33795 ac_cv_lib_msvcrt_wcslen
=yes
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.
$ac_ext >&5
33800 ac_cv_lib_msvcrt_wcslen
=no
33802 rm -f conftest.err conftest.
$ac_objext \
33803 conftest
$ac_exeext conftest.
$ac_ext
33804 LIBS
=$ac_check_lib_save_LIBS
33806 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33807 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33808 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33813 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33814 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33815 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33816 echo $ECHO_N "(cached) $ECHO_C" >&6
33818 ac_check_lib_save_LIBS
=$LIBS
33820 cat >conftest.
$ac_ext <<_ACEOF
33823 cat confdefs.h
>>conftest.
$ac_ext
33824 cat >>conftest.
$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33827 /* Override any gcc2 internal prototype to avoid an error. */
33831 /* We use char because int might match the return type of a gcc2
33832 builtin and then its argument prototype would still apply. */
33842 rm -f conftest.
$ac_objext conftest
$ac_exeext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33844 (eval $ac_link) 2>conftest.er1
33846 grep -v '^ *+' conftest.er1
>conftest.err
33848 cat conftest.err
>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33853 (eval $ac_try) 2>&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); }; } &&
33857 { ac_try
='test -s conftest$ac_exeext'
33858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33859 (eval $ac_try) 2>&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; }; then
33863 ac_cv_lib_w_wcslen
=yes
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.
$ac_ext >&5
33868 ac_cv_lib_w_wcslen
=no
33870 rm -f conftest.err conftest.
$ac_objext \
33871 conftest
$ac_exeext conftest.
$ac_ext
33872 LIBS
=$ac_check_lib_save_LIBS
33874 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33875 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33876 if test $ac_cv_lib_w_wcslen = yes; then
33886 if test "$WCSLEN_FOUND" = 1; then
33887 cat >>confdefs.h
<<\_ACEOF
33888 #define HAVE_WCSLEN 1
33893 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33894 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33897 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33898 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33899 if test "${ac_cv_type_mbstate_t+set}" = set; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 cat >conftest.
$ac_ext <<_ACEOF
33905 cat confdefs.h
>>conftest.
$ac_ext
33906 cat >>conftest.
$ac_ext <<_ACEOF
33907 /* end confdefs.h. */
33913 if ((mbstate_t *) 0)
33915 if (sizeof (mbstate_t))
33921 rm -f conftest.
$ac_objext
33922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33923 (eval $ac_compile) 2>conftest.er1
33925 grep -v '^ *+' conftest.er1
>conftest.err
33927 cat conftest.err
>&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } &&
33930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; } &&
33936 { ac_try
='test -s conftest.$ac_objext'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; }; then
33942 ac_cv_type_mbstate_t
=yes
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.
$ac_ext >&5
33947 ac_cv_type_mbstate_t
=no
33949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33951 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33952 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33953 if test $ac_cv_type_mbstate_t = yes; then
33955 cat >>confdefs.h
<<_ACEOF
33956 #define HAVE_MBSTATE_T 1
33960 for ac_func
in wcsrtombs
33962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33963 echo "$as_me:$LINENO: checking for $ac_func" >&5
33964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33965 if eval "test \"\${$as_ac_var+set}\" = set"; then
33966 echo $ECHO_N "(cached) $ECHO_C" >&6
33968 cat >conftest.
$ac_ext <<_ACEOF
33971 cat confdefs.h
>>conftest.
$ac_ext
33972 cat >>conftest.
$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33984 # include <limits.h>
33986 # include <assert.h>
33991 /* Override any gcc2 internal prototype to avoid an error. */
33996 /* We use char because int might match the return type of a gcc2
33997 builtin and then its argument prototype would still apply. */
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34005 char (*f) () = $ac_func;
34014 return f != $ac_func;
34019 rm -f conftest.
$ac_objext conftest
$ac_exeext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021 (eval $ac_link) 2>conftest.er1
34023 grep -v '^ *+' conftest.er1
>conftest.err
34025 cat conftest.err
>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; } &&
34034 { ac_try
='test -s conftest$ac_exeext'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; }; then
34040 eval "$as_ac_var=yes"
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.
$ac_ext >&5
34045 eval "$as_ac_var=no"
34047 rm -f conftest.err conftest.
$ac_objext \
34048 conftest
$ac_exeext conftest.
$ac_ext
34050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34052 if test `eval echo '${'$as_ac_var'}'` = yes; then
34053 cat >>confdefs.h
<<_ACEOF
34054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34063 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34064 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34069 for ac_func
in snprintf vsnprintf
34071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34072 echo "$as_me:$LINENO: checking for $ac_func" >&5
34073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34074 if eval "test \"\${$as_ac_var+set}\" = set"; then
34075 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 cat >conftest.
$ac_ext <<_ACEOF
34080 cat confdefs.h
>>conftest.
$ac_ext
34081 cat >>conftest.
$ac_ext <<_ACEOF
34082 /* end confdefs.h. */
34083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34085 #define $ac_func innocuous_$ac_func
34087 /* System header to define __stub macros and hopefully few prototypes,
34088 which can conflict with char $ac_func (); below.
34089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34090 <limits.h> exists even on freestanding compilers. */
34093 # include <limits.h>
34095 # include <assert.h>
34100 /* Override any gcc2 internal prototype to avoid an error. */
34105 /* We use char because int might match the return type of a gcc2
34106 builtin and then its argument prototype would still apply. */
34108 /* The GNU C library defines this for functions which it implements
34109 to always fail with ENOSYS. Some functions are actually named
34110 something starting with __ and the normal name is an alias. */
34111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34114 char (*f) () = $ac_func;
34123 return f != $ac_func;
34128 rm -f conftest.
$ac_objext conftest
$ac_exeext
34129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34130 (eval $ac_link) 2>conftest.er1
34132 grep -v '^ *+' conftest.er1
>conftest.err
34134 cat conftest.err
>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); } &&
34137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; } &&
34143 { ac_try
='test -s conftest$ac_exeext'
34144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34145 (eval $ac_try) 2>&5
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); }; }; then
34149 eval "$as_ac_var=yes"
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.
$ac_ext >&5
34154 eval "$as_ac_var=no"
34156 rm -f conftest.err conftest.
$ac_objext \
34157 conftest
$ac_exeext conftest.
$ac_ext
34159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34161 if test `eval echo '${'$as_ac_var'}'` = yes; then
34162 cat >>confdefs.h
<<_ACEOF
34163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34170 if test "$ac_cv_func_vsnprintf" = "yes"; then
34171 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34172 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34173 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 cat >conftest.
$ac_ext <<_ACEOF
34180 cat confdefs.h
>>conftest.
$ac_ext
34181 cat >>conftest.
$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34185 #include <stdarg.h>
34187 #if __MSL__ >= 0x6000
34189 using namespace std;
34199 vsnprintf(buf, 10u, "%s", ap);
34205 rm -f conftest.
$ac_objext
34206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34207 (eval $ac_compile) 2>conftest.er1
34209 grep -v '^ *+' conftest.er1
>conftest.err
34211 cat conftest.err
>&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); } &&
34214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; } &&
34220 { ac_try
='test -s conftest.$ac_objext'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; }; then
34226 wx_cv_func_vsnprintf_decl
=yes
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.
$ac_ext >&5
34231 wx_cv_func_vsnprintf_decl
=no
34234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34238 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34239 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34241 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34242 cat >>confdefs.h
<<\_ACEOF
34243 #define HAVE_VSNPRINTF_DECL 1
34247 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34248 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34249 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34253 cat >conftest.
$ac_ext <<_ACEOF
34256 cat confdefs.h
>>conftest.
$ac_ext
34257 cat >>conftest.
$ac_ext <<_ACEOF
34258 /* end confdefs.h. */
34261 #include <stdarg.h>
34263 #if __MSL__ >= 0x6000
34265 using namespace std;
34275 const char *fmt = "%s";
34276 vsnprintf(buf, 10u, fmt, ap);
34282 rm -f conftest.
$ac_objext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34284 (eval $ac_compile) 2>conftest.er1
34286 grep -v '^ *+' conftest.er1
>conftest.err
34288 cat conftest.err
>&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } &&
34291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34293 (eval $ac_try) 2>&5
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); }; } &&
34297 { ac_try
='test -s conftest.$ac_objext'
34298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34299 (eval $ac_try) 2>&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); }; }; then
34303 wx_cv_func_broken_vsnprintf_decl
=no
34305 echo "$as_me: failed program was:" >&5
34306 sed 's/^/| /' conftest.
$ac_ext >&5
34308 wx_cv_func_broken_vsnprintf_decl
=yes
34311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34315 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34316 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34318 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34319 cat >>confdefs.h
<<\_ACEOF
34320 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34327 if test "$ac_cv_func_snprintf" = "yes"; then
34328 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34329 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34330 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34331 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 cat >conftest.
$ac_ext <<_ACEOF
34337 cat confdefs.h
>>conftest.
$ac_ext
34338 cat >>conftest.
$ac_ext <<_ACEOF
34339 /* end confdefs.h. */
34342 #include <stdarg.h>
34344 #if __MSL__ >= 0x6000
34346 using namespace std;
34355 snprintf(buf, 10u, "%s", "wx");
34361 rm -f conftest.
$ac_objext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34363 (eval $ac_compile) 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_cxx_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_objext'
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 wx_cv_func_snprintf_decl
=yes
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.
$ac_ext >&5
34387 wx_cv_func_snprintf_decl
=no
34390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34394 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34395 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34397 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34398 cat >>confdefs.h
<<\_ACEOF
34399 #define HAVE_SNPRINTF_DECL 1
34403 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34404 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34405 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34409 cat >conftest.
$ac_ext <<_ACEOF
34412 cat confdefs.h
>>conftest.
$ac_ext
34413 cat >>conftest.
$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34417 #include <stdarg.h>
34419 #if __MSL__ >= 0x6000
34421 using namespace std;
34430 const char *fmt = "%s";
34431 snprintf(buf, 10u, fmt, "wx");
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_cxx_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_broken_snprintf_decl
=no
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.
$ac_ext >&5
34463 wx_cv_func_broken_snprintf_decl
=yes
34466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34470 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34471 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34473 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34474 cat >>confdefs.h
<<\_ACEOF
34475 #define HAVE_BROKEN_SNPRINTF_DECL 1
34481 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34483 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34484 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34485 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34486 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 if test "$cross_compiling" = yes; then
34490 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34491 See \`config.log' for more details." >&5
34492 echo "$as_me: error: cannot run test program while cross compiling
34493 See \`config.log' for more details." >&2;}
34494 { (exit 1); exit 1; }; }
34496 cat >conftest.
$ac_ext <<_ACEOF
34499 cat confdefs.h
>>conftest.
$ac_ext
34500 cat >>conftest.
$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34508 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34509 if (strcmp ("2 3 1", buffer) == 0)
34515 rm -f conftest
$ac_exeext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34517 (eval $ac_link) 2>&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
34526 wx_cv_func_snprintf_pos_params
=no
34528 echo "$as_me: program exited with status $ac_status" >&5
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.
$ac_ext >&5
34532 ( exit $ac_status )
34533 wx_cv_func_snprintf_pos_params
=yes
34536 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34541 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34542 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34544 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34545 cat >>confdefs.h
<<\_ACEOF
34546 #define HAVE_UNIX98_PRINTF 1
34554 if test "$wxUSE_UNICODE" = yes; then
34561 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34564 echo "$as_me:$LINENO: checking for $ac_func" >&5
34565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34566 if eval "test \"\${$as_ac_var+set}\" = set"; then
34567 echo $ECHO_N "(cached) $ECHO_C" >&6
34569 cat >conftest.
$ac_ext <<_ACEOF
34572 cat confdefs.h
>>conftest.
$ac_ext
34573 cat >>conftest.
$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34577 #define $ac_func innocuous_$ac_func
34579 /* System header to define __stub macros and hopefully few prototypes,
34580 which can conflict with char $ac_func (); below.
34581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34582 <limits.h> exists even on freestanding compilers. */
34585 # include <limits.h>
34587 # include <assert.h>
34592 /* Override any gcc2 internal prototype to avoid an error. */
34597 /* We use char because int might match the return type of a gcc2
34598 builtin and then its argument prototype would still apply. */
34600 /* The GNU C library defines this for functions which it implements
34601 to always fail with ENOSYS. Some functions are actually named
34602 something starting with __ and the normal name is an alias. */
34603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34606 char (*f) () = $ac_func;
34615 return f != $ac_func;
34620 rm -f conftest.
$ac_objext conftest
$ac_exeext
34621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34622 (eval $ac_link) 2>conftest.er1
34624 grep -v '^ *+' conftest.er1
>conftest.err
34626 cat conftest.err
>&5
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); } &&
34629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631 (eval $ac_try) 2>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); }; } &&
34635 { ac_try
='test -s conftest$ac_exeext'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; }; then
34641 eval "$as_ac_var=yes"
34643 echo "$as_me: failed program was:" >&5
34644 sed 's/^/| /' conftest.
$ac_ext >&5
34646 eval "$as_ac_var=no"
34648 rm -f conftest.err conftest.
$ac_objext \
34649 conftest
$ac_exeext conftest.
$ac_ext
34651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34653 if test `eval echo '${'$as_ac_var'}'` = yes; then
34654 cat >>confdefs.h
<<_ACEOF
34655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34662 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34663 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34664 cat >conftest.
$ac_ext <<_ACEOF
34667 cat confdefs.h
>>conftest.
$ac_ext
34668 cat >>conftest.
$ac_ext <<_ACEOF
34669 /* end confdefs.h. */
34679 rm -f conftest.
$ac_objext
34680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34681 (eval $ac_compile) 2>conftest.er1
34683 grep -v '^ *+' conftest.er1
>conftest.err
34685 cat conftest.err
>&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } &&
34688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; } &&
34694 { ac_try
='test -s conftest.$ac_objext'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; }; then
34700 echo "$as_me:$LINENO: result: yes" >&5
34701 echo "${ECHO_T}yes" >&6
34702 cat >>confdefs.h
<<\_ACEOF
34703 #define HAVE__VSNWPRINTF 1
34707 echo "$as_me: failed program was:" >&5
34708 sed 's/^/| /' conftest.
$ac_ext >&5
34710 echo "$as_me:$LINENO: result: no" >&5
34711 echo "${ECHO_T}no" >&6
34713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34716 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34718 for ac_func
in fnmatch
34720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34721 echo "$as_me:$LINENO: checking for $ac_func" >&5
34722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34723 if eval "test \"\${$as_ac_var+set}\" = set"; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 cat >conftest.
$ac_ext <<_ACEOF
34729 cat confdefs.h
>>conftest.
$ac_ext
34730 cat >>conftest.
$ac_ext <<_ACEOF
34731 /* end confdefs.h. */
34732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34734 #define $ac_func innocuous_$ac_func
34736 /* System header to define __stub macros and hopefully few prototypes,
34737 which can conflict with char $ac_func (); below.
34738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34739 <limits.h> exists even on freestanding compilers. */
34742 # include <limits.h>
34744 # include <assert.h>
34749 /* Override any gcc2 internal prototype to avoid an error. */
34754 /* We use char because int might match the return type of a gcc2
34755 builtin and then its argument prototype would still apply. */
34757 /* The GNU C library defines this for functions which it implements
34758 to always fail with ENOSYS. Some functions are actually named
34759 something starting with __ and the normal name is an alias. */
34760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34763 char (*f) () = $ac_func;
34772 return f != $ac_func;
34777 rm -f conftest.
$ac_objext conftest
$ac_exeext
34778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34779 (eval $ac_link) 2>conftest.er1
34781 grep -v '^ *+' conftest.er1
>conftest.err
34783 cat conftest.err
>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } &&
34786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; } &&
34792 { ac_try
='test -s conftest$ac_exeext'
34793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34794 (eval $ac_try) 2>&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); }; }; then
34798 eval "$as_ac_var=yes"
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.
$ac_ext >&5
34803 eval "$as_ac_var=no"
34805 rm -f conftest.err conftest.
$ac_objext \
34806 conftest
$ac_exeext conftest.
$ac_ext
34808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34810 if test `eval echo '${'$as_ac_var'}'` = yes; then
34811 cat >>confdefs.h
<<_ACEOF
34812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34820 if test "$wxUSE_FILE" = "yes"; then
34822 for ac_func
in fsync
34824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34825 echo "$as_me:$LINENO: checking for $ac_func" >&5
34826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34827 if eval "test \"\${$as_ac_var+set}\" = set"; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 cat >conftest.
$ac_ext <<_ACEOF
34833 cat confdefs.h
>>conftest.
$ac_ext
34834 cat >>conftest.
$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34838 #define $ac_func innocuous_$ac_func
34840 /* System header to define __stub macros and hopefully few prototypes,
34841 which can conflict with char $ac_func (); below.
34842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34843 <limits.h> exists even on freestanding compilers. */
34846 # include <limits.h>
34848 # include <assert.h>
34853 /* Override any gcc2 internal prototype to avoid an error. */
34858 /* We use char because int might match the return type of a gcc2
34859 builtin and then its argument prototype would still apply. */
34861 /* The GNU C library defines this for functions which it implements
34862 to always fail with ENOSYS. Some functions are actually named
34863 something starting with __ and the normal name is an alias. */
34864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34867 char (*f) () = $ac_func;
34876 return f != $ac_func;
34881 rm -f conftest.
$ac_objext conftest
$ac_exeext
34882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34883 (eval $ac_link) 2>conftest.er1
34885 grep -v '^ *+' conftest.er1
>conftest.err
34887 cat conftest.err
>&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } &&
34890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; } &&
34896 { ac_try
='test -s conftest$ac_exeext'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; }; then
34902 eval "$as_ac_var=yes"
34904 echo "$as_me: failed program was:" >&5
34905 sed 's/^/| /' conftest.
$ac_ext >&5
34907 eval "$as_ac_var=no"
34909 rm -f conftest.err conftest.
$ac_objext \
34910 conftest
$ac_exeext conftest.
$ac_ext
34912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34914 if test `eval echo '${'$as_ac_var'}'` = yes; then
34915 cat >>confdefs.h
<<_ACEOF
34916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34925 if test "$TOOLKIT" != "MSW"; then
34931 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34932 if test "${with_libiconv_prefix+set}" = set; then
34933 withval
="$with_libiconv_prefix"
34935 for dir
in `echo "$withval" | tr : ' '`; do
34936 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34937 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34942 echo "$as_me:$LINENO: checking for iconv" >&5
34943 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34944 if test "${am_cv_func_iconv+set}" = set; then
34945 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 am_cv_func_iconv
="no, consider installing GNU libiconv"
34950 cat >conftest.
$ac_ext <<_ACEOF
34953 cat confdefs.h
>>conftest.
$ac_ext
34954 cat >>conftest.
$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 #include <stdlib.h>
34961 iconv_t cd = iconv_open("","");
34962 iconv(cd,NULL,NULL,NULL,NULL);
34968 rm -f conftest.
$ac_objext conftest
$ac_exeext
34969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34970 (eval $ac_link) 2>conftest.er1
34972 grep -v '^ *+' conftest.er1
>conftest.err
34974 cat conftest.err
>&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } &&
34977 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34979 (eval $ac_try) 2>&5
34981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34982 (exit $ac_status); }; } &&
34983 { ac_try
='test -s conftest$ac_exeext'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; }; then
34989 am_cv_func_iconv
=yes
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.
$ac_ext >&5
34995 rm -f conftest.err conftest.
$ac_objext \
34996 conftest
$ac_exeext conftest.
$ac_ext
34997 if test "$am_cv_func_iconv" != yes; then
34998 am_save_LIBS
="$LIBS"
34999 LIBS
="$LIBS -liconv"
35000 cat >conftest.
$ac_ext <<_ACEOF
35003 cat confdefs.h
>>conftest.
$ac_ext
35004 cat >>conftest.
$ac_ext <<_ACEOF
35005 /* end confdefs.h. */
35006 #include <stdlib.h>
35011 iconv_t cd = iconv_open("","");
35012 iconv(cd,NULL,NULL,NULL,NULL);
35018 rm -f conftest.
$ac_objext conftest
$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35022 grep -v '^ *+' conftest.er1
>conftest.err
35024 cat conftest.err
>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try
='test -s conftest$ac_exeext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039 am_cv_lib_iconv
=yes
35040 am_cv_func_iconv
=yes
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.
$ac_ext >&5
35046 rm -f conftest.err conftest.
$ac_objext \
35047 conftest
$ac_exeext conftest.
$ac_ext
35048 LIBS
="$am_save_LIBS"
35052 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35053 echo "${ECHO_T}$am_cv_func_iconv" >&6
35054 if test "$am_cv_func_iconv" = yes; then
35056 cat >>confdefs.h
<<\_ACEOF
35057 #define HAVE_ICONV 1
35060 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35061 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35062 if test "${wx_cv_func_iconv_const+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35065 cat >conftest.
$ac_ext <<_ACEOF
35068 cat confdefs.h
>>conftest.
$ac_ext
35069 cat >>conftest.
$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35072 #include <stdlib.h>
35078 #if defined(__STDC__) || defined(__cplusplus)
35079 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35092 rm -f conftest.
$ac_objext
35093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35094 (eval $ac_compile) 2>conftest.er1
35096 grep -v '^ *+' conftest.er1
>conftest.err
35098 cat conftest.err
>&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); } &&
35101 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; } &&
35107 { ac_try
='test -s conftest.$ac_objext'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; }; then
35113 wx_cv_func_iconv_const
="no"
35115 echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.
$ac_ext >&5
35118 wx_cv_func_iconv_const
="yes"
35121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35124 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35125 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35128 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35129 iconv_const
="const"
35133 cat >>confdefs.h
<<_ACEOF
35134 #define ICONV_CONST $iconv_const
35139 if test "$am_cv_lib_iconv" = yes; then
35144 LIBS
="$LIBICONV $LIBS"
35146 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35148 for ac_func
in sigaction
35150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35151 echo "$as_me:$LINENO: checking for $ac_func" >&5
35152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35153 if eval "test \"\${$as_ac_var+set}\" = set"; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 cat >conftest.
$ac_ext <<_ACEOF
35159 cat confdefs.h
>>conftest.
$ac_ext
35160 cat >>conftest.
$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35164 #define $ac_func innocuous_$ac_func
35166 /* System header to define __stub macros and hopefully few prototypes,
35167 which can conflict with char $ac_func (); below.
35168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35169 <limits.h> exists even on freestanding compilers. */
35172 # include <limits.h>
35174 # include <assert.h>
35179 /* Override any gcc2 internal prototype to avoid an error. */
35184 /* We use char because int might match the return type of a gcc2
35185 builtin and then its argument prototype would still apply. */
35187 /* The GNU C library defines this for functions which it implements
35188 to always fail with ENOSYS. Some functions are actually named
35189 something starting with __ and the normal name is an alias. */
35190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35193 char (*f) () = $ac_func;
35202 return f != $ac_func;
35207 rm -f conftest.
$ac_objext conftest
$ac_exeext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35209 (eval $ac_link) 2>conftest.er1
35211 grep -v '^ *+' conftest.er1
>conftest.err
35213 cat conftest.err
>&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try
='test -s conftest$ac_exeext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35228 eval "$as_ac_var=yes"
35230 echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.
$ac_ext >&5
35233 eval "$as_ac_var=no"
35235 rm -f conftest.err conftest.
$ac_objext \
35236 conftest
$ac_exeext conftest.
$ac_ext
35238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35240 if test `eval echo '${'$as_ac_var'}'` = yes; then
35241 cat >>confdefs.h
<<_ACEOF
35242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35249 if test "$ac_cv_func_sigaction" = "no"; then
35250 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35251 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35252 wxUSE_ON_FATAL_EXCEPTION
=no
35255 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35256 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35257 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35258 if test "${wx_cv_type_sa_handler+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 cat >conftest.
$ac_ext <<_ACEOF
35265 cat confdefs.h
>>conftest.
$ac_ext
35266 cat >>conftest.
$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268 #include <signal.h>
35273 extern void testSigHandler(int);
35275 struct sigaction sa;
35276 sa.sa_handler = testSigHandler;
35282 rm -f conftest.
$ac_objext
35283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35284 (eval $ac_compile) 2>conftest.er1
35286 grep -v '^ *+' conftest.er1
>conftest.err
35288 cat conftest.err
>&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } &&
35291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35293 (eval $ac_try) 2>&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); }; } &&
35297 { ac_try
='test -s conftest.$ac_objext'
35298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35299 (eval $ac_try) 2>&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); }; }; then
35304 wx_cv_type_sa_handler
=int
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.
$ac_ext >&5
35311 wx_cv_type_sa_handler
=void
35314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35317 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35318 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35320 cat >>confdefs.h
<<_ACEOF
35321 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35327 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35328 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35329 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35330 if test "${wx_cv_func_backtrace+set}" = set; then
35331 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 cat >conftest.
$ac_ext <<_ACEOF
35337 cat confdefs.h
>>conftest.
$ac_ext
35338 cat >>conftest.
$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35340 #include <execinfo.h>
35348 backtrace(trace, 1);
35349 messages = backtrace_symbols(trace, 1);
35355 rm -f conftest.
$ac_objext
35356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35357 (eval $ac_compile) 2>conftest.er1
35359 grep -v '^ *+' conftest.er1
>conftest.err
35361 cat conftest.err
>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } &&
35364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; } &&
35370 { ac_try
='test -s conftest.$ac_objext'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; }; then
35376 wx_cv_func_backtrace
=yes
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.
$ac_ext >&5
35381 wx_cv_func_backtrace
=no
35384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35388 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35389 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35392 if test "$wx_cv_func_backtrace" = "no"; then
35393 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35394 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35395 wxUSE_STACKWALKER
=no
35397 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35398 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35399 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 cat >conftest.
$ac_ext <<_ACEOF
35406 cat confdefs.h
>>conftest.
$ac_ext
35407 cat >>conftest.
$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409 #include <cxxabi.h>
35415 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35421 rm -f conftest.
$ac_objext conftest
$ac_exeext
35422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35423 (eval $ac_link) 2>conftest.er1
35425 grep -v '^ *+' conftest.er1
>conftest.err
35427 cat conftest.err
>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } &&
35430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35432 (eval $ac_try) 2>&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); }; } &&
35436 { ac_try
='test -s conftest$ac_exeext'
35437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35438 (eval $ac_try) 2>&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); }; }; then
35442 wx_cv_func_cxa_demangle
=yes
35444 echo "$as_me: failed program was:" >&5
35445 sed 's/^/| /' conftest.
$ac_ext >&5
35447 wx_cv_func_cxa_demangle
=no
35450 rm -f conftest.err conftest.
$ac_objext \
35451 conftest
$ac_exeext conftest.
$ac_ext
35455 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35456 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35458 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35459 cat >>confdefs.h
<<\_ACEOF
35460 #define HAVE_CXA_DEMANGLE 1
35467 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35468 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35469 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35470 wxUSE_STACKWALKER
=no
35476 for ac_func
in mkstemp mktemp
35478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35479 echo "$as_me:$LINENO: checking for $ac_func" >&5
35480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35481 if eval "test \"\${$as_ac_var+set}\" = set"; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35492 #define $ac_func innocuous_$ac_func
35494 /* System header to define __stub macros and hopefully few prototypes,
35495 which can conflict with char $ac_func (); below.
35496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35497 <limits.h> exists even on freestanding compilers. */
35500 # include <limits.h>
35502 # include <assert.h>
35507 /* Override any gcc2 internal prototype to avoid an error. */
35512 /* We use char because int might match the return type of a gcc2
35513 builtin and then its argument prototype would still apply. */
35515 /* The GNU C library defines this for functions which it implements
35516 to always fail with ENOSYS. Some functions are actually named
35517 something starting with __ and the normal name is an alias. */
35518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35521 char (*f) () = $ac_func;
35530 return f != $ac_func;
35535 rm -f conftest.
$ac_objext conftest
$ac_exeext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35537 (eval $ac_link) 2>conftest.er1
35539 grep -v '^ *+' conftest.er1
>conftest.err
35541 cat conftest.err
>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35546 (eval $ac_try) 2>&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); }; } &&
35550 { ac_try
='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.
$ac_ext >&5
35561 eval "$as_ac_var=no"
35563 rm -f conftest.err conftest.
$ac_objext \
35564 conftest
$ac_exeext conftest.
$ac_ext
35566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35568 if test `eval echo '${'$as_ac_var'}'` = yes; then
35569 cat >>confdefs.h
<<_ACEOF
35570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35577 echo "$as_me:$LINENO: checking for statfs" >&5
35578 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35579 if test "${wx_cv_func_statfs+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 cat >conftest.
$ac_ext <<_ACEOF
35585 cat confdefs.h
>>conftest.
$ac_ext
35586 cat >>conftest.
$ac_ext <<_ACEOF
35587 /* end confdefs.h. */
35589 #if defined(__BSD__)
35590 #include <sys/param.h>
35591 #include <sys/mount.h>
35593 #include <sys/vfs.h>
35611 rm -f conftest.
$ac_objext
35612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35613 (eval $ac_compile) 2>conftest.er1
35615 grep -v '^ *+' conftest.er1
>conftest.err
35617 cat conftest.err
>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); } &&
35620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; } &&
35626 { ac_try
='test -s conftest.$ac_objext'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 wx_cv_func_statfs
=yes
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.
$ac_ext >&5
35637 wx_cv_func_statfs
=no
35640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35643 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35644 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35646 if test "$wx_cv_func_statfs" = "yes"; then
35647 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35648 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35649 if test "${wx_cv_func_statfs_decl+set}" = set; then
35650 echo $ECHO_N "(cached) $ECHO_C" >&6
35652 cat >conftest.
$ac_ext <<_ACEOF
35655 cat confdefs.h
>>conftest.
$ac_ext
35656 cat >>conftest.
$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35659 #if defined(__BSD__)
35660 #include <sys/param.h>
35661 #include <sys/mount.h>
35663 #include <sys/vfs.h>
35677 rm -f conftest.
$ac_objext
35678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35679 (eval $ac_compile) 2>conftest.er1
35681 grep -v '^ *+' conftest.er1
>conftest.err
35683 cat conftest.err
>&5
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); } &&
35686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; } &&
35692 { ac_try
='test -s conftest.$ac_objext'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; }; then
35698 wx_cv_func_statfs_decl
=yes
35700 echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.
$ac_ext >&5
35703 wx_cv_func_statfs_decl
=no
35706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35709 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35710 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35712 if test "$wx_cv_func_statfs_decl" = "yes"; then
35713 cat >>confdefs.h
<<\_ACEOF
35714 #define HAVE_STATFS_DECL 1
35719 wx_cv_type_statvfs_t
="struct statfs"
35720 cat >>confdefs.h
<<\_ACEOF
35721 #define HAVE_STATFS 1
35725 echo "$as_me:$LINENO: checking for statvfs" >&5
35726 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35727 if test "${wx_cv_func_statvfs+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 cat >conftest.
$ac_ext <<_ACEOF
35733 cat confdefs.h
>>conftest.
$ac_ext
35734 cat >>conftest.
$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35737 #include <stddef.h>
35738 #include <sys/statvfs.h>
35744 statvfs("/", NULL);
35750 rm -f conftest.
$ac_objext
35751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35752 (eval $ac_compile) 2>conftest.er1
35754 grep -v '^ *+' conftest.er1
>conftest.err
35756 cat conftest.err
>&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } &&
35759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761 (eval $ac_try) 2>&5
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); }; } &&
35765 { ac_try
='test -s conftest.$ac_objext'
35766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35767 (eval $ac_try) 2>&5
35769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); }; }; then
35771 wx_cv_func_statvfs
=yes
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.
$ac_ext >&5
35776 wx_cv_func_statvfs
=no
35779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35782 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35783 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35785 if test "$wx_cv_func_statvfs" = "yes"; then
35786 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35787 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35788 if test "${wx_cv_type_statvfs_t+set}" = set; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 cat >conftest.
$ac_ext <<_ACEOF
35794 cat confdefs.h
>>conftest.
$ac_ext
35795 cat >>conftest.
$ac_ext <<_ACEOF
35796 /* end confdefs.h. */
35798 #include <sys/statvfs.h>
35815 rm -f conftest.
$ac_objext
35816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35817 (eval $ac_compile) 2>conftest.er1
35819 grep -v '^ *+' conftest.er1
>conftest.err
35821 cat conftest.err
>&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } &&
35824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; } &&
35830 { ac_try
='test -s conftest.$ac_objext'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; }; then
35836 wx_cv_type_statvfs_t
=statvfs_t
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.
$ac_ext >&5
35842 cat >conftest.
$ac_ext <<_ACEOF
35845 cat confdefs.h
>>conftest.
$ac_ext
35846 cat >>conftest.
$ac_ext <<_ACEOF
35847 /* end confdefs.h. */
35849 #include <sys/statvfs.h>
35866 rm -f conftest.
$ac_objext
35867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35868 (eval $ac_compile) 2>conftest.er1
35870 grep -v '^ *+' conftest.er1
>conftest.err
35872 cat conftest.err
>&5
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); } &&
35875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; } &&
35881 { ac_try
='test -s conftest.$ac_objext'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; }; then
35887 wx_cv_type_statvfs_t
="struct statvfs"
35889 echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.
$ac_ext >&5
35892 wx_cv_type_statvfs_t
="unknown"
35895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35902 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35903 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35905 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35906 cat >>confdefs.h
<<\_ACEOF
35907 #define HAVE_STATVFS 1
35912 wx_cv_type_statvfs_t
="unknown"
35916 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35917 cat >>confdefs.h
<<_ACEOF
35918 #define WX_STATFS_T $wx_cv_type_statvfs_t
35922 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35923 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35926 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35929 for ac_func
in fcntl flock
35931 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35932 echo "$as_me:$LINENO: checking for $ac_func" >&5
35933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35934 if eval "test \"\${$as_ac_var+set}\" = set"; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35937 cat >conftest.
$ac_ext <<_ACEOF
35940 cat confdefs.h
>>conftest.
$ac_ext
35941 cat >>conftest.
$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35945 #define $ac_func innocuous_$ac_func
35947 /* System header to define __stub macros and hopefully few prototypes,
35948 which can conflict with char $ac_func (); below.
35949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35950 <limits.h> exists even on freestanding compilers. */
35953 # include <limits.h>
35955 # include <assert.h>
35960 /* Override any gcc2 internal prototype to avoid an error. */
35965 /* We use char because int might match the return type of a gcc2
35966 builtin and then its argument prototype would still apply. */
35968 /* The GNU C library defines this for functions which it implements
35969 to always fail with ENOSYS. Some functions are actually named
35970 something starting with __ and the normal name is an alias. */
35971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35974 char (*f) () = $ac_func;
35983 return f != $ac_func;
35988 rm -f conftest.
$ac_objext conftest
$ac_exeext
35989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35990 (eval $ac_link) 2>conftest.er1
35992 grep -v '^ *+' conftest.er1
>conftest.err
35994 cat conftest.err
>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); } &&
35997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; } &&
36003 { ac_try
='test -s conftest$ac_exeext'
36004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36005 (eval $ac_try) 2>&5
36007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36008 (exit $ac_status); }; }; then
36009 eval "$as_ac_var=yes"
36011 echo "$as_me: failed program was:" >&5
36012 sed 's/^/| /' conftest.
$ac_ext >&5
36014 eval "$as_ac_var=no"
36016 rm -f conftest.err conftest.
$ac_objext \
36017 conftest
$ac_exeext conftest.
$ac_ext
36019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36021 if test `eval echo '${'$as_ac_var'}'` = yes; then
36022 cat >>confdefs.h
<<_ACEOF
36023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36030 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36031 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36032 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36033 wxUSE_SNGLINST_CHECKER
=no
36038 for ac_func
in timegm
36040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36041 echo "$as_me:$LINENO: checking for $ac_func" >&5
36042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36043 if eval "test \"\${$as_ac_var+set}\" = set"; then
36044 echo $ECHO_N "(cached) $ECHO_C" >&6
36046 cat >conftest.
$ac_ext <<_ACEOF
36049 cat confdefs.h
>>conftest.
$ac_ext
36050 cat >>conftest.
$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36054 #define $ac_func innocuous_$ac_func
36056 /* System header to define __stub macros and hopefully few prototypes,
36057 which can conflict with char $ac_func (); below.
36058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36059 <limits.h> exists even on freestanding compilers. */
36062 # include <limits.h>
36064 # include <assert.h>
36069 /* Override any gcc2 internal prototype to avoid an error. */
36074 /* We use char because int might match the return type of a gcc2
36075 builtin and then its argument prototype would still apply. */
36077 /* The GNU C library defines this for functions which it implements
36078 to always fail with ENOSYS. Some functions are actually named
36079 something starting with __ and the normal name is an alias. */
36080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36083 char (*f) () = $ac_func;
36092 return f != $ac_func;
36097 rm -f conftest.
$ac_objext conftest
$ac_exeext
36098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36099 (eval $ac_link) 2>conftest.er1
36101 grep -v '^ *+' conftest.er1
>conftest.err
36103 cat conftest.err
>&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } &&
36106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36108 (eval $ac_try) 2>&5
36110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111 (exit $ac_status); }; } &&
36112 { ac_try
='test -s conftest$ac_exeext'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; }; then
36118 eval "$as_ac_var=yes"
36120 echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.
$ac_ext >&5
36123 eval "$as_ac_var=no"
36125 rm -f conftest.err conftest.
$ac_objext \
36126 conftest
$ac_exeext conftest.
$ac_ext
36128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36130 if test `eval echo '${'$as_ac_var'}'` = yes; then
36131 cat >>confdefs.h
<<_ACEOF
36132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36141 for ac_func
in putenv setenv
36143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36144 echo "$as_me:$LINENO: checking for $ac_func" >&5
36145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36146 if eval "test \"\${$as_ac_var+set}\" = set"; then
36147 echo $ECHO_N "(cached) $ECHO_C" >&6
36149 cat >conftest.
$ac_ext <<_ACEOF
36152 cat confdefs.h
>>conftest.
$ac_ext
36153 cat >>conftest.
$ac_ext <<_ACEOF
36154 /* end confdefs.h. */
36155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36157 #define $ac_func innocuous_$ac_func
36159 /* System header to define __stub macros and hopefully few prototypes,
36160 which can conflict with char $ac_func (); below.
36161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36162 <limits.h> exists even on freestanding compilers. */
36165 # include <limits.h>
36167 # include <assert.h>
36172 /* Override any gcc2 internal prototype to avoid an error. */
36177 /* We use char because int might match the return type of a gcc2
36178 builtin and then its argument prototype would still apply. */
36180 /* The GNU C library defines this for functions which it implements
36181 to always fail with ENOSYS. Some functions are actually named
36182 something starting with __ and the normal name is an alias. */
36183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36186 char (*f) () = $ac_func;
36195 return f != $ac_func;
36200 rm -f conftest.
$ac_objext conftest
$ac_exeext
36201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36202 (eval $ac_link) 2>conftest.er1
36204 grep -v '^ *+' conftest.er1
>conftest.err
36206 cat conftest.err
>&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); } &&
36209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36211 (eval $ac_try) 2>&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); }; } &&
36215 { ac_try
='test -s conftest$ac_exeext'
36216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36217 (eval $ac_try) 2>&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); }; }; then
36221 eval "$as_ac_var=yes"
36223 echo "$as_me: failed program was:" >&5
36224 sed 's/^/| /' conftest.
$ac_ext >&5
36226 eval "$as_ac_var=no"
36228 rm -f conftest.err conftest.
$ac_objext \
36229 conftest
$ac_exeext conftest.
$ac_ext
36231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36233 if test `eval echo '${'$as_ac_var'}'` = yes; then
36234 cat >>confdefs.h
<<_ACEOF
36235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36242 HAVE_SOME_SLEEP_FUNC
=0
36243 if test "$USE_BEOS" = 1; then
36244 cat >>confdefs.h
<<\_ACEOF
36245 #define HAVE_SLEEP 1
36248 HAVE_SOME_SLEEP_FUNC
=1
36251 if test "$USE_DARWIN" = 1; then
36252 cat >>confdefs.h
<<\_ACEOF
36253 #define HAVE_USLEEP 1
36256 HAVE_SOME_SLEEP_FUNC
=1
36259 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36262 for ac_func
in nanosleep
36264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36265 echo "$as_me:$LINENO: checking for $ac_func" >&5
36266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36267 if eval "test \"\${$as_ac_var+set}\" = set"; then
36268 echo $ECHO_N "(cached) $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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36278 #define $ac_func innocuous_$ac_func
36280 /* System header to define __stub macros and hopefully few prototypes,
36281 which can conflict with char $ac_func (); below.
36282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36283 <limits.h> exists even on freestanding compilers. */
36286 # include <limits.h>
36288 # include <assert.h>
36293 /* Override any gcc2 internal prototype to avoid an error. */
36298 /* We use char because int might match the return type of a gcc2
36299 builtin and then its argument prototype would still apply. */
36301 /* The GNU C library defines this for functions which it implements
36302 to always fail with ENOSYS. Some functions are actually named
36303 something starting with __ and the normal name is an alias. */
36304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36307 char (*f) () = $ac_func;
36316 return f != $ac_func;
36321 rm -f conftest.
$ac_objext conftest
$ac_exeext
36322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36323 (eval $ac_link) 2>conftest.er1
36325 grep -v '^ *+' conftest.er1
>conftest.err
36327 cat conftest.err
>&5
36328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36329 (exit $ac_status); } &&
36330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36332 (eval $ac_try) 2>&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); }; } &&
36336 { ac_try
='test -s conftest$ac_exeext'
36337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36338 (eval $ac_try) 2>&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); }; }; then
36342 eval "$as_ac_var=yes"
36344 echo "$as_me: failed program was:" >&5
36345 sed 's/^/| /' conftest.
$ac_ext >&5
36347 eval "$as_ac_var=no"
36349 rm -f conftest.err conftest.
$ac_objext \
36350 conftest
$ac_exeext conftest.
$ac_ext
36352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36354 if test `eval echo '${'$as_ac_var'}'` = yes; then
36355 cat >>confdefs.h
<<_ACEOF
36356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36358 cat >>confdefs.h
<<\_ACEOF
36359 #define HAVE_NANOSLEEP 1
36364 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36365 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36366 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36367 echo $ECHO_N "(cached) $ECHO_C" >&6
36369 ac_check_lib_save_LIBS
=$LIBS
36370 LIBS
="-lposix4 $LIBS"
36371 cat >conftest.
$ac_ext <<_ACEOF
36374 cat confdefs.h
>>conftest.
$ac_ext
36375 cat >>conftest.
$ac_ext <<_ACEOF
36376 /* end confdefs.h. */
36378 /* Override any gcc2 internal prototype to avoid an error. */
36382 /* We use char because int might match the return type of a gcc2
36383 builtin and then its argument prototype would still apply. */
36393 rm -f conftest.
$ac_objext conftest
$ac_exeext
36394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36395 (eval $ac_link) 2>conftest.er1
36397 grep -v '^ *+' conftest.er1
>conftest.err
36399 cat conftest.err
>&5
36400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401 (exit $ac_status); } &&
36402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36404 (eval $ac_try) 2>&5
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); }; } &&
36408 { ac_try
='test -s conftest$ac_exeext'
36409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36410 (eval $ac_try) 2>&5
36412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36413 (exit $ac_status); }; }; then
36414 ac_cv_lib_posix4_nanosleep
=yes
36416 echo "$as_me: failed program was:" >&5
36417 sed 's/^/| /' conftest.
$ac_ext >&5
36419 ac_cv_lib_posix4_nanosleep
=no
36421 rm -f conftest.err conftest.
$ac_objext \
36422 conftest
$ac_exeext conftest.
$ac_ext
36423 LIBS
=$ac_check_lib_save_LIBS
36425 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36426 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36427 if test $ac_cv_lib_posix4_nanosleep = yes; then
36429 cat >>confdefs.h
<<\_ACEOF
36430 #define HAVE_NANOSLEEP 1
36433 POSIX4_LINK
=" -lposix4"
36438 for ac_func
in usleep
36440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36441 echo "$as_me:$LINENO: checking for $ac_func" >&5
36442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36443 if eval "test \"\${$as_ac_var+set}\" = set"; then
36444 echo $ECHO_N "(cached) $ECHO_C" >&6
36446 cat >conftest.
$ac_ext <<_ACEOF
36449 cat confdefs.h
>>conftest.
$ac_ext
36450 cat >>conftest.
$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36454 #define $ac_func innocuous_$ac_func
36456 /* System header to define __stub macros and hopefully few prototypes,
36457 which can conflict with char $ac_func (); below.
36458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36459 <limits.h> exists even on freestanding compilers. */
36462 # include <limits.h>
36464 # include <assert.h>
36469 /* Override any gcc2 internal prototype to avoid an error. */
36474 /* We use char because int might match the return type of a gcc2
36475 builtin and then its argument prototype would still apply. */
36477 /* The GNU C library defines this for functions which it implements
36478 to always fail with ENOSYS. Some functions are actually named
36479 something starting with __ and the normal name is an alias. */
36480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36483 char (*f) () = $ac_func;
36492 return f != $ac_func;
36497 rm -f conftest.
$ac_objext conftest
$ac_exeext
36498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36499 (eval $ac_link) 2>conftest.er1
36501 grep -v '^ *+' conftest.er1
>conftest.err
36503 cat conftest.err
>&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } &&
36506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36508 (eval $ac_try) 2>&5
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); }; } &&
36512 { ac_try
='test -s conftest$ac_exeext'
36513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514 (eval $ac_try) 2>&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); }; }; then
36518 eval "$as_ac_var=yes"
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.
$ac_ext >&5
36523 eval "$as_ac_var=no"
36525 rm -f conftest.err conftest.
$ac_objext \
36526 conftest
$ac_exeext conftest.
$ac_ext
36528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36530 if test `eval echo '${'$as_ac_var'}'` = yes; then
36531 cat >>confdefs.h
<<_ACEOF
36532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36534 cat >>confdefs.h
<<\_ACEOF
36535 #define HAVE_USLEEP 1
36539 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36540 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36558 for ac_func
in uname gethostname
36560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36561 echo "$as_me:$LINENO: checking for $ac_func" >&5
36562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36563 if eval "test \"\${$as_ac_var+set}\" = set"; then
36564 echo $ECHO_N "(cached) $ECHO_C" >&6
36566 cat >conftest.
$ac_ext <<_ACEOF
36569 cat confdefs.h
>>conftest.
$ac_ext
36570 cat >>conftest.
$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36574 #define $ac_func innocuous_$ac_func
36576 /* System header to define __stub macros and hopefully few prototypes,
36577 which can conflict with char $ac_func (); below.
36578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36579 <limits.h> exists even on freestanding compilers. */
36582 # include <limits.h>
36584 # include <assert.h>
36589 /* Override any gcc2 internal prototype to avoid an error. */
36594 /* We use char because int might match the return type of a gcc2
36595 builtin and then its argument prototype would still apply. */
36597 /* The GNU C library defines this for functions which it implements
36598 to always fail with ENOSYS. Some functions are actually named
36599 something starting with __ and the normal name is an alias. */
36600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36603 char (*f) () = $ac_func;
36612 return f != $ac_func;
36617 rm -f conftest.
$ac_objext conftest
$ac_exeext
36618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36619 (eval $ac_link) 2>conftest.er1
36621 grep -v '^ *+' conftest.er1
>conftest.err
36623 cat conftest.err
>&5
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); } &&
36626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36628 (eval $ac_try) 2>&5
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); }; } &&
36632 { ac_try
='test -s conftest$ac_exeext'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; }; then
36638 eval "$as_ac_var=yes"
36640 echo "$as_me: failed program was:" >&5
36641 sed 's/^/| /' conftest.
$ac_ext >&5
36643 eval "$as_ac_var=no"
36645 rm -f conftest.err conftest.
$ac_objext \
36646 conftest
$ac_exeext conftest.
$ac_ext
36648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36650 if test `eval echo '${'$as_ac_var'}'` = yes; then
36651 cat >>confdefs.h
<<_ACEOF
36652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36660 for ac_func
in strtok_r
36662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36663 echo "$as_me:$LINENO: checking for $ac_func" >&5
36664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36665 if eval "test \"\${$as_ac_var+set}\" = set"; then
36666 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 cat >conftest.
$ac_ext <<_ACEOF
36671 cat confdefs.h
>>conftest.
$ac_ext
36672 cat >>conftest.
$ac_ext <<_ACEOF
36673 /* end confdefs.h. */
36674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36676 #define $ac_func innocuous_$ac_func
36678 /* System header to define __stub macros and hopefully few prototypes,
36679 which can conflict with char $ac_func (); below.
36680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36681 <limits.h> exists even on freestanding compilers. */
36684 # include <limits.h>
36686 # include <assert.h>
36691 /* Override any gcc2 internal prototype to avoid an error. */
36696 /* We use char because int might match the return type of a gcc2
36697 builtin and then its argument prototype would still apply. */
36699 /* The GNU C library defines this for functions which it implements
36700 to always fail with ENOSYS. Some functions are actually named
36701 something starting with __ and the normal name is an alias. */
36702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36705 char (*f) () = $ac_func;
36714 return f != $ac_func;
36719 rm -f conftest.
$ac_objext conftest
$ac_exeext
36720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36721 (eval $ac_link) 2>conftest.er1
36723 grep -v '^ *+' conftest.er1
>conftest.err
36725 cat conftest.err
>&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); } &&
36728 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; } &&
36734 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36740 eval "$as_ac_var=yes"
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.
$ac_ext >&5
36745 eval "$as_ac_var=no"
36747 rm -f conftest.err conftest.
$ac_objext \
36748 conftest
$ac_exeext conftest.
$ac_ext
36750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36752 if test `eval echo '${'$as_ac_var'}'` = yes; then
36753 cat >>confdefs.h
<<_ACEOF
36754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36763 for ac_func
in inet_addr
36765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36766 echo "$as_me:$LINENO: checking for $ac_func" >&5
36767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36768 if eval "test \"\${$as_ac_var+set}\" = set"; then
36769 echo $ECHO_N "(cached) $ECHO_C" >&6
36771 cat >conftest.
$ac_ext <<_ACEOF
36774 cat confdefs.h
>>conftest.
$ac_ext
36775 cat >>conftest.
$ac_ext <<_ACEOF
36776 /* end confdefs.h. */
36777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36779 #define $ac_func innocuous_$ac_func
36781 /* System header to define __stub macros and hopefully few prototypes,
36782 which can conflict with char $ac_func (); below.
36783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36784 <limits.h> exists even on freestanding compilers. */
36787 # include <limits.h>
36789 # include <assert.h>
36794 /* Override any gcc2 internal prototype to avoid an error. */
36799 /* We use char because int might match the return type of a gcc2
36800 builtin and then its argument prototype would still apply. */
36802 /* The GNU C library defines this for functions which it implements
36803 to always fail with ENOSYS. Some functions are actually named
36804 something starting with __ and the normal name is an alias. */
36805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36808 char (*f) () = $ac_func;
36817 return f != $ac_func;
36822 rm -f conftest.
$ac_objext conftest
$ac_exeext
36823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36824 (eval $ac_link) 2>conftest.er1
36826 grep -v '^ *+' conftest.er1
>conftest.err
36828 cat conftest.err
>&5
36829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36830 (exit $ac_status); } &&
36831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36833 (eval $ac_try) 2>&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); }; } &&
36837 { ac_try
='test -s conftest$ac_exeext'
36838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36839 (eval $ac_try) 2>&5
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); }; }; then
36843 eval "$as_ac_var=yes"
36845 echo "$as_me: failed program was:" >&5
36846 sed 's/^/| /' conftest.
$ac_ext >&5
36848 eval "$as_ac_var=no"
36850 rm -f conftest.err conftest.
$ac_objext \
36851 conftest
$ac_exeext conftest.
$ac_ext
36853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36855 if test `eval echo '${'$as_ac_var'}'` = yes; then
36856 cat >>confdefs.h
<<_ACEOF
36857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36859 cat >>confdefs.h
<<\_ACEOF
36860 #define HAVE_INET_ADDR 1
36865 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36866 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36867 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36868 echo $ECHO_N "(cached) $ECHO_C" >&6
36870 ac_check_lib_save_LIBS
=$LIBS
36872 cat >conftest.
$ac_ext <<_ACEOF
36875 cat confdefs.h
>>conftest.
$ac_ext
36876 cat >>conftest.
$ac_ext <<_ACEOF
36877 /* end confdefs.h. */
36879 /* Override any gcc2 internal prototype to avoid an error. */
36883 /* We use char because int might match the return type of a gcc2
36884 builtin and then its argument prototype would still apply. */
36894 rm -f conftest.
$ac_objext conftest
$ac_exeext
36895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36896 (eval $ac_link) 2>conftest.er1
36898 grep -v '^ *+' conftest.er1
>conftest.err
36900 cat conftest.err
>&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } &&
36903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905 (eval $ac_try) 2>&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); }; } &&
36909 { ac_try
='test -s conftest$ac_exeext'
36910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36911 (eval $ac_try) 2>&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); }; }; then
36915 ac_cv_lib_nsl_inet_addr
=yes
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.
$ac_ext >&5
36920 ac_cv_lib_nsl_inet_addr
=no
36922 rm -f conftest.err conftest.
$ac_objext \
36923 conftest
$ac_exeext conftest.
$ac_ext
36924 LIBS
=$ac_check_lib_save_LIBS
36926 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36927 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36928 if test $ac_cv_lib_nsl_inet_addr = yes; then
36932 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36933 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36934 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36935 echo $ECHO_N "(cached) $ECHO_C" >&6
36937 ac_check_lib_save_LIBS
=$LIBS
36938 LIBS
="-lresolv $LIBS"
36939 cat >conftest.
$ac_ext <<_ACEOF
36942 cat confdefs.h
>>conftest.
$ac_ext
36943 cat >>conftest.
$ac_ext <<_ACEOF
36944 /* end confdefs.h. */
36946 /* Override any gcc2 internal prototype to avoid an error. */
36950 /* We use char because int might match the return type of a gcc2
36951 builtin and then its argument prototype would still apply. */
36961 rm -f conftest.
$ac_objext conftest
$ac_exeext
36962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36963 (eval $ac_link) 2>conftest.er1
36965 grep -v '^ *+' conftest.er1
>conftest.err
36967 cat conftest.err
>&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } &&
36970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36972 (eval $ac_try) 2>&5
36974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975 (exit $ac_status); }; } &&
36976 { ac_try
='test -s conftest$ac_exeext'
36977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36978 (eval $ac_try) 2>&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); }; }; then
36982 ac_cv_lib_resolv_inet_addr
=yes
36984 echo "$as_me: failed program was:" >&5
36985 sed 's/^/| /' conftest.
$ac_ext >&5
36987 ac_cv_lib_resolv_inet_addr
=no
36989 rm -f conftest.err conftest.
$ac_objext \
36990 conftest
$ac_exeext conftest.
$ac_ext
36991 LIBS
=$ac_check_lib_save_LIBS
36993 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36994 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36995 if test $ac_cv_lib_resolv_inet_addr = yes; then
36999 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37000 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37001 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 ac_check_lib_save_LIBS
=$LIBS
37005 LIBS
="-lsocket $LIBS"
37006 cat >conftest.
$ac_ext <<_ACEOF
37009 cat confdefs.h
>>conftest.
$ac_ext
37010 cat >>conftest.
$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37013 /* Override any gcc2 internal prototype to avoid an error. */
37017 /* We use char because int might match the return type of a gcc2
37018 builtin and then its argument prototype would still apply. */
37028 rm -f conftest.
$ac_objext conftest
$ac_exeext
37029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37030 (eval $ac_link) 2>conftest.er1
37032 grep -v '^ *+' conftest.er1
>conftest.err
37034 cat conftest.err
>&5
37035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37036 (exit $ac_status); } &&
37037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37039 (eval $ac_try) 2>&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); }; } &&
37043 { ac_try
='test -s conftest$ac_exeext'
37044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045 (eval $ac_try) 2>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; }; then
37049 ac_cv_lib_socket_inet_addr
=yes
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.
$ac_ext >&5
37054 ac_cv_lib_socket_inet_addr
=no
37056 rm -f conftest.err conftest.
$ac_objext \
37057 conftest
$ac_exeext conftest.
$ac_ext
37058 LIBS
=$ac_check_lib_save_LIBS
37060 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37061 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37062 if test $ac_cv_lib_socket_inet_addr = yes; then
37082 for ac_func
in inet_aton
37084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37085 echo "$as_me:$LINENO: checking for $ac_func" >&5
37086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37087 if eval "test \"\${$as_ac_var+set}\" = set"; then
37088 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 cat >conftest.
$ac_ext <<_ACEOF
37093 cat confdefs.h
>>conftest.
$ac_ext
37094 cat >>conftest.
$ac_ext <<_ACEOF
37095 /* end confdefs.h. */
37096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37098 #define $ac_func innocuous_$ac_func
37100 /* System header to define __stub macros and hopefully few prototypes,
37101 which can conflict with char $ac_func (); below.
37102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37103 <limits.h> exists even on freestanding compilers. */
37106 # include <limits.h>
37108 # include <assert.h>
37113 /* Override any gcc2 internal prototype to avoid an error. */
37118 /* We use char because int might match the return type of a gcc2
37119 builtin and then its argument prototype would still apply. */
37121 /* The GNU C library defines this for functions which it implements
37122 to always fail with ENOSYS. Some functions are actually named
37123 something starting with __ and the normal name is an alias. */
37124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37127 char (*f) () = $ac_func;
37136 return f != $ac_func;
37141 rm -f conftest.
$ac_objext conftest
$ac_exeext
37142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37143 (eval $ac_link) 2>conftest.er1
37145 grep -v '^ *+' conftest.er1
>conftest.err
37147 cat conftest.err
>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } &&
37150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37152 (eval $ac_try) 2>&5
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); }; } &&
37156 { ac_try
='test -s conftest$ac_exeext'
37157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37158 (eval $ac_try) 2>&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); }; }; then
37162 eval "$as_ac_var=yes"
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.
$ac_ext >&5
37167 eval "$as_ac_var=no"
37169 rm -f conftest.err conftest.
$ac_objext \
37170 conftest
$ac_exeext conftest.
$ac_ext
37172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37174 if test `eval echo '${'$as_ac_var'}'` = yes; then
37175 cat >>confdefs.h
<<_ACEOF
37176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37178 cat >>confdefs.h
<<\_ACEOF
37179 #define HAVE_INET_ATON 1
37184 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37185 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37186 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37187 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37188 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 ac_check_lib_save_LIBS
=$LIBS
37191 LIBS
="-l$INET_LINK $LIBS"
37192 cat >conftest.
$ac_ext <<_ACEOF
37195 cat confdefs.h
>>conftest.
$ac_ext
37196 cat >>conftest.
$ac_ext <<_ACEOF
37197 /* end confdefs.h. */
37199 /* Override any gcc2 internal prototype to avoid an error. */
37203 /* We use char because int might match the return type of a gcc2
37204 builtin and then its argument prototype would still apply. */
37214 rm -f conftest.
$ac_objext conftest
$ac_exeext
37215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37216 (eval $ac_link) 2>conftest.er1
37218 grep -v '^ *+' conftest.er1
>conftest.err
37220 cat conftest.err
>&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } &&
37223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37225 (eval $ac_try) 2>&5
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); }; } &&
37229 { ac_try
='test -s conftest$ac_exeext'
37230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37231 (eval $ac_try) 2>&5
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); }; }; then
37235 eval "$as_ac_Lib=yes"
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.
$ac_ext >&5
37240 eval "$as_ac_Lib=no"
37242 rm -f conftest.err conftest.
$ac_objext \
37243 conftest
$ac_exeext conftest.
$ac_ext
37244 LIBS
=$ac_check_lib_save_LIBS
37246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37247 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37248 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37249 cat >>confdefs.h
<<\_ACEOF
37250 #define HAVE_INET_ATON 1
37260 if test "x$INET_LINK" != "x"; then
37261 cat >>confdefs.h
<<\_ACEOF
37262 #define HAVE_INET_ADDR 1
37265 INET_LINK
=" -l$INET_LINK"
37273 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37274 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37275 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37276 echo $ECHO_N "(cached) $ECHO_C" >&6
37278 ac_check_lib_save_LIBS
=$LIBS
37280 cat >conftest.
$ac_ext <<_ACEOF
37283 cat confdefs.h
>>conftest.
$ac_ext
37284 cat >>conftest.
$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37287 /* Override any gcc2 internal prototype to avoid an error. */
37291 /* We use char because int might match the return type of a gcc2
37292 builtin and then its argument prototype would still apply. */
37302 rm -f conftest.
$ac_objext conftest
$ac_exeext
37303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37304 (eval $ac_link) 2>conftest.er1
37306 grep -v '^ *+' conftest.er1
>conftest.err
37308 cat conftest.err
>&5
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); } &&
37311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37313 (eval $ac_try) 2>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); }; } &&
37317 { ac_try
='test -s conftest$ac_exeext'
37318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37319 (eval $ac_try) 2>&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); }; }; then
37323 ac_cv_lib_esd_esd_close
=yes
37325 echo "$as_me: failed program was:" >&5
37326 sed 's/^/| /' conftest.
$ac_ext >&5
37328 ac_cv_lib_esd_esd_close
=no
37330 rm -f conftest.err conftest.
$ac_objext \
37331 conftest
$ac_exeext conftest.
$ac_ext
37332 LIBS
=$ac_check_lib_save_LIBS
37334 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37335 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37336 if test $ac_cv_lib_esd_esd_close = yes; then
37339 for ac_header
in esd.h
37341 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37343 echo "$as_me:$LINENO: checking for $ac_header" >&5
37344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37346 echo $ECHO_N "(cached) $ECHO_C" >&6
37348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37351 # Is the header compilable?
37352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37354 cat >conftest.
$ac_ext <<_ACEOF
37357 cat confdefs.h
>>conftest.
$ac_ext
37358 cat >>conftest.
$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37360 $ac_includes_default
37361 #include <$ac_header>
37363 rm -f conftest.
$ac_objext
37364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37365 (eval $ac_compile) 2>conftest.er1
37367 grep -v '^ *+' conftest.er1
>conftest.err
37369 cat conftest.err
>&5
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); } &&
37372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37374 (eval $ac_try) 2>&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); }; } &&
37378 { ac_try
='test -s conftest.$ac_objext'
37379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37380 (eval $ac_try) 2>&5
37382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383 (exit $ac_status); }; }; then
37384 ac_header_compiler
=yes
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.
$ac_ext >&5
37389 ac_header_compiler
=no
37391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37393 echo "${ECHO_T}$ac_header_compiler" >&6
37395 # Is the header present?
37396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37398 cat >conftest.
$ac_ext <<_ACEOF
37401 cat confdefs.h
>>conftest.
$ac_ext
37402 cat >>conftest.
$ac_ext <<_ACEOF
37403 /* end confdefs.h. */
37404 #include <$ac_header>
37406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37409 grep -v '^ *+' conftest.er1
>conftest.err
37411 cat conftest.err
>&5
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); } >/dev
/null
; then
37414 if test -s conftest.err
; then
37415 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37416 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37423 if test -z "$ac_cpp_err"; then
37424 ac_header_preproc
=yes
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.
$ac_ext >&5
37429 ac_header_preproc
=no
37431 rm -f conftest.err conftest.
$ac_ext
37432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37433 echo "${ECHO_T}$ac_header_preproc" >&6
37435 # So? What about this header?
37436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37442 ac_header_preproc
=yes
37445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37459 ## ----------------------------------------- ##
37460 ## Report this to wx-dev@lists.wxwidgets.org ##
37461 ## ----------------------------------------- ##
37464 sed "s/^/$as_me: WARNING: /" >&2
37467 echo "$as_me:$LINENO: checking for $ac_header" >&5
37468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37472 eval "$as_ac_Header=\$ac_header_preproc"
37474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37479 cat >>confdefs.h
<<_ACEOF
37480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37483 EXTRALIBS_ESD
="-lesd"
37494 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37495 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37496 cat >conftest.
$ac_ext <<_ACEOF
37499 cat confdefs.h
>>conftest.
$ac_ext
37500 cat >>conftest.
$ac_ext <<_ACEOF
37501 /* end confdefs.h. */
37503 #include <linux/cdrom.h>
37506 #include <sys/cdio.h>
37512 struct cdrom_tocentry entry, old_entry;
37517 rm -f conftest.
$ac_objext
37518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37519 (eval $ac_compile) 2>conftest.er1
37521 grep -v '^ *+' conftest.er1
>conftest.err
37523 cat conftest.err
>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } &&
37526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; } &&
37532 { ac_try
='test -s conftest.$ac_objext'
37533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534 (eval $ac_try) 2>&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); }; }; then
37538 echo "$as_me:$LINENO: result: yes" >&5
37539 echo "${ECHO_T}yes" >&6
37540 cat >>confdefs.h
<<\_ACEOF
37541 #define HAVE_KNOWN_CDROM_INTERFACE 1
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.
$ac_ext >&5
37548 echo "$as_me:$LINENO: result: no" >&5
37549 echo "${ECHO_T}no" >&6
37551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37554 cat >confcache
<<\_ACEOF
37555 # This file is a shell script that caches the results of configure
37556 # tests run on this system so they can be shared between configure
37557 # scripts and configure runs, see configure's option --config-cache.
37558 # It is not useful on other systems. If it contains results you don't
37559 # want to keep, you may remove or edit it.
37561 # config.status only pays attention to the cache file if you give it
37562 # the --recheck option to rerun configure.
37564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37566 # following values.
37570 # The following way of writing the cache mishandles newlines in values,
37571 # but we know of no workaround that is simple, portable, and efficient.
37572 # So, don't put newlines in cache variables' values.
37573 # Ultrix sh set writes to stderr and can't be redirected directly,
37574 # and sets the high bit in the cache file unless we assign to the vars.
37577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37579 # `set' does not quote correctly, so add quotes (double-quote
37580 # substitution turns \\\\ into \\, and sed turns \\ into \).
37583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37586 # `set' quotes correctly as required by POSIX, so do not add quotes.
37588 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37597 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37599 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37600 if test -w $cache_file; then
37601 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37602 cat confcache
>$cache_file
37604 echo "not updating unwritable cache $cache_file"
37610 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37616 if test "$wxUSE_THREADS" = "yes" ; then
37617 if test "$USE_BEOS" = 1; then
37618 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37619 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37624 if test "$wxUSE_THREADS" = "yes" ; then
37627 THREAD_OPTS
="-pthread"
37629 *-*-solaris2* | *-*-sunos4* )
37630 if test "x$GCC" = "xyes"; then
37631 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37633 THREAD_OPTS
="-mt $THREAD_OPTS"
37637 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37639 *-*-darwin* | *-*-cygwin* )
37643 THREAD_OPTS
="pthreads"
37646 if test "x$GCC" = "xyes"; then
37647 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37655 if test "x$GCC" = "xyes"; then
37661 if test "x$GCC" != "xyes"; then
37662 THREAD_OPTS
="-Ethread"
37667 THREAD_OPTS
="$THREAD_OPTS pthread none"
37670 for flag
in $THREAD_OPTS; do
37673 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37674 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37678 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37679 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37680 THREADS_CXXFLAGS
="$flag"
37684 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37685 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37686 THREADS_LINK
="-l$flag"
37691 save_CXXFLAGS
="$CXXFLAGS"
37692 LIBS
="$THREADS_LINK $LIBS"
37693 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37695 cat >conftest.
$ac_ext <<_ACEOF
37698 cat confdefs.h
>>conftest.
$ac_ext
37699 cat >>conftest.
$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37701 #include <pthread.h>
37705 pthread_create(0,0,0,0);
37710 rm -f conftest.
$ac_objext conftest
$ac_exeext
37711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37712 (eval $ac_link) 2>conftest.er1
37714 grep -v '^ *+' conftest.er1
>conftest.err
37716 cat conftest.err
>&5
37717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37718 (exit $ac_status); } &&
37719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37721 (eval $ac_try) 2>&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); }; } &&
37725 { ac_try
='test -s conftest$ac_exeext'
37726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727 (eval $ac_try) 2>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); }; }; then
37733 echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.
$ac_ext >&5
37737 rm -f conftest.err conftest.
$ac_objext \
37738 conftest
$ac_exeext conftest.
$ac_ext
37741 CXXFLAGS
="$save_CXXFLAGS"
37743 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37744 echo "${ECHO_T}$THREADS_OK" >&6
37745 if test "x$THREADS_OK" = "xyes"; then
37750 THREADS_CXXFLAGS
=""
37753 if test "x$THREADS_OK" != "xyes"; then
37755 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37756 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37758 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37759 LIBS
="$THREADS_LINK $LIBS"
37761 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37762 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37766 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37767 flag
="-D_THREAD_SAFE"
37770 flag
="-D_THREAD_SAFE"
37773 flag
="-D_REENTRANT"
37774 if test "x$GCC" != "xyes"; then
37775 flag
="$flag -D_RWSTD_MULTI_THREAD"
37778 *solaris
* | alpha
*-osf*)
37779 flag
="-D_REENTRANT"
37782 echo "$as_me:$LINENO: result: ${flag}" >&5
37783 echo "${ECHO_T}${flag}" >&6
37784 if test "x$flag" != xno
; then
37785 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37788 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37792 if test "$wxUSE_THREADS" = "yes" ; then
37794 for ac_func
in thr_setconcurrency
37796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37797 echo "$as_me:$LINENO: checking for $ac_func" >&5
37798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37799 if eval "test \"\${$as_ac_var+set}\" = set"; then
37800 echo $ECHO_N "(cached) $ECHO_C" >&6
37802 cat >conftest.
$ac_ext <<_ACEOF
37805 cat confdefs.h
>>conftest.
$ac_ext
37806 cat >>conftest.
$ac_ext <<_ACEOF
37807 /* end confdefs.h. */
37808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37810 #define $ac_func innocuous_$ac_func
37812 /* System header to define __stub macros and hopefully few prototypes,
37813 which can conflict with char $ac_func (); below.
37814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37815 <limits.h> exists even on freestanding compilers. */
37818 # include <limits.h>
37820 # include <assert.h>
37825 /* Override any gcc2 internal prototype to avoid an error. */
37830 /* We use char because int might match the return type of a gcc2
37831 builtin and then its argument prototype would still apply. */
37833 /* The GNU C library defines this for functions which it implements
37834 to always fail with ENOSYS. Some functions are actually named
37835 something starting with __ and the normal name is an alias. */
37836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37839 char (*f) () = $ac_func;
37848 return f != $ac_func;
37853 rm -f conftest.
$ac_objext conftest
$ac_exeext
37854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37855 (eval $ac_link) 2>conftest.er1
37857 grep -v '^ *+' conftest.er1
>conftest.err
37859 cat conftest.err
>&5
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); } &&
37862 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37864 (eval $ac_try) 2>&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; } &&
37868 { ac_try
='test -s conftest$ac_exeext'
37869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37870 (eval $ac_try) 2>&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); }; }; then
37874 eval "$as_ac_var=yes"
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.
$ac_ext >&5
37879 eval "$as_ac_var=no"
37881 rm -f conftest.err conftest.
$ac_objext \
37882 conftest
$ac_exeext conftest.
$ac_ext
37884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37886 if test `eval echo '${'$as_ac_var'}'` = yes; then
37887 cat >>confdefs.h
<<_ACEOF
37888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37895 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37896 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37897 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37898 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 cat >conftest.
$ac_ext <<_ACEOF
37904 cat confdefs.h
>>conftest.
$ac_ext
37905 cat >>conftest.
$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37907 #include <pthread.h>
37908 void ThreadCleanupFunc(void *p);
37915 pthread_cleanup_push(ThreadCleanupFunc, p);
37916 pthread_cleanup_pop(0);
37922 rm -f conftest.
$ac_objext
37923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37924 (eval $ac_compile) 2>conftest.er1
37926 grep -v '^ *+' conftest.er1
>conftest.err
37928 cat conftest.err
>&5
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); } &&
37931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; } &&
37937 { ac_try
='test -s conftest.$ac_objext'
37938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37939 (eval $ac_try) 2>&5
37941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); }; }; then
37944 wx_cv_func_pthread_cleanup
=yes
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.
$ac_ext >&5
37951 wx_cv_func_pthread_cleanup
=no
37955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37958 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37959 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37960 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37961 cat >>confdefs.h
<<\_ACEOF
37962 #define wxHAVE_PTHREAD_CLEANUP 1
37968 for ac_header
in sched.h
37970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37972 echo "$as_me:$LINENO: checking for $ac_header" >&5
37973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37975 echo $ECHO_N "(cached) $ECHO_C" >&6
37977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37980 # Is the header compilable?
37981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37983 cat >conftest.
$ac_ext <<_ACEOF
37986 cat confdefs.h
>>conftest.
$ac_ext
37987 cat >>conftest.
$ac_ext <<_ACEOF
37988 /* end confdefs.h. */
37989 $ac_includes_default
37990 #include <$ac_header>
37992 rm -f conftest.
$ac_objext
37993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37994 (eval $ac_compile) 2>conftest.er1
37996 grep -v '^ *+' conftest.er1
>conftest.err
37998 cat conftest.err
>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } &&
38001 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; } &&
38007 { ac_try
='test -s conftest.$ac_objext'
38008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38009 (eval $ac_try) 2>&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); }; }; then
38013 ac_header_compiler
=yes
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.
$ac_ext >&5
38018 ac_header_compiler
=no
38020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38022 echo "${ECHO_T}$ac_header_compiler" >&6
38024 # Is the header present?
38025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38027 cat >conftest.
$ac_ext <<_ACEOF
38030 cat confdefs.h
>>conftest.
$ac_ext
38031 cat >>conftest.
$ac_ext <<_ACEOF
38032 /* end confdefs.h. */
38033 #include <$ac_header>
38035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38038 grep -v '^ *+' conftest.er1
>conftest.err
38040 cat conftest.err
>&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } >/dev
/null
; then
38043 if test -s conftest.err
; then
38044 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38045 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38052 if test -z "$ac_cpp_err"; then
38053 ac_header_preproc
=yes
38055 echo "$as_me: failed program was:" >&5
38056 sed 's/^/| /' conftest.
$ac_ext >&5
38058 ac_header_preproc
=no
38060 rm -f conftest.err conftest.
$ac_ext
38061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38062 echo "${ECHO_T}$ac_header_preproc" >&6
38064 # So? What about this header?
38065 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38071 ac_header_preproc
=yes
38074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38088 ## ----------------------------------------- ##
38089 ## Report this to wx-dev@lists.wxwidgets.org ##
38090 ## ----------------------------------------- ##
38093 sed "s/^/$as_me: WARNING: /" >&2
38096 echo "$as_me:$LINENO: checking for $ac_header" >&5
38097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38099 echo $ECHO_N "(cached) $ECHO_C" >&6
38101 eval "$as_ac_Header=\$ac_header_preproc"
38103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38108 cat >>confdefs.h
<<_ACEOF
38109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38116 if test "$ac_cv_header_sched_h" = "yes"; then
38117 echo "$as_me:$LINENO: checking for sched_yield" >&5
38118 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38119 if test "${ac_cv_func_sched_yield+set}" = set; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 cat >conftest.
$ac_ext <<_ACEOF
38125 cat confdefs.h
>>conftest.
$ac_ext
38126 cat >>conftest.
$ac_ext <<_ACEOF
38127 /* end confdefs.h. */
38128 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38130 #define sched_yield innocuous_sched_yield
38132 /* System header to define __stub macros and hopefully few prototypes,
38133 which can conflict with char sched_yield (); below.
38134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38135 <limits.h> exists even on freestanding compilers. */
38138 # include <limits.h>
38140 # include <assert.h>
38145 /* Override any gcc2 internal prototype to avoid an error. */
38150 /* We use char because int might match the return type of a gcc2
38151 builtin and then its argument prototype would still apply. */
38152 char sched_yield ();
38153 /* The GNU C library defines this for functions which it implements
38154 to always fail with ENOSYS. Some functions are actually named
38155 something starting with __ and the normal name is an alias. */
38156 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38159 char (*f) () = sched_yield;
38168 return f != sched_yield;
38173 rm -f conftest.
$ac_objext conftest
$ac_exeext
38174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38175 (eval $ac_link) 2>conftest.er1
38177 grep -v '^ *+' conftest.er1
>conftest.err
38179 cat conftest.err
>&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } &&
38182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; } &&
38188 { ac_try
='test -s conftest$ac_exeext'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; }; then
38194 ac_cv_func_sched_yield
=yes
38196 echo "$as_me: failed program was:" >&5
38197 sed 's/^/| /' conftest.
$ac_ext >&5
38199 ac_cv_func_sched_yield
=no
38201 rm -f conftest.err conftest.
$ac_objext \
38202 conftest
$ac_exeext conftest.
$ac_ext
38204 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38205 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38206 if test $ac_cv_func_sched_yield = yes; then
38207 cat >>confdefs.h
<<\_ACEOF
38208 #define HAVE_SCHED_YIELD 1
38213 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38214 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38215 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38216 echo $ECHO_N "(cached) $ECHO_C" >&6
38218 ac_check_lib_save_LIBS
=$LIBS
38219 LIBS
="-lposix4 $LIBS"
38220 cat >conftest.
$ac_ext <<_ACEOF
38223 cat confdefs.h
>>conftest.
$ac_ext
38224 cat >>conftest.
$ac_ext <<_ACEOF
38225 /* end confdefs.h. */
38227 /* Override any gcc2 internal prototype to avoid an error. */
38231 /* We use char because int might match the return type of a gcc2
38232 builtin and then its argument prototype would still apply. */
38233 char sched_yield ();
38242 rm -f conftest.
$ac_objext conftest
$ac_exeext
38243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38244 (eval $ac_link) 2>conftest.er1
38246 grep -v '^ *+' conftest.er1
>conftest.err
38248 cat conftest.err
>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); } &&
38251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38253 (eval $ac_try) 2>&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); }; } &&
38257 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38263 ac_cv_lib_posix4_sched_yield
=yes
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.
$ac_ext >&5
38268 ac_cv_lib_posix4_sched_yield
=no
38270 rm -f conftest.err conftest.
$ac_objext \
38271 conftest
$ac_exeext conftest.
$ac_ext
38272 LIBS
=$ac_check_lib_save_LIBS
38274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38275 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38276 if test $ac_cv_lib_posix4_sched_yield = yes; then
38277 cat >>confdefs.h
<<\_ACEOF
38278 #define HAVE_SCHED_YIELD 1
38280 POSIX4_LINK
=" -lposix4"
38282 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38283 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38294 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38295 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38296 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38299 cat >conftest.
$ac_ext <<_ACEOF
38302 cat confdefs.h
>>conftest.
$ac_ext
38303 cat >>conftest.
$ac_ext <<_ACEOF
38304 /* end confdefs.h. */
38305 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38307 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38309 /* System header to define __stub macros and hopefully few prototypes,
38310 which can conflict with char pthread_attr_getschedpolicy (); below.
38311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38312 <limits.h> exists even on freestanding compilers. */
38315 # include <limits.h>
38317 # include <assert.h>
38320 #undef pthread_attr_getschedpolicy
38322 /* Override any gcc2 internal prototype to avoid an error. */
38327 /* We use char because int might match the return type of a gcc2
38328 builtin and then its argument prototype would still apply. */
38329 char pthread_attr_getschedpolicy ();
38330 /* The GNU C library defines this for functions which it implements
38331 to always fail with ENOSYS. Some functions are actually named
38332 something starting with __ and the normal name is an alias. */
38333 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38336 char (*f) () = pthread_attr_getschedpolicy;
38345 return f != pthread_attr_getschedpolicy;
38350 rm -f conftest.
$ac_objext conftest
$ac_exeext
38351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38352 (eval $ac_link) 2>conftest.er1
38354 grep -v '^ *+' conftest.er1
>conftest.err
38356 cat conftest.err
>&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } &&
38359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38361 (eval $ac_try) 2>&5
38363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38364 (exit $ac_status); }; } &&
38365 { ac_try
='test -s conftest$ac_exeext'
38366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38367 (eval $ac_try) 2>&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); }; }; then
38371 ac_cv_func_pthread_attr_getschedpolicy
=yes
38373 echo "$as_me: failed program was:" >&5
38374 sed 's/^/| /' conftest.
$ac_ext >&5
38376 ac_cv_func_pthread_attr_getschedpolicy
=no
38378 rm -f conftest.err conftest.
$ac_objext \
38379 conftest
$ac_exeext conftest.
$ac_ext
38381 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38382 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38383 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38384 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38385 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38386 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 cat >conftest.
$ac_ext <<_ACEOF
38392 cat confdefs.h
>>conftest.
$ac_ext
38393 cat >>conftest.
$ac_ext <<_ACEOF
38394 /* end confdefs.h. */
38395 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38397 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38399 /* System header to define __stub macros and hopefully few prototypes,
38400 which can conflict with char pthread_attr_setschedparam (); below.
38401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38402 <limits.h> exists even on freestanding compilers. */
38405 # include <limits.h>
38407 # include <assert.h>
38410 #undef pthread_attr_setschedparam
38412 /* Override any gcc2 internal prototype to avoid an error. */
38417 /* We use char because int might match the return type of a gcc2
38418 builtin and then its argument prototype would still apply. */
38419 char pthread_attr_setschedparam ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38426 char (*f) () = pthread_attr_setschedparam;
38435 return f != pthread_attr_setschedparam;
38440 rm -f conftest.
$ac_objext conftest
$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>conftest.er1
38444 grep -v '^ *+' conftest.er1
>conftest.err
38446 cat conftest.err
>&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } &&
38449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451 (eval $ac_try) 2>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); }; } &&
38455 { ac_try
='test -s conftest$ac_exeext'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; }; then
38461 ac_cv_func_pthread_attr_setschedparam
=yes
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.
$ac_ext >&5
38466 ac_cv_func_pthread_attr_setschedparam
=no
38468 rm -f conftest.err conftest.
$ac_objext \
38469 conftest
$ac_exeext conftest.
$ac_ext
38471 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38472 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38473 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38474 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38475 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38476 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38477 echo $ECHO_N "(cached) $ECHO_C" >&6
38479 cat >conftest.
$ac_ext <<_ACEOF
38482 cat confdefs.h
>>conftest.
$ac_ext
38483 cat >>conftest.
$ac_ext <<_ACEOF
38484 /* end confdefs.h. */
38485 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38487 #define sched_get_priority_max innocuous_sched_get_priority_max
38489 /* System header to define __stub macros and hopefully few prototypes,
38490 which can conflict with char sched_get_priority_max (); below.
38491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38492 <limits.h> exists even on freestanding compilers. */
38495 # include <limits.h>
38497 # include <assert.h>
38500 #undef sched_get_priority_max
38502 /* Override any gcc2 internal prototype to avoid an error. */
38507 /* We use char because int might match the return type of a gcc2
38508 builtin and then its argument prototype would still apply. */
38509 char sched_get_priority_max ();
38510 /* The GNU C library defines this for functions which it implements
38511 to always fail with ENOSYS. Some functions are actually named
38512 something starting with __ and the normal name is an alias. */
38513 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38516 char (*f) () = sched_get_priority_max;
38525 return f != sched_get_priority_max;
38530 rm -f conftest.
$ac_objext conftest
$ac_exeext
38531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38532 (eval $ac_link) 2>conftest.er1
38534 grep -v '^ *+' conftest.er1
>conftest.err
38536 cat conftest.err
>&5
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); } &&
38539 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38541 (eval $ac_try) 2>&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); }; } &&
38545 { ac_try
='test -s conftest$ac_exeext'
38546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547 (eval $ac_try) 2>&5
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); }; }; then
38551 ac_cv_func_sched_get_priority_max
=yes
38553 echo "$as_me: failed program was:" >&5
38554 sed 's/^/| /' conftest.
$ac_ext >&5
38556 ac_cv_func_sched_get_priority_max
=no
38558 rm -f conftest.err conftest.
$ac_objext \
38559 conftest
$ac_exeext conftest.
$ac_ext
38561 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38562 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38563 if test $ac_cv_func_sched_get_priority_max = yes; then
38566 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38567 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38568 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38571 ac_check_lib_save_LIBS
=$LIBS
38572 LIBS
="-lposix4 $LIBS"
38573 cat >conftest.
$ac_ext <<_ACEOF
38576 cat confdefs.h
>>conftest.
$ac_ext
38577 cat >>conftest.
$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38580 /* Override any gcc2 internal prototype to avoid an error. */
38584 /* We use char because int might match the return type of a gcc2
38585 builtin and then its argument prototype would still apply. */
38586 char sched_get_priority_max ();
38590 sched_get_priority_max ();
38595 rm -f conftest.
$ac_objext conftest
$ac_exeext
38596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38597 (eval $ac_link) 2>conftest.er1
38599 grep -v '^ *+' conftest.er1
>conftest.err
38601 cat conftest.err
>&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); } &&
38604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; } &&
38610 { ac_try
='test -s conftest$ac_exeext'
38611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612 (eval $ac_try) 2>&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); }; }; then
38616 ac_cv_lib_posix4_sched_get_priority_max
=yes
38618 echo "$as_me: failed program was:" >&5
38619 sed 's/^/| /' conftest.
$ac_ext >&5
38621 ac_cv_lib_posix4_sched_get_priority_max
=no
38623 rm -f conftest.err conftest.
$ac_objext \
38624 conftest
$ac_exeext conftest.
$ac_ext
38625 LIBS
=$ac_check_lib_save_LIBS
38627 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38628 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38629 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38632 POSIX4_LINK
=" -lposix4"
38646 if test "$HAVE_PRIOR_FUNCS" = 1; then
38647 cat >>confdefs.h
<<\_ACEOF
38648 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38652 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38653 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38656 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38657 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38658 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38659 echo $ECHO_N "(cached) $ECHO_C" >&6
38661 cat >conftest.
$ac_ext <<_ACEOF
38664 cat confdefs.h
>>conftest.
$ac_ext
38665 cat >>conftest.
$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38669 #define pthread_cancel innocuous_pthread_cancel
38671 /* System header to define __stub macros and hopefully few prototypes,
38672 which can conflict with char pthread_cancel (); below.
38673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38674 <limits.h> exists even on freestanding compilers. */
38677 # include <limits.h>
38679 # include <assert.h>
38682 #undef pthread_cancel
38684 /* Override any gcc2 internal prototype to avoid an error. */
38689 /* We use char because int might match the return type of a gcc2
38690 builtin and then its argument prototype would still apply. */
38691 char pthread_cancel ();
38692 /* The GNU C library defines this for functions which it implements
38693 to always fail with ENOSYS. Some functions are actually named
38694 something starting with __ and the normal name is an alias. */
38695 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38698 char (*f) () = pthread_cancel;
38707 return f != pthread_cancel;
38712 rm -f conftest.
$ac_objext conftest
$ac_exeext
38713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38714 (eval $ac_link) 2>conftest.er1
38716 grep -v '^ *+' conftest.er1
>conftest.err
38718 cat conftest.err
>&5
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); } &&
38721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; } &&
38727 { ac_try
='test -s conftest$ac_exeext'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; }; then
38733 ac_cv_func_pthread_cancel
=yes
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.
$ac_ext >&5
38738 ac_cv_func_pthread_cancel
=no
38740 rm -f conftest.err conftest.
$ac_objext \
38741 conftest
$ac_exeext conftest.
$ac_ext
38743 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38744 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38745 if test $ac_cv_func_pthread_cancel = yes; then
38746 cat >>confdefs.h
<<\_ACEOF
38747 #define HAVE_PTHREAD_CANCEL 1
38751 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38752 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38756 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38757 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38758 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38759 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 cat >conftest.
$ac_ext <<_ACEOF
38764 cat confdefs.h
>>conftest.
$ac_ext
38765 cat >>conftest.
$ac_ext <<_ACEOF
38766 /* end confdefs.h. */
38767 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38769 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38771 /* System header to define __stub macros and hopefully few prototypes,
38772 which can conflict with char pthread_attr_setstacksize (); below.
38773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38774 <limits.h> exists even on freestanding compilers. */
38777 # include <limits.h>
38779 # include <assert.h>
38782 #undef pthread_attr_setstacksize
38784 /* Override any gcc2 internal prototype to avoid an error. */
38789 /* We use char because int might match the return type of a gcc2
38790 builtin and then its argument prototype would still apply. */
38791 char pthread_attr_setstacksize ();
38792 /* The GNU C library defines this for functions which it implements
38793 to always fail with ENOSYS. Some functions are actually named
38794 something starting with __ and the normal name is an alias. */
38795 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38798 char (*f) () = pthread_attr_setstacksize;
38807 return f != pthread_attr_setstacksize;
38812 rm -f conftest.
$ac_objext conftest
$ac_exeext
38813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38814 (eval $ac_link) 2>conftest.er1
38816 grep -v '^ *+' conftest.er1
>conftest.err
38818 cat conftest.err
>&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); } &&
38821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38823 (eval $ac_try) 2>&5
38825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38826 (exit $ac_status); }; } &&
38827 { ac_try
='test -s conftest$ac_exeext'
38828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38829 (eval $ac_try) 2>&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); }; }; then
38833 ac_cv_func_pthread_attr_setstacksize
=yes
38835 echo "$as_me: failed program was:" >&5
38836 sed 's/^/| /' conftest.
$ac_ext >&5
38838 ac_cv_func_pthread_attr_setstacksize
=no
38840 rm -f conftest.err conftest.
$ac_objext \
38841 conftest
$ac_exeext conftest.
$ac_ext
38843 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38844 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38845 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38846 cat >>confdefs.h
<<\_ACEOF
38847 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38854 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38855 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38856 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38857 echo $ECHO_N "(cached) $ECHO_C" >&6
38860 cat >conftest.
$ac_ext <<_ACEOF
38863 cat confdefs.h
>>conftest.
$ac_ext
38864 cat >>conftest.
$ac_ext <<_ACEOF
38865 /* end confdefs.h. */
38866 #include <pthread.h>
38871 pthread_mutexattr_t attr;
38872 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38878 rm -f conftest.
$ac_objext
38879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38880 (eval $ac_compile) 2>conftest.er1
38882 grep -v '^ *+' conftest.er1
>conftest.err
38884 cat conftest.err
>&5
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); } &&
38887 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38889 (eval $ac_try) 2>&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); }; } &&
38893 { ac_try
='test -s conftest.$ac_objext'
38894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38895 (eval $ac_try) 2>&5
38897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38898 (exit $ac_status); }; }; then
38899 wx_cv_type_pthread_mutexattr_t
=yes
38901 echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.
$ac_ext >&5
38904 wx_cv_type_pthread_mutexattr_t
=no
38907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38910 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38911 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38913 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38914 cat >>confdefs.h
<<\_ACEOF
38915 #define HAVE_PTHREAD_MUTEXATTR_T 1
38919 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38920 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38921 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38922 echo $ECHO_N "(cached) $ECHO_C" >&6
38925 cat >conftest.
$ac_ext <<_ACEOF
38928 cat confdefs.h
>>conftest.
$ac_ext
38929 cat >>conftest.
$ac_ext <<_ACEOF
38930 /* end confdefs.h. */
38931 #include <pthread.h>
38936 pthread_mutexattr_t attr;
38937 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38943 rm -f conftest.
$ac_objext
38944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38945 (eval $ac_compile) 2>conftest.er1
38947 grep -v '^ *+' conftest.er1
>conftest.err
38949 cat conftest.err
>&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); } &&
38952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38954 (eval $ac_try) 2>&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); }; } &&
38958 { ac_try
='test -s conftest.$ac_objext'
38959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38960 (eval $ac_try) 2>&5
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); }; }; then
38964 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.
$ac_ext >&5
38969 wx_cv_func_pthread_mutexattr_settype_decl
=no
38972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38975 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38976 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38977 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38978 cat >>confdefs.h
<<\_ACEOF
38979 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38984 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38985 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38986 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 cat >conftest.
$ac_ext <<_ACEOF
38993 cat confdefs.h
>>conftest.
$ac_ext
38994 cat >>conftest.
$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 #include <pthread.h>
39001 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39007 rm -f conftest.
$ac_objext
39008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39009 (eval $ac_compile) 2>conftest.er1
39011 grep -v '^ *+' conftest.er1
>conftest.err
39013 cat conftest.err
>&5
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); } &&
39016 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39018 (eval $ac_try) 2>&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); }; } &&
39022 { ac_try
='test -s conftest.$ac_objext'
39023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39024 (eval $ac_try) 2>&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); }; }; then
39029 wx_cv_type_pthread_rec_mutex_init
=yes
39032 echo "$as_me: failed program was:" >&5
39033 sed 's/^/| /' conftest.
$ac_ext >&5
39036 wx_cv_type_pthread_rec_mutex_init
=no
39040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39043 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39044 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39045 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39046 cat >>confdefs.h
<<\_ACEOF
39047 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39051 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39052 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39058 if test "$wxUSE_THREADS" = "yes" ; then
39061 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39062 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39063 if test "${wx_cv_cflags_mthread+set}" = set; then
39064 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 CXXFLAGS_OLD
="$CXXFLAGS"
39068 CXXFLAGS
="-mthreads $CXXFLAGS"
39069 cat >conftest.
$ac_ext <<_ACEOF
39072 cat confdefs.h
>>conftest.
$ac_ext
39073 cat >>conftest.
$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39084 rm -f conftest.
$ac_objext
39085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39086 (eval $ac_compile) 2>conftest.er1
39088 grep -v '^ *+' conftest.er1
>conftest.err
39090 cat conftest.err
>&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } &&
39093 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39095 (eval $ac_try) 2>&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); }; } &&
39099 { ac_try
='test -s conftest.$ac_objext'
39100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39101 (eval $ac_try) 2>&5
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); }; }; then
39105 wx_cv_cflags_mthread
=yes
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.
$ac_ext >&5
39110 wx_cv_cflags_mthread
=no
39113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39117 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39118 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39120 if test "$wx_cv_cflags_mthread" = "yes"; then
39121 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
39122 LDFLAGS
="$LDFLAGS -mthreads"
39124 CXXFLAGS
="$CXXFLAGS_OLD"
39128 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39129 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39130 LDFLAGS
="$LDFLAGS -Zmt"
39136 echo "$as_me:$LINENO: checking for localtime_r" >&5
39137 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39138 if test "${ac_cv_func_localtime_r+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 cat >conftest.
$ac_ext <<_ACEOF
39144 cat confdefs.h
>>conftest.
$ac_ext
39145 cat >>conftest.
$ac_ext <<_ACEOF
39146 /* end confdefs.h. */
39147 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39149 #define localtime_r innocuous_localtime_r
39151 /* System header to define __stub macros and hopefully few prototypes,
39152 which can conflict with char localtime_r (); below.
39153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39154 <limits.h> exists even on freestanding compilers. */
39157 # include <limits.h>
39159 # include <assert.h>
39164 /* Override any gcc2 internal prototype to avoid an error. */
39169 /* We use char because int might match the return type of a gcc2
39170 builtin and then its argument prototype would still apply. */
39171 char localtime_r ();
39172 /* The GNU C library defines this for functions which it implements
39173 to always fail with ENOSYS. Some functions are actually named
39174 something starting with __ and the normal name is an alias. */
39175 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39178 char (*f) () = localtime_r;
39187 return f != localtime_r;
39192 rm -f conftest.
$ac_objext conftest
$ac_exeext
39193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39194 (eval $ac_link) 2>conftest.er1
39196 grep -v '^ *+' conftest.er1
>conftest.err
39198 cat conftest.err
>&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } &&
39201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39203 (eval $ac_try) 2>&5
39205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206 (exit $ac_status); }; } &&
39207 { ac_try
='test -s conftest$ac_exeext'
39208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39209 (eval $ac_try) 2>&5
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); }; }; then
39213 ac_cv_func_localtime_r
=yes
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.
$ac_ext >&5
39218 ac_cv_func_localtime_r
=no
39220 rm -f conftest.err conftest.
$ac_objext \
39221 conftest
$ac_exeext conftest.
$ac_ext
39223 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39224 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39225 if test $ac_cv_func_localtime_r = yes; then
39226 cat >>confdefs.h
<<\_ACEOF
39227 #define HAVE_LOCALTIME_R 1
39232 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39233 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39234 if test "${ac_cv_func_gmtime_r+set}" = set; then
39235 echo $ECHO_N "(cached) $ECHO_C" >&6
39237 cat >conftest.
$ac_ext <<_ACEOF
39240 cat confdefs.h
>>conftest.
$ac_ext
39241 cat >>conftest.
$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39243 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39245 #define gmtime_r innocuous_gmtime_r
39247 /* System header to define __stub macros and hopefully few prototypes,
39248 which can conflict with char gmtime_r (); below.
39249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39250 <limits.h> exists even on freestanding compilers. */
39253 # include <limits.h>
39255 # include <assert.h>
39260 /* Override any gcc2 internal prototype to avoid an error. */
39265 /* We use char because int might match the return type of a gcc2
39266 builtin and then its argument prototype would still apply. */
39268 /* The GNU C library defines this for functions which it implements
39269 to always fail with ENOSYS. Some functions are actually named
39270 something starting with __ and the normal name is an alias. */
39271 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39274 char (*f) () = gmtime_r;
39283 return f != gmtime_r;
39288 rm -f conftest.
$ac_objext conftest
$ac_exeext
39289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39290 (eval $ac_link) 2>conftest.er1
39292 grep -v '^ *+' conftest.er1
>conftest.err
39294 cat conftest.err
>&5
39295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296 (exit $ac_status); } &&
39297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299 (eval $ac_try) 2>&5
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); }; } &&
39303 { ac_try
='test -s conftest$ac_exeext'
39304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39305 (eval $ac_try) 2>&5
39307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39308 (exit $ac_status); }; }; then
39309 ac_cv_func_gmtime_r
=yes
39311 echo "$as_me: failed program was:" >&5
39312 sed 's/^/| /' conftest.
$ac_ext >&5
39314 ac_cv_func_gmtime_r
=no
39316 rm -f conftest.err conftest.
$ac_objext \
39317 conftest
$ac_exeext conftest.
$ac_ext
39319 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39320 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39321 if test $ac_cv_func_gmtime_r = yes; then
39322 cat >>confdefs.h
<<\_ACEOF
39323 #define HAVE_GMTIME_R 1
39328 echo "$as_me:$LINENO: checking for readdir_r" >&5
39329 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39330 if test "${ac_cv_func_readdir_r+set}" = set; then
39331 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 cat >conftest.
$ac_ext <<_ACEOF
39336 cat confdefs.h
>>conftest.
$ac_ext
39337 cat >>conftest.
$ac_ext <<_ACEOF
39338 /* end confdefs.h. */
39339 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39341 #define readdir_r innocuous_readdir_r
39343 /* System header to define __stub macros and hopefully few prototypes,
39344 which can conflict with char readdir_r (); below.
39345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39346 <limits.h> exists even on freestanding compilers. */
39349 # include <limits.h>
39351 # include <assert.h>
39356 /* Override any gcc2 internal prototype to avoid an error. */
39361 /* We use char because int might match the return type of a gcc2
39362 builtin and then its argument prototype would still apply. */
39364 /* The GNU C library defines this for functions which it implements
39365 to always fail with ENOSYS. Some functions are actually named
39366 something starting with __ and the normal name is an alias. */
39367 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39370 char (*f) () = readdir_r;
39379 return f != readdir_r;
39384 rm -f conftest.
$ac_objext conftest
$ac_exeext
39385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39386 (eval $ac_link) 2>conftest.er1
39388 grep -v '^ *+' conftest.er1
>conftest.err
39390 cat conftest.err
>&5
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); } &&
39393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39395 (eval $ac_try) 2>&5
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); }; } &&
39399 { ac_try
='test -s conftest$ac_exeext'
39400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39401 (eval $ac_try) 2>&5
39403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39404 (exit $ac_status); }; }; then
39405 ac_cv_func_readdir_r
=yes
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.
$ac_ext >&5
39410 ac_cv_func_readdir_r
=no
39412 rm -f conftest.err conftest.
$ac_objext \
39413 conftest
$ac_exeext conftest.
$ac_ext
39415 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39416 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39417 if test $ac_cv_func_readdir_r = yes; then
39418 cat >>confdefs.h
<<\_ACEOF
39419 #define HAVE_READDIR_R 1
39428 ac_cpp
='$CPP $CPPFLAGS'
39429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39433 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39434 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39436 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39437 echo $ECHO_N "(cached) $ECHO_C" >&6
39441 ################################################################
39443 ac_cv_func_which_gethostbyname_r
=unknown
39446 # ONE ARGUMENT (sanity check)
39449 # This should fail, as there is no variant of gethostbyname_r() that takes
39450 # a single argument. If it actually compiles, then we can assume that
39451 # netdb.h is not declaring the function, and the compiler is thereby
39452 # assuming an implicit prototype. In which case, we're out of luck.
39454 cat >conftest.
$ac_ext <<_ACEOF
39457 cat confdefs.h
>>conftest.
$ac_ext
39458 cat >>conftest.
$ac_ext <<_ACEOF
39459 /* end confdefs.h. */
39465 char *name = "www.gnu.org";
39466 (void)gethostbyname_r(name) /* ; */
39472 rm -f conftest.
$ac_objext
39473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39474 (eval $ac_compile) 2>conftest.er1
39476 grep -v '^ *+' conftest.er1
>conftest.err
39478 cat conftest.err
>&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } &&
39481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39483 (eval $ac_try) 2>&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); }; } &&
39487 { ac_try
='test -s conftest.$ac_objext'
39488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489 (eval $ac_try) 2>&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); }; }; then
39493 ac_cv_func_which_gethostbyname_r
=no
39495 echo "$as_me: failed program was:" >&5
39496 sed 's/^/| /' conftest.
$ac_ext >&5
39499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39506 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39508 cat >conftest.
$ac_ext <<_ACEOF
39511 cat confdefs.h
>>conftest.
$ac_ext
39512 cat >>conftest.
$ac_ext <<_ACEOF
39513 /* end confdefs.h. */
39519 char *name = "www.gnu.org";
39520 struct hostent ret, *retp;
39524 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39530 rm -f conftest.
$ac_objext
39531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39532 (eval $ac_compile) 2>conftest.er1
39534 grep -v '^ *+' conftest.er1
>conftest.err
39536 cat conftest.err
>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } &&
39539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39541 (eval $ac_try) 2>&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); }; } &&
39545 { ac_try
='test -s conftest.$ac_objext'
39546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39547 (eval $ac_try) 2>&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); }; }; then
39551 ac_cv_func_which_gethostbyname_r
=six
39553 echo "$as_me: failed program was:" >&5
39554 sed 's/^/| /' conftest.
$ac_ext >&5
39557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39566 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39568 cat >conftest.
$ac_ext <<_ACEOF
39571 cat confdefs.h
>>conftest.
$ac_ext
39572 cat >>conftest.
$ac_ext <<_ACEOF
39573 /* end confdefs.h. */
39579 char *name = "www.gnu.org";
39580 struct hostent ret;
39584 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39590 rm -f conftest.
$ac_objext
39591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39592 (eval $ac_compile) 2>conftest.er1
39594 grep -v '^ *+' conftest.er1
>conftest.err
39596 cat conftest.err
>&5
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); } &&
39599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39601 (eval $ac_try) 2>&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); }; } &&
39605 { ac_try
='test -s conftest.$ac_objext'
39606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39607 (eval $ac_try) 2>&5
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); }; }; then
39611 ac_cv_func_which_gethostbyname_r
=five
39613 echo "$as_me: failed program was:" >&5
39614 sed 's/^/| /' conftest.
$ac_ext >&5
39617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39623 # (e.g. AIX, HP-UX, Tru64)
39626 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39628 cat >conftest.
$ac_ext <<_ACEOF
39631 cat confdefs.h
>>conftest.
$ac_ext
39632 cat >>conftest.
$ac_ext <<_ACEOF
39633 /* end confdefs.h. */
39639 char *name = "www.gnu.org";
39640 struct hostent ret;
39641 struct hostent_data data;
39642 (void)gethostbyname_r(name, &ret, &data) /* ; */
39648 rm -f conftest.
$ac_objext
39649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39650 (eval $ac_compile) 2>conftest.er1
39652 grep -v '^ *+' conftest.er1
>conftest.err
39654 cat conftest.err
>&5
39655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39656 (exit $ac_status); } &&
39657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39659 (eval $ac_try) 2>&5
39661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39662 (exit $ac_status); }; } &&
39663 { ac_try
='test -s conftest.$ac_objext'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; }; then
39669 ac_cv_func_which_gethostbyname_r
=three
39671 echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.
$ac_ext >&5
39675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39679 ################################################################
39684 case "$ac_cv_func_which_gethostbyname_r" in
39686 echo "$as_me:$LINENO: result: three" >&5
39687 echo "${ECHO_T}three" >&6
39688 cat >>confdefs.h
<<\_ACEOF
39689 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39695 echo "$as_me:$LINENO: result: five" >&5
39696 echo "${ECHO_T}five" >&6
39697 cat >>confdefs.h
<<\_ACEOF
39698 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39704 echo "$as_me:$LINENO: result: six" >&5
39705 echo "${ECHO_T}six" >&6
39706 cat >>confdefs.h
<<\_ACEOF
39707 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39713 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39714 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39718 echo "$as_me:$LINENO: result: can't tell" >&5
39719 echo "${ECHO_T}can't tell" >&6
39723 { { echo "$as_me:$LINENO: error: internal error" >&5
39724 echo "$as_me: error: internal error" >&2;}
39725 { (exit 1); exit 1; }; }
39730 ac_cpp
='$CXXCPP $CPPFLAGS'
39731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39737 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39738 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39739 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39740 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39741 if test "${ac_cv_func_gethostbyname+set}" = set; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39744 cat >conftest.
$ac_ext <<_ACEOF
39747 cat confdefs.h
>>conftest.
$ac_ext
39748 cat >>conftest.
$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39752 #define gethostbyname innocuous_gethostbyname
39754 /* System header to define __stub macros and hopefully few prototypes,
39755 which can conflict with char gethostbyname (); below.
39756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39757 <limits.h> exists even on freestanding compilers. */
39760 # include <limits.h>
39762 # include <assert.h>
39765 #undef gethostbyname
39767 /* Override any gcc2 internal prototype to avoid an error. */
39772 /* We use char because int might match the return type of a gcc2
39773 builtin and then its argument prototype would still apply. */
39774 char gethostbyname ();
39775 /* The GNU C library defines this for functions which it implements
39776 to always fail with ENOSYS. Some functions are actually named
39777 something starting with __ and the normal name is an alias. */
39778 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39781 char (*f) () = gethostbyname;
39790 return f != gethostbyname;
39795 rm -f conftest.
$ac_objext conftest
$ac_exeext
39796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39797 (eval $ac_link) 2>conftest.er1
39799 grep -v '^ *+' conftest.er1
>conftest.err
39801 cat conftest.err
>&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } &&
39804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; } &&
39810 { ac_try
='test -s conftest$ac_exeext'
39811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39812 (eval $ac_try) 2>&5
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); }; }; then
39816 ac_cv_func_gethostbyname
=yes
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.
$ac_ext >&5
39821 ac_cv_func_gethostbyname
=no
39823 rm -f conftest.err conftest.
$ac_objext \
39824 conftest
$ac_exeext conftest.
$ac_ext
39826 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39827 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39828 if test $ac_cv_func_gethostbyname = yes; then
39829 cat >>confdefs.h
<<\_ACEOF
39830 #define HAVE_GETHOSTBYNAME 1
39836 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39837 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39838 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 cat >conftest.
$ac_ext <<_ACEOF
39844 cat confdefs.h
>>conftest.
$ac_ext
39845 cat >>conftest.
$ac_ext <<_ACEOF
39846 /* end confdefs.h. */
39847 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39849 #define getservbyname_r innocuous_getservbyname_r
39851 /* System header to define __stub macros and hopefully few prototypes,
39852 which can conflict with char getservbyname_r (); below.
39853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39854 <limits.h> exists even on freestanding compilers. */
39857 # include <limits.h>
39859 # include <assert.h>
39862 #undef getservbyname_r
39864 /* Override any gcc2 internal prototype to avoid an error. */
39869 /* We use char because int might match the return type of a gcc2
39870 builtin and then its argument prototype would still apply. */
39871 char getservbyname_r ();
39872 /* The GNU C library defines this for functions which it implements
39873 to always fail with ENOSYS. Some functions are actually named
39874 something starting with __ and the normal name is an alias. */
39875 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39878 char (*f) () = getservbyname_r;
39887 return f != getservbyname_r;
39892 rm -f conftest.
$ac_objext conftest
$ac_exeext
39893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39894 (eval $ac_link) 2>conftest.er1
39896 grep -v '^ *+' conftest.er1
>conftest.err
39898 cat conftest.err
>&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } &&
39901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39903 (eval $ac_try) 2>&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); }; } &&
39907 { ac_try
='test -s conftest$ac_exeext'
39908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39909 (eval $ac_try) 2>&5
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); }; }; then
39913 ac_cv_func_getservbyname_r
=yes
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.
$ac_ext >&5
39918 ac_cv_func_getservbyname_r
=no
39920 rm -f conftest.err conftest.
$ac_objext \
39921 conftest
$ac_exeext conftest.
$ac_ext
39923 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39924 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39925 if test $ac_cv_func_getservbyname_r = yes; then
39926 cat >conftest.
$ac_ext <<_ACEOF
39929 cat confdefs.h
>>conftest.
$ac_ext
39930 cat >>conftest.
$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39939 struct servent *se;
39940 struct servent_data data;
39941 (void) getservbyname_r(name, proto, se, &data);
39947 rm -f conftest.
$ac_objext
39948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39949 (eval $ac_compile) 2>conftest.er1
39951 grep -v '^ *+' conftest.er1
>conftest.err
39953 cat conftest.err
>&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } &&
39956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; } &&
39962 { ac_try
='test -s conftest.$ac_objext'
39963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39964 (eval $ac_try) 2>&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); }; }; then
39968 ac_cv_func_which_getservbyname_r
=four
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.
$ac_ext >&5
39973 cat >conftest.
$ac_ext <<_ACEOF
39976 cat confdefs.h
>>conftest.
$ac_ext
39977 cat >>conftest.
$ac_ext <<_ACEOF
39978 /* end confdefs.h. */
39986 struct servent *se, *res;
39989 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39995 rm -f conftest.
$ac_objext
39996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39997 (eval $ac_compile) 2>conftest.er1
39999 grep -v '^ *+' conftest.er1
>conftest.err
40001 cat conftest.err
>&5
40002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003 (exit $ac_status); } &&
40004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40006 (eval $ac_try) 2>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); }; } &&
40010 { ac_try
='test -s conftest.$ac_objext'
40011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40012 (eval $ac_try) 2>&5
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); }; }; then
40016 ac_cv_func_which_getservbyname_r
=six
40018 echo "$as_me: failed program was:" >&5
40019 sed 's/^/| /' conftest.
$ac_ext >&5
40021 cat >conftest.
$ac_ext <<_ACEOF
40024 cat confdefs.h
>>conftest.
$ac_ext
40025 cat >>conftest.
$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40034 struct servent *se;
40037 (void) getservbyname_r(name, proto, se, buffer, buflen)
40043 rm -f conftest.
$ac_objext
40044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40045 (eval $ac_compile) 2>conftest.er1
40047 grep -v '^ *+' conftest.er1
>conftest.err
40049 cat conftest.err
>&5
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); } &&
40052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; } &&
40058 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
40064 ac_cv_func_which_getservbyname_r
=five
40066 echo "$as_me: failed program was:" >&5
40067 sed 's/^/| /' conftest.
$ac_ext >&5
40069 ac_cv_func_which_getservbyname_r
=no
40072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40080 ac_cv_func_which_getservbyname_r
=no
40084 if test $ac_cv_func_which_getservbyname_r = six
; then
40085 cat >>confdefs.h
<<\_ACEOF
40086 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40089 elif test $ac_cv_func_which_getservbyname_r = five
; then
40090 cat >>confdefs.h
<<\_ACEOF
40091 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40094 elif test $ac_cv_func_which_getservbyname_r = four
; then
40095 cat >>confdefs.h
<<\_ACEOF
40096 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40102 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40103 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40105 for ac_func
in getservbyname
40107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40108 echo "$as_me:$LINENO: checking for $ac_func" >&5
40109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40110 if eval "test \"\${$as_ac_var+set}\" = set"; then
40111 echo $ECHO_N "(cached) $ECHO_C" >&6
40113 cat >conftest.
$ac_ext <<_ACEOF
40116 cat confdefs.h
>>conftest.
$ac_ext
40117 cat >>conftest.
$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40121 #define $ac_func innocuous_$ac_func
40123 /* System header to define __stub macros and hopefully few prototypes,
40124 which can conflict with char $ac_func (); below.
40125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40126 <limits.h> exists even on freestanding compilers. */
40129 # include <limits.h>
40131 # include <assert.h>
40136 /* Override any gcc2 internal prototype to avoid an error. */
40141 /* We use char because int might match the return type of a gcc2
40142 builtin and then its argument prototype would still apply. */
40144 /* The GNU C library defines this for functions which it implements
40145 to always fail with ENOSYS. Some functions are actually named
40146 something starting with __ and the normal name is an alias. */
40147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40150 char (*f) () = $ac_func;
40159 return f != $ac_func;
40164 rm -f conftest.
$ac_objext conftest
$ac_exeext
40165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40166 (eval $ac_link) 2>conftest.er1
40168 grep -v '^ *+' conftest.er1
>conftest.err
40170 cat conftest.err
>&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } &&
40173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40175 (eval $ac_try) 2>&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); }; } &&
40179 { ac_try
='test -s conftest$ac_exeext'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; }; then
40185 eval "$as_ac_var=yes"
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.
$ac_ext >&5
40190 eval "$as_ac_var=no"
40192 rm -f conftest.err conftest.
$ac_objext \
40193 conftest
$ac_exeext conftest.
$ac_ext
40195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40197 if test `eval echo '${'$as_ac_var'}'` = yes; then
40198 cat >>confdefs.h
<<_ACEOF
40199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40201 cat >>confdefs.h
<<\_ACEOF
40202 #define HAVE_GETSERVBYNAME 1
40210 if test "$wxUSE_THREADS" = "yes"; then
40211 cat >>confdefs.h
<<\_ACEOF
40212 #define wxUSE_THREADS 1
40216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40218 if test "$ac_cv_func_strtok_r" = "yes"; then
40219 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40220 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40221 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40222 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40223 echo "$as_me:$LINENO: result: yes" >&5
40224 echo "${ECHO_T}yes" >&6
40226 echo "$as_me:$LINENO: result: no" >&5
40227 echo "${ECHO_T}no" >&6
40232 if test "$WXGTK20" = 1 ; then
40233 cat >>confdefs.h
<<_ACEOF
40234 #define __WXGTK20__ $WXGTK20
40240 if test "$WXGTK12" = 1 ; then
40241 cat >>confdefs.h
<<_ACEOF
40242 #define __WXGTK12__ $WXGTK12
40247 if test "$WXGTK127" = 1 ; then
40248 cat >>confdefs.h
<<_ACEOF
40249 #define __WXGTK127__ $WXGTK127
40254 if test "$WXGPE" = 1 ; then
40255 cat >>confdefs.h
<<_ACEOF
40256 #define __WXGPE__ $WXGPE
40262 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40267 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40268 wxUSE_DEBUG_INFO
=yes
40269 if test "$GCC" = yes; then
40270 DEBUG_CFLAGS
="-ggdb"
40274 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40275 cat >>confdefs.h
<<\_ACEOF
40279 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40281 if test "$wxUSE_GTK" = 1 ; then
40282 if test "x$wxGTK_VERSION" = "x1" ; then
40283 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40288 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40289 cat >>confdefs.h
<<\_ACEOF
40290 #define wxUSE_MEMORY_TRACING 1
40293 cat >>confdefs.h
<<\_ACEOF
40294 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40297 cat >>confdefs.h
<<\_ACEOF
40298 #define wxUSE_DEBUG_NEW_ALWAYS 1
40301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40304 if test "$wxUSE_DMALLOC" = "yes" ; then
40305 DMALLOC_LIBS
="-ldmallocthcxx"
40309 if test "$wxUSE_PROFILE" = "yes" ; then
40310 PROFILE_FLAGS
=" -pg"
40313 if test "$GCC" = "yes" ; then
40314 if test "$wxUSE_NO_RTTI" = "yes" ; then
40315 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40317 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40318 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40320 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40321 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40326 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40329 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40335 if test "$wxUSE_OPTIMISE" = "no" ; then
40336 if test "$GCC" = yes ; then
40337 OPTIMISE_CFLAGS
="-O0"
40340 if test "$GCC" = yes ; then
40342 *-pc-os2_emx | *-pc-os2-emx )
40343 OPTIMISE_CFLAGS
="-O2"
40346 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40350 OPTIMISE_CFLAGS
="-O"
40355 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40356 cat >>confdefs.h
<<\_ACEOF
40357 #define WXWIN_COMPATIBILITY_2_4 1
40361 WXWIN_COMPATIBILITY_2_6
="yes"
40364 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40365 cat >>confdefs.h
<<\_ACEOF
40366 #define WXWIN_COMPATIBILITY_2_6 1
40372 if test "$wxUSE_GUI" = "yes"; then
40373 cat >>confdefs.h
<<\_ACEOF
40374 #define wxUSE_GUI 1
40381 if test "$wxUSE_UNIX" = "yes"; then
40382 cat >>confdefs.h
<<\_ACEOF
40383 #define wxUSE_UNIX 1
40389 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40393 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40394 if test "$USE_DARWIN" = 1; then
40396 elif test "$USE_DOS" = 1; then
40400 for ac_func
in dlopen
40402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40403 echo "$as_me:$LINENO: checking for $ac_func" >&5
40404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40405 if eval "test \"\${$as_ac_var+set}\" = set"; then
40406 echo $ECHO_N "(cached) $ECHO_C" >&6
40408 cat >conftest.
$ac_ext <<_ACEOF
40411 cat confdefs.h
>>conftest.
$ac_ext
40412 cat >>conftest.
$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40416 #define $ac_func innocuous_$ac_func
40418 /* System header to define __stub macros and hopefully few prototypes,
40419 which can conflict with char $ac_func (); below.
40420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40421 <limits.h> exists even on freestanding compilers. */
40424 # include <limits.h>
40426 # include <assert.h>
40431 /* Override any gcc2 internal prototype to avoid an error. */
40436 /* We use char because int might match the return type of a gcc2
40437 builtin and then its argument prototype would still apply. */
40439 /* The GNU C library defines this for functions which it implements
40440 to always fail with ENOSYS. Some functions are actually named
40441 something starting with __ and the normal name is an alias. */
40442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40445 char (*f) () = $ac_func;
40454 return f != $ac_func;
40459 rm -f conftest.
$ac_objext conftest
$ac_exeext
40460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40461 (eval $ac_link) 2>conftest.er1
40463 grep -v '^ *+' conftest.er1
>conftest.err
40465 cat conftest.err
>&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } &&
40468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40470 (eval $ac_try) 2>&5
40472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40473 (exit $ac_status); }; } &&
40474 { ac_try
='test -s conftest$ac_exeext'
40475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40476 (eval $ac_try) 2>&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); }; }; then
40480 eval "$as_ac_var=yes"
40482 echo "$as_me: failed program was:" >&5
40483 sed 's/^/| /' conftest.
$ac_ext >&5
40485 eval "$as_ac_var=no"
40487 rm -f conftest.err conftest.
$ac_objext \
40488 conftest
$ac_exeext conftest.
$ac_ext
40490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40492 if test `eval echo '${'$as_ac_var'}'` = yes; then
40493 cat >>confdefs.h
<<_ACEOF
40494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40497 cat >>confdefs.h
<<\_ACEOF
40498 #define HAVE_DLOPEN 1
40505 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40506 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40507 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 ac_check_lib_save_LIBS
=$LIBS
40512 cat >conftest.
$ac_ext <<_ACEOF
40515 cat confdefs.h
>>conftest.
$ac_ext
40516 cat >>conftest.
$ac_ext <<_ACEOF
40517 /* end confdefs.h. */
40519 /* Override any gcc2 internal prototype to avoid an error. */
40523 /* We use char because int might match the return type of a gcc2
40524 builtin and then its argument prototype would still apply. */
40534 rm -f conftest.
$ac_objext conftest
$ac_exeext
40535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40536 (eval $ac_link) 2>conftest.er1
40538 grep -v '^ *+' conftest.er1
>conftest.err
40540 cat conftest.err
>&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } &&
40543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40545 (eval $ac_try) 2>&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); }; } &&
40549 { ac_try
='test -s conftest$ac_exeext'
40550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40551 (eval $ac_try) 2>&5
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); }; }; then
40555 ac_cv_lib_dl_dlopen
=yes
40557 echo "$as_me: failed program was:" >&5
40558 sed 's/^/| /' conftest.
$ac_ext >&5
40560 ac_cv_lib_dl_dlopen
=no
40562 rm -f conftest.err conftest.
$ac_objext \
40563 conftest
$ac_exeext conftest.
$ac_ext
40564 LIBS
=$ac_check_lib_save_LIBS
40566 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40567 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40568 if test $ac_cv_lib_dl_dlopen = yes; then
40570 cat >>confdefs.h
<<\_ACEOF
40571 #define HAVE_DLOPEN 1
40575 DL_LINK
=" -ldl$DL_LINK"
40580 for ac_func
in shl_load
40582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40583 echo "$as_me:$LINENO: checking for $ac_func" >&5
40584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40585 if eval "test \"\${$as_ac_var+set}\" = set"; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40588 cat >conftest.
$ac_ext <<_ACEOF
40591 cat confdefs.h
>>conftest.
$ac_ext
40592 cat >>conftest.
$ac_ext <<_ACEOF
40593 /* end confdefs.h. */
40594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40596 #define $ac_func innocuous_$ac_func
40598 /* System header to define __stub macros and hopefully few prototypes,
40599 which can conflict with char $ac_func (); below.
40600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40601 <limits.h> exists even on freestanding compilers. */
40604 # include <limits.h>
40606 # include <assert.h>
40611 /* Override any gcc2 internal prototype to avoid an error. */
40616 /* We use char because int might match the return type of a gcc2
40617 builtin and then its argument prototype would still apply. */
40619 /* The GNU C library defines this for functions which it implements
40620 to always fail with ENOSYS. Some functions are actually named
40621 something starting with __ and the normal name is an alias. */
40622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40625 char (*f) () = $ac_func;
40634 return f != $ac_func;
40639 rm -f conftest.
$ac_objext conftest
$ac_exeext
40640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40641 (eval $ac_link) 2>conftest.er1
40643 grep -v '^ *+' conftest.er1
>conftest.err
40645 cat conftest.err
>&5
40646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647 (exit $ac_status); } &&
40648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40650 (eval $ac_try) 2>&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); }; } &&
40654 { ac_try
='test -s conftest$ac_exeext'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; }; then
40660 eval "$as_ac_var=yes"
40662 echo "$as_me: failed program was:" >&5
40663 sed 's/^/| /' conftest.
$ac_ext >&5
40665 eval "$as_ac_var=no"
40667 rm -f conftest.err conftest.
$ac_objext \
40668 conftest
$ac_exeext conftest.
$ac_ext
40670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40672 if test `eval echo '${'$as_ac_var'}'` = yes; then
40673 cat >>confdefs.h
<<_ACEOF
40674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40677 cat >>confdefs.h
<<\_ACEOF
40678 #define HAVE_SHL_LOAD 1
40685 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40686 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40687 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40688 echo $ECHO_N "(cached) $ECHO_C" >&6
40690 ac_check_lib_save_LIBS
=$LIBS
40691 LIBS
="-lshl_load $LIBS"
40692 cat >conftest.
$ac_ext <<_ACEOF
40695 cat confdefs.h
>>conftest.
$ac_ext
40696 cat >>conftest.
$ac_ext <<_ACEOF
40697 /* end confdefs.h. */
40699 /* Override any gcc2 internal prototype to avoid an error. */
40703 /* We use char because int might match the return type of a gcc2
40704 builtin and then its argument prototype would still apply. */
40714 rm -f conftest.
$ac_objext conftest
$ac_exeext
40715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40716 (eval $ac_link) 2>conftest.er1
40718 grep -v '^ *+' conftest.er1
>conftest.err
40720 cat conftest.err
>&5
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); } &&
40723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40725 (eval $ac_try) 2>&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); }; } &&
40729 { ac_try
='test -s conftest$ac_exeext'
40730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40731 (eval $ac_try) 2>&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); }; }; then
40735 ac_cv_lib_shl_load_dld
=yes
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.
$ac_ext >&5
40740 ac_cv_lib_shl_load_dld
=no
40742 rm -f conftest.err conftest.
$ac_objext \
40743 conftest
$ac_exeext conftest.
$ac_ext
40744 LIBS
=$ac_check_lib_save_LIBS
40746 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40747 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40748 if test $ac_cv_lib_shl_load_dld = yes; then
40751 DL_LINK
=" -ldld$DL_LINK"
40767 if test "$HAVE_DL_FUNCS" = 1; then
40769 for ac_func
in dlerror
40771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40772 echo "$as_me:$LINENO: checking for $ac_func" >&5
40773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40774 if eval "test \"\${$as_ac_var+set}\" = set"; then
40775 echo $ECHO_N "(cached) $ECHO_C" >&6
40777 cat >conftest.
$ac_ext <<_ACEOF
40780 cat confdefs.h
>>conftest.
$ac_ext
40781 cat >>conftest.
$ac_ext <<_ACEOF
40782 /* end confdefs.h. */
40783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40785 #define $ac_func innocuous_$ac_func
40787 /* System header to define __stub macros and hopefully few prototypes,
40788 which can conflict with char $ac_func (); below.
40789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40790 <limits.h> exists even on freestanding compilers. */
40793 # include <limits.h>
40795 # include <assert.h>
40800 /* Override any gcc2 internal prototype to avoid an error. */
40805 /* We use char because int might match the return type of a gcc2
40806 builtin and then its argument prototype would still apply. */
40808 /* The GNU C library defines this for functions which it implements
40809 to always fail with ENOSYS. Some functions are actually named
40810 something starting with __ and the normal name is an alias. */
40811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40814 char (*f) () = $ac_func;
40823 return f != $ac_func;
40828 rm -f conftest.
$ac_objext conftest
$ac_exeext
40829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40830 (eval $ac_link) 2>conftest.er1
40832 grep -v '^ *+' conftest.er1
>conftest.err
40834 cat conftest.err
>&5
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); } &&
40837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40839 (eval $ac_try) 2>&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); }; } &&
40843 { ac_try
='test -s conftest$ac_exeext'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; }; then
40849 eval "$as_ac_var=yes"
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.
$ac_ext >&5
40854 eval "$as_ac_var=no"
40856 rm -f conftest.err conftest.
$ac_objext \
40857 conftest
$ac_exeext conftest.
$ac_ext
40859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40861 if test `eval echo '${'$as_ac_var'}'` = yes; then
40862 cat >>confdefs.h
<<_ACEOF
40863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 cat >>confdefs.h
<<\_ACEOF
40866 #define HAVE_DLERROR 1
40871 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40872 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40873 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40876 ac_check_lib_save_LIBS
=$LIBS
40878 cat >conftest.
$ac_ext <<_ACEOF
40881 cat confdefs.h
>>conftest.
$ac_ext
40882 cat >>conftest.
$ac_ext <<_ACEOF
40883 /* end confdefs.h. */
40885 /* Override any gcc2 internal prototype to avoid an error. */
40889 /* We use char because int might match the return type of a gcc2
40890 builtin and then its argument prototype would still apply. */
40900 rm -f conftest.
$ac_objext conftest
$ac_exeext
40901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40902 (eval $ac_link) 2>conftest.er1
40904 grep -v '^ *+' conftest.er1
>conftest.err
40906 cat conftest.err
>&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } &&
40909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40911 (eval $ac_try) 2>&5
40913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40914 (exit $ac_status); }; } &&
40915 { ac_try
='test -s conftest$ac_exeext'
40916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40917 (eval $ac_try) 2>&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); }; }; then
40921 ac_cv_lib_dl_dlerror
=yes
40923 echo "$as_me: failed program was:" >&5
40924 sed 's/^/| /' conftest.
$ac_ext >&5
40926 ac_cv_lib_dl_dlerror
=no
40928 rm -f conftest.err conftest.
$ac_objext \
40929 conftest
$ac_exeext conftest.
$ac_ext
40930 LIBS
=$ac_check_lib_save_LIBS
40932 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40933 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40934 if test $ac_cv_lib_dl_dlerror = yes; then
40935 cat >>confdefs.h
<<\_ACEOF
40936 #define HAVE_DLERROR 1
40949 if test "$HAVE_DL_FUNCS" = 0; then
40950 if test "$HAVE_SHL_FUNCS" = 0; then
40951 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40952 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40953 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40954 wxUSE_DYNAMIC_LOADER
=no
40955 wxUSE_DYNLIB_CLASS
=no
40957 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40958 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40965 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40966 cat >>confdefs.h
<<\_ACEOF
40967 #define wxUSE_DYNAMIC_LOADER 1
40971 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40972 cat >>confdefs.h
<<\_ACEOF
40973 #define wxUSE_DYNLIB_CLASS 1
40980 if test "$wxUSE_PLUGINS" = "yes" ; then
40981 if test "$wxUSE_SHARED" = "no" ; then
40982 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40983 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40986 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40987 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40988 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40991 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40992 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40993 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40996 if test "$wxUSE_PLUGINS" = "yes" ; then
40997 cat >>confdefs.h
<<\_ACEOF
40998 #define wxUSE_PLUGINS 1
41005 if test "$wxUSE_STL" = "yes"; then
41006 cat >>confdefs.h
<<\_ACEOF
41007 #define wxUSE_STL 1
41012 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41013 cat >>confdefs.h
<<\_ACEOF
41014 #define wxUSE_APPLE_IEEE 1
41019 if test "$wxUSE_TIMER" = "yes"; then
41020 cat >>confdefs.h
<<\_ACEOF
41021 #define wxUSE_TIMER 1
41026 if test "$USE_UNIX" = "1" ; then
41027 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41028 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41029 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41030 echo $ECHO_N "(cached) $ECHO_C" >&6
41033 cat >conftest.
$ac_ext <<_ACEOF
41036 cat confdefs.h
>>conftest.
$ac_ext
41037 cat >>conftest.
$ac_ext <<_ACEOF
41038 /* end confdefs.h. */
41040 #include <sys/ioctl.h>
41041 #include <sys/soundcard.h>
41047 ioctl(0, SNDCTL_DSP_SPEED, 0);
41053 rm -f conftest.
$ac_objext conftest
$ac_exeext
41054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41055 (eval $ac_link) 2>conftest.er1
41057 grep -v '^ *+' conftest.er1
>conftest.err
41059 cat conftest.err
>&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); } &&
41062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41064 (eval $ac_try) 2>&5
41066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41067 (exit $ac_status); }; } &&
41068 { ac_try
='test -s conftest$ac_exeext'
41069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41070 (eval $ac_try) 2>&5
41072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41073 (exit $ac_status); }; }; then
41074 ac_cv_header_sys_soundcard
=yes
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.
$ac_ext >&5
41081 LIBS
="$saveLibs -lossaudio"
41082 cat >conftest.
$ac_ext <<_ACEOF
41085 cat confdefs.h
>>conftest.
$ac_ext
41086 cat >>conftest.
$ac_ext <<_ACEOF
41087 /* end confdefs.h. */
41089 #include <sys/ioctl.h>
41090 #include <sys/soundcard.h>
41096 ioctl(0, SNDCTL_DSP_SPEED, 0);
41102 rm -f conftest.
$ac_objext conftest
$ac_exeext
41103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41104 (eval $ac_link) 2>conftest.er1
41106 grep -v '^ *+' conftest.er1
>conftest.err
41108 cat conftest.err
>&5
41109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41110 (exit $ac_status); } &&
41111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41113 (eval $ac_try) 2>&5
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); }; } &&
41117 { ac_try
='test -s conftest$ac_exeext'
41118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41119 (eval $ac_try) 2>&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); }; }; then
41123 ac_cv_header_sys_soundcard
=yes
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.
$ac_ext >&5
41130 ac_cv_header_sys_soundcard
=no
41134 rm -f conftest.err conftest.
$ac_objext \
41135 conftest
$ac_exeext conftest.
$ac_ext
41139 rm -f conftest.err conftest.
$ac_objext \
41140 conftest
$ac_exeext conftest.
$ac_ext
41143 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41144 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41146 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41147 cat >>confdefs.h
<<\_ACEOF
41148 #define HAVE_SYS_SOUNDCARD_H 1
41152 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41156 if test "$wxUSE_SOUND" = "yes"; then
41157 if test "$USE_UNIX" = "1" ; then
41158 if test "$wxUSE_LIBSDL" != "no"; then
41160 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41161 if test "${with_sdl_prefix+set}" = set; then
41162 withval
="$with_sdl_prefix"
41163 sdl_prefix
="$withval"
41168 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41169 if test "${with_sdl_exec_prefix+set}" = set; then
41170 withval
="$with_sdl_exec_prefix"
41171 sdl_exec_prefix
="$withval"
41175 # Check whether --enable-sdltest or --disable-sdltest was given.
41176 if test "${enable_sdltest+set}" = set; then
41177 enableval
="$enable_sdltest"
41183 if test x
$sdl_exec_prefix != x
; then
41184 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41185 if test x
${SDL_CONFIG+set} != xset
; then
41186 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41189 if test x
$sdl_prefix != x
; then
41190 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41191 if test x
${SDL_CONFIG+set} != xset
; then
41192 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41197 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41198 # Extract the first word of "sdl-config", so it can be a program name with args.
41199 set dummy sdl
-config; ac_word
=$2
41200 echo "$as_me:$LINENO: checking for $ac_word" >&5
41201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41202 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41203 echo $ECHO_N "(cached) $ECHO_C" >&6
41205 case $SDL_CONFIG in
41207 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41211 for as_dir
in $PATH
41214 test -z "$as_dir" && as_dir
=.
41215 for ac_exec_ext
in '' $ac_executable_extensions; do
41216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41217 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41224 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41228 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41230 if test -n "$SDL_CONFIG"; then
41231 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41232 echo "${ECHO_T}$SDL_CONFIG" >&6
41234 echo "$as_me:$LINENO: result: no" >&5
41235 echo "${ECHO_T}no" >&6
41238 min_sdl_version
=1.2.0
41239 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41240 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41242 if test "$SDL_CONFIG" = "no" ; then
41245 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41246 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41248 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41250 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41252 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41254 if test "x$enable_sdltest" = "xyes" ; then
41255 ac_save_CFLAGS
="$CFLAGS"
41256 ac_save_CXXFLAGS
="$CXXFLAGS"
41257 ac_save_LIBS
="$LIBS"
41258 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41259 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41260 LIBS
="$LIBS $SDL_LIBS"
41262 if test "$cross_compiling" = yes; then
41263 echo $ac_n "cross compiling; assumed OK... $ac_c"
41265 cat >conftest.
$ac_ext <<_ACEOF
41268 cat confdefs.h
>>conftest.
$ac_ext
41269 cat >>conftest.
$ac_ext <<_ACEOF
41270 /* end confdefs.h. */
41273 #include <stdlib.h>
41274 #include <string.h>
41278 my_strdup (char *str)
41284 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41285 strcpy (new_str, str);
41293 int main (int argc, char *argv[])
41295 int major, minor, micro;
41298 /* This hangs on some systems (?)
41299 system ("touch conf.sdltest");
41301 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41303 /* HP/UX 9 (%@#!) writes to sscanf strings */
41304 tmp_version = my_strdup("$min_sdl_version");
41305 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41306 printf("%s, bad version string\n", "$min_sdl_version");
41310 if (($sdl_major_version > major) ||
41311 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41312 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41318 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41319 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41320 printf("*** best to upgrade to the required version.\n");
41321 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41322 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41323 printf("*** config.cache before re-running configure\n");
41330 rm -f conftest
$ac_exeext
41331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41332 (eval $ac_link) 2>&5
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41337 (eval $ac_try) 2>&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); }; }; then
41343 echo "$as_me: program exited with status $ac_status" >&5
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.
$ac_ext >&5
41347 ( exit $ac_status )
41350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41352 CFLAGS
="$ac_save_CFLAGS"
41353 CXXFLAGS
="$ac_save_CXXFLAGS"
41354 LIBS
="$ac_save_LIBS"
41357 if test "x$no_sdl" = x
; then
41358 echo "$as_me:$LINENO: result: yes" >&5
41359 echo "${ECHO_T}yes" >&6
41361 EXTRALIBS_SDL
="$SDL_LIBS"
41362 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41363 cat >>confdefs.h
<<\_ACEOF
41364 #define wxUSE_LIBSDL 1
41369 echo "$as_me:$LINENO: result: no" >&5
41370 echo "${ECHO_T}no" >&6
41371 if test "$SDL_CONFIG" = "no" ; then
41372 echo "*** The sdl-config script installed by SDL could not be found"
41373 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41374 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41375 echo "*** full path to sdl-config."
41377 if test -f conf.sdltest
; then
41380 echo "*** Could not run SDL test program, checking why..."
41381 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41382 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41383 LIBS
="$LIBS $SDL_LIBS"
41384 cat >conftest.
$ac_ext <<_ACEOF
41387 cat confdefs.h
>>conftest.
$ac_ext
41388 cat >>conftest.
$ac_ext <<_ACEOF
41389 /* end confdefs.h. */
41394 int main(int argc, char *argv[])
41397 #define main K_and_R_C_main
41407 rm -f conftest.
$ac_objext conftest
$ac_exeext
41408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41409 (eval $ac_link) 2>conftest.er1
41411 grep -v '^ *+' conftest.er1
>conftest.err
41413 cat conftest.err
>&5
41414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415 (exit $ac_status); } &&
41416 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41418 (eval $ac_try) 2>&5
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); }; } &&
41422 { ac_try
='test -s conftest$ac_exeext'
41423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41424 (eval $ac_try) 2>&5
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); }; }; then
41428 echo "*** The test program compiled, but did not run. This usually means"
41429 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41430 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41431 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41432 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41433 echo "*** is required on your system"
41435 echo "*** If you have an old version installed, it is best to remove it, although"
41436 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41438 echo "$as_me: failed program was:" >&5
41439 sed 's/^/| /' conftest.
$ac_ext >&5
41441 echo "*** The test program failed to compile or link. See the file config.log for the"
41442 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41443 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41444 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41446 rm -f conftest.err conftest.
$ac_objext \
41447 conftest
$ac_exeext conftest.
$ac_ext
41448 CFLAGS
="$ac_save_CFLAGS"
41449 CXXFLAGS
="$ac_save_CXXFLAGS"
41450 LIBS
="$ac_save_LIBS"
41461 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41467 cat >>confdefs.h
<<\_ACEOF
41468 #define wxUSE_SOUND 1
41471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41474 if test "$WXGTK20" = 1; then
41475 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41476 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41481 if test -z "$PKG_CONFIG"; then
41482 # Extract the first word of "pkg-config", so it can be a program name with args.
41483 set dummy pkg
-config; ac_word
=$2
41484 echo "$as_me:$LINENO: checking for $ac_word" >&5
41485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41486 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41487 echo $ECHO_N "(cached) $ECHO_C" >&6
41489 case $PKG_CONFIG in
41491 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41495 for as_dir
in $PATH
41498 test -z "$as_dir" && as_dir
=.
41499 for ac_exec_ext
in '' $ac_executable_extensions; do
41500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41501 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41508 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41512 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41514 if test -n "$PKG_CONFIG"; then
41515 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41516 echo "${ECHO_T}$PKG_CONFIG" >&6
41518 echo "$as_me:$LINENO: result: no" >&5
41519 echo "${ECHO_T}no" >&6
41524 if test "$PKG_CONFIG" = "no" ; then
41525 echo "*** The pkg-config script could not be found. Make sure it is"
41526 echo "*** in your path, or set the PKG_CONFIG environment variable"
41527 echo "*** to the full path to pkg-config."
41528 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41530 PKG_CONFIG_MIN_VERSION
=0.9.0
41531 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41532 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41533 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41535 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41536 echo "$as_me:$LINENO: result: yes" >&5
41537 echo "${ECHO_T}yes" >&6
41540 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41541 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41542 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41543 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41544 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41546 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41547 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41548 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41549 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41550 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41552 LIBGNOMEPRINTUI_CFLAGS
=""
41553 LIBGNOMEPRINTUI_LIBS
=""
41554 ## If we have a custom action on failure, don't print errors, but
41555 ## do set a variable so people can do so.
41556 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41563 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41564 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41568 if test $succeeded = yes; then
41570 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41571 cat >>confdefs.h
<<\_ACEOF
41572 #define wxUSE_LIBGNOMEPRINT 1
41578 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41579 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41580 wxUSE_LIBGNOMEPRINT
="no"
41589 if test "$WXGTK20" = 1; then
41590 if test "$wxUSE_MIMETYPE" = "yes" ; then
41591 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41596 if test -z "$PKG_CONFIG"; then
41597 # Extract the first word of "pkg-config", so it can be a program name with args.
41598 set dummy pkg
-config; ac_word
=$2
41599 echo "$as_me:$LINENO: checking for $ac_word" >&5
41600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41601 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41602 echo $ECHO_N "(cached) $ECHO_C" >&6
41604 case $PKG_CONFIG in
41606 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41610 for as_dir
in $PATH
41613 test -z "$as_dir" && as_dir
=.
41614 for ac_exec_ext
in '' $ac_executable_extensions; do
41615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41616 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41623 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41627 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41629 if test -n "$PKG_CONFIG"; then
41630 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41631 echo "${ECHO_T}$PKG_CONFIG" >&6
41633 echo "$as_me:$LINENO: result: no" >&5
41634 echo "${ECHO_T}no" >&6
41639 if test "$PKG_CONFIG" = "no" ; then
41640 echo "*** The pkg-config script could not be found. Make sure it is"
41641 echo "*** in your path, or set the PKG_CONFIG environment variable"
41642 echo "*** to the full path to pkg-config."
41643 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41645 PKG_CONFIG_MIN_VERSION
=0.9.0
41646 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41647 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41648 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41650 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41651 echo "$as_me:$LINENO: result: yes" >&5
41652 echo "${ECHO_T}yes" >&6
41655 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41656 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41657 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41658 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41659 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41661 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41662 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41663 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41664 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41665 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41669 ## If we have a custom action on failure, don't print errors, but
41670 ## do set a variable so people can do so.
41671 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41678 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41679 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41683 if test $succeeded = yes; then
41685 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41686 cat >>confdefs.h
<<\_ACEOF
41687 #define wxUSE_LIBGNOMEVFS 1
41693 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41694 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41695 wxUSE_LIBGNOMEVFS
="no"
41704 if test "$WXGTK20" = 1; then
41705 if test "$wxUSE_LIBHILDON" = "yes" ; then
41709 if test -z "$PKG_CONFIG"; then
41710 # Extract the first word of "pkg-config", so it can be a program name with args.
41711 set dummy pkg
-config; ac_word
=$2
41712 echo "$as_me:$LINENO: checking for $ac_word" >&5
41713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41714 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41715 echo $ECHO_N "(cached) $ECHO_C" >&6
41717 case $PKG_CONFIG in
41719 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41723 for as_dir
in $PATH
41726 test -z "$as_dir" && as_dir
=.
41727 for ac_exec_ext
in '' $ac_executable_extensions; do
41728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41729 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41736 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41740 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41742 if test -n "$PKG_CONFIG"; then
41743 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41744 echo "${ECHO_T}$PKG_CONFIG" >&6
41746 echo "$as_me:$LINENO: result: no" >&5
41747 echo "${ECHO_T}no" >&6
41752 if test "$PKG_CONFIG" = "no" ; then
41753 echo "*** The pkg-config script could not be found. Make sure it is"
41754 echo "*** in your path, or set the PKG_CONFIG environment variable"
41755 echo "*** to the full path to pkg-config."
41756 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41758 PKG_CONFIG_MIN_VERSION
=0.9.0
41759 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41760 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41761 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41763 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41764 echo "$as_me:$LINENO: result: yes" >&5
41765 echo "${ECHO_T}yes" >&6
41768 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41769 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41770 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41771 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41772 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41774 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41775 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41776 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41777 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41778 echo "${ECHO_T}$HILDON_LIBS" >&6
41782 ## If we have a custom action on failure, don't print errors, but
41783 ## do set a variable so people can do so.
41784 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41791 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41792 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41796 if test $succeeded = yes; then
41798 EXTRALIBS_HILDON
="$HILDON_LIBS"
41799 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41800 cat >>confdefs.h
<<\_ACEOF
41801 #define wxUSE_LIBHILDON 1
41807 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41808 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41809 wxUSE_LIBHILDON
="no"
41817 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41818 cat >>confdefs.h
<<\_ACEOF
41819 #define wxUSE_CMDLINE_PARSER 1
41824 if test "$wxUSE_STOPWATCH" = "yes"; then
41825 cat >>confdefs.h
<<\_ACEOF
41826 #define wxUSE_STOPWATCH 1
41831 if test "$wxUSE_DATETIME" = "yes"; then
41832 cat >>confdefs.h
<<\_ACEOF
41833 #define wxUSE_DATETIME 1
41838 if test "$wxUSE_FILE" = "yes"; then
41839 cat >>confdefs.h
<<\_ACEOF
41840 #define wxUSE_FILE 1
41845 if test "$wxUSE_FFILE" = "yes"; then
41846 cat >>confdefs.h
<<\_ACEOF
41847 #define wxUSE_FFILE 1
41852 if test "$wxUSE_FILESYSTEM" = "yes"; then
41853 cat >>confdefs.h
<<\_ACEOF
41854 #define wxUSE_FILESYSTEM 1
41859 if test "$wxUSE_FS_ZIP" = "yes"; then
41860 cat >>confdefs.h
<<\_ACEOF
41861 #define wxUSE_FS_ZIP 1
41866 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41867 cat >>confdefs.h
<<\_ACEOF
41868 #define wxUSE_ARCHIVE_STREAMS 1
41873 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41874 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41875 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41876 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41877 elif test "$wxUSE_ZLIB" = "no"; then
41878 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41879 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41881 cat >>confdefs.h
<<\_ACEOF
41882 #define wxUSE_ZIPSTREAM 1
41888 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41889 if test "$USE_UNIX" != 1; then
41890 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41891 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41892 wxUSE_ON_FATAL_EXCEPTION
=no
41894 cat >>confdefs.h
<<\_ACEOF
41895 #define wxUSE_ON_FATAL_EXCEPTION 1
41901 if test "$wxUSE_STACKWALKER" = "yes"; then
41902 cat >>confdefs.h
<<\_ACEOF
41903 #define wxUSE_STACKWALKER 1
41908 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41909 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41910 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41911 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41912 wxUSE_DEBUGREPORT
=no
41914 cat >>confdefs.h
<<\_ACEOF
41915 #define wxUSE_DEBUGREPORT 1
41918 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41924 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41925 cat >>confdefs.h
<<\_ACEOF
41926 #define wxUSE_SNGLINST_CHECKER 1
41931 if test "$wxUSE_BUSYINFO" = "yes"; then
41932 cat >>confdefs.h
<<\_ACEOF
41933 #define wxUSE_BUSYINFO 1
41938 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41939 cat >>confdefs.h
<<\_ACEOF
41940 #define wxUSE_STD_IOSTREAM 1
41945 if test "$wxUSE_STD_STRING" = "yes"; then
41946 cat >>confdefs.h
<<\_ACEOF
41947 #define wxUSE_STD_STRING 1
41952 if test "$wxUSE_STDPATHS" = "yes"; then
41953 cat >>confdefs.h
<<\_ACEOF
41954 #define wxUSE_STDPATHS 1
41959 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41960 cat >>confdefs.h
<<\_ACEOF
41961 #define wxUSE_TEXTBUFFER 1
41966 if test "$wxUSE_TEXTFILE" = "yes"; then
41967 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41968 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41969 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41971 cat >>confdefs.h
<<\_ACEOF
41972 #define wxUSE_TEXTFILE 1
41978 if test "$wxUSE_CONFIG" = "yes" ; then
41979 if test "$wxUSE_TEXTFILE" != "yes"; then
41980 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41981 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41983 cat >>confdefs.h
<<\_ACEOF
41984 #define wxUSE_CONFIG 1
41987 cat >>confdefs.h
<<\_ACEOF
41988 #define wxUSE_CONFIG_NATIVE 1
41991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41995 if test "$wxUSE_INTL" = "yes" ; then
41996 if test "$wxUSE_FILE" != "yes"; then
41997 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41998 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42000 cat >>confdefs.h
<<\_ACEOF
42001 #define wxUSE_INTL 1
42004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42005 GUIDIST
="$GUIDIST INTL_DIST"
42009 if test "$wxUSE_LOG" = "yes"; then
42010 cat >>confdefs.h
<<\_ACEOF
42011 #define wxUSE_LOG 1
42015 if test "$wxUSE_LOGGUI" = "yes"; then
42016 cat >>confdefs.h
<<\_ACEOF
42017 #define wxUSE_LOGGUI 1
42022 if test "$wxUSE_LOGWINDOW" = "yes"; then
42023 cat >>confdefs.h
<<\_ACEOF
42024 #define wxUSE_LOGWINDOW 1
42029 if test "$wxUSE_LOGDIALOG" = "yes"; then
42030 cat >>confdefs.h
<<\_ACEOF
42031 #define wxUSE_LOG_DIALOG 1
42036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42039 if test "$wxUSE_LONGLONG" = "yes"; then
42040 cat >>confdefs.h
<<\_ACEOF
42041 #define wxUSE_LONGLONG 1
42046 if test "$wxUSE_GEOMETRY" = "yes"; then
42047 cat >>confdefs.h
<<\_ACEOF
42048 #define wxUSE_GEOMETRY 1
42053 if test "$wxUSE_STREAMS" = "yes" ; then
42054 cat >>confdefs.h
<<\_ACEOF
42055 #define wxUSE_STREAMS 1
42060 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42061 cat >>confdefs.h
<<\_ACEOF
42062 #define wxUSE_PRINTF_POS_PARAMS 1
42069 if test "$wxUSE_DATETIME" = "yes"; then
42071 for ac_func
in strptime
42073 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42074 echo "$as_me:$LINENO: checking for $ac_func" >&5
42075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42076 if eval "test \"\${$as_ac_var+set}\" = set"; then
42077 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 cat >conftest.
$ac_ext <<_ACEOF
42082 cat confdefs.h
>>conftest.
$ac_ext
42083 cat >>conftest.
$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42087 #define $ac_func innocuous_$ac_func
42089 /* System header to define __stub macros and hopefully few prototypes,
42090 which can conflict with char $ac_func (); below.
42091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42092 <limits.h> exists even on freestanding compilers. */
42095 # include <limits.h>
42097 # include <assert.h>
42102 /* Override any gcc2 internal prototype to avoid an error. */
42107 /* We use char because int might match the return type of a gcc2
42108 builtin and then its argument prototype would still apply. */
42110 /* The GNU C library defines this for functions which it implements
42111 to always fail with ENOSYS. Some functions are actually named
42112 something starting with __ and the normal name is an alias. */
42113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42116 char (*f) () = $ac_func;
42125 return f != $ac_func;
42130 rm -f conftest.
$ac_objext conftest
$ac_exeext
42131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42132 (eval $ac_link) 2>conftest.er1
42134 grep -v '^ *+' conftest.er1
>conftest.err
42136 cat conftest.err
>&5
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); } &&
42139 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42141 (eval $ac_try) 2>&5
42143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42144 (exit $ac_status); }; } &&
42145 { ac_try
='test -s conftest$ac_exeext'
42146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42147 (eval $ac_try) 2>&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; }; then
42151 eval "$as_ac_var=yes"
42153 echo "$as_me: failed program was:" >&5
42154 sed 's/^/| /' conftest.
$ac_ext >&5
42156 eval "$as_ac_var=no"
42158 rm -f conftest.err conftest.
$ac_objext \
42159 conftest
$ac_exeext conftest.
$ac_ext
42161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42163 if test `eval echo '${'$as_ac_var'}'` = yes; then
42164 cat >>confdefs.h
<<_ACEOF
42165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42171 if test "$ac_cv_func_strptime" = "yes"; then
42172 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42173 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42174 if test "${wx_cv_func_strptime_decl+set}" = set; then
42175 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 cat >conftest.
$ac_ext <<_ACEOF
42181 cat confdefs.h
>>conftest.
$ac_ext
42182 cat >>conftest.
$ac_ext <<_ACEOF
42183 /* end confdefs.h. */
42192 strptime("foo", "bar", &t);
42198 rm -f conftest.
$ac_objext
42199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42200 (eval $ac_compile) 2>conftest.er1
42202 grep -v '^ *+' conftest.er1
>conftest.err
42204 cat conftest.err
>&5
42205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206 (exit $ac_status); } &&
42207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42209 (eval $ac_try) 2>&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); }; } &&
42213 { ac_try
='test -s conftest.$ac_objext'
42214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42215 (eval $ac_try) 2>&5
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); }; }; then
42219 wx_cv_func_strptime_decl
=yes
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.
$ac_ext >&5
42224 wx_cv_func_strptime_decl
=no
42227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42231 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42232 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42234 if test "$wx_cv_func_strptime_decl" = "yes"; then
42235 cat >>confdefs.h
<<\_ACEOF
42236 #define HAVE_STRPTIME_DECL 1
42241 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42242 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42243 if test "${wx_cv_var_timezone+set}" = set; then
42244 echo $ECHO_N "(cached) $ECHO_C" >&6
42247 cat >conftest.
$ac_ext <<_ACEOF
42250 cat confdefs.h
>>conftest.
$ac_ext
42251 cat >>conftest.
$ac_ext <<_ACEOF
42252 /* end confdefs.h. */
42267 rm -f conftest.
$ac_objext
42268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42269 (eval $ac_compile) 2>conftest.er1
42271 grep -v '^ *+' conftest.er1
>conftest.err
42273 cat conftest.err
>&5
42274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275 (exit $ac_status); } &&
42276 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42278 (eval $ac_try) 2>&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; } &&
42282 { ac_try
='test -s conftest.$ac_objext'
42283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42284 (eval $ac_try) 2>&5
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; }; then
42289 wx_cv_var_timezone
=timezone
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.
$ac_ext >&5
42296 cat >conftest.
$ac_ext <<_ACEOF
42299 cat confdefs.h
>>conftest.
$ac_ext
42300 cat >>conftest.
$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42316 rm -f conftest.
$ac_objext
42317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42318 (eval $ac_compile) 2>conftest.er1
42320 grep -v '^ *+' conftest.er1
>conftest.err
42322 cat conftest.err
>&5
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); } &&
42325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42327 (eval $ac_try) 2>&5
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); }; } &&
42331 { ac_try
='test -s conftest.$ac_objext'
42332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42333 (eval $ac_try) 2>&5
42335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42336 (exit $ac_status); }; }; then
42338 wx_cv_var_timezone
=_timezone
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.
$ac_ext >&5
42345 cat >conftest.
$ac_ext <<_ACEOF
42348 cat confdefs.h
>>conftest.
$ac_ext
42349 cat >>conftest.
$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42365 rm -f conftest.
$ac_objext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42367 (eval $ac_compile) 2>conftest.er1
42369 grep -v '^ *+' conftest.er1
>conftest.err
42371 cat conftest.err
>&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } &&
42374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42376 (eval $ac_try) 2>&5
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); }; } &&
42380 { ac_try
='test -s conftest.$ac_objext'
42381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42382 (eval $ac_try) 2>&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); }; }; then
42387 wx_cv_var_timezone
=__timezone
42390 echo "$as_me: failed program was:" >&5
42391 sed 's/^/| /' conftest.
$ac_ext >&5
42394 if test "$USE_DOS" = 0 ; then
42395 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42396 echo "$as_me: WARNING: no timezone variable" >&2;}
42401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42413 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42414 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42416 if test "x$wx_cv_var_timezone" != x
; then
42417 cat >>confdefs.h
<<_ACEOF
42418 #define WX_TIMEZONE $wx_cv_var_timezone
42424 for ac_func
in localtime
42426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42427 echo "$as_me:$LINENO: checking for $ac_func" >&5
42428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42429 if eval "test \"\${$as_ac_var+set}\" = set"; then
42430 echo $ECHO_N "(cached) $ECHO_C" >&6
42432 cat >conftest.
$ac_ext <<_ACEOF
42435 cat confdefs.h
>>conftest.
$ac_ext
42436 cat >>conftest.
$ac_ext <<_ACEOF
42437 /* end confdefs.h. */
42438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42440 #define $ac_func innocuous_$ac_func
42442 /* System header to define __stub macros and hopefully few prototypes,
42443 which can conflict with char $ac_func (); below.
42444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42445 <limits.h> exists even on freestanding compilers. */
42448 # include <limits.h>
42450 # include <assert.h>
42455 /* Override any gcc2 internal prototype to avoid an error. */
42460 /* We use char because int might match the return type of a gcc2
42461 builtin and then its argument prototype would still apply. */
42463 /* The GNU C library defines this for functions which it implements
42464 to always fail with ENOSYS. Some functions are actually named
42465 something starting with __ and the normal name is an alias. */
42466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42469 char (*f) () = $ac_func;
42478 return f != $ac_func;
42483 rm -f conftest.
$ac_objext conftest
$ac_exeext
42484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42485 (eval $ac_link) 2>conftest.er1
42487 grep -v '^ *+' conftest.er1
>conftest.err
42489 cat conftest.err
>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); } &&
42492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42494 (eval $ac_try) 2>&5
42496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42497 (exit $ac_status); }; } &&
42498 { ac_try
='test -s conftest$ac_exeext'
42499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42500 (eval $ac_try) 2>&5
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); }; }; then
42504 eval "$as_ac_var=yes"
42506 echo "$as_me: failed program was:" >&5
42507 sed 's/^/| /' conftest.
$ac_ext >&5
42509 eval "$as_ac_var=no"
42511 rm -f conftest.err conftest.
$ac_objext \
42512 conftest
$ac_exeext conftest.
$ac_ext
42514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42516 if test `eval echo '${'$as_ac_var'}'` = yes; then
42517 cat >>confdefs.h
<<_ACEOF
42518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42525 if test "$ac_cv_func_localtime" = "yes"; then
42526 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42527 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42528 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42532 cat >conftest.
$ac_ext <<_ACEOF
42535 cat confdefs.h
>>conftest.
$ac_ext
42536 cat >>conftest.
$ac_ext <<_ACEOF
42537 /* end confdefs.h. */
42552 rm -f conftest.
$ac_objext
42553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42554 (eval $ac_compile) 2>conftest.er1
42556 grep -v '^ *+' conftest.er1
>conftest.err
42558 cat conftest.err
>&5
42559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560 (exit $ac_status); } &&
42561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42563 (eval $ac_try) 2>&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); }; } &&
42567 { ac_try
='test -s conftest.$ac_objext'
42568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42569 (eval $ac_try) 2>&5
42571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42572 (exit $ac_status); }; }; then
42574 wx_cv_struct_tm_has_gmtoff
=yes
42577 echo "$as_me: failed program was:" >&5
42578 sed 's/^/| /' conftest.
$ac_ext >&5
42580 wx_cv_struct_tm_has_gmtoff
=no
42583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42586 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42587 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42590 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42591 cat >>confdefs.h
<<\_ACEOF
42592 #define WX_GMTOFF_IN_TM 1
42599 for ac_func
in gettimeofday ftime
42601 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42602 echo "$as_me:$LINENO: checking for $ac_func" >&5
42603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42604 if eval "test \"\${$as_ac_var+set}\" = set"; then
42605 echo $ECHO_N "(cached) $ECHO_C" >&6
42607 cat >conftest.
$ac_ext <<_ACEOF
42610 cat confdefs.h
>>conftest.
$ac_ext
42611 cat >>conftest.
$ac_ext <<_ACEOF
42612 /* end confdefs.h. */
42613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42615 #define $ac_func innocuous_$ac_func
42617 /* System header to define __stub macros and hopefully few prototypes,
42618 which can conflict with char $ac_func (); below.
42619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42620 <limits.h> exists even on freestanding compilers. */
42623 # include <limits.h>
42625 # include <assert.h>
42630 /* Override any gcc2 internal prototype to avoid an error. */
42635 /* We use char because int might match the return type of a gcc2
42636 builtin and then its argument prototype would still apply. */
42638 /* The GNU C library defines this for functions which it implements
42639 to always fail with ENOSYS. Some functions are actually named
42640 something starting with __ and the normal name is an alias. */
42641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42644 char (*f) () = $ac_func;
42653 return f != $ac_func;
42658 rm -f conftest.
$ac_objext conftest
$ac_exeext
42659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42660 (eval $ac_link) 2>conftest.er1
42662 grep -v '^ *+' conftest.er1
>conftest.err
42664 cat conftest.err
>&5
42665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42666 (exit $ac_status); } &&
42667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42669 (eval $ac_try) 2>&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); }; } &&
42673 { ac_try
='test -s conftest$ac_exeext'
42674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42675 (eval $ac_try) 2>&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); }; }; then
42679 eval "$as_ac_var=yes"
42681 echo "$as_me: failed program was:" >&5
42682 sed 's/^/| /' conftest.
$ac_ext >&5
42684 eval "$as_ac_var=no"
42686 rm -f conftest.err conftest.
$ac_objext \
42687 conftest
$ac_exeext conftest.
$ac_ext
42689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42691 if test `eval echo '${'$as_ac_var'}'` = yes; then
42692 cat >>confdefs.h
<<_ACEOF
42693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42700 if test "$ac_cv_func_gettimeofday" = "yes"; then
42701 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42702 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42703 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42704 echo $ECHO_N "(cached) $ECHO_C" >&6
42707 cat >conftest.
$ac_ext <<_ACEOF
42710 cat confdefs.h
>>conftest.
$ac_ext
42711 cat >>conftest.
$ac_ext <<_ACEOF
42712 /* end confdefs.h. */
42714 #include <sys/time.h>
42715 #include <unistd.h>
42722 gettimeofday(&tv, NULL);
42728 rm -f conftest.
$ac_objext
42729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42730 (eval $ac_compile) 2>conftest.er1
42732 grep -v '^ *+' conftest.er1
>conftest.err
42734 cat conftest.err
>&5
42735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42736 (exit $ac_status); } &&
42737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42739 (eval $ac_try) 2>&5
42741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42742 (exit $ac_status); }; } &&
42743 { ac_try
='test -s conftest.$ac_objext'
42744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42745 (eval $ac_try) 2>&5
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); }; }; then
42749 wx_cv_func_gettimeofday_has_2_args
=yes
42751 echo "$as_me: failed program was:" >&5
42752 sed 's/^/| /' conftest.
$ac_ext >&5
42754 cat >conftest.
$ac_ext <<_ACEOF
42757 cat confdefs.h
>>conftest.
$ac_ext
42758 cat >>conftest.
$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42761 #include <sys/time.h>
42762 #include <unistd.h>
42775 rm -f conftest.
$ac_objext
42776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42777 (eval $ac_compile) 2>conftest.er1
42779 grep -v '^ *+' conftest.er1
>conftest.err
42781 cat conftest.err
>&5
42782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42783 (exit $ac_status); } &&
42784 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42786 (eval $ac_try) 2>&5
42788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42789 (exit $ac_status); }; } &&
42790 { ac_try
='test -s conftest.$ac_objext'
42791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42792 (eval $ac_try) 2>&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); }; }; then
42796 wx_cv_func_gettimeofday_has_2_args
=no
42798 echo "$as_me: failed program was:" >&5
42799 sed 's/^/| /' conftest.
$ac_ext >&5
42802 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42803 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42804 wx_cv_func_gettimeofday_has_2_args
=unknown
42808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42814 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42815 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42817 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42818 cat >>confdefs.h
<<\_ACEOF
42819 #define WX_GETTIMEOFDAY_NO_TZ 1
42825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42829 if test "$wxUSE_SOCKETS" = "yes"; then
42830 if test "$wxUSE_MGL" = "1"; then
42831 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42832 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42837 if test "$wxUSE_SOCKETS" = "yes"; then
42838 if test "$TOOLKIT" != "MSW"; then
42839 echo "$as_me:$LINENO: checking for socket" >&5
42840 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42841 if test "${ac_cv_func_socket+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42844 cat >conftest.
$ac_ext <<_ACEOF
42847 cat confdefs.h
>>conftest.
$ac_ext
42848 cat >>conftest.
$ac_ext <<_ACEOF
42849 /* end confdefs.h. */
42850 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42852 #define socket innocuous_socket
42854 /* System header to define __stub macros and hopefully few prototypes,
42855 which can conflict with char socket (); below.
42856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42857 <limits.h> exists even on freestanding compilers. */
42860 # include <limits.h>
42862 # include <assert.h>
42867 /* Override any gcc2 internal prototype to avoid an error. */
42872 /* We use char because int might match the return type of a gcc2
42873 builtin and then its argument prototype would still apply. */
42875 /* The GNU C library defines this for functions which it implements
42876 to always fail with ENOSYS. Some functions are actually named
42877 something starting with __ and the normal name is an alias. */
42878 #if defined (__stub_socket) || defined (__stub___socket)
42881 char (*f) () = socket;
42890 return f != socket;
42895 rm -f conftest.
$ac_objext conftest
$ac_exeext
42896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42897 (eval $ac_link) 2>conftest.er1
42899 grep -v '^ *+' conftest.er1
>conftest.err
42901 cat conftest.err
>&5
42902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42903 (exit $ac_status); } &&
42904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42906 (eval $ac_try) 2>&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; } &&
42910 { ac_try
='test -s conftest$ac_exeext'
42911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912 (eval $ac_try) 2>&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; }; then
42916 ac_cv_func_socket
=yes
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.
$ac_ext >&5
42921 ac_cv_func_socket
=no
42923 rm -f conftest.err conftest.
$ac_objext \
42924 conftest
$ac_exeext conftest.
$ac_ext
42926 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42927 echo "${ECHO_T}$ac_cv_func_socket" >&6
42928 if test $ac_cv_func_socket = yes; then
42932 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42933 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42934 if test "${ac_cv_lib_socket_socket+set}" = set; then
42935 echo $ECHO_N "(cached) $ECHO_C" >&6
42937 ac_check_lib_save_LIBS
=$LIBS
42938 LIBS
="-lsocket $LIBS"
42939 cat >conftest.
$ac_ext <<_ACEOF
42942 cat confdefs.h
>>conftest.
$ac_ext
42943 cat >>conftest.
$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42946 /* Override any gcc2 internal prototype to avoid an error. */
42950 /* We use char because int might match the return type of a gcc2
42951 builtin and then its argument prototype would still apply. */
42961 rm -f conftest.
$ac_objext conftest
$ac_exeext
42962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42963 (eval $ac_link) 2>conftest.er1
42965 grep -v '^ *+' conftest.er1
>conftest.err
42967 cat conftest.err
>&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); } &&
42970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42972 (eval $ac_try) 2>&5
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; } &&
42976 { ac_try
='test -s conftest$ac_exeext'
42977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42978 (eval $ac_try) 2>&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; }; then
42982 ac_cv_lib_socket_socket
=yes
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.
$ac_ext >&5
42987 ac_cv_lib_socket_socket
=no
42989 rm -f conftest.err conftest.
$ac_objext \
42990 conftest
$ac_exeext conftest.
$ac_ext
42991 LIBS
=$ac_check_lib_save_LIBS
42993 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42994 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42995 if test $ac_cv_lib_socket_socket = yes; then
42996 if test "$INET_LINK" != " -lsocket"; then
42997 INET_LINK
="$INET_LINK -lsocket"
43001 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43002 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43015 if test "$wxUSE_SOCKETS" = "yes" ; then
43016 if test "$TOOLKIT" != "MSW"; then
43017 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43018 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43019 if test "${wx_cv_type_getsockname3+set}" = set; then
43020 echo $ECHO_N "(cached) $ECHO_C" >&6
43023 cat >conftest.
$ac_ext <<_ACEOF
43026 cat confdefs.h
>>conftest.
$ac_ext
43027 cat >>conftest.
$ac_ext <<_ACEOF
43028 /* end confdefs.h. */
43030 #include <sys/types.h>
43031 #include <sys/socket.h>
43038 getsockname(0, 0, &len);
43044 rm -f conftest.
$ac_objext
43045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43046 (eval $ac_compile) 2>conftest.er1
43048 grep -v '^ *+' conftest.er1
>conftest.err
43050 cat conftest.err
>&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } &&
43053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055 (eval $ac_try) 2>&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; } &&
43059 { ac_try
='test -s conftest.$ac_objext'
43060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43061 (eval $ac_try) 2>&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); }; }; then
43065 wx_cv_type_getsockname3
=socklen_t
43067 echo "$as_me: failed program was:" >&5
43068 sed 's/^/| /' conftest.
$ac_ext >&5
43071 CXXFLAGS_OLD
="$CXXFLAGS"
43072 if test "$GCC" = yes ; then
43073 CXXFLAGS
="-Werror $CXXFLAGS"
43076 cat >conftest.
$ac_ext <<_ACEOF
43079 cat confdefs.h
>>conftest.
$ac_ext
43080 cat >>conftest.
$ac_ext <<_ACEOF
43081 /* end confdefs.h. */
43083 #include <sys/types.h>
43084 #include <sys/socket.h>
43091 getsockname(0, 0, &len);
43097 rm -f conftest.
$ac_objext
43098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43099 (eval $ac_compile) 2>conftest.er1
43101 grep -v '^ *+' conftest.er1
>conftest.err
43103 cat conftest.err
>&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } &&
43106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43108 (eval $ac_try) 2>&5
43110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111 (exit $ac_status); }; } &&
43112 { ac_try
='test -s conftest.$ac_objext'
43113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43114 (eval $ac_try) 2>&5
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); }; }; then
43118 wx_cv_type_getsockname3
=size_t
43120 echo "$as_me: failed program was:" >&5
43121 sed 's/^/| /' conftest.
$ac_ext >&5
43123 cat >conftest.
$ac_ext <<_ACEOF
43126 cat confdefs.h
>>conftest.
$ac_ext
43127 cat >>conftest.
$ac_ext <<_ACEOF
43128 /* end confdefs.h. */
43130 #include <sys/types.h>
43131 #include <sys/socket.h>
43138 getsockname(0, 0, &len);
43144 rm -f conftest.
$ac_objext
43145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43146 (eval $ac_compile) 2>conftest.er1
43148 grep -v '^ *+' conftest.er1
>conftest.err
43150 cat conftest.err
>&5
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); } &&
43153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43155 (eval $ac_try) 2>&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); }; } &&
43159 { ac_try
='test -s conftest.$ac_objext'
43160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43161 (eval $ac_try) 2>&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); }; }; then
43165 wx_cv_type_getsockname3
=int
43167 echo "$as_me: failed program was:" >&5
43168 sed 's/^/| /' conftest.
$ac_ext >&5
43170 wx_cv_type_getsockname3
=unknown
43173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43178 CXXFLAGS
="$CXXFLAGS_OLD"
43182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43185 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43186 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43188 if test "$wx_cv_type_getsockname3" = "unknown"; then
43190 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43191 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43193 cat >>confdefs.h
<<_ACEOF
43194 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43198 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43199 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43200 if test "${wx_cv_type_getsockopt5+set}" = set; then
43201 echo $ECHO_N "(cached) $ECHO_C" >&6
43204 cat >conftest.
$ac_ext <<_ACEOF
43207 cat confdefs.h
>>conftest.
$ac_ext
43208 cat >>conftest.
$ac_ext <<_ACEOF
43209 /* end confdefs.h. */
43211 #include <sys/types.h>
43212 #include <sys/socket.h>
43219 getsockopt(0, 0, 0, 0, &len);
43225 rm -f conftest.
$ac_objext
43226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43227 (eval $ac_compile) 2>conftest.er1
43229 grep -v '^ *+' conftest.er1
>conftest.err
43231 cat conftest.err
>&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } &&
43234 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43236 (eval $ac_try) 2>&5
43238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43239 (exit $ac_status); }; } &&
43240 { ac_try
='test -s conftest.$ac_objext'
43241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43242 (eval $ac_try) 2>&5
43244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43245 (exit $ac_status); }; }; then
43246 wx_cv_type_getsockopt5
=socklen_t
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.
$ac_ext >&5
43252 CXXFLAGS_OLD
="$CXXFLAGS"
43253 if test "$GCC" = yes ; then
43254 CXXFLAGS
="-Werror $CXXFLAGS"
43257 cat >conftest.
$ac_ext <<_ACEOF
43260 cat confdefs.h
>>conftest.
$ac_ext
43261 cat >>conftest.
$ac_ext <<_ACEOF
43262 /* end confdefs.h. */
43264 #include <sys/types.h>
43265 #include <sys/socket.h>
43272 getsockopt(0, 0, 0, 0, &len);
43278 rm -f conftest.
$ac_objext
43279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43280 (eval $ac_compile) 2>conftest.er1
43282 grep -v '^ *+' conftest.er1
>conftest.err
43284 cat conftest.err
>&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } &&
43287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43289 (eval $ac_try) 2>&5
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); }; } &&
43293 { ac_try
='test -s conftest.$ac_objext'
43294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43295 (eval $ac_try) 2>&5
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); }; }; then
43299 wx_cv_type_getsockopt5
=size_t
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.
$ac_ext >&5
43304 cat >conftest.
$ac_ext <<_ACEOF
43307 cat confdefs.h
>>conftest.
$ac_ext
43308 cat >>conftest.
$ac_ext <<_ACEOF
43309 /* end confdefs.h. */
43311 #include <sys/types.h>
43312 #include <sys/socket.h>
43319 getsockopt(0, 0, 0, 0, &len);
43325 rm -f conftest.
$ac_objext
43326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43327 (eval $ac_compile) 2>conftest.er1
43329 grep -v '^ *+' conftest.er1
>conftest.err
43331 cat conftest.err
>&5
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); } &&
43334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43336 (eval $ac_try) 2>&5
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); }; } &&
43340 { ac_try
='test -s conftest.$ac_objext'
43341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43342 (eval $ac_try) 2>&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); }; }; then
43346 wx_cv_type_getsockopt5
=int
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.
$ac_ext >&5
43351 wx_cv_type_getsockopt5
=unknown
43354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43359 CXXFLAGS
="$CXXFLAGS_OLD"
43363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43366 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43367 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43369 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43371 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43372 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43374 cat >>confdefs.h
<<_ACEOF
43375 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43382 if test "$wxUSE_SOCKETS" = "yes" ; then
43383 cat >>confdefs.h
<<\_ACEOF
43384 #define wxUSE_SOCKETS 1
43387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43390 if test "$wxUSE_PROTOCOL" = "yes"; then
43391 if test "$wxUSE_SOCKETS" != "yes"; then
43392 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43393 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43398 if test "$wxUSE_PROTOCOL" = "yes"; then
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_PROTOCOL 1
43404 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_PROTOCOL_HTTP 1
43410 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43411 cat >>confdefs.h
<<\_ACEOF
43412 #define wxUSE_PROTOCOL_FTP 1
43416 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43417 cat >>confdefs.h
<<\_ACEOF
43418 #define wxUSE_PROTOCOL_FILE 1
43423 if test "$wxUSE_FS_INET" = "yes"; then
43424 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43425 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43430 if test "$wxUSE_URL" = "yes"; then
43431 if test "$wxUSE_PROTOCOL" != "yes"; then
43432 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43433 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43436 if test "$wxUSE_URL" = "yes"; then
43437 cat >>confdefs.h
<<\_ACEOF
43438 #define wxUSE_URL 1
43444 if test "$wxUSE_FS_INET" = "yes"; then
43445 cat >>confdefs.h
<<\_ACEOF
43446 #define wxUSE_FS_INET 1
43452 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43455 if test "$TOOLKIT" = "MSW"; then
43458 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43459 if test "$USE_DARWIN" = 1; then
43460 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43461 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43462 cat >conftest.
$ac_ext <<_ACEOF
43465 cat confdefs.h
>>conftest.
$ac_ext
43466 cat >>conftest.
$ac_ext <<_ACEOF
43467 /* end confdefs.h. */
43468 #include <IOKit/hid/IOHIDLib.h>
43472 IOHIDQueueInterface *qi = NULL;
43473 IOHIDCallbackFunction cb = NULL;
43474 qi->setEventCallout(NULL, cb, NULL, NULL);
43479 rm -f conftest.
$ac_objext
43480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43481 (eval $ac_compile) 2>conftest.er1
43483 grep -v '^ *+' conftest.er1
>conftest.err
43485 cat conftest.err
>&5
43486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43487 (exit $ac_status); } &&
43488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43490 (eval $ac_try) 2>&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); }; } &&
43494 { ac_try
='test -s conftest.$ac_objext'
43495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43496 (eval $ac_try) 2>&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); }; }; then
43503 echo "$as_me: failed program was:" >&5
43504 sed 's/^/| /' conftest.
$ac_ext >&5
43507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43508 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43509 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43514 for ac_header
in linux
/joystick.h
43516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43518 echo "$as_me:$LINENO: checking for $ac_header" >&5
43519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43521 echo $ECHO_N "(cached) $ECHO_C" >&6
43523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43526 # Is the header compilable?
43527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43529 cat >conftest.
$ac_ext <<_ACEOF
43532 cat confdefs.h
>>conftest.
$ac_ext
43533 cat >>conftest.
$ac_ext <<_ACEOF
43534 /* end confdefs.h. */
43535 $ac_includes_default
43536 #include <$ac_header>
43538 rm -f conftest.
$ac_objext
43539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43540 (eval $ac_compile) 2>conftest.er1
43542 grep -v '^ *+' conftest.er1
>conftest.err
43544 cat conftest.err
>&5
43545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43546 (exit $ac_status); } &&
43547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43549 (eval $ac_try) 2>&5
43551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43552 (exit $ac_status); }; } &&
43553 { ac_try
='test -s conftest.$ac_objext'
43554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43555 (eval $ac_try) 2>&5
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); }; }; then
43559 ac_header_compiler
=yes
43561 echo "$as_me: failed program was:" >&5
43562 sed 's/^/| /' conftest.
$ac_ext >&5
43564 ac_header_compiler
=no
43566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43568 echo "${ECHO_T}$ac_header_compiler" >&6
43570 # Is the header present?
43571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43573 cat >conftest.
$ac_ext <<_ACEOF
43576 cat confdefs.h
>>conftest.
$ac_ext
43577 cat >>conftest.
$ac_ext <<_ACEOF
43578 /* end confdefs.h. */
43579 #include <$ac_header>
43581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43584 grep -v '^ *+' conftest.er1
>conftest.err
43586 cat conftest.err
>&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); } >/dev
/null
; then
43589 if test -s conftest.err
; then
43590 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43591 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43598 if test -z "$ac_cpp_err"; then
43599 ac_header_preproc
=yes
43601 echo "$as_me: failed program was:" >&5
43602 sed 's/^/| /' conftest.
$ac_ext >&5
43604 ac_header_preproc
=no
43606 rm -f conftest.err conftest.
$ac_ext
43607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43608 echo "${ECHO_T}$ac_header_preproc" >&6
43610 # So? What about this header?
43611 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43617 ac_header_preproc
=yes
43620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43634 ## ----------------------------------------- ##
43635 ## Report this to wx-dev@lists.wxwidgets.org ##
43636 ## ----------------------------------------- ##
43639 sed "s/^/$as_me: WARNING: /" >&2
43642 echo "$as_me:$LINENO: checking for $ac_header" >&5
43643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43645 echo $ECHO_N "(cached) $ECHO_C" >&6
43647 eval "$as_ac_Header=\$ac_header_preproc"
43649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43654 cat >>confdefs.h
<<_ACEOF
43655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43664 if test "$wxUSE_JOYSTICK" = "yes"; then
43665 cat >>confdefs.h
<<\_ACEOF
43666 #define wxUSE_JOYSTICK 1
43669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43671 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43672 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43678 if test "$wxUSE_FONTMAP" = "yes" ; then
43679 cat >>confdefs.h
<<\_ACEOF
43680 #define wxUSE_FONTMAP 1
43685 if test "$wxUSE_UNICODE" = "yes" ; then
43686 cat >>confdefs.h
<<\_ACEOF
43687 #define wxUSE_UNICODE 1
43691 if test "$USE_WIN32" != 1; then
43692 wxUSE_UNICODE_MSLU
=no
43695 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43696 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43697 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43698 if test "${ac_cv_lib_unicows_main+set}" = set; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43701 ac_check_lib_save_LIBS
=$LIBS
43702 LIBS
="-lunicows $LIBS"
43703 cat >conftest.
$ac_ext <<_ACEOF
43706 cat confdefs.h
>>conftest.
$ac_ext
43707 cat >>conftest.
$ac_ext <<_ACEOF
43708 /* end confdefs.h. */
43719 rm -f conftest.
$ac_objext conftest
$ac_exeext
43720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43721 (eval $ac_link) 2>conftest.er1
43723 grep -v '^ *+' conftest.er1
>conftest.err
43725 cat conftest.err
>&5
43726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727 (exit $ac_status); } &&
43728 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43730 (eval $ac_try) 2>&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; } &&
43734 { ac_try
='test -s conftest$ac_exeext'
43735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43736 (eval $ac_try) 2>&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); }; }; then
43740 ac_cv_lib_unicows_main
=yes
43742 echo "$as_me: failed program was:" >&5
43743 sed 's/^/| /' conftest.
$ac_ext >&5
43745 ac_cv_lib_unicows_main
=no
43747 rm -f conftest.err conftest.
$ac_objext \
43748 conftest
$ac_exeext conftest.
$ac_ext
43749 LIBS
=$ac_check_lib_save_LIBS
43751 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43752 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43753 if test $ac_cv_lib_unicows_main = yes; then
43755 cat >>confdefs.h
<<\_ACEOF
43756 #define wxUSE_UNICODE_MSLU 1
43762 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43763 Applications will only run on Windows NT/2000/XP!" >&5
43764 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43765 Applications will only run on Windows NT/2000/XP!" >&2;}
43766 wxUSE_UNICODE_MSLU
=no
43773 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43774 cat >>confdefs.h
<<\_ACEOF
43775 #define wxUSE_EXPERIMENTAL_PRINTF 1
43781 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43782 cat >>confdefs.h
<<\_ACEOF
43783 #define wxUSE_POSTSCRIPT 1
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43793 cat >>confdefs.h
<<\_ACEOF
43794 #define wxUSE_NORMALIZED_PS_FONTS 1
43799 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43800 cat >>confdefs.h
<<\_ACEOF
43801 #define wxUSE_CONSTRAINTS 1
43804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43807 if test "$wxUSE_MDI" = "yes"; then
43808 cat >>confdefs.h
<<\_ACEOF
43809 #define wxUSE_MDI 1
43813 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43814 cat >>confdefs.h
<<\_ACEOF
43815 #define wxUSE_MDI_ARCHITECTURE 1
43818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43822 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43823 cat >>confdefs.h
<<\_ACEOF
43824 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43828 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43833 if test "$wxUSE_HELP" = "yes"; then
43834 cat >>confdefs.h
<<\_ACEOF
43835 #define wxUSE_HELP 1
43838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43840 if test "$wxUSE_MSW" = 1; then
43841 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43842 cat >>confdefs.h
<<\_ACEOF
43843 #define wxUSE_MS_HTML_HELP 1
43849 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43850 if test "$wxUSE_HTML" = "yes"; then
43851 cat >>confdefs.h
<<\_ACEOF
43852 #define wxUSE_WXHTML_HELP 1
43856 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43857 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43858 wxUSE_WXHTML_HELP
=no
43863 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43864 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43865 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43866 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43868 cat >>confdefs.h
<<\_ACEOF
43869 #define wxUSE_PRINTING_ARCHITECTURE 1
43873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43876 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43877 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43878 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43879 { (exit 1); exit 1; }; }
43883 if test "$wxUSE_METAFILE" = "yes"; then
43884 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43885 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43886 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43892 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43893 -o "$wxUSE_CLIPBOARD" = "yes" \
43894 -o "$wxUSE_OLE" = "yes" \
43895 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43897 for ac_header
in ole2.h
43899 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43901 echo "$as_me:$LINENO: checking for $ac_header" >&5
43902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43904 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43909 # Is the header compilable?
43910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43912 cat >conftest.
$ac_ext <<_ACEOF
43915 cat confdefs.h
>>conftest.
$ac_ext
43916 cat >>conftest.
$ac_ext <<_ACEOF
43917 /* end confdefs.h. */
43918 $ac_includes_default
43919 #include <$ac_header>
43921 rm -f conftest.
$ac_objext
43922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43923 (eval $ac_compile) 2>conftest.er1
43925 grep -v '^ *+' conftest.er1
>conftest.err
43927 cat conftest.err
>&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); } &&
43930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43932 (eval $ac_try) 2>&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); }; } &&
43936 { ac_try
='test -s conftest.$ac_objext'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; }; then
43942 ac_header_compiler
=yes
43944 echo "$as_me: failed program was:" >&5
43945 sed 's/^/| /' conftest.
$ac_ext >&5
43947 ac_header_compiler
=no
43949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43951 echo "${ECHO_T}$ac_header_compiler" >&6
43953 # Is the header present?
43954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43956 cat >conftest.
$ac_ext <<_ACEOF
43959 cat confdefs.h
>>conftest.
$ac_ext
43960 cat >>conftest.
$ac_ext <<_ACEOF
43961 /* end confdefs.h. */
43962 #include <$ac_header>
43964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43967 grep -v '^ *+' conftest.er1
>conftest.err
43969 cat conftest.err
>&5
43970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43971 (exit $ac_status); } >/dev
/null
; then
43972 if test -s conftest.err
; then
43973 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43974 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43981 if test -z "$ac_cpp_err"; then
43982 ac_header_preproc
=yes
43984 echo "$as_me: failed program was:" >&5
43985 sed 's/^/| /' conftest.
$ac_ext >&5
43987 ac_header_preproc
=no
43989 rm -f conftest.err conftest.
$ac_ext
43990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43991 echo "${ECHO_T}$ac_header_preproc" >&6
43993 # So? What about this header?
43994 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44000 ac_header_preproc
=yes
44003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44017 ## ----------------------------------------- ##
44018 ## Report this to wx-dev@lists.wxwidgets.org ##
44019 ## ----------------------------------------- ##
44022 sed "s/^/$as_me: WARNING: /" >&2
44025 echo "$as_me:$LINENO: checking for $ac_header" >&5
44026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44028 echo $ECHO_N "(cached) $ECHO_C" >&6
44030 eval "$as_ac_Header=\$ac_header_preproc"
44032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44037 cat >>confdefs.h
<<_ACEOF
44038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44046 if test "$ac_cv_header_ole2_h" = "yes" ; then
44047 if test "$GCC" = yes ; then
44048 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44049 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44050 cat >conftest.
$ac_ext <<_ACEOF
44053 cat confdefs.h
>>conftest.
$ac_ext
44054 cat >>conftest.
$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44056 #include <windows.h>
44066 rm -f conftest.
$ac_objext
44067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44068 (eval $ac_compile) 2>conftest.er1
44070 grep -v '^ *+' conftest.er1
>conftest.err
44072 cat conftest.err
>&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); } &&
44075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44077 (eval $ac_try) 2>&5
44079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44080 (exit $ac_status); }; } &&
44081 { ac_try
='test -s conftest.$ac_objext'
44082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44083 (eval $ac_try) 2>&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); }; }; then
44087 echo "$as_me:$LINENO: result: no" >&5
44088 echo "${ECHO_T}no" >&6
44090 echo "$as_me: failed program was:" >&5
44091 sed 's/^/| /' conftest.
$ac_ext >&5
44093 echo "$as_me:$LINENO: result: yes" >&5
44094 echo "${ECHO_T}yes" >&6
44095 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44098 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44099 if test "$wxUSE_OLE" = "yes" ; then
44100 cat >>confdefs.h
<<\_ACEOF
44101 #define wxUSE_OLE 1
44104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44108 if test "$wxUSE_DATAOBJ" = "yes" ; then
44109 cat >>confdefs.h
<<\_ACEOF
44110 #define wxUSE_DATAOBJ 1
44115 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44116 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44119 wxUSE_DRAG_AND_DROP
=no
44124 if test "$wxUSE_METAFILE" = "yes"; then
44125 cat >>confdefs.h
<<\_ACEOF
44126 #define wxUSE_METAFILE 1
44130 cat >>confdefs.h
<<\_ACEOF
44131 #define wxUSE_ENH_METAFILE 1
44137 if test "$wxUSE_IPC" = "yes"; then
44138 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44139 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44140 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44144 if test "$wxUSE_IPC" = "yes"; then
44145 cat >>confdefs.h
<<\_ACEOF
44146 #define wxUSE_IPC 1
44149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44153 if test "$wxUSE_DATAOBJ" = "yes"; then
44154 if test "$wxUSE_MGL" = 1; then
44155 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44156 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44159 cat >>confdefs.h
<<\_ACEOF
44160 #define wxUSE_DATAOBJ 1
44165 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44166 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44168 wxUSE_DRAG_AND_DROP
=no
44171 if test "$wxUSE_CLIPBOARD" = "yes"; then
44172 if test "$wxUSE_MGL" = 1; then
44173 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44174 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44178 if test "$wxUSE_CLIPBOARD" = "yes"; then
44179 cat >>confdefs.h
<<\_ACEOF
44180 #define wxUSE_CLIPBOARD 1
44186 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44187 if test "$wxUSE_GTK" = 1; then
44188 if test "$WXGTK12" != 1; then
44189 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44190 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44191 wxUSE_DRAG_AND_DROP
=no
44195 if test "$wxUSE_MOTIF" = 1; then
44196 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44197 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44198 wxUSE_DRAG_AND_DROP
=no
44201 if test "$wxUSE_X11" = 1; then
44202 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44203 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44204 wxUSE_DRAG_AND_DROP
=no
44207 if test "$wxUSE_MGL" = 1; then
44208 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44209 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44210 wxUSE_DRAG_AND_DROP
=no
44213 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44214 cat >>confdefs.h
<<\_ACEOF
44215 #define wxUSE_DRAG_AND_DROP 1
44222 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44226 if test "$wxUSE_SPLINES" = "yes" ; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_SPLINES 1
44233 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44234 cat >>confdefs.h
<<\_ACEOF
44235 #define wxUSE_MOUSEWHEEL 1
44242 if test "$wxUSE_CONTROLS" = "yes"; then
44246 if test "$wxUSE_ACCEL" = "yes"; then
44247 cat >>confdefs.h
<<\_ACEOF
44248 #define wxUSE_ACCEL 1
44254 if test "$wxUSE_BUTTON" = "yes"; then
44255 cat >>confdefs.h
<<\_ACEOF
44256 #define wxUSE_BUTTON 1
44262 if test "$wxUSE_BMPBUTTON" = "yes"; then
44263 cat >>confdefs.h
<<\_ACEOF
44264 #define wxUSE_BMPBUTTON 1
44270 if test "$wxUSE_CALCTRL" = "yes"; then
44271 cat >>confdefs.h
<<\_ACEOF
44272 #define wxUSE_CALENDARCTRL 1
44276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44279 if test "$wxUSE_CARET" = "yes"; then
44280 cat >>confdefs.h
<<\_ACEOF
44281 #define wxUSE_CARET 1
44285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44288 if test "$wxUSE_COMBOBOX" = "yes"; then
44289 cat >>confdefs.h
<<\_ACEOF
44290 #define wxUSE_COMBOBOX 1
44296 if test "$wxUSE_COMBOCTRL" = "yes"; then
44297 cat >>confdefs.h
<<\_ACEOF
44298 #define wxUSE_COMBOCTRL 1
44304 if test "$wxUSE_CHOICE" = "yes"; then
44305 cat >>confdefs.h
<<\_ACEOF
44306 #define wxUSE_CHOICE 1
44312 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44313 cat >>confdefs.h
<<\_ACEOF
44314 #define wxUSE_CHOICEBOOK 1
44320 if test "$wxUSE_CHECKBOX" = "yes"; then
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define wxUSE_CHECKBOX 1
44328 if test "$wxUSE_CHECKLST" = "yes"; then
44329 cat >>confdefs.h
<<\_ACEOF
44330 #define wxUSE_CHECKLISTBOX 1
44334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44337 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44338 cat >>confdefs.h
<<\_ACEOF
44339 #define wxUSE_COLOURPICKERCTRL 1
44345 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44346 cat >>confdefs.h
<<\_ACEOF
44347 #define wxUSE_DATEPICKCTRL 1
44353 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44354 cat >>confdefs.h
<<\_ACEOF
44355 #define wxUSE_DIRPICKERCTRL 1
44361 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44362 cat >>confdefs.h
<<\_ACEOF
44363 #define wxUSE_FILEPICKERCTRL 1
44369 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44370 cat >>confdefs.h
<<\_ACEOF
44371 #define wxUSE_FONTPICKERCTRL 1
44377 if test "$wxUSE_DISPLAY" = "yes"; then
44378 cat >>confdefs.h
<<\_ACEOF
44379 #define wxUSE_DISPLAY 1
44382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44385 if test "$wxUSE_GAUGE" = "yes"; then
44386 cat >>confdefs.h
<<\_ACEOF
44387 #define wxUSE_GAUGE 1
44393 if test "$wxUSE_GRID" = "yes"; then
44394 cat >>confdefs.h
<<\_ACEOF
44395 #define wxUSE_GRID 1
44399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44402 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44403 cat >>confdefs.h
<<\_ACEOF
44404 #define wxUSE_HYPERLINKCTRL 1
44410 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44411 cat >>confdefs.h
<<\_ACEOF
44412 #define wxUSE_DATAVIEWCTRL 1
44416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44419 if test "$wxUSE_IMAGLIST" = "yes"; then
44420 cat >>confdefs.h
<<\_ACEOF
44421 #define wxUSE_IMAGLIST 1
44426 if test "$wxUSE_LISTBOOK" = "yes"; then
44427 cat >>confdefs.h
<<\_ACEOF
44428 #define wxUSE_LISTBOOK 1
44434 if test "$wxUSE_LISTBOX" = "yes"; then
44435 cat >>confdefs.h
<<\_ACEOF
44436 #define wxUSE_LISTBOX 1
44440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44443 if test "$wxUSE_LISTCTRL" = "yes"; then
44444 if test "$wxUSE_IMAGLIST" = "yes"; then
44445 cat >>confdefs.h
<<\_ACEOF
44446 #define wxUSE_LISTCTRL 1
44450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44452 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44453 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44457 if test "$wxUSE_NOTEBOOK" = "yes"; then
44458 cat >>confdefs.h
<<\_ACEOF
44459 #define wxUSE_NOTEBOOK 1
44463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44466 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44467 cat >>confdefs.h
<<\_ACEOF
44468 #define wxUSE_ODCOMBOBOX 1
44472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44476 if test "$wxUSE_RADIOBOX" = "yes"; then
44477 cat >>confdefs.h
<<\_ACEOF
44478 #define wxUSE_RADIOBOX 1
44484 if test "$wxUSE_RADIOBTN" = "yes"; then
44485 cat >>confdefs.h
<<\_ACEOF
44486 #define wxUSE_RADIOBTN 1
44492 if test "$wxUSE_SASH" = "yes"; then
44493 cat >>confdefs.h
<<\_ACEOF
44494 #define wxUSE_SASH 1
44497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44500 if test "$wxUSE_SCROLLBAR" = "yes"; then
44501 cat >>confdefs.h
<<\_ACEOF
44502 #define wxUSE_SCROLLBAR 1
44506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44509 if test "$wxUSE_SLIDER" = "yes"; then
44510 cat >>confdefs.h
<<\_ACEOF
44511 #define wxUSE_SLIDER 1
44517 if test "$wxUSE_SPINBTN" = "yes"; then
44518 cat >>confdefs.h
<<\_ACEOF
44519 #define wxUSE_SPINBTN 1
44525 if test "$wxUSE_SPINCTRL" = "yes"; then
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_SPINCTRL 1
44533 if test "$wxUSE_SPLITTER" = "yes"; then
44534 cat >>confdefs.h
<<\_ACEOF
44535 #define wxUSE_SPLITTER 1
44538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44541 if test "$wxUSE_STATBMP" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_STATBMP 1
44549 if test "$wxUSE_STATBOX" = "yes"; then
44550 cat >>confdefs.h
<<\_ACEOF
44551 #define wxUSE_STATBOX 1
44557 if test "$wxUSE_STATTEXT" = "yes"; then
44558 cat >>confdefs.h
<<\_ACEOF
44559 #define wxUSE_STATTEXT 1
44565 if test "$wxUSE_STATLINE" = "yes"; then
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_STATLINE 1
44573 if test "$wxUSE_STATUSBAR" = "yes"; then
44574 cat >>confdefs.h
<<\_ACEOF
44575 #define wxUSE_NATIVE_STATUSBAR 1
44578 cat >>confdefs.h
<<\_ACEOF
44579 #define wxUSE_STATUSBAR 1
44584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44587 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44588 cat >>confdefs.h
<<\_ACEOF
44589 #define wxUSE_TAB_DIALOG 1
44594 if test "$wxUSE_TEXTCTRL" = "yes"; then
44595 cat >>confdefs.h
<<\_ACEOF
44596 #define wxUSE_TEXTCTRL 1
44600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44603 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44604 if test "$wxUSE_COCOA" = 1 ; then
44605 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44606 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44610 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44611 cat >>confdefs.h
<<\_ACEOF
44612 #define wxUSE_TOGGLEBTN 1
44619 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44620 cat >>confdefs.h
<<\_ACEOF
44621 #define wxUSE_TOOLBAR_SIMPLE 1
44624 wxUSE_TOOLBAR
="yes"
44628 if test "$wxUSE_TOOLBAR" = "yes"; then
44629 cat >>confdefs.h
<<\_ACEOF
44630 #define wxUSE_TOOLBAR 1
44635 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44636 wxUSE_TOOLBAR_NATIVE
="yes"
44639 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44640 cat >>confdefs.h
<<\_ACEOF
44641 #define wxUSE_TOOLBAR_NATIVE 1
44647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44650 if test "$wxUSE_TOOLTIPS" = "yes"; then
44651 if test "$wxUSE_MOTIF" = 1; then
44652 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44653 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44655 if test "$wxUSE_UNIVERSAL" = "yes"; then
44656 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44657 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44659 cat >>confdefs.h
<<\_ACEOF
44660 #define wxUSE_TOOLTIPS 1
44667 if test "$wxUSE_TREEBOOK" = "yes"; then
44668 cat >>confdefs.h
<<\_ACEOF
44669 #define wxUSE_TREEBOOK 1
44675 if test "$wxUSE_TOOLBOOK" = "yes"; then
44676 cat >>confdefs.h
<<\_ACEOF
44677 #define wxUSE_TOOLBOOK 1
44683 if test "$wxUSE_TREECTRL" = "yes"; then
44684 if test "$wxUSE_IMAGLIST" = "yes"; then
44685 cat >>confdefs.h
<<\_ACEOF
44686 #define wxUSE_TREECTRL 1
44690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44692 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44693 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44697 if test "$wxUSE_POPUPWIN" = "yes"; then
44698 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44699 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44700 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44702 if test "$wxUSE_PM" = 1; then
44703 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44704 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44706 cat >>confdefs.h
<<\_ACEOF
44707 #define wxUSE_POPUPWIN 1
44710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44717 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44718 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44719 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44720 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44722 cat >>confdefs.h
<<\_ACEOF
44723 #define wxUSE_DIALUP_MANAGER 1
44726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44730 if test "$wxUSE_TIPWINDOW" = "yes"; then
44731 if test "$wxUSE_PM" = 1; then
44732 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44733 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44735 cat >>confdefs.h
<<\_ACEOF
44736 #define wxUSE_TIPWINDOW 1
44742 if test "$USES_CONTROLS" = 1; then
44743 cat >>confdefs.h
<<\_ACEOF
44744 #define wxUSE_CONTROLS 1
44750 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44751 cat >>confdefs.h
<<\_ACEOF
44752 #define wxUSE_ACCESSIBILITY 1
44755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44758 if test "$wxUSE_DC_CACHEING" = "yes"; then
44759 cat >>confdefs.h
<<\_ACEOF
44760 #define wxUSE_DC_CACHEING 1
44765 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44766 cat >>confdefs.h
<<\_ACEOF
44767 #define wxUSE_DRAGIMAGE 1
44770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44773 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44774 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44775 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44776 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44778 cat >>confdefs.h
<<\_ACEOF
44779 #define wxUSE_EXCEPTIONS 1
44782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44787 if test "$wxUSE_HTML" = "yes"; then
44788 cat >>confdefs.h
<<\_ACEOF
44789 #define wxUSE_HTML 1
44793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44794 if test "$wxUSE_MAC" = 1; then
44795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44798 if test "$wxUSE_WEBKIT" = "yes"; then
44799 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44800 old_CPPFLAGS
="$CPPFLAGS"
44801 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44802 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44803 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44804 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44805 echo $ECHO_N "(cached) $ECHO_C" >&6
44807 cat >conftest.
$ac_ext <<_ACEOF
44810 cat confdefs.h
>>conftest.
$ac_ext
44811 cat >>conftest.
$ac_ext <<_ACEOF
44812 /* end confdefs.h. */
44813 #include <Carbon/Carbon.h>
44815 #include <WebKit/HIWebView.h>
44817 rm -f conftest.
$ac_objext
44818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44819 (eval $ac_compile) 2>conftest.er1
44821 grep -v '^ *+' conftest.er1
>conftest.err
44823 cat conftest.err
>&5
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); } &&
44826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44828 (eval $ac_try) 2>&5
44830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44831 (exit $ac_status); }; } &&
44832 { ac_try
='test -s conftest.$ac_objext'
44833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44834 (eval $ac_try) 2>&5
44836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837 (exit $ac_status); }; }; then
44838 ac_cv_header_WebKit_HIWebView_h
=yes
44840 echo "$as_me: failed program was:" >&5
44841 sed 's/^/| /' conftest.
$ac_ext >&5
44843 ac_cv_header_WebKit_HIWebView_h
=no
44845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44847 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44848 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44849 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44851 cat >>confdefs.h
<<\_ACEOF
44852 #define wxUSE_WEBKIT 1
44855 WEBKIT_LINK
="-framework WebKit"
44859 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44860 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44866 CPPFLAGS
="$old_CPPFLAGS"
44867 elif test "$wxUSE_COCOA" = 1; then
44868 cat >>confdefs.h
<<\_ACEOF
44869 #define wxUSE_WEBKIT 1
44878 if test "$wxUSE_XRC" = "yes"; then
44879 if test "$wxUSE_XML" != "yes"; then
44880 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44881 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44884 cat >>confdefs.h
<<\_ACEOF
44885 #define wxUSE_XRC 1
44889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44894 if test "$wxUSE_AUI" = "yes"; then
44895 cat >>confdefs.h
<<\_ACEOF
44896 #define wxUSE_AUI 1
44900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44903 if test "$wxUSE_MENUS" = "yes"; then
44904 cat >>confdefs.h
<<\_ACEOF
44905 #define wxUSE_MENUS 1
44908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44911 if test "$wxUSE_METAFILE" = "yes"; then
44912 cat >>confdefs.h
<<\_ACEOF
44913 #define wxUSE_METAFILE 1
44918 if test "$wxUSE_MIMETYPE" = "yes"; then
44919 cat >>confdefs.h
<<\_ACEOF
44920 #define wxUSE_MIMETYPE 1
44925 if test "$wxUSE_MINIFRAME" = "yes"; then
44926 cat >>confdefs.h
<<\_ACEOF
44927 #define wxUSE_MINIFRAME 1
44930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44933 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44934 cat >>confdefs.h
<<\_ACEOF
44935 #define wxUSE_SYSTEM_OPTIONS 1
44938 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44939 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44945 if test "$wxUSE_VALIDATORS" = "yes"; then
44946 cat >>confdefs.h
<<\_ACEOF
44947 #define wxUSE_VALIDATORS 1
44950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44953 if test "$wxUSE_PALETTE" = "yes" ; then
44954 cat >>confdefs.h
<<\_ACEOF
44955 #define wxUSE_PALETTE 1
44960 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44961 LIBS
=" -lunicows $LIBS"
44965 if test "$wxUSE_RICHTEXT" = "yes"; then
44966 cat >>confdefs.h
<<\_ACEOF
44967 #define wxUSE_RICHTEXT 1
44971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44975 if test "$wxUSE_IMAGE" = "yes" ; then
44976 cat >>confdefs.h
<<\_ACEOF
44977 #define wxUSE_IMAGE 1
44981 if test "$wxUSE_GIF" = "yes" ; then
44982 cat >>confdefs.h
<<\_ACEOF
44983 #define wxUSE_GIF 1
44988 if test "$wxUSE_PCX" = "yes" ; then
44989 cat >>confdefs.h
<<\_ACEOF
44990 #define wxUSE_PCX 1
44995 if test "$wxUSE_IFF" = "yes" ; then
44996 cat >>confdefs.h
<<\_ACEOF
44997 #define wxUSE_IFF 1
45002 if test "$wxUSE_PNM" = "yes" ; then
45003 cat >>confdefs.h
<<\_ACEOF
45004 #define wxUSE_PNM 1
45009 if test "$wxUSE_XPM" = "yes" ; then
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_XPM 1
45016 if test "$wxUSE_ICO_CUR" = "yes" ; then
45017 cat >>confdefs.h
<<\_ACEOF
45018 #define wxUSE_ICO_CUR 1
45025 if test "$wxUSE_CHOICEDLG" = "yes"; then
45026 cat >>confdefs.h
<<\_ACEOF
45027 #define wxUSE_CHOICEDLG 1
45032 if test "$wxUSE_COLOURDLG" = "yes"; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_COLOURDLG 1
45039 if test "$wxUSE_FILEDLG" = "yes"; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_FILEDLG 1
45046 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_FINDREPLDLG 1
45053 if test "$wxUSE_FONTDLG" = "yes"; then
45054 cat >>confdefs.h
<<\_ACEOF
45055 #define wxUSE_FONTDLG 1
45060 if test "$wxUSE_DIRDLG" = "yes"; then
45061 if test "$wxUSE_TREECTRL" != "yes"; then
45062 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45063 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45065 cat >>confdefs.h
<<\_ACEOF
45066 #define wxUSE_DIRDLG 1
45072 if test "$wxUSE_MSGDLG" = "yes"; then
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_MSGDLG 1
45079 if test "$wxUSE_NUMBERDLG" = "yes"; then
45080 cat >>confdefs.h
<<\_ACEOF
45081 #define wxUSE_NUMBERDLG 1
45086 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45087 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45088 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45089 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45091 cat >>confdefs.h
<<\_ACEOF
45092 #define wxUSE_PROGRESSDLG 1
45098 if test "$wxUSE_SPLASH" = "yes"; then
45099 cat >>confdefs.h
<<\_ACEOF
45100 #define wxUSE_SPLASH 1
45103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45106 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45107 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45108 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45109 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45111 cat >>confdefs.h
<<\_ACEOF
45112 #define wxUSE_STARTUP_TIPS 1
45118 if test "$wxUSE_TEXTDLG" = "yes"; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_TEXTDLG 1
45125 if test "$wxUSE_WIZARDDLG" = "yes"; then
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_WIZARDDLG 1
45130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45136 if test "$wxUSE_MEDIACTRL" = "yes"; then
45139 if test "$wxUSE_GTK" = 1; then
45140 wxUSE_GSTREAMER
="no"
45142 GST_VERSION_MAJOR
=0
45143 GST_VERSION_MINOR
=10
45144 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45146 if test "$wxUSE_GSTREAMER8" = "no"; then
45150 if test -z "$PKG_CONFIG"; then
45151 # Extract the first word of "pkg-config", so it can be a program name with args.
45152 set dummy pkg
-config; ac_word
=$2
45153 echo "$as_me:$LINENO: checking for $ac_word" >&5
45154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45155 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45156 echo $ECHO_N "(cached) $ECHO_C" >&6
45158 case $PKG_CONFIG in
45160 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45164 for as_dir
in $PATH
45167 test -z "$as_dir" && as_dir
=.
45168 for ac_exec_ext
in '' $ac_executable_extensions; do
45169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45170 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45177 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45181 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45183 if test -n "$PKG_CONFIG"; then
45184 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45185 echo "${ECHO_T}$PKG_CONFIG" >&6
45187 echo "$as_me:$LINENO: result: no" >&5
45188 echo "${ECHO_T}no" >&6
45193 if test "$PKG_CONFIG" = "no" ; then
45194 echo "*** The pkg-config script could not be found. Make sure it is"
45195 echo "*** in your path, or set the PKG_CONFIG environment variable"
45196 echo "*** to the full path to pkg-config."
45197 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45199 PKG_CONFIG_MIN_VERSION
=0.9.0
45200 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45201 echo "$as_me:$LINENO: checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" >&5
45202 echo $ECHO_N "checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0... $ECHO_C" >&6
45204 if $PKG_CONFIG --exists "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" ; then
45205 echo "$as_me:$LINENO: result: yes" >&5
45206 echo "${ECHO_T}yes" >&6
45209 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45210 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45211 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45212 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45213 echo "${ECHO_T}$GST_CFLAGS" >&6
45215 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45216 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45217 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45218 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45219 echo "${ECHO_T}$GST_LIBS" >&6
45223 ## If we have a custom action on failure, don't print errors, but
45224 ## do set a variable so people can do so.
45225 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45232 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45233 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45237 if test $succeeded = yes; then
45239 wxUSE_GSTREAMER
="yes"
45240 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45244 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45245 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45246 GST_VERSION_MINOR
=8
45252 GST_VERSION_MINOR
=8
45255 if test $GST_VERSION_MINOR = "8"; then
45256 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45260 if test -z "$PKG_CONFIG"; then
45261 # Extract the first word of "pkg-config", so it can be a program name with args.
45262 set dummy pkg
-config; ac_word
=$2
45263 echo "$as_me:$LINENO: checking for $ac_word" >&5
45264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45265 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 case $PKG_CONFIG in
45270 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45274 for as_dir
in $PATH
45277 test -z "$as_dir" && as_dir
=.
45278 for ac_exec_ext
in '' $ac_executable_extensions; do
45279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45280 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45287 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
45291 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45293 if test -n "$PKG_CONFIG"; then
45294 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45295 echo "${ECHO_T}$PKG_CONFIG" >&6
45297 echo "$as_me:$LINENO: result: no" >&5
45298 echo "${ECHO_T}no" >&6
45303 if test "$PKG_CONFIG" = "no" ; then
45304 echo "*** The pkg-config script could not be found. Make sure it is"
45305 echo "*** in your path, or set the PKG_CONFIG environment variable"
45306 echo "*** to the full path to pkg-config."
45307 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45309 PKG_CONFIG_MIN_VERSION
=0.9.0
45310 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45311 echo "$as_me:$LINENO: checking for gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" >&5
45312 echo $ECHO_N "checking for gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION... $ECHO_C" >&6
45314 if $PKG_CONFIG --exists "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" ; then
45315 echo "$as_me:$LINENO: result: yes" >&5
45316 echo "${ECHO_T}yes" >&6
45319 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45320 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45321 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45322 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45323 echo "${ECHO_T}$GST_CFLAGS" >&6
45325 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45326 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45327 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45328 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45329 echo "${ECHO_T}$GST_LIBS" >&6
45333 ## If we have a custom action on failure, don't print errors, but
45334 ## do set a variable so people can do so.
45335 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45342 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45343 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45347 if test $succeeded = yes; then
45348 wxUSE_GSTREAMER
="yes"
45351 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45352 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45359 if test "$wxUSE_GSTREAMER" = "yes"; then
45362 if "$GCC" = yes; then
45363 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45364 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45368 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45369 LIBS
="$GST_LIBS $LIBS"
45371 cat >>confdefs.h
<<\_ACEOF
45372 #define wxUSE_GSTREAMER 1
45380 if test $USE_MEDIA = 1; then
45381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45382 cat >>confdefs.h
<<\_ACEOF
45383 #define wxUSE_MEDIACTRL 1
45390 if test "$cross_compiling" = "yes"; then
45393 OSINFO
=`uname -s -r -m`
45394 OSINFO
="\"$OSINFO\""
45397 cat >>confdefs.h
<<_ACEOF
45398 #define WXWIN_OS_DESCRIPTION $OSINFO
45403 if test "x$prefix" != "xNONE"; then
45406 wxPREFIX
=$ac_default_prefix
45409 cat >>confdefs.h
<<_ACEOF
45410 #define wxINSTALL_PREFIX "$wxPREFIX"
45416 CORE_BASE_LIBS
="net base"
45417 CORE_GUI_LIBS
="adv core"
45419 if test "$wxUSE_XML" = "yes" ; then
45420 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45422 if test "$wxUSE_ODBC" != "no" ; then
45423 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45424 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45426 if test "$wxUSE_HTML" = "yes" ; then
45427 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45429 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45430 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45432 if test "$wxUSE_XRC" = "yes" ; then
45433 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45435 if test "$wxUSE_AUI" = "yes" ; then
45436 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45439 if test "$wxUSE_GUI" != "yes"; then
45448 ac_cpp
='$CPP $CPPFLAGS'
45449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45455 if test "$wxUSE_MAC" = 1 ; then
45456 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45457 if test "$USE_DARWIN" = 1; then
45458 LDFLAGS
="$LDFLAGS -framework QuickTime"
45460 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45463 if test "$USE_DARWIN" = 1; then
45464 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45466 LDFLAGS
="$LDFLAGS -lCarbonLib"
45469 if test "$wxUSE_COCOA" = 1 ; then
45470 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45471 if test "$wxUSE_MEDIACTRL" = "yes"; then
45472 LDFLAGS
="$LDFLAGS -framework QuickTime"
45475 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45476 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45479 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45481 if test "$wxUSE_GUI" = "yes"; then
45484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45485 dynamic erase event exec font image minimal mobile \
45486 mobile/wxedit mobile/styles propsize render \
45487 rotate shaped vscroll widgets"
45489 if test "$wxUSE_MONOLITHIC" != "yes"; then
45490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45492 if test "$TOOLKIT" = "MSW"; then
45493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45494 if test "$wxUSE_UNIVERSAL" != "yes"; then
45495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45498 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45502 SAMPLES_SUBDIRS
="console"
45506 if test "x$INTELCC" = "xyes" ; then
45507 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45508 elif test "$GCC" = yes ; then
45509 CWARNINGS
="-Wall -Wundef"
45512 if test "x$INTELCXX" = "xyes" ; then
45513 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45514 elif test "$GXX" = yes ; then
45515 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45519 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45520 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45523 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45524 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45525 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45528 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45529 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45530 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45532 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45535 if test "x$MWCC" = "xyes"; then
45537 CC
="$CC -cwd source -I-"
45538 CXX
="$CXX -cwd source -I-"
45543 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45544 EXTRALIBS_XML
="$EXPAT_LINK"
45545 EXTRALIBS_HTML
="$MSPACK_LINK"
45546 EXTRALIBS_ODBC
="$ODBC_LINK"
45547 if test "$wxUSE_GUI" = "yes"; then
45548 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45550 if test "$wxUSE_OPENGL" = "yes"; then
45551 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45554 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45556 WXCONFIG_LIBS
="$LIBS"
45558 if test "$wxUSE_REGEX" = "builtin" ; then
45559 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45561 if test "$wxUSE_EXPAT" = "builtin" ; then
45562 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45564 if test "$wxUSE_ODBC" = "builtin" ; then
45565 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45567 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45568 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45570 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45571 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45573 if test "$wxUSE_LIBPNG" = "builtin" ; then
45574 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45576 if test "$wxUSE_ZLIB" = "builtin" ; then
45577 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45580 for i
in $wxconfig_3rdparty ; do
45581 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45585 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45599 if test $wxUSE_MONOLITHIC = "yes" ; then
45605 if test $wxUSE_PLUGINS = "yes" ; then
45611 if test $wxUSE_ODBC != "no" ; then
45617 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45623 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45653 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45664 TOOLKIT_USER
="GTK+"
45665 if test "$WXGTK20" = 1; then
45666 TOOLKIT_USER
="$TOOLKIT_USER 2"
45671 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45675 if test "$wxUSE_WINE" = "yes"; then
45676 BAKEFILE_FORCE_PLATFORM
=win32
45679 if test "$wxUSE_MAC" = 1 ; then
45680 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45681 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45682 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45684 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45686 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45687 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45688 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45689 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45692 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45693 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45699 if test "x$BAKEFILE_HOST" = "x"; then
45700 if test "x${host}" = "x" ; then
45701 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45702 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45703 { (exit 1); exit 1; }; }
45706 BAKEFILE_HOST
="${host}"
45709 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45711 if test -n "$ac_tool_prefix"; then
45712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45713 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45714 echo "$as_me:$LINENO: checking for $ac_word" >&5
45715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45716 if test "${ac_cv_prog_RANLIB+set}" = set; then
45717 echo $ECHO_N "(cached) $ECHO_C" >&6
45719 if test -n "$RANLIB"; then
45720 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45723 for as_dir
in $PATH
45726 test -z "$as_dir" && as_dir
=.
45727 for ac_exec_ext
in '' $ac_executable_extensions; do
45728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45729 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45738 RANLIB
=$ac_cv_prog_RANLIB
45739 if test -n "$RANLIB"; then
45740 echo "$as_me:$LINENO: result: $RANLIB" >&5
45741 echo "${ECHO_T}$RANLIB" >&6
45743 echo "$as_me:$LINENO: result: no" >&5
45744 echo "${ECHO_T}no" >&6
45748 if test -z "$ac_cv_prog_RANLIB"; then
45749 ac_ct_RANLIB
=$RANLIB
45750 # Extract the first word of "ranlib", so it can be a program name with args.
45751 set dummy ranlib
; ac_word
=$2
45752 echo "$as_me:$LINENO: checking for $ac_word" >&5
45753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45754 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45755 echo $ECHO_N "(cached) $ECHO_C" >&6
45757 if test -n "$ac_ct_RANLIB"; then
45758 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45761 for as_dir
in $PATH
45764 test -z "$as_dir" && as_dir
=.
45765 for ac_exec_ext
in '' $ac_executable_extensions; do
45766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45767 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45774 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45777 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45778 if test -n "$ac_ct_RANLIB"; then
45779 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45780 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45782 echo "$as_me:$LINENO: result: no" >&5
45783 echo "${ECHO_T}no" >&6
45786 RANLIB
=$ac_ct_RANLIB
45788 RANLIB
="$ac_cv_prog_RANLIB"
45791 # Find a good install program. We prefer a C program (faster),
45792 # so one script is as good as another. But avoid the broken or
45793 # incompatible versions:
45794 # SysV /etc/install, /usr/sbin/install
45795 # SunOS /usr/etc/install
45796 # IRIX /sbin/install
45798 # AmigaOS /C/install, which installs bootblocks on floppy discs
45799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45802 # OS/2's system install, which has a completely different semantic
45803 # ./install, which can be erroneously created by make from ./install.sh.
45804 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45805 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45806 if test -z "$INSTALL"; then
45807 if test "${ac_cv_path_install+set}" = set; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45811 for as_dir
in $PATH
45814 test -z "$as_dir" && as_dir
=.
45815 # Account for people who put trailing slashes in PATH elements.
45817 .
/ | .
// | /cC
/* | \
45818 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45819 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45822 # OSF1 and SCO ODT 3.0 have their own names for install.
45823 # Don't use installbsd from OSF since it installs stuff as root
45825 for ac_prog
in ginstall scoinst
install; do
45826 for ac_exec_ext
in '' $ac_executable_extensions; do
45827 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45828 if test $ac_prog = install &&
45829 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45830 # AIX install. It has an incompatible calling convention.
45832 elif test $ac_prog = install &&
45833 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45834 # program-specific install script used by HP pwplus--don't use.
45837 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45849 if test "${ac_cv_path_install+set}" = set; then
45850 INSTALL
=$ac_cv_path_install
45852 # As a last resort, use the slow shell script. We don't cache a
45853 # path for INSTALL within a source directory, because that will
45854 # break other packages using the cache if that directory is
45855 # removed, or if the path is relative.
45856 INSTALL
=$ac_install_sh
45859 echo "$as_me:$LINENO: result: $INSTALL" >&5
45860 echo "${ECHO_T}$INSTALL" >&6
45862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45863 # It thinks the first close brace ends the variable substitution.
45864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45868 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45870 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45871 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45873 if test "$LN_S" = "ln -s"; then
45874 echo "$as_me:$LINENO: result: yes" >&5
45875 echo "${ECHO_T}yes" >&6
45877 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45878 echo "${ECHO_T}no, using $LN_S" >&6
45882 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45883 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45884 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45885 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45886 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 cat >conftest.
make <<\_ACEOF
45890 @
echo 'ac_maketemp="$(MAKE)"'
45892 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45893 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45894 if test -n "$ac_maketemp"; then
45895 eval ac_cv_prog_make_
${ac_make}_set
=yes
45897 eval ac_cv_prog_make_
${ac_make}_set
=no
45899 rm -f conftest.
make
45901 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45902 echo "$as_me:$LINENO: result: yes" >&5
45903 echo "${ECHO_T}yes" >&6
45906 echo "$as_me:$LINENO: result: no" >&5
45907 echo "${ECHO_T}no" >&6
45908 SET_MAKE
="MAKE=${MAKE-make}"
45913 if test -n "$ac_tool_prefix"; then
45914 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45915 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45916 echo "$as_me:$LINENO: checking for $ac_word" >&5
45917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45918 if test "${ac_cv_prog_AR+set}" = set; then
45919 echo $ECHO_N "(cached) $ECHO_C" >&6
45921 if test -n "$AR"; then
45922 ac_cv_prog_AR
="$AR" # Let the user override the test.
45924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45925 for as_dir
in $PATH
45928 test -z "$as_dir" && as_dir
=.
45929 for ac_exec_ext
in '' $ac_executable_extensions; do
45930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45931 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45941 if test -n "$AR"; then
45942 echo "$as_me:$LINENO: result: $AR" >&5
45943 echo "${ECHO_T}$AR" >&6
45945 echo "$as_me:$LINENO: result: no" >&5
45946 echo "${ECHO_T}no" >&6
45950 if test -z "$ac_cv_prog_AR"; then
45952 # Extract the first word of "ar", so it can be a program name with args.
45953 set dummy
ar; ac_word
=$2
45954 echo "$as_me:$LINENO: checking for $ac_word" >&5
45955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 if test -n "$ac_ct_AR"; then
45960 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45963 for as_dir
in $PATH
45966 test -z "$as_dir" && as_dir
=.
45967 for ac_exec_ext
in '' $ac_executable_extensions; do
45968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45969 ac_cv_prog_ac_ct_AR
="ar"
45970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45976 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45979 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45980 if test -n "$ac_ct_AR"; then
45981 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45982 echo "${ECHO_T}$ac_ct_AR" >&6
45984 echo "$as_me:$LINENO: result: no" >&5
45985 echo "${ECHO_T}no" >&6
45990 AR
="$ac_cv_prog_AR"
45993 if test -n "$ac_tool_prefix"; then
45994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45995 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45996 echo "$as_me:$LINENO: checking for $ac_word" >&5
45997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45998 if test "${ac_cv_prog_STRIP+set}" = set; then
45999 echo $ECHO_N "(cached) $ECHO_C" >&6
46001 if test -n "$STRIP"; then
46002 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46005 for as_dir
in $PATH
46008 test -z "$as_dir" && as_dir
=.
46009 for ac_exec_ext
in '' $ac_executable_extensions; do
46010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46011 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46020 STRIP
=$ac_cv_prog_STRIP
46021 if test -n "$STRIP"; then
46022 echo "$as_me:$LINENO: result: $STRIP" >&5
46023 echo "${ECHO_T}$STRIP" >&6
46025 echo "$as_me:$LINENO: result: no" >&5
46026 echo "${ECHO_T}no" >&6
46030 if test -z "$ac_cv_prog_STRIP"; then
46032 # Extract the first word of "strip", so it can be a program name with args.
46033 set dummy strip
; ac_word
=$2
46034 echo "$as_me:$LINENO: checking for $ac_word" >&5
46035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46037 echo $ECHO_N "(cached) $ECHO_C" >&6
46039 if test -n "$ac_ct_STRIP"; then
46040 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46043 for as_dir
in $PATH
46046 test -z "$as_dir" && as_dir
=.
46047 for ac_exec_ext
in '' $ac_executable_extensions; do
46048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46049 ac_cv_prog_ac_ct_STRIP
="strip"
46050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46056 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46059 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46060 if test -n "$ac_ct_STRIP"; then
46061 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46062 echo "${ECHO_T}$ac_ct_STRIP" >&6
46064 echo "$as_me:$LINENO: result: no" >&5
46065 echo "${ECHO_T}no" >&6
46070 STRIP
="$ac_cv_prog_STRIP"
46073 if test -n "$ac_tool_prefix"; then
46074 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46075 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46076 echo "$as_me:$LINENO: checking for $ac_word" >&5
46077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46078 if test "${ac_cv_prog_NM+set}" = set; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 if test -n "$NM"; then
46082 ac_cv_prog_NM
="$NM" # Let the user override the test.
46084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46085 for as_dir
in $PATH
46088 test -z "$as_dir" && as_dir
=.
46089 for ac_exec_ext
in '' $ac_executable_extensions; do
46090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46091 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46101 if test -n "$NM"; then
46102 echo "$as_me:$LINENO: result: $NM" >&5
46103 echo "${ECHO_T}$NM" >&6
46105 echo "$as_me:$LINENO: result: no" >&5
46106 echo "${ECHO_T}no" >&6
46110 if test -z "$ac_cv_prog_NM"; then
46112 # Extract the first word of "nm", so it can be a program name with args.
46113 set dummy nm
; ac_word
=$2
46114 echo "$as_me:$LINENO: checking for $ac_word" >&5
46115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46116 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46117 echo $ECHO_N "(cached) $ECHO_C" >&6
46119 if test -n "$ac_ct_NM"; then
46120 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46123 for as_dir
in $PATH
46126 test -z "$as_dir" && as_dir
=.
46127 for ac_exec_ext
in '' $ac_executable_extensions; do
46128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46129 ac_cv_prog_ac_ct_NM
="nm"
46130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46136 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46139 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46140 if test -n "$ac_ct_NM"; then
46141 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46142 echo "${ECHO_T}$ac_ct_NM" >&6
46144 echo "$as_me:$LINENO: result: no" >&5
46145 echo "${ECHO_T}no" >&6
46150 NM
="$ac_cv_prog_NM"
46154 case ${BAKEFILE_HOST} in
46156 INSTALL_DIR
="mkdir -p"
46158 *) INSTALL_DIR
="$INSTALL -d"
46164 case ${BAKEFILE_HOST} in
46165 *-*-cygwin* | *-*-mingw32* )
46166 LDFLAGS_GUI
="-mwindows"
46172 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46173 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46174 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46175 echo $ECHO_N "(cached) $ECHO_C" >&6
46178 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46179 egrep -s GNU
> /dev
/null
); then
46180 bakefile_cv_prog_makeisgnu
="yes"
46182 bakefile_cv_prog_makeisgnu
="no"
46186 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46187 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46189 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46206 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46207 case "${BAKEFILE_HOST}" in
46214 *-pc-os2_emx | *-pc-os2-emx )
46224 powerpc
-apple-macos* )
46233 case "$BAKEFILE_FORCE_PLATFORM" in
46254 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46255 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46256 { (exit 1); exit 1; }; }
46271 # Check whether --enable-omf or --disable-omf was given.
46272 if test "${enable_omf+set}" = set; then
46273 enableval
="$enable_omf"
46274 bk_os2_use_omf
="$enableval"
46277 case "${BAKEFILE_HOST}" in
46279 if test "x$GCC" = "xyes"; then
46280 CFLAGS
="$CFLAGS -fno-common"
46281 CXXFLAGS
="$CXXFLAGS -fno-common"
46283 if test "x$XLCC" = "xyes"; then
46284 CFLAGS
="$CFLAGS -qnocommon"
46285 CXXFLAGS
="$CXXFLAGS -qnocommon"
46289 *-pc-os2_emx | *-pc-os2-emx )
46290 if test "x$bk_os2_use_omf" = "xyes" ; then
46293 LDFLAGS
="-Zomf $LDFLAGS"
46294 CFLAGS
="-Zomf $CFLAGS"
46295 CXXFLAGS
="-Zomf $CXXFLAGS"
46303 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46309 SO_SUFFIX_MODULE
="so"
46314 DLLPREFIX_MODULE
=""
46318 case "${BAKEFILE_HOST}" in
46321 SO_SUFFIX_MODULE
="sl"
46325 SO_SUFFIX_MODULE
="a"
46329 SO_SUFFIX_MODULE
="dll"
46330 DLLIMP_SUFFIX
="dll.a"
46337 SO_SUFFIX_MODULE
="dll"
46338 DLLIMP_SUFFIX
="dll.a"
46348 *-pc-os2_emx | *-pc-os2-emx )
46350 SO_SUFFIX_MODULE
="dll"
46351 DLLIMP_SUFFIX
=$OS2_LIBEXT
46355 LIBEXT
=".$OS2_LIBEXT"
46360 SO_SUFFIX_MODULE
="bundle"
46364 if test "x$DLLIMP_SUFFIX" = "x" ; then
46365 DLLIMP_SUFFIX
="$SO_SUFFIX"
46380 if test "x$GCC" = "xyes"; then
46384 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46385 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46388 case "${BAKEFILE_HOST}" in
46390 if test "x$GCC" != "xyes"; then
46391 LDFLAGS
="$LDFLAGS -L/usr/lib"
46393 SHARED_LD_CC
="${CC} -b -o"
46394 SHARED_LD_CXX
="${CXX} -b -o"
46400 if test "x$GCC" != "xyes"; then
46401 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46402 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46403 if test "${bakefile_cv_prog_icc+set}" = set; then
46404 echo $ECHO_N "(cached) $ECHO_C" >&6
46407 cat >conftest.
$ac_ext <<_ACEOF
46410 cat confdefs.h
>>conftest.
$ac_ext
46411 cat >>conftest.
$ac_ext <<_ACEOF
46412 /* end confdefs.h. */
46418 #ifndef __INTEL_COMPILER
46426 rm -f conftest.
$ac_objext
46427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46428 (eval $ac_compile) 2>conftest.er1
46430 grep -v '^ *+' conftest.er1
>conftest.err
46432 cat conftest.err
>&5
46433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46434 (exit $ac_status); } &&
46435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46437 (eval $ac_try) 2>&5
46439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46440 (exit $ac_status); }; } &&
46441 { ac_try
='test -s conftest.$ac_objext'
46442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46443 (eval $ac_try) 2>&5
46445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46446 (exit $ac_status); }; }; then
46447 bakefile_cv_prog_icc
=yes
46449 echo "$as_me: failed program was:" >&5
46450 sed 's/^/| /' conftest.
$ac_ext >&5
46452 bakefile_cv_prog_icc
=no
46455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46458 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46459 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46460 if test "$bakefile_cv_prog_icc" = "yes"; then
46467 if test "x$GCC" != xyes
; then
46468 SHARED_LD_CC
="${CC} -G -o"
46469 SHARED_LD_CXX
="${CXX} -G -o"
46477 cat <<EOF >shared-ld-sh
46479 #-----------------------------------------------------------------------------
46480 #-- Name: distrib/mac/shared-ld-sh
46481 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46482 #-- Author: Gilles Depeyrot
46483 #-- Copyright: (c) 2002 Gilles Depeyrot
46484 #-- Licence: any use permitted
46485 #-----------------------------------------------------------------------------
46490 linking_flag="-dynamiclib"
46491 ldargs="-r -keep_private_externs -nostdlib"
46493 while test ${D}# -gt 0; do
46500 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46501 # collect these options and values
46502 args="${D}{args} ${D}1 ${D}2"
46507 # collect these load args
46508 ldargs="${D}{ldargs} ${D}1"
46511 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46512 # collect these options
46513 args="${D}{args} ${D}1"
46516 -dynamiclib|-bundle)
46517 linking_flag="${D}1"
46521 echo "shared-ld: unhandled option '${D}1'"
46525 *.o | *.a | *.dylib)
46526 # collect object files
46527 objects="${D}{objects} ${D}1"
46531 echo "shared-ld: unhandled argument '${D}1'"
46542 # Link one module containing all the others
46544 if test ${D}{verbose} = 1; then
46545 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46547 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46551 # Link the shared library from the single module created, but only if the
46552 # previous command didn't fail:
46554 if test ${D}{status} = 0; then
46555 if test ${D}{verbose} = 1; then
46556 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46558 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46563 # Remove intermediate module
46565 rm -f master.${D}${D}.o
46570 chmod +x shared
-ld-sh
46572 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46573 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46576 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46577 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46578 if test "${bakefile_cv_gcc31+set}" = set; then
46579 echo $ECHO_N "(cached) $ECHO_C" >&6
46582 cat >conftest.
$ac_ext <<_ACEOF
46585 cat confdefs.h
>>conftest.
$ac_ext
46586 cat >>conftest.
$ac_ext <<_ACEOF
46587 /* end confdefs.h. */
46593 #if (__GNUC__ < 3) || \
46594 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46602 rm -f conftest.
$ac_objext
46603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46604 (eval $ac_compile) 2>conftest.er1
46606 grep -v '^ *+' conftest.er1
>conftest.err
46608 cat conftest.err
>&5
46609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46610 (exit $ac_status); } &&
46611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46613 (eval $ac_try) 2>&5
46615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46616 (exit $ac_status); }; } &&
46617 { ac_try
='test -s conftest.$ac_objext'
46618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46619 (eval $ac_try) 2>&5
46621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46622 (exit $ac_status); }; }; then
46624 bakefile_cv_gcc31
=yes
46627 echo "$as_me: failed program was:" >&5
46628 sed 's/^/| /' conftest.
$ac_ext >&5
46631 bakefile_cv_gcc31
=no
46635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46638 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46639 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46640 if test "$bakefile_cv_gcc31" = "no"; then
46641 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46642 SHARED_LD_CXX
="$SHARED_LD_CC"
46644 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46645 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46648 if test "x$GCC" == "xyes"; then
46649 PIC_FLAG
="-dynamic -fPIC"
46651 if test "x$XLCC" = "xyes"; then
46652 PIC_FLAG
="-dynamic -DPIC"
46657 if test "x$GCC" = "xyes"; then
46660 case "${BAKEFILE_HOST}" in
46662 LD_EXPFULL
="-Wl,-bexpfull"
46666 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46667 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46669 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46670 set dummy makeC
++SharedLib
; ac_word
=$2
46671 echo "$as_me:$LINENO: checking for $ac_word" >&5
46672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46673 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46674 echo $ECHO_N "(cached) $ECHO_C" >&6
46676 if test -n "$AIX_CXX_LD"; then
46677 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46680 for as_dir
in $PATH
46683 test -z "$as_dir" && as_dir
=.
46684 for ac_exec_ext
in '' $ac_executable_extensions; do
46685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46686 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46693 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46696 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46697 if test -n "$AIX_CXX_LD"; then
46698 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46699 echo "${ECHO_T}$AIX_CXX_LD" >&6
46701 echo "$as_me:$LINENO: result: no" >&5
46702 echo "${ECHO_T}no" >&6
46705 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46706 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46711 SHARED_LD_CC
="${LD} -nostart -o"
46712 SHARED_LD_CXX
="${LD} -nostart -o"
46716 if test "x$GCC" != "xyes"; then
46721 *-*-cygwin* | *-*-mingw32* )
46723 SHARED_LD_CC
="\$(CC) -shared -o"
46724 SHARED_LD_CXX
="\$(CXX) -shared -o"
46728 *-pc-os2_emx | *-pc-os2-emx )
46729 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46730 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46734 cat <<EOF >dllar.sh
46737 # dllar - a tool to build both a .dll and an .a file
46738 # from a set of object (.o) files for EMX/OS2.
46740 # Written by Andrew Zabolotny, bit@freya.etu.ru
46741 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46743 # This script will accept a set of files on the command line.
46744 # All the public symbols from the .o files will be exported into
46745 # a .DEF file, then linker will be run (through gcc) against them to
46746 # build a shared library consisting of all given .o files. All libraries
46747 # (.a) will be first decompressed into component .o files then act as
46748 # described above. You can optionally give a description (-d "description")
46749 # which will be put into .DLL. To see the list of accepted options (as well
46750 # as command-line format) simply run this program without options. The .DLL
46751 # is built to be imported by name (there is no guarantee that new versions
46752 # of the library you build will have same ordinals for same symbols).
46754 # dllar is free software; you can redistribute it and/or modify
46755 # it under the terms of the GNU General Public License as published by
46756 # the Free Software Foundation; either version 2, or (at your option)
46757 # any later version.
46759 # dllar is distributed in the hope that it will be useful,
46760 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46761 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46762 # GNU General Public License for more details.
46764 # You should have received a copy of the GNU General Public License
46765 # along with dllar; see the file COPYING. If not, write to the Free
46766 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46769 # To successfuly run this program you will need:
46770 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46771 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46773 # (used to build the .dll)
46775 # (used to create .def file from .o files)
46777 # (used to create .a file from .def file)
46778 # - GNU text utilites (cat, sort, uniq)
46779 # used to process emxexp output
46780 # - GNU file utilities (mv, rm)
46782 # - lxlite (optional, see flag below)
46783 # (used for general .dll cleanup)
46790 # basnam, variant of basename, which does _not_ remove the path, _iff_
46791 # second argument (suffix to remove) is given
46795 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46798 echo ${D}1 | sed 's/'${D}2'${D}//'
46801 echo "error in basnam ${D}*"
46807 # Cleanup temporary files and output
46810 for i in ${D}inputFiles ; do
46813 rm -rf \`basnam ${D}i !\`
46820 # Kill result in case of failure as there is just to many stupid make/nmake
46821 # things out there which doesn't do this.
46822 if [ ${D}# -eq 0 ]; then
46823 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46827 # Print usage and exit script with rc=1.
46829 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46830 echo ' [-name-mangler-script script.sh]'
46831 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46832 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46833 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46834 echo ' [*.o] [*.a]'
46835 echo '*> "output_file" should have no extension.'
46836 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46837 echo ' The import library name is derived from this and is set to "name".a,'
46838 echo ' unless overridden by -import'
46839 echo '*> "importlib_name" should have no extension.'
46840 echo ' If it has the .o, or .a extension, it is automatically removed.'
46841 echo ' This name is used as the import library name and may be longer and'
46842 echo ' more descriptive than the DLL name which has to follow the old '
46843 echo ' 8.3 convention of FAT.'
46844 echo '*> "script.sh may be given to override the output_file name by a'
46845 echo ' different name. It is mainly useful if the regular make process'
46846 echo ' of some package does not take into account OS/2 restriction of'
46847 echo ' DLL name lengths. It takes the importlib name as input and is'
46848 echo ' supposed to procude a shorter name as output. The script should'
46849 echo ' expect to get importlib_name without extension and should produce'
46850 echo ' a (max.) 8 letter name without extension.'
46851 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46852 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46853 echo ' These flags will be put at the start of GCC command line.'
46854 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46855 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46856 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46857 echo ' If the last character of a symbol is "*", all symbols beginning'
46858 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46859 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46860 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46861 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46862 echo ' C runtime DLLs.'
46863 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46864 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46865 echo ' unchanged to GCC at the end of command line.'
46866 echo '*> If you create a DLL from a library and you do not specify -o,'
46867 echo ' the basename for DLL and import library will be set to library name,'
46868 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46869 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46870 echo ' library will be renamed into gcc_s.a.'
46873 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46874 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46879 # Execute a command.
46880 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46881 # @Uses Whatever CleanUp() uses.
46887 if [ ${D}rcCmd -ne 0 ]; then
46888 echo "command failed, exit code="${D}rcCmd
46903 CFLAGS="-s -Zcrtdll"
46905 EXPORT_BY_ORDINALS=0
46910 case ${D}curDirS in
46914 curDirS=${D}{curDirS}"/"
46917 # Parse commandline
46920 while [ ${D}1 ]; do
46923 EXPORT_BY_ORDINALS=1;
46933 -name-mangler-script)
46954 exclude_symbols=${D}{exclude_symbols}${D}1" "
46958 library_flags=${D}{library_flags}${D}1" "
46977 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46980 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46981 if [ ${D}omfLinking -eq 1 ]; then
46982 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46984 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46989 if [ ${D}libsToLink -ne 0 ]; then
46990 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46992 for file in ${D}1 ; do
46993 if [ -f ${D}file ]; then
46994 inputFiles="${D}{inputFiles} ${D}file"
46998 if [ ${D}found -eq 0 ]; then
46999 echo "ERROR: No file(s) found: "${D}1
47006 done # iterate cmdline words
47009 if [ -z "${D}inputFiles" ]; then
47010 echo "dllar: no input files"
47014 # Now extract all .o files from .a files
47016 for file in ${D}inputFiles ; do
47027 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47032 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47034 if [ ${D}? -ne 0 ]; then
47035 echo "Failed to create subdirectory ./${D}dirname"
47039 # Append '!' to indicate archive
47040 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47041 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47044 for subfile in ${D}dirname/*.o* ; do
47045 if [ -f ${D}subfile ]; then
47047 if [ -s ${D}subfile ]; then
47048 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47049 newInputFiles="${D}newInputFiles ${D}subfile"
47053 if [ ${D}found -eq 0 ]; then
47054 echo "WARNING: there are no files in archive \\'${D}file\\'"
47058 newInputFiles="${D}{newInputFiles} ${D}file"
47062 inputFiles="${D}newInputFiles"
47064 # Output filename(s).
47066 if [ -z ${D}outFile ]; then
47068 set outFile ${D}inputFiles; outFile=${D}2
47071 # If it is an archive, remove the '!' and the '_%' suffixes
47072 case ${D}outFile in
47074 outFile=\`basnam ${D}outFile _%!\`
47079 case ${D}outFile in
47081 outFile=\`basnam ${D}outFile .dll\`
47084 outFile=\`basnam ${D}outFile .DLL\`
47087 outFile=\`basnam ${D}outFile .o\`
47090 outFile=\`basnam ${D}outFile .obj\`
47093 outFile=\`basnam ${D}outFile .a\`
47096 outFile=\`basnam ${D}outFile .lib\`
47101 case ${D}outimpFile in
47103 outimpFile=\`basnam ${D}outimpFile .a\`
47106 outimpFile=\`basnam ${D}outimpFile .lib\`
47111 if [ -z ${D}outimpFile ]; then
47112 outimpFile=${D}outFile
47114 defFile="${D}{outFile}.def"
47115 arcFile="${D}{outimpFile}.a"
47116 arcFile2="${D}{outimpFile}.lib"
47118 #create ${D}dllFile as something matching 8.3 restrictions,
47119 if [ -z ${D}renameScript ] ; then
47120 dllFile="${D}outFile"
47122 dllFile=\`${D}renameScript ${D}outimpFile\`
47125 if [ ${D}do_backup -ne 0 ] ; then
47126 if [ -f ${D}arcFile ] ; then
47127 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47129 if [ -f ${D}arcFile2 ] ; then
47130 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47134 # Extract public symbols from all the object files.
47135 tmpdefFile=${D}{defFile}_%
47136 rm -f ${D}tmpdefFile
47137 for file in ${D}inputFiles ; do
47142 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47147 # Create the def file.
47149 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47150 dllFile="${D}{dllFile}.dll"
47151 if [ ! -z ${D}description ]; then
47152 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47154 echo "EXPORTS" >> ${D}defFile
47156 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47157 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47159 # Checks if the export is ok or not.
47160 for word in ${D}exclude_symbols; do
47161 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47162 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47166 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47167 sed "=" < ${D}tmpdefFile | \\
47171 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47173 ' > ${D}{tmpdefFile}%
47174 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47176 rm -f ${D}{tmpdefFile}%
47178 cat ${D}tmpdefFile >> ${D}defFile
47179 rm -f ${D}tmpdefFile
47181 # Do linking, create implib, and apply lxlite.
47183 for file in ${D}inputFiles ; do
47188 gccCmdl="${D}gccCmdl ${D}file"
47192 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47193 touch "${D}{outFile}.dll"
47195 doCommand "emximp -o ${D}arcFile ${D}defFile"
47196 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47198 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47201 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47203 doCommand "emxomf -s -l ${D}arcFile"
47213 powerpc
-apple-macos* | \
47214 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47224 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47225 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47226 { (exit 1); exit 1; }; }
47229 if test "x$PIC_FLAG" != "x" ; then
47230 PIC_FLAG
="$PIC_FLAG -DPIC"
47233 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47234 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47236 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47237 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47256 case "${BAKEFILE_HOST}" in
47257 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47258 SONAME_FLAG
="-Wl,-soname,"
47292 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47293 if test "${enable_dependency_tracking+set}" = set; then
47294 enableval
="$enable_dependency_tracking"
47295 bk_use_trackdeps
="$enableval"
47298 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47299 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47301 if test "x$bk_use_trackdeps" = "xno" ; then
47303 echo "$as_me:$LINENO: result: disabled" >&5
47304 echo "${ECHO_T}disabled" >&6
47308 if test "x$GCC" = "xyes"; then
47310 case "${BAKEFILE_HOST}" in
47312 DEPSFLAG
="-no-cpp-precomp -MMD"
47318 echo "$as_me:$LINENO: result: gcc" >&5
47319 echo "${ECHO_T}gcc" >&6
47320 elif test "x$MWCC" = "xyes"; then
47323 echo "$as_me:$LINENO: result: mwcc" >&5
47324 echo "${ECHO_T}mwcc" >&6
47325 elif test "x$SUNCC" = "xyes"; then
47328 echo "$as_me:$LINENO: result: Sun cc" >&5
47329 echo "${ECHO_T}Sun cc" >&6
47330 elif test "x$SGICC" = "xyes"; then
47333 echo "$as_me:$LINENO: result: SGI cc" >&5
47334 echo "${ECHO_T}SGI cc" >&6
47335 elif test "x$HPCC" = "xyes"; then
47338 echo "$as_me:$LINENO: result: HP cc" >&5
47339 echo "${ECHO_T}HP cc" >&6
47340 elif test "x$COMPAQCC" = "xyes"; then
47343 echo "$as_me:$LINENO: result: Compaq cc" >&5
47344 echo "${ECHO_T}Compaq cc" >&6
47347 echo "$as_me:$LINENO: result: none" >&5
47348 echo "${ECHO_T}none" >&6
47351 if test $DEPS_TRACKING = 1 ; then
47357 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47358 # script. It is used to track C/C++ files dependencies in portable way.
47360 # Permission is given to use this file in any way.
47362 DEPSMODE=${DEPSMODE}
47364 DEPSFLAG="${DEPSFLAG}"
47366 mkdir -p ${D}DEPSDIR
47368 if test ${D}DEPSMODE = gcc ; then
47369 ${D}* ${D}{DEPSFLAG}
47371 if test ${D}{status} != 0 ; then
47374 # move created file to the location we want it in:
47375 while test ${D}# -gt 0; do
47389 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47390 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47391 if test -f ${D}depfile ; then
47392 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47395 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47396 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47397 if test ! -f ${D}depfile ; then
47398 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47399 depfile="${D}objfile.d"
47401 if test -f ${D}depfile ; then
47402 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47407 elif test ${D}DEPSMODE = mwcc ; then
47408 ${D}* || exit ${D}?
47409 # Run mwcc again with -MM and redirect into the dep file we want
47410 # NOTE: We can't use shift here because we need ${D}* to be valid
47412 for arg in ${D}* ; do
47413 if test "${D}prevarg" = "-o"; then
47426 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47428 elif test ${D}DEPSMODE = unixcc; then
47429 ${D}* || exit ${D}?
47430 # Run compiler again with deps flag and redirect into the dep file.
47431 # It doesn't work if the '-o FILE' option is used, but without it the
47432 # dependency file will contain the wrong name for the object. So it is
47433 # removed from the command line, and the dep file is fixed with sed.
47435 while test ${D}# -gt 0; do
47442 eval arg${D}#=\\${D}1
47443 cmd="${D}cmd \\${D}arg${D}#"
47448 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47463 case ${BAKEFILE_HOST} in
47464 *-*-cygwin* | *-*-mingw32* )
47465 if test -n "$ac_tool_prefix"; then
47466 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47467 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47468 echo "$as_me:$LINENO: checking for $ac_word" >&5
47469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47470 if test "${ac_cv_prog_WINDRES+set}" = set; then
47471 echo $ECHO_N "(cached) $ECHO_C" >&6
47473 if test -n "$WINDRES"; then
47474 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47477 for as_dir
in $PATH
47480 test -z "$as_dir" && as_dir
=.
47481 for ac_exec_ext
in '' $ac_executable_extensions; do
47482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47483 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47492 WINDRES
=$ac_cv_prog_WINDRES
47493 if test -n "$WINDRES"; then
47494 echo "$as_me:$LINENO: result: $WINDRES" >&5
47495 echo "${ECHO_T}$WINDRES" >&6
47497 echo "$as_me:$LINENO: result: no" >&5
47498 echo "${ECHO_T}no" >&6
47502 if test -z "$ac_cv_prog_WINDRES"; then
47503 ac_ct_WINDRES
=$WINDRES
47504 # Extract the first word of "windres", so it can be a program name with args.
47505 set dummy windres
; ac_word
=$2
47506 echo "$as_me:$LINENO: checking for $ac_word" >&5
47507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47508 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47509 echo $ECHO_N "(cached) $ECHO_C" >&6
47511 if test -n "$ac_ct_WINDRES"; then
47512 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47515 for as_dir
in $PATH
47518 test -z "$as_dir" && as_dir
=.
47519 for ac_exec_ext
in '' $ac_executable_extensions; do
47520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47521 ac_cv_prog_ac_ct_WINDRES
="windres"
47522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47530 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47531 if test -n "$ac_ct_WINDRES"; then
47532 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47533 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47535 echo "$as_me:$LINENO: result: no" >&5
47536 echo "${ECHO_T}no" >&6
47539 WINDRES
=$ac_ct_WINDRES
47541 WINDRES
="$ac_cv_prog_WINDRES"
47546 *-*-darwin* | powerpc
-apple-macos* )
47547 # Extract the first word of "Rez", so it can be a program name with args.
47548 set dummy Rez
; ac_word
=$2
47549 echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47551 if test "${ac_cv_prog_REZ+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 if test -n "$REZ"; then
47555 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47558 for as_dir
in $PATH
47561 test -z "$as_dir" && as_dir
=.
47562 for ac_exec_ext
in '' $ac_executable_extensions; do
47563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47564 ac_cv_prog_REZ
="Rez"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47571 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47574 REZ
=$ac_cv_prog_REZ
47575 if test -n "$REZ"; then
47576 echo "$as_me:$LINENO: result: $REZ" >&5
47577 echo "${ECHO_T}$REZ" >&6
47579 echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6
47583 # Extract the first word of "SetFile", so it can be a program name with args.
47584 set dummy SetFile
; ac_word
=$2
47585 echo "$as_me:$LINENO: checking for $ac_word" >&5
47586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47587 if test "${ac_cv_prog_SETFILE+set}" = set; then
47588 echo $ECHO_N "(cached) $ECHO_C" >&6
47590 if test -n "$SETFILE"; then
47591 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47594 for as_dir
in $PATH
47597 test -z "$as_dir" && as_dir
=.
47598 for ac_exec_ext
in '' $ac_executable_extensions; do
47599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47600 ac_cv_prog_SETFILE
="SetFile"
47601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47607 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47610 SETFILE
=$ac_cv_prog_SETFILE
47611 if test -n "$SETFILE"; then
47612 echo "$as_me:$LINENO: result: $SETFILE" >&5
47613 echo "${ECHO_T}$SETFILE" >&6
47615 echo "$as_me:$LINENO: result: no" >&5
47616 echo "${ECHO_T}no" >&6
47627 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47630 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47634 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47635 if test "${enable_precomp_headers+set}" = set; then
47636 enableval
="$enable_precomp_headers"
47637 bk_use_pch
="$enableval"
47644 case ${BAKEFILE_HOST} in
47650 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47651 if test "x$GCC" = "xyes"; then
47652 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47653 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47654 cat >conftest.
$ac_ext <<_ACEOF
47657 cat confdefs.h
>>conftest.
$ac_ext
47658 cat >>conftest.
$ac_ext <<_ACEOF
47659 /* end confdefs.h. */
47665 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47666 There is no PCH support
47669 There is no PCH support
47671 #if (__GNUC__ == 3) && \
47672 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47673 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47674 ( defined(__INTEL_COMPILER) )
47675 There is no PCH support
47682 rm -f conftest.
$ac_objext
47683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47684 (eval $ac_compile) 2>conftest.er1
47686 grep -v '^ *+' conftest.er1
>conftest.err
47688 cat conftest.err
>&5
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); } &&
47691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; } &&
47697 { ac_try
='test -s conftest.$ac_objext'
47698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47699 (eval $ac_try) 2>&5
47701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47702 (exit $ac_status); }; }; then
47704 echo "$as_me:$LINENO: result: yes" >&5
47705 echo "${ECHO_T}yes" >&6
47709 echo "$as_me: failed program was:" >&5
47710 sed 's/^/| /' conftest.
$ac_ext >&5
47713 cat >conftest.
$ac_ext <<_ACEOF
47716 cat confdefs.h
>>conftest.
$ac_ext
47717 cat >>conftest.
$ac_ext <<_ACEOF
47718 /* end confdefs.h. */
47724 #if !defined(__INTEL_COMPILER) || \
47725 (__INTEL_COMPILER < 800)
47726 There is no PCH support
47733 rm -f conftest.
$ac_objext
47734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47735 (eval $ac_compile) 2>conftest.er1
47737 grep -v '^ *+' conftest.er1
>conftest.err
47739 cat conftest.err
>&5
47740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47741 (exit $ac_status); } &&
47742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47744 (eval $ac_try) 2>&5
47746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47747 (exit $ac_status); }; } &&
47748 { ac_try
='test -s conftest.$ac_objext'
47749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47750 (eval $ac_try) 2>&5
47752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47753 (exit $ac_status); }; }; then
47755 echo "$as_me:$LINENO: result: yes" >&5
47756 echo "${ECHO_T}yes" >&6
47760 echo "$as_me: failed program was:" >&5
47761 sed 's/^/| /' conftest.
$ac_ext >&5
47764 echo "$as_me:$LINENO: result: no" >&5
47765 echo "${ECHO_T}no" >&6
47768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47772 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47776 cat <<EOF >bk-make-pch
47779 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47780 # script. It is used to generated precompiled headers.
47782 # Permission is given to use this file in any way.
47792 while test ${D}{#} -gt 0; do
47796 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47797 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47798 headerfile="${D}{incdir}/${D}{header}"
47801 -use-pch|-use_pch )
47806 if test ${D}add_to_cmdline = 1 ; then
47807 compiler="${D}{compiler} ${D}{1}"
47812 if test "x${D}{headerfile}" = "x" ; then
47813 echo "error: can't find header ${D}{header} in include paths" >&2
47815 if test -f ${D}{outfile} ; then
47816 rm -f ${D}{outfile}
47818 mkdir -p \`dirname ${D}{outfile}\`
47820 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47822 if test "x${GCC_PCH}" = "x1" ; then
47823 # can do this because gcc is >= 3.4:
47824 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47825 elif test "x${ICC_PCH}" = "x1" ; then
47826 filename=pch_gen-${D}${D}
47827 file=${D}{filename}.c
47828 dfile=${D}{filename}.d
47829 cat > ${D}file <<EOT
47830 #include "${D}header"
47832 # using -MF icc complains about differing command lines in creation/use
47833 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47834 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47835 rm -f ${D}file ${D}dfile ${D}{filename}.o
47841 chmod +x bk
-make-pch
47849 COND_BUILD_DEBUG
="#"
47850 if test "x$BUILD" = "xdebug" ; then
47851 COND_BUILD_DEBUG
=""
47854 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47855 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47856 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47859 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47860 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47861 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47864 COND_BUILD_DEBUG_UNICODE_0
="#"
47865 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47866 COND_BUILD_DEBUG_UNICODE_0
=""
47869 COND_BUILD_DEBUG_UNICODE_1
="#"
47870 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47871 COND_BUILD_DEBUG_UNICODE_1
=""
47874 COND_BUILD_RELEASE
="#"
47875 if test "x$BUILD" = "xrelease" ; then
47876 COND_BUILD_RELEASE
=""
47879 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47880 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47881 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47884 COND_BUILD_RELEASE_UNICODE_0
="#"
47885 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47886 COND_BUILD_RELEASE_UNICODE_0
=""
47889 COND_BUILD_RELEASE_UNICODE_1
="#"
47890 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47891 COND_BUILD_RELEASE_UNICODE_1
=""
47894 COND_DEBUG_FLAG_1
="#"
47895 if test "x$DEBUG_FLAG" = "x1" ; then
47896 COND_DEBUG_FLAG_1
=""
47899 COND_DEBUG_INFO_0
="#"
47900 if test "x$DEBUG_INFO" = "x0" ; then
47901 COND_DEBUG_INFO_0
=""
47904 COND_DEBUG_INFO_1
="#"
47905 if test "x$DEBUG_INFO" = "x1" ; then
47906 COND_DEBUG_INFO_1
=""
47909 COND_DEPS_TRACKING_0
="#"
47910 if test "x$DEPS_TRACKING" = "x0" ; then
47911 COND_DEPS_TRACKING_0
=""
47914 COND_DEPS_TRACKING_1
="#"
47915 if test "x$DEPS_TRACKING" = "x1" ; then
47916 COND_DEPS_TRACKING_1
=""
47920 if test "x$GCC_PCH" = "x1" ; then
47925 if test "x$ICC_PCH" = "x1" ; then
47929 COND_MONOLITHIC_0
="#"
47930 if test "x$MONOLITHIC" = "x0" ; then
47931 COND_MONOLITHIC_0
=""
47934 COND_MONOLITHIC_0_SHARED_0
="#"
47935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47936 COND_MONOLITHIC_0_SHARED_0
=""
47939 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
47940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47941 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
47944 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47946 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47949 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47951 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47954 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47956 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47959 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47961 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47964 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47966 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47969 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47971 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47974 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
47975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47976 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
47979 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47981 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47984 COND_MONOLITHIC_0_SHARED_1
="#"
47985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47986 COND_MONOLITHIC_0_SHARED_1
=""
47989 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
47990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47991 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
47994 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47996 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47999 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48001 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48004 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48006 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48009 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48019 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48021 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48024 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48026 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48029 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48031 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48034 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48035 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48036 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48039 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48040 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48041 COND_MONOLITHIC_0_USE_ODBC_1
=""
48044 COND_MONOLITHIC_1
="#"
48045 if test "x$MONOLITHIC" = "x1" ; then
48046 COND_MONOLITHIC_1
=""
48049 COND_MONOLITHIC_1_SHARED_0
="#"
48050 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48051 COND_MONOLITHIC_1_SHARED_0
=""
48054 COND_MONOLITHIC_1_SHARED_1
="#"
48055 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48056 COND_MONOLITHIC_1_SHARED_1
=""
48059 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48060 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48061 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48064 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48065 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48066 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48069 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48070 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48071 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48074 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48075 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48076 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48079 COND_PLATFORM_MACOSX_1
="#"
48080 if test "x$PLATFORM_MACOSX" = "x1" ; then
48081 COND_PLATFORM_MACOSX_1
=""
48084 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48086 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48089 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48091 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48094 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48096 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48099 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48101 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48104 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48106 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48109 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48110 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48111 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48114 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48115 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48116 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48119 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48120 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48121 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48124 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48125 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48126 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48129 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48130 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48131 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48134 COND_PLATFORM_MACOS_1
="#"
48135 if test "x$PLATFORM_MACOS" = "x1" ; then
48136 COND_PLATFORM_MACOS_1
=""
48139 COND_PLATFORM_MAC_1
="#"
48140 if test "x$PLATFORM_MAC" = "x1" ; then
48141 COND_PLATFORM_MAC_1
=""
48144 COND_PLATFORM_MSDOS_0
="#"
48145 if test "x$PLATFORM_MSDOS" = "x0" ; then
48146 COND_PLATFORM_MSDOS_0
=""
48149 COND_PLATFORM_MSDOS_1
="#"
48150 if test "x$PLATFORM_MSDOS" = "x1" ; then
48151 COND_PLATFORM_MSDOS_1
=""
48154 COND_PLATFORM_OS2_1
="#"
48155 if test "x$PLATFORM_OS2" = "x1" ; then
48156 COND_PLATFORM_OS2_1
=""
48159 COND_PLATFORM_UNIX_0
="#"
48160 if test "x$PLATFORM_UNIX" = "x0" ; then
48161 COND_PLATFORM_UNIX_0
=""
48164 COND_PLATFORM_UNIX_1
="#"
48165 if test "x$PLATFORM_UNIX" = "x1" ; then
48166 COND_PLATFORM_UNIX_1
=""
48169 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48170 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48171 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48174 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48175 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48176 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48179 COND_PLATFORM_WIN32_0
="#"
48180 if test "x$PLATFORM_WIN32" = "x0" ; then
48181 COND_PLATFORM_WIN32_0
=""
48184 COND_PLATFORM_WIN32_1
="#"
48185 if test "x$PLATFORM_WIN32" = "x1" ; then
48186 COND_PLATFORM_WIN32_1
=""
48190 if test "x$SHARED" = "x0" ; then
48194 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48195 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48196 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48199 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48200 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48201 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48204 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48205 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48206 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48209 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48210 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48211 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48214 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48215 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48216 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48219 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48220 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48221 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48224 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48225 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48226 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48229 COND_SHARED_0_USE_XRC_1
="#"
48230 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48231 COND_SHARED_0_USE_XRC_1
=""
48234 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48235 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48236 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48239 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48240 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48241 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48244 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48245 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48246 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48249 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48250 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48251 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48255 if test "x$SHARED" = "x1" ; then
48259 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48260 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48261 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48264 COND_SHARED_1_USE_XRC_1
="#"
48265 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48266 COND_SHARED_1_USE_XRC_1
=""
48270 if test "x$TOOLKIT" = "x" ; then
48274 COND_TOOLKIT_COCOA
="#"
48275 if test "x$TOOLKIT" = "xCOCOA" ; then
48276 COND_TOOLKIT_COCOA
=""
48279 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48280 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48281 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48284 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48285 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48286 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48289 COND_TOOLKIT_GTK
="#"
48290 if test "x$TOOLKIT" = "xGTK" ; then
48291 COND_TOOLKIT_GTK
=""
48294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48295 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48300 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48305 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48309 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48310 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48311 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48315 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48316 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48319 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48320 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48321 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48324 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48325 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48326 COND_TOOLKIT_GTK_USE_GUI_1
=""
48329 COND_TOOLKIT_MAC
="#"
48330 if test "x$TOOLKIT" = "xMAC" ; then
48331 COND_TOOLKIT_MAC
=""
48334 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48335 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48336 COND_TOOLKIT_MAC_USE_GUI_1
=""
48339 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48340 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48341 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48344 COND_TOOLKIT_MGL
="#"
48345 if test "x$TOOLKIT" = "xMGL" ; then
48346 COND_TOOLKIT_MGL
=""
48349 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48350 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48351 COND_TOOLKIT_MGL_USE_GUI_1
=""
48354 COND_TOOLKIT_MOTIF
="#"
48355 if test "x$TOOLKIT" = "xMOTIF" ; then
48356 COND_TOOLKIT_MOTIF
=""
48359 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48360 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48361 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48364 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48365 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48366 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48369 COND_TOOLKIT_MSW
="#"
48370 if test "x$TOOLKIT" = "xMSW" ; then
48371 COND_TOOLKIT_MSW
=""
48374 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48375 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48376 COND_TOOLKIT_MSW_USE_GUI_1
=""
48379 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48380 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48381 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48384 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48385 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48386 COND_TOOLKIT_MSW_WXUNIV_0
=""
48389 COND_TOOLKIT_PM
="#"
48390 if test "x$TOOLKIT" = "xPM" ; then
48394 COND_TOOLKIT_PM_USE_GUI_1
="#"
48395 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48396 COND_TOOLKIT_PM_USE_GUI_1
=""
48399 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48400 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48401 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48404 COND_TOOLKIT_WINCE
="#"
48405 if test "x$TOOLKIT" = "xWINCE" ; then
48406 COND_TOOLKIT_WINCE
=""
48409 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48410 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48411 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48414 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48415 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48416 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48419 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48420 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48421 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48424 COND_TOOLKIT_X11
="#"
48425 if test "x$TOOLKIT" = "xX11" ; then
48426 COND_TOOLKIT_X11
=""
48429 COND_TOOLKIT_X11_USE_GUI_1
="#"
48430 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48431 COND_TOOLKIT_X11_USE_GUI_1
=""
48435 if test "x$UNICODE" = "x1" ; then
48439 COND_USE_EXCEPTIONS_0
="#"
48440 if test "x$USE_EXCEPTIONS" = "x0" ; then
48441 COND_USE_EXCEPTIONS_0
=""
48444 COND_USE_EXCEPTIONS_1
="#"
48445 if test "x$USE_EXCEPTIONS" = "x1" ; then
48446 COND_USE_EXCEPTIONS_1
=""
48450 if test "x$USE_GUI" = "x0" ; then
48455 if test "x$USE_GUI" = "x1" ; then
48459 COND_USE_GUI_1_WXUNIV_0
="#"
48460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48461 COND_USE_GUI_1_WXUNIV_0
=""
48464 COND_USE_GUI_1_WXUNIV_1
="#"
48465 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48466 COND_USE_GUI_1_WXUNIV_1
=""
48469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48471 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48476 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48480 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48481 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48484 COND_USE_ODBC_1
="#"
48485 if test "x$USE_ODBC" = "x1" ; then
48489 COND_USE_OPENGL_1
="#"
48490 if test "x$USE_OPENGL" = "x1" ; then
48491 COND_USE_OPENGL_1
=""
48495 if test "x$USE_PCH" = "x1" ; then
48499 COND_USE_PLUGINS_0
="#"
48500 if test "x$USE_PLUGINS" = "x0" ; then
48501 COND_USE_PLUGINS_0
=""
48504 COND_USE_RTTI_0
="#"
48505 if test "x$USE_RTTI" = "x0" ; then
48509 COND_USE_RTTI_1
="#"
48510 if test "x$USE_RTTI" = "x1" ; then
48514 COND_USE_SOSYMLINKS_1
="#"
48515 if test "x$USE_SOSYMLINKS" = "x1" ; then
48516 COND_USE_SOSYMLINKS_1
=""
48519 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48520 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48521 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48524 COND_USE_SOVERLINUX_1
="#"
48525 if test "x$USE_SOVERLINUX" = "x1" ; then
48526 COND_USE_SOVERLINUX_1
=""
48529 COND_USE_SOVERSION_0
="#"
48530 if test "x$USE_SOVERSION" = "x0" ; then
48531 COND_USE_SOVERSION_0
=""
48534 COND_USE_SOVERSOLARIS_1
="#"
48535 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48536 COND_USE_SOVERSOLARIS_1
=""
48539 COND_USE_THREADS_0
="#"
48540 if test "x$USE_THREADS" = "x0" ; then
48541 COND_USE_THREADS_0
=""
48544 COND_USE_THREADS_1
="#"
48545 if test "x$USE_THREADS" = "x1" ; then
48546 COND_USE_THREADS_1
=""
48550 if test "x$USE_XRC" = "x1" ; then
48554 COND_WINDOWS_IMPLIB_1
="#"
48555 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48556 COND_WINDOWS_IMPLIB_1
=""
48559 COND_WITH_PLUGIN_SDL_1
="#"
48560 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48561 COND_WITH_PLUGIN_SDL_1
=""
48565 if test "x$WXUNIV" = "x0" ; then
48570 if test "x$WXUNIV" = "x1" ; then
48574 COND_WXUSE_EXPAT_BUILTIN
="#"
48575 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48576 COND_WXUSE_EXPAT_BUILTIN
=""
48579 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48580 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48581 COND_WXUSE_LIBJPEG_BUILTIN
=""
48584 COND_WXUSE_LIBPNG_BUILTIN
="#"
48585 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48586 COND_WXUSE_LIBPNG_BUILTIN
=""
48589 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48590 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48591 COND_WXUSE_LIBTIFF_BUILTIN
=""
48594 COND_WXUSE_ODBC_BUILTIN
="#"
48595 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48596 COND_WXUSE_ODBC_BUILTIN
=""
48599 COND_WXUSE_REGEX_BUILTIN
="#"
48600 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48601 COND_WXUSE_REGEX_BUILTIN
=""
48604 COND_WXUSE_ZLIB_BUILTIN
="#"
48605 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48606 COND_WXUSE_ZLIB_BUILTIN
=""
48611 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48612 { { 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
48613 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;}
48614 { (exit 1); exit 1; }; }
48617 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48618 { { 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
48619 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;}
48620 { (exit 1); exit 1; }; }
48625 if test "$wxUSE_MAC" = 1 ; then
48626 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48627 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48633 if test "$wxUSE_SHARED" = "yes"; then
48635 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48636 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48639 *-pc-os2_emx | *-pc-os2-emx )
48640 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48641 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48642 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48643 cp -p ${srcdir}/src
/os
2/dllar.sh .
48648 EXE_LINKER
="$CXX -o"
48651 if test "$wxUSE_OMF" = "yes"; then
48653 *-pc-os2_emx | *-pc-os2-emx )
48654 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48655 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48656 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48661 if test $GCC_PCH = 1 ; then
48662 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48665 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48667 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48729 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48730 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48731 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48732 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48733 echo $ECHO_N "(cached) $ECHO_C" >&6
48735 cat >conftest.
make <<\_ACEOF
48737 @
echo 'ac_maketemp="$(MAKE)"'
48739 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48740 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48741 if test -n "$ac_maketemp"; then
48742 eval ac_cv_prog_make_
${ac_make}_set
=yes
48744 eval ac_cv_prog_make_
${ac_make}_set
=no
48746 rm -f conftest.
make
48748 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48749 echo "$as_me:$LINENO: result: yes" >&5
48750 echo "${ECHO_T}yes" >&6
48753 echo "$as_me:$LINENO: result: no" >&5
48754 echo "${ECHO_T}no" >&6
48755 SET_MAKE
="MAKE=${MAKE-make}"
48760 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48763 if test "$USE_WIN32" = 1; then
48764 ac_config_commands
="$ac_config_commands
48770 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48773 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48776 ac_config_files
="$ac_config_files version-script Makefile"
48779 ac_config_commands
="$ac_config_commands wx-config"
48783 if test "$wxWITH_SUBDIRS" != "no"; then
48784 if test "$wxUSE_GUI" = "yes"; then
48785 SUBDIRS
="samples demos utils contrib"
48786 else SUBDIRS
="samples utils"
48791 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48792 if test "${with_cppunit_prefix+set}" = set; then
48793 withval
="$with_cppunit_prefix"
48794 cppunit_config_prefix
="$withval"
48796 cppunit_config_prefix
=""
48799 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48800 if test "${with_cppunit_exec_prefix+set}" = set; then
48801 withval
="$with_cppunit_exec_prefix"
48802 cppunit_config_exec_prefix
="$withval"
48804 cppunit_config_exec_prefix
=""
48807 if test x
$cppunit_config_exec_prefix != x
; then
48808 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48809 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48810 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48813 if test x
$cppunit_config_prefix != x
; then
48814 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48815 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48816 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48820 # Extract the first word of "cppunit-config", so it can be a program name with args.
48821 set dummy cppunit
-config; ac_word
=$2
48822 echo "$as_me:$LINENO: checking for $ac_word" >&5
48823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48824 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48825 echo $ECHO_N "(cached) $ECHO_C" >&6
48827 case $CPPUNIT_CONFIG in
48829 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48833 for as_dir
in $PATH
48836 test -z "$as_dir" && as_dir
=.
48837 for ac_exec_ext
in '' $ac_executable_extensions; do
48838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48839 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48846 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48850 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48852 if test -n "$CPPUNIT_CONFIG"; then
48853 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48854 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48856 echo "$as_me:$LINENO: result: no" >&5
48857 echo "${ECHO_T}no" >&6
48860 cppunit_version_min
=1.8.0
48862 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48863 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48865 if test "$CPPUNIT_CONFIG" = "no" ; then
48868 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48869 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48870 cppunit_version
=`$CPPUNIT_CONFIG --version`
48872 cppunit_major_version
=`echo $cppunit_version | \
48873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48874 cppunit_minor_version
=`echo $cppunit_version | \
48875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48876 cppunit_micro_version
=`echo $cppunit_version | \
48877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48879 cppunit_major_min
=`echo $cppunit_version_min | \
48880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48881 cppunit_minor_min
=`echo $cppunit_version_min | \
48882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48883 cppunit_micro_min
=`echo $cppunit_version_min | \
48884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48886 cppunit_version_proper
=`expr \
48887 $cppunit_major_version \> $cppunit_major_min \| \
48888 $cppunit_major_version \= $cppunit_major_min \& \
48889 $cppunit_minor_version \> $cppunit_minor_min \| \
48890 $cppunit_major_version \= $cppunit_major_min \& \
48891 $cppunit_minor_version \= $cppunit_minor_min \& \
48892 $cppunit_micro_version \>= $cppunit_micro_min `
48894 if test "$cppunit_version_proper" = "1" ; then
48895 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48896 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48898 echo "$as_me:$LINENO: result: no" >&5
48899 echo "${ECHO_T}no" >&6
48904 if test "x$no_cppunit" = x
; then
48905 SUBDIRS
="$SUBDIRS tests"
48916 for subdir
in `echo $SUBDIRS`; do
48917 if test -d ${srcdir}/${subdir} ; then
48918 if test "$wxUSE_GUI" = "yes"; then
48919 if test ${subdir} = "samples"; then
48920 makefiles
="samples/Makefile.in $makefiles"
48921 for sample
in `echo $SAMPLES_SUBDIRS`; do
48922 if test -d $srcdir/samples
/$sample; then
48923 makefiles
="samples/$sample/Makefile.in $makefiles"
48927 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48928 eval "disabled=\$$disabled_var"
48929 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48930 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48932 else if test ${subdir} = "samples"; then
48933 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48934 elif test ${subdir} = "utils"; then
48936 for util
in HelpGen tex2rtf
; do
48937 if test -d $srcdir/utils
/$util ; then
48938 makefiles
="utils/$util/Makefile.in \
48939 utils/$util/src/Makefile.in \
48943 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48947 for mkin
in $makefiles ; do
48948 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48949 ac_config_files
="$ac_config_files $mk"
48955 cat >confcache
<<\_ACEOF
48956 # This file is a shell script that caches the results of configure
48957 # tests run on this system so they can be shared between configure
48958 # scripts and configure runs, see configure's option --config-cache.
48959 # It is not useful on other systems. If it contains results you don't
48960 # want to keep, you may remove or edit it.
48962 # config.status only pays attention to the cache file if you give it
48963 # the --recheck option to rerun configure.
48965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48967 # following values.
48971 # The following way of writing the cache mishandles newlines in values,
48972 # but we know of no workaround that is simple, portable, and efficient.
48973 # So, don't put newlines in cache variables' values.
48974 # Ultrix sh set writes to stderr and can't be redirected directly,
48975 # and sets the high bit in the cache file unless we assign to the vars.
48978 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48980 # `set' does not quote correctly, so add quotes (double-quote
48981 # substitution turns \\\\ into \\, and sed turns \\ into \).
48984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48987 # `set' quotes correctly as required by POSIX, so do not add quotes.
48989 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48998 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49000 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49001 if test -w $cache_file; then
49002 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49003 cat confcache
>$cache_file
49005 echo "not updating unwritable cache $cache_file"
49010 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49011 # Let make expand exec_prefix.
49012 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49014 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49015 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49016 # trailing colons and then remove the whole line if VPATH becomes empty
49017 # (actually we leave an empty line to preserve line numbers).
49018 if test "x$srcdir" = x.
; then
49019 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49020 s/:*\$(srcdir):*/:/;
49021 s/:*\${srcdir}:*/:/;
49023 s/^\([^=]*=[ ]*\):*/\1/;
49029 DEFS
=-DHAVE_CONFIG_H
49033 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49034 # 1. Remove the extension, and $U if already installed.
49035 ac_i
=`echo "$ac_i" |
49036 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49038 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49039 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49041 LIBOBJS
=$ac_libobjs
49043 LTLIBOBJS
=$ac_ltlibobjs
49047 : ${CONFIG_STATUS=./config.status}
49048 ac_clean_files_save
=$ac_clean_files
49049 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49050 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49051 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49052 cat >$CONFIG_STATUS <<_ACEOF
49054 # Generated by $as_me.
49055 # Run this file to recreate the current configuration.
49056 # Compiler output produced by configure, useful for debugging
49057 # configure, is in config.log if it exists.
49060 ac_cs_recheck=false
49062 SHELL=\${CONFIG_SHELL-$SHELL}
49065 cat >>$CONFIG_STATUS <<\_ACEOF
49066 ## --------------------- ##
49067 ## M4sh Initialization. ##
49068 ## --------------------- ##
49070 # Be Bourne compatible
49071 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49074 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49075 # is contrary to our usage. Disable this feature.
49076 alias -g '${1+"$@"}'='"$@"'
49077 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49080 DUALCASE
=1; export DUALCASE
# for MKS sh
49082 # Support unset when possible.
49083 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49090 # Work around bugs in pre-3.0 UWIN ksh.
49091 $as_unset ENV MAIL MAILPATH
49098 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49099 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49100 LC_TELEPHONE LC_TIME
49102 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49103 eval $as_var=C
; export $as_var
49109 # Required to use basename.
49110 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49116 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49117 as_basename
=basename
49123 # Name of the executable.
49124 as_me
=`$as_basename "$0" ||
49125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49126 X"$0" : 'X\(//\)$' \| \
49127 X"$0" : 'X\(/\)$' \| \
49128 . : '\(.\)' 2>/dev/null ||
49130 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49131 /^X\/\(\/\/\)$/{ s//\1/; q; }
49132 /^X\/\(\/\).*/{ s//\1/; q; }
49136 # PATH needs CR, and LINENO needs CR and PATH.
49137 # Avoid depending upon Character Ranges.
49138 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49139 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49140 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49141 as_cr_digits
='0123456789'
49142 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49144 # The user is always right.
49145 if test "${PATH_SEPARATOR+set}" != set; then
49146 echo "#! /bin/sh" >conf$$.sh
49147 echo "exit 0" >>conf$$.sh
49149 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49158 as_lineno_1
=$LINENO
49159 as_lineno_2
=$LINENO
49160 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49161 test "x$as_lineno_1" != "x$as_lineno_2" &&
49162 test "x$as_lineno_3" = "x$as_lineno_2" || {
49163 # Find who we are. Look in the path if we contain no path at all
49166 *[\\/]* ) as_myself
=$0 ;;
49167 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49168 for as_dir
in $PATH
49171 test -z "$as_dir" && as_dir
=.
49172 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49177 # We did not find ourselves, most probably we were run as `sh COMMAND'
49178 # in which case we are not to be found in the path.
49179 if test "x$as_myself" = x
; then
49182 if test ! -f "$as_myself"; then
49183 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49184 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49185 { (exit 1); exit 1; }; }
49187 case $CONFIG_SHELL in
49189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49190 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49193 test -z "$as_dir" && as_dir
=.
49194 for as_base
in sh bash ksh sh5
; do
49197 if ("$as_dir/$as_base" -c '
49198 as_lineno_1=$LINENO
49199 as_lineno_2=$LINENO
49200 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49201 test "x$as_lineno_1" != "x$as_lineno_2" &&
49202 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49203 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49204 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49205 CONFIG_SHELL
=$as_dir/$as_base
49206 export CONFIG_SHELL
49207 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49215 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49216 # uniformly replaced by the line number. The first 'sed' inserts a
49217 # line-number line before each line; the second 'sed' does the real
49218 # work. The second script uses 'N' to pair each line-number line
49219 # with the numbered line, and appends trailing '-' during
49220 # substitution so that $LINENO is not a special case at line end.
49221 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49222 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49223 sed '=' <$as_myself |
49228 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49231 s,^['$as_cr_digits']*\n,,
49232 ' >$as_me.lineno
&&
49233 chmod +x
$as_me.lineno
||
49234 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49235 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49236 { (exit 1); exit 1; }; }
49238 # Don't try to exec as it changes $[0], causing all sort of problems
49239 # (the dirname of $[0] is not the place where we might find the
49240 # original and so on. Autoconf is especially sensible to this).
49242 # Exit status is that of the last command.
49247 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49248 *c
*,-n*) ECHO_N
= ECHO_C
='
49250 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49251 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49254 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49260 rm -f conf$$ conf$$.exe conf$$.
file
49262 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49263 # We could just check for DJGPP; but this test a) works b) is more generic
49264 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49265 if test -f conf$$.exe
; then
49266 # Don't use ln at all; we don't have any links
49271 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49276 rm -f conf$$ conf$$.exe conf$$.
file
49278 if mkdir -p .
2>/dev
/null
; then
49281 test -d .
/-p && rmdir .
/-p
49285 as_executable_p
="test -f"
49287 # Sed expression to map a string onto a valid CPP name.
49288 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49290 # Sed expression to map a string onto a valid variable name.
49291 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49295 # We need space, tab and new line, in precisely that order.
49305 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49306 # report actual input values of CONFIG_FILES etc. instead of their
49307 # values after options handling. Logging --version etc. is OK.
49311 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49312 ## Running $as_me. ##
49317 This file was extended by wxWidgets $as_me 2.7.0, which was
49318 generated by GNU Autoconf 2.59. Invocation command line was
49320 CONFIG_FILES = $CONFIG_FILES
49321 CONFIG_HEADERS = $CONFIG_HEADERS
49322 CONFIG_LINKS = $CONFIG_LINKS
49323 CONFIG_COMMANDS = $CONFIG_COMMANDS
49327 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49331 # Files that config.status was made for.
49332 if test -n "$ac_config_files"; then
49333 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49336 if test -n "$ac_config_headers"; then
49337 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49340 if test -n "$ac_config_links"; then
49341 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49344 if test -n "$ac_config_commands"; then
49345 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49348 cat >>$CONFIG_STATUS <<\_ACEOF
49351 \`$as_me' instantiates files from templates according to the
49352 current configuration.
49354 Usage: $0 [OPTIONS] [FILE]...
49356 -h, --help print this help, then exit
49357 -V, --version print version number, then exit
49358 -q, --quiet do not print progress messages
49359 -d, --debug don't remove temporary files
49360 --recheck update $as_me by reconfiguring in the same conditions
49361 --file=FILE[:TEMPLATE]
49362 instantiate the configuration file FILE
49363 --header=FILE[:TEMPLATE]
49364 instantiate the configuration header FILE
49366 Configuration files:
49369 Configuration headers:
49372 Configuration commands:
49375 Report bugs to <bug-autoconf@gnu.org>."
49378 cat >>$CONFIG_STATUS <<_ACEOF
49380 wxWidgets config.status 2.7.0
49381 configured by $0, generated by GNU Autoconf 2.59,
49382 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49384 Copyright (C) 2003 Free Software Foundation, Inc.
49385 This config.status script is free software; the Free Software Foundation
49386 gives unlimited permission to copy, distribute and modify it."
49391 cat >>$CONFIG_STATUS <<\_ACEOF
49392 # If no file are specified by the user, then we need to provide default
49393 # value. By we need to know if files were specified by the user.
49399 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49400 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49408 *) # This is not an option, so the user has probably given explicit
49411 ac_need_defaults
=false
;;
49415 # Handling of the options.
49417 cat >>$CONFIG_STATUS <<\_ACEOF
49418 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49420 --version | --vers* | -V )
49421 echo "$ac_cs_version"; exit 0 ;;
49423 # Conflict between --help and --header
49424 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49425 Try \`$0 --help' for more information." >&5
49426 echo "$as_me: error: ambiguous option: $1
49427 Try \`$0 --help' for more information." >&2;}
49428 { (exit 1); exit 1; }; };;
49429 --help | --hel | -h )
49430 echo "$ac_cs_usage"; exit 0 ;;
49431 --debug | --d* | -d )
49433 --file | --fil | --fi | --f )
49435 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49436 ac_need_defaults
=false
;;
49437 --header | --heade | --head | --hea )
49439 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49440 ac_need_defaults
=false
;;
49441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49442 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49445 # This is an error.
49446 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49447 Try \`$0 --help' for more information." >&5
49448 echo "$as_me: error: unrecognized option: $1
49449 Try \`$0 --help' for more information." >&2;}
49450 { (exit 1); exit 1; }; } ;;
49452 *) ac_config_targets
="$ac_config_targets $1" ;;
49458 ac_configure_extra_args
=
49460 if $ac_cs_silent; then
49462 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49466 cat >>$CONFIG_STATUS <<_ACEOF
49467 if \$ac_cs_recheck; then
49468 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49469 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49474 cat >>$CONFIG_STATUS <<_ACEOF
49476 # INIT-COMMANDS section.
49481 infile="$srcdir/include/wx/msw/genrcdefs.h"
49482 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49485 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49486 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49487 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49495 cat >>$CONFIG_STATUS <<\_ACEOF
49496 for ac_config_target
in $ac_config_targets
49498 case "$ac_config_target" in
49499 # Handling of arguments.
49500 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49501 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49502 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49503 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49504 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49505 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49506 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49507 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49508 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49509 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49510 { (exit 1); exit 1; }; };;
49514 # If the user did not use the arguments to specify the items to instantiate,
49515 # then the envvar interface is used. Set only those that are not.
49516 # We use the long form for the default assignment because of an extremely
49517 # bizarre bug on SunOS 4.1.3.
49518 if $ac_need_defaults; then
49519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49524 # Have a temporary directory for convenience. Make it in the build tree
49525 # simply because there is no reason to put it here, and in addition,
49526 # creating and moving files from /tmp can sometimes cause problems.
49527 # Create a temporary directory, and hook for its removal unless debugging.
49530 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49531 trap '{ (exit 1); exit 1; }' 1 2 13 15
49534 # Create a (secure) tmp directory for tmp files.
49537 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49538 test -n "$tmp" && test -d "$tmp"
49541 tmp
=.
/confstat$$
-$RANDOM
49542 (umask 077 && mkdir $tmp)
49545 echo "$me: cannot create a temporary directory in ." >&2
49546 { (exit 1); exit 1; }
49551 cat >>$CONFIG_STATUS <<_ACEOF
49554 # CONFIG_FILES section.
49557 # No need to generate the scripts if there are no CONFIG_FILES.
49558 # This happens for instance when ./config.status config.h
49559 if test -n "\$CONFIG_FILES"; then
49560 # Protect against being on the right side of a sed subst in config.status.
49561 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49562 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49563 s,@SHELL@,$SHELL,;t t
49564 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49565 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49566 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49567 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49568 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49569 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49570 s,@exec_prefix@,$exec_prefix,;t t
49571 s,@prefix@,$prefix,;t t
49572 s,@program_transform_name@,$program_transform_name,;t t
49573 s,@bindir@,$bindir,;t t
49574 s,@sbindir@,$sbindir,;t t
49575 s,@libexecdir@,$libexecdir,;t t
49576 s,@datadir@,$datadir,;t t
49577 s,@sysconfdir@,$sysconfdir,;t t
49578 s,@sharedstatedir@,$sharedstatedir,;t t
49579 s,@localstatedir@,$localstatedir,;t t
49580 s,@libdir@,$libdir,;t t
49581 s,@includedir@,$includedir,;t t
49582 s,@oldincludedir@,$oldincludedir,;t t
49583 s,@infodir@,$infodir,;t t
49584 s,@mandir@,$mandir,;t t
49585 s,@build_alias@,$build_alias,;t t
49586 s,@host_alias@,$host_alias,;t t
49587 s,@target_alias@,$target_alias,;t t
49588 s,@DEFS@,$DEFS,;t t
49589 s,@ECHO_C@,$ECHO_C,;t t
49590 s,@ECHO_N@,$ECHO_N,;t t
49591 s,@ECHO_T@,$ECHO_T,;t t
49592 s,@LIBS@,$LIBS,;t t
49593 s,@build@,$build,;t t
49594 s,@build_cpu@,$build_cpu,;t t
49595 s,@build_vendor@,$build_vendor,;t t
49596 s,@build_os@,$build_os,;t t
49597 s,@host@,$host,;t t
49598 s,@host_cpu@,$host_cpu,;t t
49599 s,@host_vendor@,$host_vendor,;t t
49600 s,@host_os@,$host_os,;t t
49601 s,@target@,$target,;t t
49602 s,@target_cpu@,$target_cpu,;t t
49603 s,@target_vendor@,$target_vendor,;t t
49604 s,@target_os@,$target_os,;t t
49606 s,@CFLAGS@,$CFLAGS,;t t
49607 s,@LDFLAGS@,$LDFLAGS,;t t
49608 s,@CPPFLAGS@,$CPPFLAGS,;t t
49609 s,@ac_ct_CC@,$ac_ct_CC,;t t
49610 s,@EXEEXT@,$EXEEXT,;t t
49611 s,@OBJEXT@,$OBJEXT,;t t
49613 s,@EGREP@,$EGREP,;t t
49615 s,@CXXFLAGS@,$CXXFLAGS,;t t
49616 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49617 s,@RANLIB@,$RANLIB,;t t
49618 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49620 s,@ac_ct_AR@,$ac_ct_AR,;t t
49621 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49622 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49623 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49624 s,@STRIP@,$STRIP,;t t
49625 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49626 s,@WINDRES@,$WINDRES,;t t
49627 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49628 s,@DLLTOOL@,$DLLTOOL,;t t
49629 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49630 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49631 s,@LN_S@,$LN_S,;t t
49632 s,@CXXCPP@,$CXXCPP,;t t
49633 s,@subdirs@,$subdirs,;t t
49634 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49635 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49636 s,@GTK_LIBS@,$GTK_LIBS,;t t
49637 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49638 s,@X_CFLAGS@,$X_CFLAGS,;t t
49639 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49640 s,@X_LIBS@,$X_LIBS,;t t
49641 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49642 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49643 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49644 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49645 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49646 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49647 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49649 s,@DEREZ@,$DEREZ,;t t
49650 s,@SETFILE@,$SETFILE,;t t
49651 s,@LIBICONV@,$LIBICONV,;t t
49652 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49653 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49654 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49655 s,@SDL_LIBS@,$SDL_LIBS,;t t
49656 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49657 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49658 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49659 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49660 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49661 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49662 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49663 s,@GST_LIBS@,$GST_LIBS,;t t
49664 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49665 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49666 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49667 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49668 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49669 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49670 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49671 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49672 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49673 s,@VENDOR@,$VENDOR,;t t
49674 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49675 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49676 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49677 s,@WXUNIV@,$WXUNIV,;t t
49678 s,@MONOLITHIC@,$MONOLITHIC,;t t
49679 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49680 s,@EXTRALIBS@,$EXTRALIBS,;t t
49681 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49682 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49683 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49684 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49685 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49686 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49687 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49688 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49689 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49690 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49691 s,@UNICODE@,$UNICODE,;t t
49692 s,@BUILD@,$BUILD,;t t
49693 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49694 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49695 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49696 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49697 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49698 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49699 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49700 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49701 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49702 s,@SET_MAKE@,$SET_MAKE,;t t
49703 s,@MAKE_SET@,$MAKE_SET,;t t
49705 s,@ac_ct_NM@,$ac_ct_NM,;t t
49706 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49707 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49708 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49709 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49710 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49711 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49712 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49713 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49714 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49715 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49716 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49717 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49718 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49719 s,@LIBPREFIX@,$LIBPREFIX,;t t
49720 s,@LIBEXT@,$LIBEXT,;t t
49721 s,@DLLPREFIX@,$DLLPREFIX,;t t
49722 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49723 s,@dlldir@,$dlldir,;t t
49724 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49725 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49726 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49727 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49728 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49729 s,@PIC_FLAG@,$PIC_FLAG,;t t
49730 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49731 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49732 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49733 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49734 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49735 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49736 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49737 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49738 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49739 s,@GCC_PCH@,$GCC_PCH,;t t
49740 s,@ICC_PCH@,$ICC_PCH,;t t
49741 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49742 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49743 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49744 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49745 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49746 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49747 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49748 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49749 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49750 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49751 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49752 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49753 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49754 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49755 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49756 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49757 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49758 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49759 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49760 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49761 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
49762 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
49763 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
49764 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
49765 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49766 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49767 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49768 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49769 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49770 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49771 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
49772 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
49773 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
49774 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
49775 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49776 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49777 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49778 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49779 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49780 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49781 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49782 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49783 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49784 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49785 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49786 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49787 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49788 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49789 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49790 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49791 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49792 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49793 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
49794 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49795 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49796 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49797 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49798 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49799 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49800 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49801 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49802 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49803 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49804 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49805 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49806 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49807 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49808 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49809 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49810 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49811 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49812 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49813 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49814 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49815 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49816 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49817 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49818 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49819 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49820 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49821 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49822 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49823 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49824 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49825 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49826 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49827 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49828 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49829 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49830 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49831 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49832 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49833 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
49834 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49835 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49836 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49837 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49838 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49839 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49840 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49841 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49842 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49843 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49844 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49845 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49846 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49847 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49848 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49849 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49850 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49851 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49852 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49853 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49854 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49855 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49856 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49857 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49858 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49859 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49860 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49861 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49862 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49863 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49864 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49865 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49866 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49867 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49868 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49869 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49870 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49871 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49872 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49873 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49874 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49875 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49876 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49877 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49878 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49879 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49880 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49881 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49882 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49883 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49884 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49885 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49886 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49887 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49888 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49889 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49890 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49891 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49892 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49893 s,@SHARED@,$SHARED,;t t
49894 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49895 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49896 s,@USE_GUI@,$USE_GUI,;t t
49897 s,@AFMINSTALL@,$AFMINSTALL,;t t
49898 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49899 s,@TOOLKIT@,$TOOLKIT,;t t
49900 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49901 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49902 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49903 s,@cross_compiling@,$cross_compiling,;t t
49904 s,@WIDGET_SET@,$WIDGET_SET,;t t
49905 s,@WX_RELEASE@,$WX_RELEASE,;t t
49906 s,@WX_VERSION@,$WX_VERSION,;t t
49907 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49908 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49909 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49910 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49911 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49912 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49913 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49914 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49915 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49916 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49917 s,@EXE_LINKER@,$EXE_LINKER,;t t
49918 s,@GUIDIST@,$GUIDIST,;t t
49919 s,@DISTDIR@,$DISTDIR,;t t
49920 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49921 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49922 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49923 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49924 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49925 s,@RESCOMP@,$RESCOMP,;t t
49926 s,@RESFLAGS@,$RESFLAGS,;t t
49927 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49928 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49929 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49930 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49931 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49932 s,@MACSETFILE@,$MACSETFILE,;t t
49934 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49935 s,@LIBOBJS@,$LIBOBJS,;t t
49936 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49941 cat >>$CONFIG_STATUS <<\_ACEOF
49942 # Split the substitutions into bite-sized pieces for seds with
49943 # small command number limits, like on Digital OSF/1 and HP-UX.
49944 ac_max_sed_lines
=48
49945 ac_sed_frag
=1 # Number of current file.
49946 ac_beg
=1 # First line for current file.
49947 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49950 while $ac_more_lines; do
49951 if test $ac_beg -gt 1; then
49952 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49954 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49956 if test ! -s $tmp/subs.frag
; then
49957 ac_more_lines
=false
49959 # The purpose of the label and of the branching condition is to
49960 # speed up the sed processing (if there are no `@' at all, there
49961 # is no need to browse any of the substitutions).
49962 # These are the two extra sed commands mentioned above.
49964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49965 if test -z "$ac_sed_cmds"; then
49966 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49968 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49970 ac_sed_frag
=`expr $ac_sed_frag + 1`
49972 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49975 if test -z "$ac_sed_cmds"; then
49978 fi # test -n "$CONFIG_FILES"
49981 cat >>$CONFIG_STATUS <<\_ACEOF
49982 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49983 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49985 - | *:- | *:-:* ) # input from stdin
49987 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49988 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49989 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49990 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49991 * ) ac_file_in
=$ac_file.
in ;;
49994 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49995 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49997 X"$ac_file" : 'X\(//\)[^/]' \| \
49998 X"$ac_file" : 'X\(//\)$' \| \
49999 X"$ac_file" : 'X\(/\)' \| \
50000 . : '\(.\)' 2>/dev/null ||
50002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50004 /^X\(\/\/\)$/{ s//\1/; q; }
50005 /^X\(\/\).*/{ s//\1/; q; }
50007 { if $as_mkdir_p; then
50012 while test ! -d "$as_dir"; do
50013 as_dirs
="$as_dir $as_dirs"
50014 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50016 X"$as_dir" : 'X\(//\)[^/]' \| \
50017 X"$as_dir" : 'X\(//\)$' \| \
50018 X"$as_dir" : 'X\(/\)' \| \
50019 . : '\(.\)' 2>/dev/null ||
50021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50023 /^X\(\/\/\)$/{ s//\1/; q; }
50024 /^X\(\/\).*/{ s//\1/; q; }
50027 test ! -n "$as_dirs" || mkdir $as_dirs
50028 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50030 { (exit 1); exit 1; }; }; }
50034 if test "$ac_dir" != .
; then
50035 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50036 # A "../" for each directory in $ac_dir_suffix.
50037 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50039 ac_dir_suffix
= ac_top_builddir
=
50043 .
) # No --srcdir option. We are building in place.
50045 if test -z "$ac_top_builddir"; then
50048 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50050 [\\/]* | ?
:[\\/]* ) # Absolute path.
50051 ac_srcdir
=$srcdir$ac_dir_suffix;
50052 ac_top_srcdir
=$srcdir ;;
50053 *) # Relative path.
50054 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50055 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50058 # Do not use `cd foo && pwd` to compute absolute paths, because
50059 # the directories may not exist.
50061 .
) ac_abs_builddir
="$ac_dir";;
50064 .
) ac_abs_builddir
=`pwd`;;
50065 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50066 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50069 case $ac_abs_builddir in
50070 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50072 case ${ac_top_builddir}.
in
50073 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50074 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50075 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50078 case $ac_abs_builddir in
50079 .
) ac_abs_srcdir
=$ac_srcdir;;
50082 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50083 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50084 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50087 case $ac_abs_builddir in
50088 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50090 case $ac_top_srcdir in
50091 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50092 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50093 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50099 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50100 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50103 # Let's still pretend it is `configure' which instantiates (i.e., don't
50104 # use $as_me), people would be surprised to read:
50105 # /* config.h. Generated by config.status. */
50106 if test x
"$ac_file" = x
-; then
50109 configure_input
="$ac_file. "
50111 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50112 sed 's,.*/,,'` by configure."
50114 # First look for the input files in the build tree, otherwise in the
50116 ac_file_inputs
=`IFS=:
50117 for f in $ac_file_in; do
50119 -) echo $tmp/stdin ;;
50121 # Absolute (can't be DOS-style, as IFS=:)
50122 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50123 echo "$as_me: error: cannot find input file: $f" >&2;}
50124 { (exit 1); exit 1; }; }
50127 if test -f "$f"; then
50130 elif test -f "$srcdir/$f"; then
50135 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50136 echo "$as_me: error: cannot find input file: $f" >&2;}
50137 { (exit 1); exit 1; }; }
50140 done` || { (exit 1); exit 1; }
50142 if test x
"$ac_file" != x
-; then
50143 { echo "$as_me:$LINENO: creating $ac_file" >&5
50144 echo "$as_me: creating $ac_file" >&6;}
50148 cat >>$CONFIG_STATUS <<_ACEOF
50152 cat >>$CONFIG_STATUS <<\_ACEOF
50154 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50155 s
,@configure_input@
,$configure_input,;t t
50156 s
,@srcdir@
,$ac_srcdir,;t t
50157 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50158 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50159 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50160 s
,@builddir@
,$ac_builddir,;t t
50161 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50162 s
,@top_builddir@
,$ac_top_builddir,;t t
50163 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50164 s
,@INSTALL@
,$ac_INSTALL,;t t
50165 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50167 if test x"$ac_file" != x-; then
50168 mv $tmp/out $ac_file
50174 # Run the commands associated with the file.
50176 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50177 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50181 cat >>$CONFIG_STATUS <<\_ACEOF
50184 # CONFIG_HEADER section.
50187 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50188 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50190 # ac_d sets the value in "#define NAME VALUE" lines.
50191 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50192 ac_dB
='[ ].*$,\1#\2'
50195 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50196 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50197 ac_uB
='$,\1#\2define\3'
50201 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50202 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50204 - | *:- | *:-:* ) # input from stdin
50206 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50207 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50208 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50209 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50210 * ) ac_file_in
=$ac_file.
in ;;
50213 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50214 echo "$as_me: creating $ac_file" >&6;}
50216 # First look for the input files in the build tree, otherwise in the
50218 ac_file_inputs
=`IFS=:
50219 for f in $ac_file_in; do
50221 -) echo $tmp/stdin ;;
50223 # Absolute (can't be DOS-style, as IFS=:)
50224 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50225 echo "$as_me: error: cannot find input file: $f" >&2;}
50226 { (exit 1); exit 1; }; }
50227 # Do quote $f, to prevent DOS paths from being IFS'd.
50230 if test -f "$f"; then
50233 elif test -f "$srcdir/$f"; then
50238 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50239 echo "$as_me: error: cannot find input file: $f" >&2;}
50240 { (exit 1); exit 1; }; }
50243 done` || { (exit 1); exit 1; }
50244 # Remove the trailing spaces.
50245 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50249 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50250 # `conftest.undefs', that substitutes the proper values into
50251 # config.h.in to produce config.h. The first handles `#define'
50252 # templates, and the second `#undef' templates.
50253 # And first: Protect against being on the right side of a sed subst in
50254 # config.status. Protect against being in an unquoted here document
50255 # in config.status.
50256 rm -f conftest.defines conftest.undefs
50257 # Using a here document instead of a string reduces the quoting nightmare.
50258 # Putting comments in sed scripts is not portable.
50260 # `end' is used to avoid that the second main sed command (meant for
50261 # 0-ary CPP macros) applies to n-ary macro definitions.
50262 # See the Autoconf documentation for `clear'.
50263 cat >confdef2sed.
sed <<\_ACEOF
50268 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50270 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50273 # If some macros were called several times there might be several times
50274 # the same #defines, which is useless. Nevertheless, we may not want to
50275 # sort them, since we want the *last* AC-DEFINE to be honored.
50276 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50277 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50278 rm -f confdef2sed.sed
50280 # This sed command replaces #undef with comments. This is necessary, for
50281 # example, in the case of _POSIX_SOURCE, which is predefined and required
50282 # on some systems where configure will not decide to define it.
50283 cat >>conftest.undefs <<\_ACEOF
50284 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50287 # Break up conftest.defines because some shells have a limit on the size
50288 # of here documents, and old seds have small limits too (100 cmds).
50289 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50290 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50291 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50292 echo ' :' >>$CONFIG_STATUS
50293 rm -f conftest.tail
50294 while grep . conftest.defines >/dev/null
50296 # Write a limited-size here document to $tmp/defines.sed.
50297 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50298 # Speed up: don't consider the non `#define' lines.
50299 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50300 # Work around the forget-to-reset-the-flag bug.
50301 echo 't clr' >>$CONFIG_STATUS
50302 echo ': clr' >>$CONFIG_STATUS
50303 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50305 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50307 mv $tmp/out $tmp/in
50309 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50310 rm -f conftest.defines
50311 mv conftest.
tail conftest.defines
50313 rm -f conftest.defines
50314 echo ' fi # grep' >>$CONFIG_STATUS
50315 echo >>$CONFIG_STATUS
50317 # Break up conftest.undefs because some shells have a limit on the size
50318 # of here documents, and old seds have small limits too (100 cmds).
50319 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50320 rm -f conftest.
tail
50321 while grep . conftest.undefs
>/dev
/null
50323 # Write a limited-size here document to $tmp/undefs.sed.
50324 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50325 # Speed up: don't consider the non
`#undef'
50326 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50327 # Work around the forget-to-reset-the-flag bug.
50328 echo 't clr' >>$CONFIG_STATUS
50329 echo ': clr' >>$CONFIG_STATUS
50330 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50332 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50334 mv $tmp/out $tmp/in
50336 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50337 rm -f conftest.undefs
50338 mv conftest.tail conftest.undefs
50340 rm -f conftest.undefs
50342 cat >>$CONFIG_STATUS <<\_ACEOF
50343 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50344 # use $as_me), people would be surprised to read:
50345 # /* config.h. Generated by config.status. */
50346 if test x
"$ac_file" = x
-; then
50347 echo "/* Generated by configure. */" >$tmp/config.h
50349 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50351 cat $tmp/in >>$tmp/config.h
50353 if test x
"$ac_file" != x
-; then
50354 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50355 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50356 echo "$as_me: $ac_file is unchanged" >&6;}
50358 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50360 X"$ac_file" : 'X\(//\)[^/]' \| \
50361 X"$ac_file" : 'X\(//\)$' \| \
50362 X"$ac_file" : 'X\(/\)' \| \
50363 . : '\(.\)' 2>/dev/null ||
50365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50367 /^X\(\/\/\)$/{ s//\1/; q; }
50368 /^X\(\/\).*/{ s//\1/; q; }
50370 { if $as_mkdir_p; then
50375 while test ! -d "$as_dir"; do
50376 as_dirs
="$as_dir $as_dirs"
50377 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50379 X"$as_dir" : 'X\(//\)[^/]' \| \
50380 X"$as_dir" : 'X\(//\)$' \| \
50381 X"$as_dir" : 'X\(/\)' \| \
50382 . : '\(.\)' 2>/dev/null ||
50384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50386 /^X\(\/\/\)$/{ s//\1/; q; }
50387 /^X\(\/\).*/{ s//\1/; q; }
50390 test ! -n "$as_dirs" || mkdir $as_dirs
50391 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50393 { (exit 1); exit 1; }; }; }
50396 mv $tmp/config.h
$ac_file
50400 rm -f $tmp/config.h
50404 cat >>$CONFIG_STATUS <<\_ACEOF
50407 # CONFIG_COMMANDS section.
50409 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50410 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50411 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50412 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50413 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50414 X"$ac_dest" : 'X\(//\)[^/]' \| \
50415 X"$ac_dest" : 'X\(//\)$' \| \
50416 X"$ac_dest" : 'X\(/\)' \| \
50417 . : '\(.\)' 2>/dev/null ||
50419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50421 /^X\(\/\/\)$/{ s//\1/; q; }
50422 /^X\(\/\).*/{ s//\1/; q; }
50424 { if $as_mkdir_p; then
50429 while test ! -d "$as_dir"; do
50430 as_dirs
="$as_dir $as_dirs"
50431 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50433 X"$as_dir" : 'X\(//\)[^/]' \| \
50434 X"$as_dir" : 'X\(//\)$' \| \
50435 X"$as_dir" : 'X\(/\)' \| \
50436 . : '\(.\)' 2>/dev/null ||
50438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50440 /^X\(\/\/\)$/{ s//\1/; q; }
50441 /^X\(\/\).*/{ s//\1/; q; }
50444 test ! -n "$as_dirs" || mkdir $as_dirs
50445 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50446 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50447 { (exit 1); exit 1; }; }; }
50451 if test "$ac_dir" != .
; then
50452 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50453 # A "../" for each directory in $ac_dir_suffix.
50454 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50456 ac_dir_suffix
= ac_top_builddir
=
50460 .
) # No --srcdir option. We are building in place.
50462 if test -z "$ac_top_builddir"; then
50465 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50467 [\\/]* | ?
:[\\/]* ) # Absolute path.
50468 ac_srcdir
=$srcdir$ac_dir_suffix;
50469 ac_top_srcdir
=$srcdir ;;
50470 *) # Relative path.
50471 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50472 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50475 # Do not use `cd foo && pwd` to compute absolute paths, because
50476 # the directories may not exist.
50478 .
) ac_abs_builddir
="$ac_dir";;
50481 .
) ac_abs_builddir
=`pwd`;;
50482 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50483 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50486 case $ac_abs_builddir in
50487 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50489 case ${ac_top_builddir}.
in
50490 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50491 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50492 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50495 case $ac_abs_builddir in
50496 .
) ac_abs_srcdir
=$ac_srcdir;;
50499 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50500 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50501 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50504 case $ac_abs_builddir in
50505 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50507 case $ac_top_srcdir in
50508 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50509 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50510 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50515 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50516 echo "$as_me: executing $ac_dest commands" >&6;}
50519 mkdir -p $outdir &&
50520 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50522 wx
-config ) rm -f wx
-config
50523 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50529 cat >>$CONFIG_STATUS <<\_ACEOF
50531 { (exit 0); exit 0; }
50533 chmod +x
$CONFIG_STATUS
50534 ac_clean_files
=$ac_clean_files_save
50537 # configure is writing to config.log, and then calls config.status.
50538 # config.status does its own redirection, appending to config.log.
50539 # Unfortunately, on DOS this fails, as config.log is still kept open
50540 # by configure, so config.status won't be able to write to it; its
50541 # output is simply discarded. So we exec the FD to /dev/null,
50542 # effectively closing config.log, so it can be properly (re)opened and
50543 # appended to by config.status. When coming back to configure, we
50544 # need to make the FD available again.
50545 if test "$no_create" != yes; then
50547 ac_config_status_args
=
50548 test "$silent" = yes &&
50549 ac_config_status_args
="$ac_config_status_args --quiet"
50551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50554 # would make configure fail if this is the last instruction.
50555 $ac_cs_success || { (exit 1); exit 1; }
50559 # CONFIG_SUBDIRS section.
50561 if test "$no_recursion" != yes; then
50563 # Remove --cache-file and --srcdir arguments so they do not pile up.
50564 ac_sub_configure_args
=
50566 for ac_arg
in $ac_configure_args; do
50567 if test -n "$ac_prev"; then
50572 -cache-file | --cache-file | --cache-fil | --cache-fi \
50573 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50574 ac_prev
=cache_file
;;
50575 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50576 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50579 --config-cache | -C)
50581 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50583 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50585 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50587 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50589 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50593 # Always prepend --prefix to ensure using the same prefix
50594 # in subdir configurations.
50595 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50598 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50600 # Do not complain, so a configure script can configure whichever
50601 # parts of a large source tree are present.
50602 test -d $srcdir/$ac_dir || continue
50604 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50605 echo "$as_me: configuring in $ac_dir" >&6;}
50606 { if $as_mkdir_p; then
50611 while test ! -d "$as_dir"; do
50612 as_dirs
="$as_dir $as_dirs"
50613 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50614 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50615 X"$as_dir" : 'X\(//\)[^/]' \| \
50616 X"$as_dir" : 'X\(//\)$' \| \
50617 X"$as_dir" : 'X\(/\)' \| \
50618 . : '\(.\)' 2>/dev/null ||
50620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50621 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50622 /^X\(\/\/\)$/{ s//\1/; q; }
50623 /^X\(\/\).*/{ s//\1/; q; }
50626 test ! -n "$as_dirs" || mkdir $as_dirs
50627 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50628 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50629 { (exit 1); exit 1; }; }; }
50633 if test "$ac_dir" != .
; then
50634 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50635 # A "../" for each directory in $ac_dir_suffix.
50636 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50638 ac_dir_suffix
= ac_top_builddir
=
50642 .
) # No --srcdir option. We are building in place.
50644 if test -z "$ac_top_builddir"; then
50647 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50649 [\\/]* | ?
:[\\/]* ) # Absolute path.
50650 ac_srcdir
=$srcdir$ac_dir_suffix;
50651 ac_top_srcdir
=$srcdir ;;
50652 *) # Relative path.
50653 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50654 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50657 # Do not use `cd foo && pwd` to compute absolute paths, because
50658 # the directories may not exist.
50660 .
) ac_abs_builddir
="$ac_dir";;
50663 .
) ac_abs_builddir
=`pwd`;;
50664 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50665 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50668 case $ac_abs_builddir in
50669 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50671 case ${ac_top_builddir}.
in
50672 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50673 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50674 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50677 case $ac_abs_builddir in
50678 .
) ac_abs_srcdir
=$ac_srcdir;;
50681 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50682 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50683 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50686 case $ac_abs_builddir in
50687 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50689 case $ac_top_srcdir in
50690 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50691 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50692 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50699 # Check for guested configure; otherwise get Cygnus style configure.
50700 if test -f $ac_srcdir/configure.gnu
; then
50701 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50702 elif test -f $ac_srcdir/configure
; then
50703 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50704 elif test -f $ac_srcdir/configure.
in; then
50705 ac_sub_configure
=$ac_configure
50707 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50708 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50712 # The recursion is here.
50713 if test -n "$ac_sub_configure"; then
50714 # Make the cache file name correct relative to the subdirectory.
50715 case $cache_file in
50716 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50717 *) # Relative path.
50718 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50721 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50722 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50723 # The eval makes quoting arguments work.
50724 eval $ac_sub_configure $ac_sub_configure_args \
50725 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50726 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50727 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50728 { (exit 1); exit 1; }; }
50737 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50739 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50740 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50742 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50743 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50744 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50746 echo " What level of wxWidgets compatibility should be enabled?"
50747 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50748 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50750 echo " Which libraries should wxWidgets use?"
50751 echo " jpeg ${wxUSE_LIBJPEG-none}"
50752 echo " png ${wxUSE_LIBPNG-none}"
50753 echo " regex ${wxUSE_REGEX}"
50754 echo " tiff ${wxUSE_LIBTIFF-none}"
50755 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50756 echo " xpm ${wxUSE_LIBXPM-none}"
50758 echo " zlib ${wxUSE_ZLIB}"
50759 echo " odbc ${wxUSE_ODBC}"
50760 echo " expat ${wxUSE_EXPAT}"
50761 echo " libmspack ${wxUSE_LIBMSPACK}"
50762 echo " sdl ${wxUSE_LIBSDL}"
50763 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50764 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50765 echo " hildon ${wxUSE_LIBHILDON-none}"